/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 76 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { function in class:android::ScreenCapture 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(14 [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGL_test.cpp | 63 EXPECT_TRUE(checkPixel( 0, 0, 255, 127, 255, 255, 3)); 64 EXPECT_TRUE(checkPixel(63, 0, 0, 133, 0, 255, 3)); 65 EXPECT_TRUE(checkPixel(63, 65, 0, 133, 0, 255, 3)); 66 EXPECT_TRUE(checkPixel( 0, 65, 255, 127, 255, 255, 3)); 68 EXPECT_TRUE(checkPixel(22, 44, 255, 127, 255, 255, 3)); 69 EXPECT_TRUE(checkPixel(45, 52, 255, 127, 255, 255, 3)); 70 EXPECT_TRUE(checkPixel(52, 51, 98, 255, 73, 255, 3)); 71 EXPECT_TRUE(checkPixel( 7, 31, 155, 0, 118, 255, 3)); 72 EXPECT_TRUE(checkPixel(31, 9, 107, 24, 87, 255, 3)); 73 EXPECT_TRUE(checkPixel(2 [all...] |
H A D | SurfaceTextureGLToGL_test.cpp | 135 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); 136 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); 137 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); 138 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); 140 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); 141 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); 142 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); 143 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); 144 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)); 145 EXPECT_TRUE(checkPixel(1 [all...] |
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...] |
H A D | SurfaceTextureFBO_test.cpp | 83 EXPECT_TRUE(checkPixel( 24, 39, 255, 0, 0, 255)); 88 EXPECT_TRUE(checkPixel( 24, 39, 0, 255, 0, 255));
|
H A D | GLTest.h | 55 ::testing::AssertionResult checkPixel(int x, int y,
|
H A D | SurfaceTextureMultiContextGL_test.cpp | 175 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 208 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 240 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 337 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); 376 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35));
|
H A D | MultiTextureConsumer_test.cpp | 122 EXPECT_TRUE(checkPixel(i*16 + 8, 8, i*16, i*16, i*16, i*16, 0));
|
H A D | GLTest.cpp | 175 ::testing::AssertionResult GLTest::checkPixel(int x, int y, function in class:android::GLTest
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 287 ::testing::AssertionResult checkPixel(int x, int y, int r, function in class:android::GLTest 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( [all...] |