HomeSort by relevance Sort by last modified time
    Searched refs:bm3 (Results 1 - 3 of 3) sorted by null

  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapTest.java 29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); local
33 assertTrue("mutability", bm3.isMutable());
37 assertEquals("width", 100, bm3.getWidth());
41 assertEquals("rowbytes", 200, bm3.getRowBytes());
45 assertEquals("byteCount", 40000, bm3.getByteCount());
49 assertEquals("height", 200, bm3.getHeight());
53 assertTrue("hasAlpha", bm3.hasAlpha());
57 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_4444);
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
IconTest.java 47 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) local
57 final Icon im3 = Icon.createWithBitmap(bm3);
100 bm3.compress(Bitmap.CompressFormat.PNG, 100,
104 if (!equalBitmaps(bm3, test3)) {
105 findBitmapDifferences(bm3, test3);
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java 408 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); local
414 assertEquals(Bitmap.Config.ARGB_8888, bm3.getConfig());
475 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); local
481 assertEquals(400, bm3.getRowBytes());
    [all...]

Completed in 854 milliseconds