/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 66 void checkPixel(uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b) { 171 sc->checkPixel( 0, 12, 63, 63, 195); 172 sc->checkPixel( 75, 75, 195, 63, 63); 173 sc->checkPixel(145, 145, 63, 63, 195); 183 sc->checkPixel( 24, 24, 63, 63, 195); 184 sc->checkPixel( 75, 75, 63, 63, 195); 185 sc->checkPixel(145, 145, 195, 63, 63); 194 sc->checkPixel( 24, 24, 63, 63, 195); 195 sc->checkPixel( 75, 75, 63, 63, 195); 196 sc->checkPixel(145, 145, 63, 195, 63) [all...] |
/frameworks/native/libs/gui/tests/ |
SurfaceTexture_test.cpp | 194 ::testing::AssertionResult checkPixel(int x, int y, int r, 720 EXPECT_TRUE(checkPixel( 0, 0, 255, 127, 255, 255)); 721 EXPECT_TRUE(checkPixel(63, 0, 0, 133, 0, 255)); 722 EXPECT_TRUE(checkPixel(63, 65, 0, 133, 0, 255)); 723 EXPECT_TRUE(checkPixel( 0, 65, 255, 127, 255, 255)); 725 EXPECT_TRUE(checkPixel(22, 44, 255, 127, 255, 255)); 726 EXPECT_TRUE(checkPixel(45, 52, 255, 127, 255, 255)); 727 EXPECT_TRUE(checkPixel(52, 51, 98, 255, 73, 255)); 728 EXPECT_TRUE(checkPixel( 7, 31, 155, 0, 118, 255)); 729 EXPECT_TRUE(checkPixel(31, 9, 107, 24, 87, 255)) [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 290 ::testing::AssertionResult checkPixel(int x, int y, int r, 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( 5, 32, 153, 153, 153, 153)) [all...] |
/external/skia/tests/ |
ReadPixelsTest.cpp | 138 bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 195 REPORTER_ASSERT(reporter, check = checkPixel(pmPixel, canvasPixel, didPremul));
|
WritePixelsTest.cpp | 195 bool checkPixel(SkPMColor a, SkPMColor b, bool didPremulConversion) { 248 REPORTER_ASSERT(reporter, check = checkPixel(bmpPMColor, canvasPixel, mul));
|