/frameworks/native/libs/gui/tests/ |
SurfaceTextureGL_test.cpp | 59 EXPECT_TRUE(checkPixel( 0, 0, 255, 127, 255, 255, 3)); 60 EXPECT_TRUE(checkPixel(63, 0, 0, 133, 0, 255, 3)); 61 EXPECT_TRUE(checkPixel(63, 65, 0, 133, 0, 255, 3)); 62 EXPECT_TRUE(checkPixel( 0, 65, 255, 127, 255, 255, 3)); 64 EXPECT_TRUE(checkPixel(22, 44, 255, 127, 255, 255, 3)); 65 EXPECT_TRUE(checkPixel(45, 52, 255, 127, 255, 255, 3)); 66 EXPECT_TRUE(checkPixel(52, 51, 98, 255, 73, 255, 3)); 67 EXPECT_TRUE(checkPixel( 7, 31, 155, 0, 118, 255, 3)); 68 EXPECT_TRUE(checkPixel(31, 9, 107, 24, 87, 255, 3)); 69 EXPECT_TRUE(checkPixel(29, 35, 255, 127, 255, 255, 3)) [all...] |
SurfaceTextureGLToGL_test.cpp | 129 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); 130 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); 131 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); 132 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); 134 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); 135 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); 136 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); 137 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); 138 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)); 139 EXPECT_TRUE(checkPixel(13, 8, 153, 153, 153, 153)) [all...] |
CpuConsumer_test.cpp | 165 void checkPixel(const CpuConsumer::LockedBuffer &buf, 316 checkPixel(buf, 0, 0, 191); 317 checkPixel(buf, 1, 0, 191); 318 checkPixel(buf, 0, 1, 191); 319 checkPixel(buf, 1, 1, 191); 322 checkPixel(buf, blockWidth, 0, 63); 323 checkPixel(buf, blockWidth + 1, 0, 63); 324 checkPixel(buf, blockWidth, 1, 63); 325 checkPixel(buf, blockWidth + 1, 1, 63); 328 checkPixel(buf, 0, blockHeight, 63) [all...] |
SurfaceTextureFBO_test.cpp | 79 EXPECT_TRUE(checkPixel( 24, 39, 255, 0, 0, 255)); 84 EXPECT_TRUE(checkPixel( 24, 39, 0, 255, 0, 255));
|
GLTest.h | 53 ::testing::AssertionResult checkPixel(int x, int y,
|
SurfaceTextureMultiContextGL_test.cpp | 166 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 198 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 229 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 321 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 359 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35));
|
MultiTextureConsumer_test.cpp | 122 EXPECT_TRUE(checkPixel(i*16 + 8, 8, i*16, i*16, i*16, i*16, 0));
|
GLTest.cpp | 175 ::testing::AssertionResult GLTest::checkPixel(int x, int y,
|
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 68 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { 178 sc->checkPixel( 0, 12, 63, 63, 195); 179 sc->checkPixel( 75, 75, 195, 63, 63); 180 sc->checkPixel(145, 145, 63, 63, 195); 190 sc->checkPixel( 24, 24, 63, 63, 195); 191 sc->checkPixel( 75, 75, 63, 63, 195); 192 sc->checkPixel(145, 145, 195, 63, 63); 201 sc->checkPixel( 24, 24, 63, 63, 195); 202 sc->checkPixel( 75, 75, 63, 63, 195); 203 sc->checkPixel(145, 145, 63, 195, 63) [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 291 ::testing::AssertionResult checkPixel(int x, int y, int r, 840 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); 841 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); 842 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); 843 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); 845 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); 846 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); 847 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); 848 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); 849 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)) [all...] |
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
GLTest_test.cpp | 155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) { 168 if (checkPixel(actual, expected, tolerance)) {
|
/external/chromium_org/third_party/skia/tests/ |
ReadPixelsTest.cpp | 131 static bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 188 REPORTER_ASSERT(reporter, check = checkPixel(pmPixel, canvasPixel, didPremul));
|
WritePixelsTest.cpp | 168 static bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 228 bool check = checkPixel(bmpPMColor, canvasPixel, mul);
|
/external/skia/tests/ |
ReadPixelsTest.cpp | 132 static bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 189 REPORTER_ASSERT(reporter, check = checkPixel(pmPixel, canvasPixel, didPremul));
|
WritePixelsTest.cpp | 168 static bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 234 bool check = checkPixel(bmpPMColor, canvasPixel, mul);
|