Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp63 EXPECT_TRUE(checkPixel( 0, 0, 255, 127, 255, 255, 3)); in TEST_F()
64 EXPECT_TRUE(checkPixel(63, 0, 0, 133, 0, 255, 3)); in TEST_F()
65 EXPECT_TRUE(checkPixel(63, 65, 0, 133, 0, 255, 3)); in TEST_F()
66 EXPECT_TRUE(checkPixel( 0, 65, 255, 127, 255, 255, 3)); in TEST_F()
68 EXPECT_TRUE(checkPixel(22, 44, 255, 127, 255, 255, 3)); in TEST_F()
69 EXPECT_TRUE(checkPixel(45, 52, 255, 127, 255, 255, 3)); in TEST_F()
70 EXPECT_TRUE(checkPixel(52, 51, 98, 255, 73, 255, 3)); in TEST_F()
71 EXPECT_TRUE(checkPixel( 7, 31, 155, 0, 118, 255, 3)); in TEST_F()
72 EXPECT_TRUE(checkPixel(31, 9, 107, 24, 87, 255, 3)); in TEST_F()
73 EXPECT_TRUE(checkPixel(29, 35, 255, 127, 255, 255, 3)); in TEST_F()
[all …]
DSurfaceTextureGLToGL_test.cpp135 EXPECT_TRUE(checkPixel( 0, 0, 153, 153, 153, 153)); in TEST_F()
136 EXPECT_TRUE(checkPixel(63, 0, 153, 153, 153, 153)); in TEST_F()
137 EXPECT_TRUE(checkPixel(63, 63, 153, 153, 153, 153)); in TEST_F()
138 EXPECT_TRUE(checkPixel( 0, 63, 153, 153, 153, 153)); in TEST_F()
140 EXPECT_TRUE(checkPixel( 4, 7, 255, 0, 0, 255)); in TEST_F()
141 EXPECT_TRUE(checkPixel(25, 51, 0, 255, 0, 255)); in TEST_F()
142 EXPECT_TRUE(checkPixel(40, 19, 0, 0, 255, 255)); in TEST_F()
143 EXPECT_TRUE(checkPixel(29, 51, 153, 153, 153, 153)); in TEST_F()
144 EXPECT_TRUE(checkPixel( 5, 32, 153, 153, 153, 153)); in TEST_F()
145 EXPECT_TRUE(checkPixel(13, 8, 153, 153, 153, 153)); in TEST_F()
[all …]
DCpuConsumer_test.cpp167 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.cpp83 EXPECT_TRUE(checkPixel( 24, 39, 255, 0, 0, 255)); in TEST_F()
88 EXPECT_TRUE(checkPixel( 24, 39, 0, 255, 0, 255)); in TEST_F()
DSurfaceTextureMultiContextGL_test.cpp175 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
208 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
240 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
337 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
376 ASSERT_TRUE(checkPixel( 0, 0, 35, 35, 35, 35)); in TEST_F()
DGLTest.h55 ::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.cpp177 ::testing::AssertionResult GLTest::checkPixel(int x, int y, in checkPixel() function in android::GLTest
/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp81 sc->checkPixel(1, 1, Color::BLUE.r, Color::BLUE.g, Color::BLUE.b); in TEST_F()
96 sc->checkPixel(1, 1, Color::GREEN.r, Color::GREEN.g, Color::GREEN.b); in TEST_F()
130 sc->checkPixel(1, 1, Color::GREEN.r, Color::GREEN.g, Color::GREEN.b); in TEST_F()
148 sc->checkPixel(1, 1, Color::GREEN.r, Color::GREEN.g, Color::GREEN.b); in TEST_F()
173 sc->checkPixel(1, 1, Color::BLUE.r, Color::BLUE.g, Color::BLUE.b); in TEST_F()
186 sc->checkPixel(1, 1, Color::GREEN.r, Color::GREEN.g, Color::GREEN.b); in TEST_F()
196 sc->checkPixel(1, 1, Color::GREEN.r, Color::GREEN.g, Color::GREEN.b); in TEST_F()
207 sc->checkPixel(1, 1, Color::BLUE.r, Color::BLUE.g, Color::BLUE.b); in TEST_F()
DLayerUpdate_test.cpp121 sc->checkPixel(64, 64, 10, 10, 10); in TEST_F()
128 sc->checkPixel(64, 64, 10, 10, 10); in TEST_F()
235 sc->checkPixel(96, 96, 162, 63, 96); in TEST_F()
481 mCapture->checkPixel(0, 0, 0, 254, 0); in TEST_F()
489 mCapture->checkPixel(0, 0, 127, 127, 0); in TEST_F()
497 mCapture->checkPixel(0, 0, 95, 64, 95); in TEST_F()
542 mCapture->checkPixel(64, 64, 111, 111, 111); in TEST_F()
559 mCapture->checkPixel(64, 64, 111, 111, 111); in TEST_F()
576 mCapture->checkPixel(64, 64, 200, 200, 200); in TEST_F()
587 mCapture->checkPixel(64, 64, 195, 63, 63); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h139 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { in checkPixel() function
150 void expectFGColor(uint32_t x, uint32_t y) { checkPixel(x, y, 195, 63, 63); } in expectFGColor()
152 void expectBGColor(uint32_t x, uint32_t y) { checkPixel(x, y, 63, 63, 195); } in expectBGColor()
154 void expectChildColor(uint32_t x, uint32_t y) { checkPixel(x, y, 200, 200, 200); } in expectChildColor()