Searched refs:bmp1 (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()53 for (int i = 0; i < bmp1.getWidth(); i++) { in compareBitmaps()54 for (int j = 0; j < bmp1.getHeight(); j++) { in compareBitmaps()55 if (bmp1.getPixel(i, j) != bmp2.getPixel(i, j)) { in compareBitmaps()