/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | PSNRComparer.java | 40 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 60 if (ideal[index] == given[index]) { in verifySame() 63 MSE += (Color.red(ideal[index]) - Color.red(given[index])) * in verifySame() 64 (Color.red(ideal[index]) - Color.red(given[index])); in verifySame() 65 MSE += (Color.blue(ideal[index]) - Color.blue(given[index])) * in verifySame() 66 (Color.blue(ideal[index]) - Color.blue(given[index])); in verifySame() 67 MSE += (Color.green(ideal[index]) - Color.green(given[index])) * in verifySame() 68 (Color.green(ideal[index]) - Color.green(given[index])); in verifySame()
|
D | NearPixelComparer.java | 31 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 45 if (!pixelsAreSame(ideal[index], given[index])) { in verifySame() 60 private boolean pixelsAreSame(int ideal, int given) { in pixelsAreSame() argument 61 int error = Math.abs(Color.red(ideal) - Color.red(given)); in pixelsAreSame() 62 error += Math.abs(Color.green(ideal) - Color.green(given)); in pixelsAreSame() 63 error += Math.abs(Color.blue(ideal) - Color.blue(given)); in pixelsAreSame()
|
D | ThresholdDifferenceComparer.java | 46 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 52 int error = Math.abs(Color.red(ideal[index]) - Color.red(given[index])); in verifySame() 53 error += Math.abs(Color.blue(ideal[index]) - Color.blue(given[index])); in verifySame() 54 error += Math.abs(Color.green(ideal[index]) - Color.green(given[index])); in verifySame() 58 " given color " + Integer.toHexString(given[index])); in verifySame() 69 Allocation given, int offset, int stride, int width, int height, in verifySameRowsRS() argument 80 mScript.set_given(given); in verifySameRowsRS()
|
D | MeanSquaredComparer.java | 44 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 46 float totalError = getMSE(ideal, given, offset, stride, width, height); in verifySame() 53 Allocation given, int offset, int stride, int width, int height, in verifySameRowsRS() argument 62 mScript.set_given(given); in verifySameRowsRS() 78 public static float getMSE(int[] ideal, int[] given, int offset, int stride, int width, in getMSE() argument 86 float givenSum = getColorSum(given[index]); in getMSE()
|
D | ExactComparer.java | 36 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 43 if (ideal[index] != given[index]) { in verifySame() 47 " given color : " + Integer.toHexString(given[index])); in verifySame() 60 Allocation given, int offset, int stride, int width, int height, in verifySameRowsRS() argument 70 mScript.set_given(given); in verifySameRowsRS()
|
D | BaseRenderScriptComparer.java | 16 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 24 Allocation given, int offset, int stride, int width, int height, in verifySameRowsRS() argument 28 Allocation given, int offset, int stride, int width, int height, in verifySameRS() argument 35 return verifySameRowsRS(resources, ideal, given, offset, stride, width, height, in verifySameRS()
|
D | MSSIMComparer.java | 50 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 58 if (isWindowWhite(ideal, start, stride) && isWindowWhite(given, start, stride)) { in verifySame() 62 double[] means = getMeans(ideal, given, start, stride); in verifySame() 65 double[] variances = getVariances(ideal, given, meanX, meanY, start, stride); in verifySame() 87 Allocation given, int offset, int stride, int width, int height, in verifySameRowsRS() argument 97 mScript.set_given(given); in verifySameRowsRS()
|
D | BitmapComparer.java | 34 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 43 Allocation given, int offset, int stride, int width, int height, in verifySameRS() argument
|
D | ExactComparer.rs | 8 rs_allocation given; 18 uchar4 givenPixel = rsGetElementAt_uchar4(given, i + OFFSET, y);
|
D | MSSIMComparer.rs | 8 rs_allocation given; 32 uchar4 givenPixel = rsGetElementAt_uchar4(given, i, y); 46 uchar4 givenPixel = rsGetElementAt_uchar4(given, i, y);
|
D | MeanSquaredComparer.rs | 8 rs_allocation given; 16 float4 givenFloats = rsUnpackColor8888(rsGetElementAt_uchar4(given, x, y));
|
D | ThresholdDifferenceComparer.rs | 8 rs_allocation given; 17 uchar4 givenPixel = rsGetElementAt_uchar4(given, i, y);
|
D | WeightedPixelDifference.java | 71 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument 93 int givenColor = given[index]; in verifySame()
|
D | PassComparer.java | 23 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in verifySame() argument
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/ |
D | PassFailVisualizer.java | 30 public int[] getDifferences(int[] ideal, int[] given) { in getDifferences() argument 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/testclasses/ |
D | InfrastructureTests.java | 56 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, in testRenderSpecIsolation() 62 return !(new MSSIMComparer(threshold)).verifySame(ideal, given, offset, stride, in testRenderSpecIsolation()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTests.java | 227 private boolean pixelsAreSame(int ideal, int given, int threshold) { in pixelsAreSame() argument 228 int error = Math.abs(Color.red(ideal) - Color.red(given)); in pixelsAreSame() 229 error += Math.abs(Color.green(ideal) - Color.green(given)); in pixelsAreSame() 230 error += Math.abs(Color.blue(ideal) - Color.blue(given)); in pixelsAreSame()
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 7 # Disable the message, report, category or checker with the given id(s). You 18 # Enable the message, report, category or checker with the given id(s). You can 296 # Create a graph of external dependencies in the given file (report RP0402 must 301 # given file (report RP0402 must not be disabled) 304 # Create a graph of internal dependencies in the given file (report RP0402 must
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | camera_response_fast.rsh | 15 // given with respect to parameters a,b,c as:
|
D | camera_response.rsh | 15 // given with respect to parameters a,b,c as:
|
/cts/hostsidetests/theme/ |
D | README | 47 A complete collection of reference images for a given API revision must include
|
/cts/tools/dasm/src/java_cup/ |
D | parser.cup | 71 /** helper routine to clone a new production part adding a given label */ 78 /* otherwise build a new one with the given label attached */
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 266 think that since it defeats the intentions given above, it should not
|