/frameworks/native/libs/gui/tests/ |
GLTest.cpp | 175 ::testing::AssertionResult GLTest::checkPixel(int x, int y,
|
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...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 76 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { 191 sc->checkPixel( 0, 12, 63, 63, 195); 192 sc->checkPixel( 75, 75, 195, 63, 63); 193 sc->checkPixel(145, 145, 63, 63, 195); 203 sc->checkPixel( 24, 24, 63, 63, 195); 204 sc->checkPixel( 75, 75, 63, 63, 195); 205 sc->checkPixel(145, 145, 195, 63, 63); 214 sc->checkPixel( 24, 24, 63, 63, 195); 215 sc->checkPixel( 75, 75, 63, 63, 195); 216 sc->checkPixel(145, 145, 63, 195, 63) [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 287 ::testing::AssertionResult checkPixel(int x, int y, int r, 836 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); 837 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); 838 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); 839 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); 841 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); 842 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); 843 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); 844 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); 845 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)) [all...] |