/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorMatrixColorFilterTest.java | 98 private void assertColor(int expected, int actual, int tolerance) { in assertColor() 99 assertEquals(Color.red(expected), Color.red(actual), tolerance); in assertColor() local 100 assertEquals(Color.green(expected), Color.green(actual), tolerance); in assertColor() local 101 assertEquals(Color.blue(expected), Color.blue(actual), tolerance); in assertColor() local 102 assertEquals(Color.alpha(expected), Color.alpha(actual), tolerance); in assertColor() local
|
D | SweepGradientTest.java | 82 private void checkColors(int[] colors, float[] positions, int tolerance) { in checkColors() 124 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance); in checkColors() local 125 assertEquals(Color.red(color), Color.red(pixel), tolerance); in checkColors() local 126 assertEquals(Color.green(color), Color.green(pixel), tolerance); in checkColors() local 127 assertEquals(Color.blue(color), Color.blue(pixel), tolerance); in checkColors() local
|
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
D | GLTest_test.cpp | 155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) { in checkPixel() 166 GLubyte * expected, int tolerance) { in AssertPixel()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | RectVerifier.java | 32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceDetector_FaceTest.java | 57 float tolerance = 5f; in testFaceProperties() local
|
D | MediaPlayerTest.java | 137 final int tolerance = 70; in testPlayAudioFromDataURI() local
|
D | MediaRecorderTest.java | 445 private void checkRecordedTime(long expectedMs, long actualMs, long tolerance) { in checkRecordedTime() 464 long fileSize, long tolerance) throws Exception { in testSetMaxFileSize() 490 private void checkOutputFileSize(final String fileName, long fileSize, long tolerance) { in checkOutputFileSize()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 122 void getErrorBar(unsigned short value, int tolerance, unsigned short bounds[2]) { in getErrorBar() 226 int tolerance) { in printReferenceOutput()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VelocityTrackerTest.java | 180 private void assertVelocity(float tolerance, String message) { in assertVelocity()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 193 private boolean shouldTestThisNetworkType(int networkTypeIndex, long tolerance) in shouldTestThisNetworkType()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 289 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() 312 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 498 double tolerance = 0.0001; in findDngInterpolationFactor() local
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2005 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local
|