Searched refs:bm3 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 35 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); in testBasic() local 39 assertTrue("mutability", bm3.isMutable()); in testBasic() 43 assertEquals("width", 100, bm3.getWidth()); in testBasic() 47 assertEquals("rowbytes", 400, bm3.getRowBytes()); in testBasic() 51 assertEquals("byteCount", 80000, bm3.getByteCount()); in testBasic() 55 assertEquals("height", 200, bm3.getHeight()); in testBasic() 59 assertTrue("hasAlpha", bm3.hasAlpha()); in testBasic() 63 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_8888); in testBasic()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 50 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmap() local 60 final Icon im3 = Icon.createWithBitmap(bm3); in testWithBitmap() 103 bm3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap() 107 if (!equalBitmaps(bm3, test3)) { in testWithBitmap() 108 findBitmapDifferences(bm3, test3); in testWithBitmap()
|