Lines Matching refs:sc

34 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc,  in fillSurfaceRGBA8()  argument
37 sp<Surface> s = sc->getSurface(); in fillSurfaceRGBA8()
57 static void captureScreen(sp<ScreenCapture>* sc) { in captureScreen() argument
68 *sc = new ScreenCapture(cpuConsumer); in captureScreen()
180 sp<ScreenCapture> sc; in TEST_F() local
183 ScreenCapture::captureScreen(&sc); in TEST_F()
184 sc->checkPixel( 0, 12, 63, 63, 195); in TEST_F()
185 sc->checkPixel( 75, 75, 195, 63, 63); in TEST_F()
186 sc->checkPixel(145, 145, 63, 63, 195); in TEST_F()
195 ScreenCapture::captureScreen(&sc); in TEST_F()
196 sc->checkPixel( 24, 24, 63, 63, 195); in TEST_F()
197 sc->checkPixel( 75, 75, 63, 63, 195); in TEST_F()
198 sc->checkPixel(145, 145, 195, 63, 63); in TEST_F()
206 ScreenCapture::captureScreen(&sc); in TEST_F()
207 sc->checkPixel( 24, 24, 63, 63, 195); in TEST_F()
208 sc->checkPixel( 75, 75, 63, 63, 195); in TEST_F()
209 sc->checkPixel(145, 145, 63, 195, 63); in TEST_F()
214 sp<ScreenCapture> sc; in TEST_F() local
217 ScreenCapture::captureScreen(&sc); in TEST_F()
218 sc->checkPixel( 0, 12, 63, 63, 195); in TEST_F()
219 sc->checkPixel( 75, 75, 195, 63, 63); in TEST_F()
220 sc->checkPixel(145, 145, 63, 63, 195); in TEST_F()
232 ScreenCapture::captureScreen(&sc); in TEST_F()
233 sc->checkPixel( 0, 12, 63, 63, 195); in TEST_F()
234 sc->checkPixel( 75, 75, 195, 63, 63); in TEST_F()
235 sc->checkPixel(145, 145, 63, 63, 195); in TEST_F()
245 ScreenCapture::captureScreen(&sc); in TEST_F()
246 sc->checkPixel( 24, 24, 63, 63, 195); in TEST_F()
247 sc->checkPixel( 75, 75, 63, 195, 63); in TEST_F()
248 sc->checkPixel(145, 145, 63, 195, 63); in TEST_F()