/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/native/libs/gui/tests/ |
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...] |
SurfaceTexture_test.cpp | 197 ::testing::AssertionResult checkPixel(int x, int y, int r, 471 EXPECT_TRUE(checkPixel(i*16 + 8, 8, i*16, i*16, i*16, i*16, 0)); 821 EXPECT_TRUE(checkPixel( 0, 0, 255, 127, 255, 255, 3)); 822 EXPECT_TRUE(checkPixel(63, 0, 0, 133, 0, 255, 3)); 823 EXPECT_TRUE(checkPixel(63, 65, 0, 133, 0, 255, 3)); 824 EXPECT_TRUE(checkPixel( 0, 65, 255, 127, 255, 255, 3)); 826 EXPECT_TRUE(checkPixel(22, 44, 255, 127, 255, 255, 3)); 827 EXPECT_TRUE(checkPixel(45, 52, 255, 127, 255, 255, 3)); 828 EXPECT_TRUE(checkPixel(52, 51, 98, 255, 73, 255, 3)); 829 EXPECT_TRUE(checkPixel( 7, 31, 155, 0, 118, 255, 3)) [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 292 ::testing::AssertionResult checkPixel(int x, int y, int r, 843 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); 844 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); 845 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); 846 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); 848 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); 849 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); 850 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); 851 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); 852 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/skia/tests/ |
ReadPixelsTest.cpp | 144 static bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 200 REPORTER_ASSERT(reporter, check = checkPixel(pmPixel, canvasPixel, didPremul));
|
WritePixelsTest.cpp | 203 static bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 255 REPORTER_ASSERT(reporter, check = checkPixel(bmpPMColor, canvasPixel, mul));
|