Home
last modified time | relevance | path

Searched refs:bitmap1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DImageCompare.java48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) { in psnr() argument
49 if (bitmap1.getWidth() != bitmap2.getWidth() || in psnr()
50 bitmap1.getHeight() != bitmap2.getHeight()) { in psnr()
54 if (bitmap1.sameAs(bitmap2)) { in psnr()
60 final int width = bitmap1.getWidth(); in psnr()
61 final int height = bitmap1.getHeight(); in psnr()
67 int pixel1 = bitmap1.getPixel(x, y); in psnr()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapFactoryTest.java33 Bitmap bitmap1 = Bitmap.createBitmap( in testBitmapParcelFileDescriptor() local
36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DBackgroundManagerTest.java290 final Bitmap bitmap1 = createBitmap(200, 100, Color.RED); in multipleSetBitmaps() local
297 manager.setBitmap(bitmap1); in multipleSetBitmaps()
327 final Bitmap bitmap1 = createBitmap(200, 100, Color.RED); in multipleSetBitmapsAndColor() local
334 manager.setBitmap(bitmap1); in multipleSetBitmapsAndColor()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp1439 LocalScopedBitmap bitmap1(bm1Handle); in Bitmap_sameAs() local
1444 if (bitmap0->isHardware() != bitmap1->isHardware()) { in Bitmap_sameAs()
1449 bitmap1->bitmap().getSkBitmap(&bm1); in Bitmap_sameAs()