/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | NativeColorBufferTest.java | 46 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001() local 54 compare(expectedColor, actualColor); in test_RGBA_1001() 63 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101() local 72 compare(expectedColor, actualColor); in test_RGBA_1101() 82 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111() local 91 compare(expectedColor, actualColor); in test_RGBA_1111() 101 float[] expectedColor = {r, g, b, a}; in test_RGBA_0101() local 110 compare(expectedColor, actualColor); in test_RGBA_0101() 120 float[] expectedColor = {r, g, b, a}; in test_RGBA_0011() local 129 compare(expectedColor, actualColor); in test_RGBA_0011() [all …]
|
D | ColorBufferTest.java | 51 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001() local 59 compare(expectedColor, actualColor); in test_RGBA_1001() 68 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101() local 77 compare(expectedColor, actualColor); in test_RGBA_1101() 87 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111() local 96 compare(expectedColor, actualColor); in test_RGBA_1111() 106 float[] expectedColor = {r, g, b, a}; in test_RGBA_0101() local 115 compare(expectedColor, actualColor); in test_RGBA_0101() 125 float[] expectedColor = {r, g, b, a}; in test_RGBA_0011() local 134 compare(expectedColor, actualColor); in test_RGBA_0011() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { in verifyPixelWithThreshold() argument 10 int diff = Math.abs(Color.red(color) - Color.red(expectedColor)) in verifyPixelWithThreshold() 11 + Math.abs(Color.green(color) - Color.green(expectedColor)) in verifyPixelWithThreshold() 12 + Math.abs(Color.blue(color) - Color.blue(expectedColor)); in verifyPixelWithThreshold()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 39 final int expectedColor = Color.rgb(255, 191, 191); in testLayerPaintAlpha() local 53 .runWithVerifier(new ColorVerifier(expectedColor)); in testLayerPaintAlpha() 61 final int expectedColor = Color.rgb(54, 54, 54); in testLayerPaintColorFilter() local 73 .runWithVerifier(new ColorVerifier(expectedColor)); in testLayerPaintColorFilter() 81 final int expectedColor = Color.WHITE; in testLayerPaintBlend() local 98 .runWithVerifier(new ColorVerifier(expectedColor)); in testLayerPaintBlend()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointVerifier.java | 68 protected boolean verifyPixel(int color, int expectedColor) { in verifyPixel() argument 69 return CompareUtils.verifyPixelWithThreshold(color, expectedColor, mTolerance); in verifyPixel()
|
D | PerPixelBitmapVerifier.java | 90 int expectedColor = getExpectedColor(x, y); in verifyPixel() local 91 return CompareUtils.verifyPixelWithThreshold(observedColor, expectedColor, mColorTolerance); in verifyPixel()
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 170 int expectedColor = 0; in compareScreenshot() local 174 expectedColor += 1; in compareScreenshot() 180 double colorRatio = (double) expectedColor / (expectedColor + wrongColor); in compareScreenshot()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | HtmlTest.java | 98 int expectedColor = 0xFF00FF00; in testColor() local 99 assertEquals(expectedColor, colors[0].getForegroundColor()); in testColor() 104 expectedColor = 0xFF000080; in testColor()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | CalendarTest.java | 1779 final int expectedColor = ColorHelper.DEFAULT_COLORS[ColorHelper.E_COLOR_0]; in testEventColors() local 1780 ev.put(Events.EVENT_COLOR, expectedColor); in testEventColors() 1792 expectedColor, in testEventColors()
|