Home
last modified time | relevance | path

Searched refs:checkPixel (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp59 EXPECT_TRUE(checkPixel( 0, 0, 255, 127, 255, 255, 3)); in TEST_F()
60 EXPECT_TRUE(checkPixel(63, 0, 0, 133, 0, 255, 3)); in TEST_F()
61 EXPECT_TRUE(checkPixel(63, 65, 0, 133, 0, 255, 3)); in TEST_F()
62 EXPECT_TRUE(checkPixel( 0, 65, 255, 127, 255, 255, 3)); in TEST_F()
64 EXPECT_TRUE(checkPixel(22, 44, 255, 127, 255, 255, 3)); in TEST_F()
65 EXPECT_TRUE(checkPixel(45, 52, 255, 127, 255, 255, 3)); in TEST_F()
66 EXPECT_TRUE(checkPixel(52, 51, 98, 255, 73, 255, 3)); in TEST_F()
67 EXPECT_TRUE(checkPixel( 7, 31, 155, 0, 118, 255, 3)); in TEST_F()
68 EXPECT_TRUE(checkPixel(31, 9, 107, 24, 87, 255, 3)); in TEST_F()
69 EXPECT_TRUE(checkPixel(29, 35, 255, 127, 255, 255, 3)); in TEST_F()
[all …]
DSurfaceTextureGLToGL_test.cpp129 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); in TEST_F()
130 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); in TEST_F()
131 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); in TEST_F()
132 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); in TEST_F()
134 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); in TEST_F()
135 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); in TEST_F()
136 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); in TEST_F()
137 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); in TEST_F()
138 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)); in TEST_F()
139 EXPECT_TRUE(checkPixel(13, 8, 153, 153, 153, 153)); in TEST_F()
[all …]
DCpuConsumer_test.cpp165 void checkPixel(const CpuConsumer::LockedBuffer &buf, in checkPixel() function
316 checkPixel(buf, 0, 0, 191); in checkGreyscaleBuffer()
317 checkPixel(buf, 1, 0, 191); in checkGreyscaleBuffer()
318 checkPixel(buf, 0, 1, 191); in checkGreyscaleBuffer()
319 checkPixel(buf, 1, 1, 191); in checkGreyscaleBuffer()
322 checkPixel(buf, blockWidth, 0, 63); in checkGreyscaleBuffer()
323 checkPixel(buf, blockWidth + 1, 0, 63); in checkGreyscaleBuffer()
324 checkPixel(buf, blockWidth, 1, 63); in checkGreyscaleBuffer()
325 checkPixel(buf, blockWidth + 1, 1, 63); in checkGreyscaleBuffer()
328 checkPixel(buf, 0, blockHeight, 63); in checkGreyscaleBuffer()
[all …]
DSurfaceTextureFBO_test.cpp79 EXPECT_TRUE(checkPixel( 24, 39, 255, 0, 0, 255)); in TEST_F()
84 EXPECT_TRUE(checkPixel( 24, 39, 0, 255, 0, 255)); in TEST_F()
DSurfaceTextureMultiContextGL_test.cpp166 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
198 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
229 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
321 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
359 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
DGLTest.h53 ::testing::AssertionResult checkPixel(int x, int y,
DMultiTextureConsumer_test.cpp122 EXPECT_TRUE(checkPixel(i*16 + 8, 8, i*16, i*16, i*16, i*16, 0)); in TEST_F()
DGLTest.cpp175 ::testing::AssertionResult GLTest::checkPixel(int x, int y, in checkPixel() function in android::GLTest
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp68 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { in checkPixel() function in android::ScreenCapture
178 sc->checkPixel( 0, 12, 63, 63, 195); in TEST_F()
179 sc->checkPixel( 75, 75, 195, 63, 63); in TEST_F()
180 sc->checkPixel(145, 145, 63, 63, 195); in TEST_F()
190 sc->checkPixel( 24, 24, 63, 63, 195); in TEST_F()
191 sc->checkPixel( 75, 75, 63, 63, 195); in TEST_F()
192 sc->checkPixel(145, 145, 195, 63, 63); in TEST_F()
201 sc->checkPixel( 24, 24, 63, 63, 195); in TEST_F()
202 sc->checkPixel( 75, 75, 63, 63, 195); in TEST_F()
203 sc->checkPixel(145, 145, 63, 195, 63); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp291 ::testing::AssertionResult checkPixel(int x, int y, int r, in checkPixel() function in android::GLTest
840 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); in TEST_F()
841 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); in TEST_F()
842 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); in TEST_F()
843 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); in TEST_F()
845 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); in TEST_F()
846 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); in TEST_F()
847 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); in TEST_F()
848 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); in TEST_F()
849 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)); in TEST_F()
[all …]