/external/angle/src/tests/gl_tests/gles1/ |
D | LightsTest.cpp | 87 GLColor32F actualColor; in TEST_P() local 92 glGetLightfv(GL_LIGHT0 + i, GL_AMBIENT, &actualColor.R); in TEST_P() 94 EXPECT_EQ(kLightnAmbient, actualColor); in TEST_P() 96 glGetLightfv(GL_LIGHT0 + i, GL_DIFFUSE, &actualColor.R); in TEST_P() 98 EXPECT_EQ(i == 0 ? kLight0Diffuse : kLightnDiffuse, actualColor); in TEST_P() 100 glGetLightfv(GL_LIGHT0 + i, GL_SPECULAR, &actualColor.R); in TEST_P() 102 EXPECT_EQ(i == 0 ? kLight0Specular : kLightnSpecular, actualColor); in TEST_P() 221 GLColor32F actualColor; in TEST_P() local 235 glGetFloatv(GL_LIGHT_MODEL_AMBIENT, &actualColor.R); in TEST_P() 236 EXPECT_EQ(lightModelAmbient, actualColor); in TEST_P() [all …]
|
D | MaterialsTest.cpp | 44 GLColor32F actualColor; in TEST_P() local 63 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P() 65 EXPECT_EQ(colors[i], actualColor); in TEST_P() 112 GLColor32F actualColor; in TEST_P() local 119 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P() 121 EXPECT_EQ(colors[i], actualColor); in TEST_P()
|
D | CurrentColorTest.cpp | 37 GLColor32F actualColor; in TEST_P() local 38 glGetFloatv(GL_CURRENT_COLOR, &actualColor.R); in TEST_P() 40 EXPECT_EQ(kFloatWhite, actualColor); in TEST_P()
|
/external/proguard/src/proguard/gui/splash/ |
D | ShadowedSprite.java | 84 Color actualColor = graphics.getColor(); in paint() local 104 graphics.setColor(actualColor); in paint()
|
/external/angle/src/tests/gl_tests/ |
D | DepthStencilTest.cpp | 126 GLColor actualColor = pixelData[i]; in ensureColor() local 127 EXPECT_NEAR(color.R, actualColor.R, 1); in ensureColor() 128 EXPECT_NEAR(color.G, actualColor.G, 1); in ensureColor() 129 EXPECT_NEAR(color.B, actualColor.B, 1); in ensureColor() 130 EXPECT_NEAR(color.A, actualColor.A, 1); in ensureColor()
|
D | SixteenBppTextureTest.cpp | 374 GLColor actualColor = GLColor::black; in TEST_P() local 375 glReadPixels(0, 0, 1, 1, colorReadFormat, colorReadType, &actualColor); in TEST_P() 376 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P() 392 GLColor actualColor(r8 << 4, g8 << 4, b8 << 4, a8 << 4); in TEST_P() local 393 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P()
|
D | ReadPixelsTest.cpp | 811 angle::GLColor actualColor; in verifyPBO() local 812 memcpy(&actualColor, mapPointer, sizeof(angle::GLColor)); in verifyPBO() 815 EXPECT_EQ(expectedColor, actualColor); in verifyPBO()
|
D | ClearTest.cpp | 1516 GLColor actualColor = pixelData[testN]; in TEST_P() local 1517 EXPECT_NEAR(expectedColor.R, actualColor.R, 1); in TEST_P() 1518 EXPECT_NEAR(expectedColor.G, actualColor.G, 1); in TEST_P() 1519 EXPECT_NEAR(expectedColor.B, actualColor.B, 1); in TEST_P() 1520 EXPECT_NEAR(expectedColor.A, actualColor.A, 1); in TEST_P()
|
D | RobustResourceInitTest.cpp | 1975 const GLColor actualColor = actualData[offset]; in TEST_P() local 1978 EXPECT_NEAR(expectedColor.R, actualColor.R, 1) << " at (" << x << ", " << y << ")"; in TEST_P() 1979 EXPECT_NEAR(expectedColor.G, actualColor.G, 1) << " at (" << x << ", " << y << ")"; in TEST_P() 1980 EXPECT_NEAR(expectedColor.B, actualColor.B, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
|
D | StateChangeTest.cpp | 3289 GLColor actualColor = pixelData[testN]; in TEST_P() local 3290 EXPECT_COLOR_NEAR(expectedColor, actualColor, 1); in TEST_P()
|
/external/skia/tests/ |
D | TextBlobCacheTest.cpp | 214 SkColor actualColor = actual.getColor(i, j); in compare_bitmaps() local 215 if (expectedColor != actualColor) { in compare_bitmaps()
|
D | SkRemoteGlyphCacheTest.cpp | 148 SkColor actualColor = actual.getColor(i, j); in compare_blobs() local 150 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs() 154 int actualChannel = (actualColor >> (k*8)) & 0xff; in compare_blobs()
|
/external/skqp/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 98 SkColor actualColor = actual.getColor(i, j); in compare_blobs() local 100 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs() 104 int actualChannel = (actualColor >> (k*8)) & 0xff; in compare_blobs()
|