Home
last modified time | relevance | path

Searched refs:bitmap1 (Results 1 – 3 of 3) 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/base/libs/hwui/jni/
DBitmap.cpp1102 LocalScopedBitmap bitmap1(bm1Handle); in Bitmap_sameAs() local
1107 if (bitmap0->isHardware() != bitmap1->isHardware()) { in Bitmap_sameAs()
1112 bitmap1->bitmap().getSkBitmap(&bm1); in Bitmap_sameAs()