Home
last modified time | relevance | path

Searched refs:expectedColor (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DNativeColorBufferTest.java46 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 …]
DColorBufferTest.java51 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/
DCompareUtils.java9 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/
DLayerTests.java39 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/
DSamplePointVerifier.java68 protected boolean verifyPixel(int color, int expectedColor) { in verifyPixel() argument
69 return CompareUtils.verifyPixelWithThreshold(color, expectedColor, mTolerance); in verifyPixel()
DPerPixelBitmapVerifier.java90 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/
DMainInteractionSession.java170 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/
DHtmlTest.java98 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/
DCalendarTest.java1779 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()