/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/ |
D | PassFailVisualizer.java | 30 public int[] getDifferences(int[] ideal, int[] given) { in getDifferences() argument 31 int[] output = new int[ideal.length]; in getDifferences() 33 if (ideal[y] == given[y]) { in getDifferences()
|
D | DifferenceVisualizer.java | 22 public abstract int[] getDifferences(int[] ideal, int[] given); in getDifferences() argument
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/differencevisualizers/ |
D | PassFailVisualizer.java | 30 public int[] getDifferences(int[] ideal, int[] given) { in getDifferences() argument 31 int[] output = new int[ideal.length]; in getDifferences() 33 if (ideal[y] == given[y]) { in getDifferences()
|
D | DifferenceVisualizer.java | 22 public abstract int[] getDifferences(int[] ideal, int[] given); in getDifferences() argument
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | ExactComparer.java | 29 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 36 if (ideal[index] != given[index]) { in verifySame() 39 Log.d(TAG, "Expected color : " + Integer.toHexString(ideal[index]) + in verifySame()
|
D | MSSIMComparer.java | 55 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 65 if (isWindowWhite(ideal, start, stride, windowWidth, windowHeight) in verifySame() 70 double[] means = getMeans(ideal, given, start, stride, windowWidth, windowHeight); in verifySame() 73 double[] variances = getVariances(ideal, given, meanX, meanY, start, stride, in verifySame()
|
D | BitmapComparer.java | 30 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | InfrastructureTests.java | 52 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in testRenderSpecIsolation() 58 return !(new MSSIMComparer(threshold)).verifySame(ideal, given, offset, stride, in testRenderSpecIsolation()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapcomparers/ |
D | BitmapComparer.java | 30 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 809 private boolean pixelsAreSame(int ideal, int given, int threshold) { in pixelsAreSame() argument 810 int error = Math.abs(Color.red(ideal) - Color.red(given)); in pixelsAreSame() 811 error += Math.abs(Color.green(ideal) - Color.green(given)); in pixelsAreSame() 812 error += Math.abs(Color.blue(ideal) - Color.blue(given)); in pixelsAreSame()
|