/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { 10 int diff = Math.abs(Color.red(color) - Color.red(expectedColor)) 11 + Math.abs(Color.green(color) - Color.green(expectedColor)) 12 + Math.abs(Color.blue(color) - Color.blue(expectedColor));
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
ColorBufferTest.java | 51 float[] expectedColor = {r, g, b, a}; 59 compare(expectedColor, actualColor); 68 float[] expectedColor = {r, g, b, a}; 77 compare(expectedColor, actualColor); 87 float[] expectedColor = {r, g, b, a}; 96 compare(expectedColor, actualColor); 106 float[] expectedColor = {r, g, b, a}; 115 compare(expectedColor, actualColor); 125 float[] expectedColor = {r, g, b, a}; 134 compare(expectedColor, actualColor) [all...] |
NativeColorBufferTest.java | 46 float[] expectedColor = {r, g, b, a}; 54 compare(expectedColor, actualColor); 63 float[] expectedColor = {r, g, b, a}; 72 compare(expectedColor, actualColor); 82 float[] expectedColor = {r, g, b, a}; 91 compare(expectedColor, actualColor); 101 float[] expectedColor = {r, g, b, a}; 110 compare(expectedColor, actualColor); 120 float[] expectedColor = {r, g, b, a}; 129 compare(expectedColor, actualColor) [all...] |
/external/chromium_org/third_party/skia/tests/ |
ColorFilterTest.cpp | 59 SkColor expectedColor = color; 67 if (c != expectedColor) { 68 expectedColor = 0; 75 // SkDebugf("--- got [%d %x] expected [%d %x]\n", m, c, expectedMode, expectedColor); 77 REPORTER_ASSERT(reporter, c == expectedColor); 88 REPORTER_ASSERT(reporter, c2 == expectedColor);
|
/external/skia/tests/ |
ColorFilterTest.cpp | 59 SkColor expectedColor = color; 67 if (c != expectedColor) { 68 expectedColor = 0; 75 // SkDebugf("--- got [%d %x] expected [%d %x]\n", m, c, expectedMode, expectedColor); 77 REPORTER_ASSERT(reporter, c == expectedColor); 88 REPORTER_ASSERT(reporter, c2 == expectedColor);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
PerPixelBitmapVerifier.java | 88 int expectedColor = getExpectedColor(x, y); 89 return CompareUtils.verifyPixelWithThreshold(observedColor, expectedColor, mColorTolerance);
|
SamplePointVerifier.java | 68 protected boolean verifyPixel(int color, int expectedColor) { 69 return CompareUtils.verifyPixelWithThreshold(color, expectedColor, mTolerance);
|
/cts/tests/tests/text/src/android/text/cts/ |
HtmlTest.java | 98 int expectedColor = 0xFF00FF00; 99 assertEquals(expectedColor, colors[0].getForegroundColor()); 104 expectedColor = 0xFF000080;
|
/external/deqp/modules/gles2/functional/ |
es2fShaderFragDataTests.cpp | 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 69 log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << TestLog::EndMessage; 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold);
|
/external/deqp/modules/gles3/functional/ |
es3fShaderFragDataTests.cpp | 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 69 log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << TestLog::EndMessage; 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold);
|
/external/deqp/modules/gles31/functional/ |
es31fLayoutBindingTests.cpp | 228 bool drawAndVerifyResult (const Vec4& expectedColor); 527 bool LayoutBindingRenderCase::drawAndVerifyResult (const Vec4& expectedColor) 545 tcu::clear(reference.getAccess(), expectedColor); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |