Searched refs:image1 (Results 1 – 1 of 1) sorted by relevance
261 private static boolean isAlmostIdenticalInRect(Bitmap image1, Bitmap image2) { in isAlmostIdenticalInRect() argument262 if (image1 == null || image2 == null) { in isAlmostIdenticalInRect()266 if (image1.getWidth() != image2.getWidth() || image1.getHeight() != image2.getHeight()) { in isAlmostIdenticalInRect()267 throw new IllegalArgumentException("Images size are not the same. image1:" + image1 in isAlmostIdenticalInRect()271 Rect rangeRect = new Rect(0, 0, image1.getWidth(), image1.getHeight()); in isAlmostIdenticalInRect()275 int color1 = image1.getPixel(x, y); in isAlmostIdenticalInRect()