Home
last modified time | relevance | path

Searched defs:tolerance (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorMatrixColorFilterTest.java98 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
DSweepGradientTest.java82 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/
DGLTest_test.cpp155 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/
DRectVerifier.java32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
/cts/tests/tests/media/src/android/media/cts/
DFaceDetector_FaceTest.java57 float tolerance = 5f; in testFaceProperties() local
DMediaPlayerTest.java137 final int tolerance = 70; in testPlayAudioFromDataURI() local
DMediaRecorderTest.java445 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/
Dfloat16_gen.c122 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/
DVelocityTrackerTest.java180 private void assertVelocity(float tolerance, String message) { in assertVelocity()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java193 private boolean shouldTestThisNetworkType(int networkTypeIndex, long tolerance) in shouldTestThisNetworkType()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java289 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/
DRawConverter.java498 double tolerance = 0.0001; in findDngInterpolationFactor() local
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java2005 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local