Home | History | Annotate | Download | only in tests

Lines Matching refs:sc

32 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc,
35 sp<Surface> s = sc->getSurface();
55 static void captureScreen(sp<ScreenCapture>* sc) {
65 *sc = new ScreenCapture(w, h, heap);
174 sp<ScreenCapture> sc;
177 ScreenCapture::captureScreen(&sc);
178 sc->checkPixel( 0, 12, 63, 63, 195);
179 sc->checkPixel( 75, 75, 195, 63, 63);
180 sc->checkPixel(145, 145, 63, 63, 195);
189 ScreenCapture::captureScreen(&sc);
190 sc->checkPixel( 24, 24, 63, 63, 195);
191 sc->checkPixel( 75, 75, 63, 63, 195);
192 sc->checkPixel(145, 145, 195, 63, 63);
200 ScreenCapture::captureScreen(&sc);
201 sc->checkPixel( 24, 24, 63, 63, 195);
202 sc->checkPixel( 75, 75, 63, 63, 195);
203 sc->checkPixel(145, 145, 63, 195, 63);
208 sp<ScreenCapture> sc;
211 ScreenCapture::captureScreen(&sc);
212 sc->checkPixel( 0, 12, 63, 63, 195);
213 sc->checkPixel( 75, 75, 195, 63, 63);
214 sc->checkPixel(145, 145, 63, 63, 195);
226 ScreenCapture::captureScreen(&sc);
227 sc->checkPixel( 0, 12, 63, 63, 195);
228 sc->checkPixel( 75, 75, 195, 63, 63);
229 sc->checkPixel(145, 145, 63, 63, 195);
239 ScreenCapture::captureScreen(&sc);
240 sc->checkPixel( 24, 24, 63, 63, 195);
241 sc->checkPixel( 75, 75, 63, 195, 63);
242 sc->checkPixel(145, 145, 63, 195, 63);