Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
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()
DPerPixelBitmapVerifier.java31 public PerPixelBitmapVerifier(int tolerance) { in PerPixelBitmapVerifier()
/cts/tests/tests/media/src/android/media/cts/
DFaceDetector_FaceTest.java57 float tolerance = 5f; in testFaceProperties() local
DMediaPlayerTest.java127 final int tolerance = 70; in testPlayAudioFromDataURI() local
DMediaRecorderTest.java400 private void checkRecordedTime(long expectedMs, long actualMs, long tolerance) { in checkRecordedTime()
422 long fileSize, long tolerance) throws Exception { in testSetMaxFileSize()
444 private void checkOutputFileSize(final String fileName, long fileSize, long tolerance) { in checkOutputFileSize()
/cts/tests/tests/view/src/android/view/cts/
DVelocityTrackerTest.java180 private void assertVelocity(float tolerance, String message) { in assertVelocity()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java288 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals()
311 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DStillCaptureTest.java1119 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in jpegTestExifExtraTags() local