Searched refs:pixels1 (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | MSSIMComparer.java | 120 private double[] getMeans(int[] pixels0, int[] pixels1, int start, int stride, in getMeans() argument 128 avg1 += getIntensity(pixels1[index]); in getMeans() 141 private double[] getVariances(int[] pixels0, int[] pixels1, double mean0, double mean1, in getVariances() argument 150 double v1 = getIntensity(pixels1[index]) - mean1; in getVariances()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/ |
D | BitmapAsserter.java | 59 int[] pixels1 = new int[width * height]; in assertBitmapsAreSimilar() local 61 bitmap1.getPixels(pixels1, 0, width, 0, 0, width, height); in assertBitmapsAreSimilar() 63 success = comparer.verifySame(pixels1, pixels2, 0, width, width, height); in assertBitmapsAreSimilar()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | BitmapAsserter.java | 59 int[] pixels1 = new int[width * height]; in assertBitmapsAreSimilar() local 61 bitmap1.getPixels(pixels1, 0, width, 0, 0, width, height); in assertBitmapsAreSimilar() 63 success = comparer.verifySame(pixels1, pixels2, 0, width, width, height); in assertBitmapsAreSimilar()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | LightNavigationBarVerifier.java | 118 private static int[] operateColorArrays(@NonNull int[] pixels1, @NonNull int[] pixels2, in operateColorArrays() argument 120 assertEquals(pixels1.length, pixels2.length); in operateColorArrays() 121 final int numPixels = pixels1.length; in operateColorArrays() 124 result[i] = operator.operate(pixels1[i], pixels2[i]); in operateColorArrays()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | WidgetTestUtils.java | 77 int[] pixels1 = new int[s]; in assertEquals() local 80 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals() 84 if (pixels1[i] != pixels2[i]) { in assertEquals()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WidgetTestUtils.java | 77 int[] pixels1 = new int[s]; in assertEquals() local 80 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals() 84 if (pixels1[i] != pixels2[i]) { in assertEquals()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTestBase.java | 1787 final double[][] pixels1 = convertRgbToCieLab(bitmap1); in computeDifference() local 1791 for (int i = 0; i < pixels1.length; i++) { in computeDifference() 1792 final int difference = euclideanDistance(pixels1[i], pixels2[i]); in computeDifference()
|