Lines Matching refs:sc

107     std::unique_ptr<ScreenCapture> sc;  in TEST_F()  local
120 ScreenCapture::captureScreen(&sc); in TEST_F()
121 sc->checkPixel(64, 64, 10, 10, 10); in TEST_F()
127 ScreenCapture::captureScreen(&sc); in TEST_F()
128 sc->checkPixel(64, 64, 10, 10, 10); in TEST_F()
136 ScreenCapture::captureScreen(&sc); in TEST_F()
137 sc->expectFGColor(64, 64); in TEST_F()
145 ScreenCapture::captureScreen(&sc); in EXPECT_INITIAL_STATE()
147 sc->expectFGColor(127, 127); in EXPECT_INITIAL_STATE()
148 sc->expectBGColor(128, 128); in EXPECT_INITIAL_STATE()
174 std::unique_ptr<ScreenCapture> sc; member in android::GeometryLatchingTest
181 ScreenCapture::captureScreen(&sc); in EXPECT_CROPPED_STATE()
183 sc->expectFGColor(126, 126); in EXPECT_CROPPED_STATE()
184 sc->expectBGColor(127, 127); in EXPECT_CROPPED_STATE()
185 sc->expectBGColor(128, 128); in EXPECT_CROPPED_STATE()
190 ScreenCapture::captureScreen(&sc); in EXPECT_RESIZE_STATE()
192 sc->expectFGColor(64, 64); in EXPECT_RESIZE_STATE()
193 sc->expectFGColor(191, 191); in EXPECT_RESIZE_STATE()
194 sc->expectBGColor(192, 192); in EXPECT_RESIZE_STATE()
199 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
202 ScreenCapture::captureScreen(&sc); in TEST_F()
203 sc->expectBGColor(32, 32); in TEST_F()
204 sc->expectFGColor(96, 96); in TEST_F()
205 sc->expectBGColor(160, 160); in TEST_F()
223 ScreenCapture::captureScreen(&sc); in TEST_F()
224 sc->expectBGColor(32, 32); in TEST_F()
225 sc->expectFGColor(96, 96); in TEST_F()
226 sc->expectBGColor(160, 160); in TEST_F()
233 ScreenCapture::captureScreen(&sc); in TEST_F()
234 sc->expectBGColor(32, 32); in TEST_F()
235 sc->checkPixel(96, 96, 162, 63, 96); in TEST_F()
236 sc->expectBGColor(160, 160); in TEST_F()
246 ScreenCapture::captureScreen(&sc); in TEST_F()
247 sc->expectBGColor(32, 32); in TEST_F()
248 sc->expectBGColor(96, 96); in TEST_F()
249 sc->expectFGColor(160, 160); in TEST_F()
254 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
268 ScreenCapture::captureScreen(&sc); in TEST_F()
269 sc->expectChildColor(73, 73); in TEST_F()
270 sc->expectFGColor(74, 74); in TEST_F()
276 ScreenCapture::captureScreen(&sc); in TEST_F()
277 sc->expectChildColor(73, 73); in TEST_F()
278 sc->expectChildColor(74, 74); in TEST_F()
283 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
286 ScreenCapture::captureScreen(&sc); in TEST_F()
287 sc->expectBGColor(0, 12); in TEST_F()
288 sc->expectFGColor(75, 75); in TEST_F()
289 sc->expectBGColor(145, 145); in TEST_F()
301 ScreenCapture::captureScreen(&sc); in TEST_F()
302 sc->expectFGColor(1, 1); in TEST_F()
308 std::unique_ptr<ScreenCapture> sc; in TEST_F() local
311 ScreenCapture::captureScreen(&sc); in TEST_F()
312 sc->expectBGColor(0, 12); in TEST_F()
313 sc->expectBGColor(75, 75); in TEST_F()
314 sc->expectBGColor(145, 145); in TEST_F()
325 ScreenCapture::captureScreen(&sc); in TEST_F()
326 sc->expectFGColor(75, 75); in TEST_F()
1459 ScreenCapture sc(outBuffer); in TEST_F() local
1461 sc.expectColor(Rect(0, 0, 9, 9), Color::RED); in TEST_F()
1473 ScreenCapture sc(outBuffer); in TEST_F() local
1475 sc.expectColor(Rect(0, 0, 9, 9), Color::RED); in TEST_F()
1502 ScreenCapture sc(outBuffer); in TEST_F() local
1503 sc.expectColor(Rect(0, 0, 9, 9), Color::RED); in TEST_F()