Searched refs:bmp2 (Results 1 – 2 of 2) sorted by relevance
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BitmapUtils.java | 40 private static Boolean compareBasicBitmapsInfo(Bitmap bmp1, Bitmap bmp2) { in compareBasicBitmapsInfo() argument 41 if (bmp1 == bmp2) { in compareBasicBitmapsInfo() 50 if (bmp2 == null) { in compareBasicBitmapsInfo() 55 if ((bmp1.getWidth() != bmp2.getWidth()) || (bmp1.getHeight() != bmp2.getHeight())) { in compareBasicBitmapsInfo() 58 + "bmp2=(" + bmp2.getWidth() + "x" + bmp2.getHeight() + ")"); in compareBasicBitmapsInfo() 62 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo() 65 + "bmp2=(" + bmp2.getConfig() + ")"); in compareBasicBitmapsInfo() 75 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() argument 76 final Boolean basicComparison = compareBasicBitmapsInfo(bmp1, bmp2); in compareBitmaps() 81 if (bmp1.getPixel(i, j) != bmp2.getPixel(i, j)) { in compareBitmaps() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 40 private static Boolean compareBasicBitmapsInfo(Bitmap bmp1, Bitmap bmp2) { in compareBasicBitmapsInfo() argument 41 if (bmp1 == bmp2) { in compareBasicBitmapsInfo() 50 if (bmp2 == null) { in compareBasicBitmapsInfo() 55 if ((bmp1.getWidth() != bmp2.getWidth()) || (bmp1.getHeight() != bmp2.getHeight())) { in compareBasicBitmapsInfo() 58 + "bmp2=(" + bmp2.getWidth() + "x" + bmp2.getHeight() + ")"); in compareBasicBitmapsInfo() 62 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo() 65 + "bmp2=(" + bmp2.getConfig() + ")"); in compareBasicBitmapsInfo() 75 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() argument 76 final Boolean basicComparison = compareBasicBitmapsInfo(bmp1, bmp2); in compareBitmaps() 81 if (bmp1.getPixel(i, j) != bmp2.getPixel(i, j)) { in compareBitmaps() [all …]
|