/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 71 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { function in class:android::ScreenCapture 184 sc->checkPixel( 0, 12, 63, 63, 195); 185 sc->checkPixel( 75, 75, 195, 63, 63); 186 sc->checkPixel(145, 145, 63, 63, 195); 196 sc->checkPixel( 24, 24, 63, 63, 195); 197 sc->checkPixel( 75, 75, 63, 63, 195); 198 sc->checkPixel(145, 145, 195, 63, 63); 207 sc->checkPixel( 24, 24, 63, 63, 195); 208 sc->checkPixel( 75, 75, 63, 63, 195); 209 sc->checkPixel(14 [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 175 ::testing::AssertionResult GLTest::checkPixel(int x, int y, function in class:android::GLTest
|
H A D | CpuConsumer_test.cpp | 165 void checkPixel(const CpuConsumer::LockedBuffer &buf, function in namespace:android 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(bu [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 292 ::testing::AssertionResult checkPixel(int x, int y, int r, function in class:android::GLTest 841 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); 842 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); 843 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); 844 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); 846 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); 847 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); 848 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); 849 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); 850 EXPECT_TRUE(checkPixel( [all...] |