Home
last modified time | relevance | path

Searched refs:ideal (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/uirendering27/src/android/uirendering/cts/differencevisualizers/
DPassFailVisualizer.java30 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()
DDifferenceVisualizer.java22 public abstract int[] getDifferences(int[] ideal, int[] given); in getDifferences() argument
/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/
DPassFailVisualizer.java30 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()
DDifferenceVisualizer.java22 public abstract int[] getDifferences(int[] ideal, int[] given); in getDifferences() argument
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DExactComparer.java29 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()
DMSSIMComparer.java55 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()
DBitmapComparer.java30 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/
DInfrastructureTests.java52 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/
DBitmapComparer.java30 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/
DPixelCopyTest.java809 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()