Searched refs:eps (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointWideGamutVerifier.java | 36 public SamplePointWideGamutVerifier(Point[] points, Color[] colors, float eps) { in SamplePointWideGamutVerifier() argument 39 mEps = eps; in SamplePointWideGamutVerifier() 68 private static boolean floatCompare(float a, float b, float eps) { in floatCompare() argument 69 return Float.compare(a, b) == 0 || Math.abs(a - b) <= eps; in floatCompare()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | WideColorGamutTests.java | 80 private BitmapVerifier getVerifier(Point[] points, Color[] colors, float eps) { in getVerifier() argument 82 return new SamplePointWideGamutVerifier(points, colors, eps); in getVerifier() 86 (int) (eps * 255.0f + 0.5f)); in getVerifier()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorTest.java | 232 float eps = 0.000001f; in testLuminance() local 233 assertEquals(0.0722, Color.luminance(Color.BLUE), eps); in testLuminance() 234 assertEquals(0.2126, Color.luminance(Color.RED), eps); in testLuminance() 235 assertEquals(0.7152, Color.luminance(Color.GREEN), eps); in testLuminance()
|
D | ColorSpaceTest.java | 788 private static void assertArrayNotEquals(float[] a, float[] b, float eps) { in assertArrayNotEquals() argument 790 if (Float.compare(a[i], b[i]) == 0 || Math.abs(a[i] - b[i]) < eps) { in assertArrayNotEquals() 796 private static void assertArrayEquals(float[] a, float[] b, float eps) { in assertArrayEquals() argument 798 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/ |
D | LightBarTests.java | 237 float eps = 0.005f; in evaluateLightBarBitmap() local 254 if (hueDiff < eps || hueDiff > 1 - eps) { in evaluateLightBarBitmap()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |