Searched refs:bm2 (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 1075 Bitmap bm2 = BitmapFactory.decodeStream(obtainInputStream(R.raw.heifimage_10bit)); in testDecode10BitHEIFTo8BitBitmap() local 1080 assertNotNull(bm2); in testDecode10BitHEIFTo8BitBitmap() 1081 assertEquals(4096, bm2.getWidth()); in testDecode10BitHEIFTo8BitBitmap() 1082 assertEquals(3072, bm2.getHeight()); in testDecode10BitHEIFTo8BitBitmap() 1083 assertEquals(Config.RGBA_1010102, bm2.getConfig()); in testDecode10BitHEIFTo8BitBitmap() 1097 Bitmap bm2 = BitmapFactory.decodeStream(obtainInputStream(R.raw.avif_yuv_420_10bit)); in testDecode10BitAVIFTo8BitBitmap() local 1102 assertNotNull(bm2); in testDecode10BitAVIFTo8BitBitmap() 1103 assertEquals(120, bm2.getWidth()); in testDecode10BitAVIFTo8BitBitmap() 1104 assertEquals(160, bm2.getHeight()); in testDecode10BitAVIFTo8BitBitmap() 1105 assertEquals(Config.RGBA_1010102, bm2.getConfig()); in testDecode10BitAVIFTo8BitBitmap() [all …]
|
D | BitmapTest.java | 1156 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testGetConfig() local 1161 assertEquals(Bitmap.Config.RGB_565, bm2.getConfig()); in testGetConfig() 1232 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testGetRowBytes() local 1237 assertEquals(200, bm2.getRowBytes()); in testGetRowBytes()
|
D | ImageDecoderTest.java | 2700 Bitmap bm2 = drawToBitmap(second); in testReuse() local 2701 assertTrue(BitmapUtils.compareBitmaps(bm1, bm2)); in testReuse()
|