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