Searched refs:bmp2 (Results 1 – 1 of 1) sorted by relevance
40 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() argument41 if (bmp1 == bmp2) { in compareBitmaps()45 if (bmp1 == null || bmp2 == null) { in compareBitmaps()49 if ((bmp1.getWidth() != bmp2.getWidth()) || (bmp1.getHeight() != bmp2.getHeight())) { in compareBitmaps()55 if (bmp1.getPixel(i, j) != bmp2.getPixel(i, j)) { in compareBitmaps()