Home
last modified time | relevance | path

Searched refs:eps (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointWideGamutVerifier.java33 public SamplePointWideGamutVerifier(Point[] points, Color[] colors, float eps) { in SamplePointWideGamutVerifier() argument
36 mEps = eps; in SamplePointWideGamutVerifier()
71 private static boolean floatCompare(float a, float b, float eps) { in floatCompare() argument
72 return Float.compare(a, b) == 0 || Math.abs(a - b) <= eps; in floatCompare()
/cts/hostsidetests/os/src/android/os/cts/
DInattentiveSleepTests.java193 long eps = 1000; in testInattentiveSleep_warningTiming() local
203 Math.abs(actualTimeToWarningShown - 5000) <= eps); in testInattentiveSleep_warningTiming()
205 long sleepTime = warningShown + mWarningDurationConfig - eps; in testInattentiveSleep_warningTiming()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DWideColorGamutTests.java88 private BitmapVerifier getVerifier(Point[] points, Color[] colors, float eps) { in getVerifier() argument
90 return new SamplePointWideGamutVerifier(points, colors, eps); in getVerifier()
94 (int) (eps * 255.0f + 0.5f)); in getVerifier()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java319 float eps = 0.000001f; in testLuminance() local
320 assertEquals(0.0722, Color.luminance(Color.BLUE), eps); in testLuminance()
321 assertEquals(0.2126, Color.luminance(Color.RED), eps); in testLuminance()
322 assertEquals(0.7152, Color.luminance(Color.GREEN), eps); in testLuminance()
DColorSpaceTest.java942 private void assertArrayNotEquals(float[] a, float[] b, float eps) { in assertArrayNotEquals() argument
944 if (Float.compare(a[i], b[i]) == 0 || Math.abs(a[i] - b[i]) < eps) { in assertArrayNotEquals()
950 private void assertArrayEquals(float[] a, float[] b, float eps) { in assertArrayEquals() argument
952 if (Float.compare(a[i], b[i]) != 0 && Math.abs(a[i] - b[i]) > eps) { in assertArrayEquals()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java379 float eps = 0.005f; in evaluateBarBitmap() local
408 if (hueDiff < eps || hueDiff > 1 - eps) { in evaluateBarBitmap()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...