Searched refs:bmp2 (Results 1 – 1 of 1) sorted by relevance
40 private static Boolean compareBasicBitmapsInfo(Bitmap bmp1, Bitmap bmp2) { in compareBasicBitmapsInfo() argument41 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() argument76 final Boolean basicComparison = compareBasicBitmapsInfo(bmp1, bmp2); in compareBitmaps()81 if (bmp1.getPixel(i, j) != bmp2.getPixel(i, j)) { in compareBitmaps()[all …]