Searched refs:bPix (Results 1 – 2 of 2) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 83 int bPix = bPixels[i]; in calcDifferenceMetric() local 85 diff += Math.abs(Color.red(aPix) - Color.red(bPix)); // red in calcDifferenceMetric() 86 diff += Math.abs(Color.green(aPix) - Color.green(bPix)); // green in calcDifferenceMetric() 87 diff += Math.abs(Color.blue(aPix) - Color.blue(bPix)); // blue in calcDifferenceMetric()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconDrawableTest.java | 356 int[] bPix = new int[w * h]; in equalBitmaps() local 375 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps() 376 return Arrays.equals(aPix, bPix); in equalBitmaps() 390 int[] bPix = new int[w * h]; in findBitmapDifferences() local 393 b.getPixels(bPix, 0, w, 0, 0, w, h); in findBitmapDifferences() 398 printBits(bPix, w, h); in findBitmapDifferences() 403 if (aPix[i+w*j] != bPix[i+w*j]) { in findBitmapDifferences() 405 .append(aPix[i+w*j]).append(",").append(bPix[i+w*j]).append(">"); in findBitmapDifferences()
|