Searched refs:bitmap1 (Results 1 – 4 of 4) sorted by relevance
48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) { in psnr() argument49 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()
33 Bitmap bitmap1 = Bitmap.createBitmap( in testBitmapParcelFileDescriptor() local36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
290 final Bitmap bitmap1 = createBitmap(200, 100, Color.RED); in multipleSetBitmaps() local297 manager.setBitmap(bitmap1); in multipleSetBitmaps()327 final Bitmap bitmap1 = createBitmap(200, 100, Color.RED); in multipleSetBitmapsAndColor() local334 manager.setBitmap(bitmap1); in multipleSetBitmapsAndColor()
1439 LocalScopedBitmap bitmap1(bm1Handle); in Bitmap_sameAs() local1444 if (bitmap0->isHardware() != bitmap1->isHardware()) { in Bitmap_sameAs()1449 bitmap1->bitmap().getSkBitmap(&bm1); in Bitmap_sameAs()