Merge "Update SilkFX test images" into udc-dev
|
Before Width: | Height: | Size: 6.3 MiB |
BIN
tests/SilkFX/assets/gainmaps/city_night.jpg
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
tests/SilkFX/assets/gainmaps/desert_palms.jpg
Normal file
|
After Width: | Height: | Size: 3.7 MiB |
BIN
tests/SilkFX/assets/gainmaps/desert_sunset.jpg
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
tests/SilkFX/assets/gainmaps/desert_wanda.jpg
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
tests/SilkFX/assets/gainmaps/fountain_night.jpg
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
BIN
tests/SilkFX/assets/gainmaps/grand_canyon.jpg
Normal file
|
After Width: | Height: | Size: 4.5 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
BIN
tests/SilkFX/assets/gainmaps/lamps.jpg
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 2.6 MiB |
BIN
tests/SilkFX/assets/gainmaps/mountain_lake.jpg
Normal file
|
After Width: | Height: | Size: 3.1 MiB |
BIN
tests/SilkFX/assets/gainmaps/mountains.jpg
Normal file
|
After Width: | Height: | Size: 4.7 MiB |
|
Before Width: | Height: | Size: 2.7 MiB |
BIN
tests/SilkFX/assets/gainmaps/sunflower.jpg
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
tests/SilkFX/assets/gainmaps/train_station_night.jpg
Normal file
|
After Width: | Height: | Size: 3.1 MiB |
@@ -38,7 +38,7 @@ class GainmapDecodeTest(context: Context, attrs: AttributeSet?) : LinearLayout(c
|
||||
|
||||
private fun decode(mode: DecodeMode) {
|
||||
val source = ImageDecoder.createSource(resources.assets,
|
||||
"gainmaps/cave.jpg")
|
||||
"gainmaps/${context.assets.list("gainmaps")!![0]}")
|
||||
|
||||
val sourceInfo = findViewById<TextView>(R.id.source_info)!!
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ class GainmapImage(context: Context, attrs: AttributeSet?) : FrameLayout(context
|
||||
}
|
||||
}
|
||||
|
||||
setImage(gainmapImages.indexOf("cave.jpg"))
|
||||
setImage(0)
|
||||
|
||||
imageView.apply {
|
||||
isClickable = true
|
||||
|
||||