Lines Matching refs:shot
745 auto shot = getScreenCapture(); in TEST_P() local
746 shot->expectColor(rect, Color::RED); in TEST_P()
747 shot->expectBorder(rect, Color::BLACK); in TEST_P()
754 auto shot = getScreenCapture(); in TEST_P() local
755 shot->expectColor(rect, Color::RED); in TEST_P()
756 shot->expectBorder(rect, Color::BLACK); in TEST_P()
831 auto shot = getScreenCapture(); in TEST_P() local
833 shot->expectColor(rect, Color::RED); in TEST_P()
834 shot->expectBorder(rect, Color::BLACK); in TEST_P()
908 auto shot = getScreenCapture(); in TEST_P() local
910 shot->expectColor(rect, Color::RED); in TEST_P()
911 shot->expectBorder(rect, Color::BLACK); in TEST_P()
917 auto shot = getScreenCapture(); in TEST_P() local
919 shot->expectColor(rect, Color::RED); in TEST_P()
920 shot->expectBorder(rect, Color::BLACK); in TEST_P()
981 auto shot = getScreenCapture(); in TEST_P() local
982 shot->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
988 auto shot = getScreenCapture(); in TEST_P() local
989 shot->expectColor(Rect(0, 0, 32, 32), Color::GREEN); in TEST_P()
1020 auto shot = getScreenCapture(); in setRelativeZBasicHelper() local
1021 shot->expectColor(Rect(0, 0, 16, 16), Color::RED); in setRelativeZBasicHelper()
1022 shot->expectColor(Rect(16, 16, 48, 48), Color::GREEN); in setRelativeZBasicHelper()
1028 auto shot = getScreenCapture(); in setRelativeZBasicHelper() local
1029 shot->expectColor(Rect(0, 0, 32, 32), Color::RED); in setRelativeZBasicHelper()
1030 shot->expectColor(Rect(32, 32, 48, 48), Color::GREEN); in setRelativeZBasicHelper()
1204 auto shot = getScreenCapture(); in setRelativeZGroupHelper() local
1205 shot->expectColor(Rect(0, 0, 8, 8), Color::RED); in setRelativeZGroupHelper()
1206 shot->expectColor(Rect(8, 8, 16, 16), Color::GREEN); in setRelativeZGroupHelper()
1207 shot->expectColor(Rect(16, 16, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
1214 auto shot = getScreenCapture(); in setRelativeZGroupHelper() local
1215 shot->expectColor(Rect(0, 0, 8, 8), Color::RED); in setRelativeZGroupHelper()
1216 shot->expectColor(Rect(8, 8, 40, 40), Color::GREEN); in setRelativeZGroupHelper()
1217 shot->expectColor(Rect(40, 40, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
1224 auto shot = getScreenCapture(); in setRelativeZGroupHelper() local
1225 shot->expectColor(Rect(0, 0, 32, 32), Color::RED); in setRelativeZGroupHelper()
1226 shot->expectColor(Rect(32, 32, 40, 40), Color::GREEN); in setRelativeZGroupHelper()
1227 shot->expectColor(Rect(40, 40, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
1235 auto shot = getScreenCapture(); in setRelativeZGroupHelper() local
1236 shot->expectColor(Rect(0, 0, 32, 32), Color::RED); in setRelativeZGroupHelper()
1237 shot->expectColor(Rect(32, 32, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
1245 auto shot = getScreenCapture(); in setRelativeZGroupHelper() local
1246 shot->expectColor(Rect(0, 0, 16, 16), Color::RED); in setRelativeZGroupHelper()
1247 shot->expectColor(Rect(16, 16, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
1375 auto shot = screenshot(); in TEST_F() local
1376 shot->expectColor(Rect(0, 0, 32, 32), Color::BLACK); in TEST_F()
1406 auto shot = getScreenCapture(); in TEST_P() local
1407 shot->expectColor(top, Color::BLACK); in TEST_P()
1408 shot->expectColor(bottom, Color::RED); in TEST_P()
1414 auto shot = getScreenCapture(); in TEST_P() local
1415 shot->expectColor(top, Color::BLACK); in TEST_P()
1416 shot->expectColor(bottom, Color::RED); in TEST_P()
1425 auto shot = getScreenCapture(); in TEST_P() local
1426 shot->expectColor(top, Color::RED); in TEST_P()
1427 shot->expectColor(bottom, Color::BLACK); in TEST_P()
1453 auto shot = getScreenCapture(); in TEST_P() local
1454 shot->expectColor(top, Color::BLACK); in TEST_P()
1455 shot->expectColor(bottom, Color::RED); in TEST_P()
1461 auto shot = getScreenCapture(); in TEST_P() local
1462 shot->expectColor(top, Color::BLACK); in TEST_P()
1463 shot->expectColor(bottom, Color::BLACK); in TEST_P()
1476 auto shot = getScreenCapture(); in TEST_P() local
1477 shot->expectColor(top, Color::RED); in TEST_P()
1478 shot->expectColor(bottom, Color::BLACK); in TEST_P()
1549 auto shot = getScreenCapture(); in setAlphaBasicHelper() local
1552 shot->expectColor(Rect(0, 0, 16, 32), {r, 0, 0, 255}); in setAlphaBasicHelper()
1553 shot->expectColor(Rect(32, 0, 48, 32), {0, g, 0, 255}); in setAlphaBasicHelper()
1556 shot->expectColor(Rect(16, 0, 32, 32), {r, g, 0, 255}); in setAlphaBasicHelper()
1601 auto shot = getScreenCapture(); in TEST_P() local
1603 shot->expectColor(Rect(0, 0, testArea, testArea), Color::BLACK); in TEST_P()
1604 shot->expectColor(Rect(size - testArea, 0, right, testArea), Color::BLACK); in TEST_P()
1605 shot->expectColor(Rect(0, bottom - testArea, testArea, bottom), Color::BLACK); in TEST_P()
1606 shot->expectColor(Rect(size - testArea, bottom - testArea, right, bottom), Color::BLACK); in TEST_P()
1629 auto shot = getScreenCapture(); in TEST_P() local
1631 shot->expectColor(Rect(0, size / 2, right, static_cast<int>(bottom - cornerRadius)), in TEST_P()
1634 shot->expectColor(Rect(0, bottom - testArea, testArea, bottom), Color::BLACK); in TEST_P()
1635 shot->expectColor(Rect(right - testArea, bottom - testArea, right, bottom), Color::BLACK); in TEST_P()
1732 auto shot = screenshot(); in setBackgroundColorHelper() local
1733 shot->expectColor(Rect(0, 0, width, height), finalColor); in setBackgroundColorHelper()
1734 shot->expectBorder(Rect(0, 0, width, height), Color::BLACK); in setBackgroundColorHelper()
2046 auto shot = getScreenCapture(); in TEST_P() local
2053 shot->expectColor(get8x8Rect(2 * unit, 1 * unit), Color::RED); in TEST_P()
2054 shot->expectColor(get8x8Rect(3 * unit, 2 * unit), Color::GREEN); in TEST_P()
2055 shot->expectColor(get8x8Rect(1 * unit, 2 * unit), Color::BLUE); in TEST_P()
2056 shot->expectColor(get8x8Rect(2 * unit, 3 * unit), Color::WHITE); in TEST_P()
2068 auto shot = getScreenCapture(); in TEST_P() local
2070 shot->expectColor(rect, Color::RED); in TEST_P()
2071 shot->expectBorder(rect, Color::BLACK); in TEST_P()
2136 auto shot = getScreenCapture(); in TEST_P() local
2137 shot->expectColor(crop, Color::RED); in TEST_P()
2138 shot->expectBorder(crop, Color::BLACK); in TEST_P()
2149 auto shot = getScreenCapture(); in TEST_P() local
2150 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2151 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2197 auto shot = getScreenCapture(); in TEST_P() local
2198 shot->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
2199 shot->expectBorder(Rect(0, 0, 32, 32), Color::BLACK); in TEST_P()
2222 auto shot = getScreenCapture(); in TEST_P() local
2223 shot->expectColor(Rect(0, 0, 64, 64), Color::BLUE); in TEST_P()
2224 shot->expectBorder(Rect(0, 0, 64, 64), Color::BLACK); in TEST_P()
2231 auto shot = getScreenCapture(); in TEST_P() local
2232 shot->expectColor(Rect(0, 0, 64, 64), Color::RED); in TEST_P()
2233 shot->expectBorder(Rect(0, 0, 64, 64), Color::BLACK); in TEST_P()
2240 auto shot = getScreenCapture(); in TEST_P() local
2241 shot->expectColor(Rect(0, 0, 64, 16), Color::BLUE); in TEST_P()
2242 shot->expectColor(Rect(0, 16, 64, 64), Color::RED); in TEST_P()
2243 shot->expectBorder(Rect(0, 0, 64, 64), Color::BLACK); in TEST_P()
2255 auto shot = getScreenCapture(); in TEST_P() local
2256 shot->expectColor(crop + position, Color::RED); in TEST_P()
2257 shot->expectBorder(crop + position, Color::BLACK); in TEST_P()
2269 auto shot = getScreenCapture(); in TEST_P() local
2270 shot->expectColor(frame, Color::RED); in TEST_P()
2271 shot->expectBorder(frame, Color::BLACK); in TEST_P()
2284 auto shot = getScreenCapture(); in TEST_P() local
2285 shot->expectColor(Rect(16, 16, 48, 48), Color::RED); in TEST_P()
2286 shot->expectBorder(Rect(16, 16, 48, 48), Color::BLACK); in TEST_P()
2298 auto shot = getScreenCapture(); in TEST_P() local
2299 shot->expectColor(Rect(8, 8, 24, 24), Color::RED); in TEST_P()
2300 shot->expectBorder(Rect(8, 8, 24, 24), Color::BLACK); in TEST_P()
2306 auto shot = getScreenCapture(); in TEST_P() local
2307 shot->expectColor(Rect(8, 8, 16, 16), Color::RED); in TEST_P()
2308 shot->expectBorder(Rect(8, 8, 16, 16), Color::BLACK); in TEST_P()
2343 auto shot = getScreenCapture(); in TEST_P() local
2344 shot->expectColor(Rect(4, 4, 12, 12), Color::RED); in TEST_P()
2345 shot->expectBorder(Rect(4, 4, 12, 12), Color::BLACK); in TEST_P()
2363 auto shot = getScreenCapture(); in TEST_P() local
2364 shot->expectColor(Rect(0, 0, 16, 16), Color::RED); in TEST_P()
2365 shot->expectBorder(Rect(0, 0, 16, 16), Color::BLACK); in TEST_P()
2374 auto shot = getScreenCapture(); in TEST_P() local
2375 shot->expectColor(Rect(4, 4, 12, 12), Color::RED); in TEST_P()
2376 shot->expectBorder(Rect(4, 4, 12, 12), Color::BLACK); in TEST_P()
2388 auto shot = getScreenCapture(); in TEST_P() local
2389 shot->expectColor(frame, Color::RED); in TEST_P()
2390 shot->expectBorder(frame, Color::BLACK); in TEST_P()
2419 auto shot = getScreenCapture(); in TEST_P() local
2420 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2421 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2438 auto shot = getScreenCapture(); in TEST_P() local
2439 shot->expectColor(Rect(0, 0, 32, 32), Color::BLUE); in TEST_P()
2440 shot->expectBorder(Rect(0, 0, 32, 32), Color::BLACK); in TEST_P()
2455 auto shot = getScreenCapture(); in TEST_P() local
2456 shot->expectColor(Rect(0, 0, 32, 32), Color::BLUE); in TEST_P()
2457 shot->expectBorder(Rect(0, 0, 32, 32), Color::BLACK); in TEST_P()
2471 auto shot = getScreenCapture(); in TEST_P() local
2472 shot->expectColor(Rect(16, 16, 48, 48), Color::RED); in TEST_P()
2473 shot->expectBorder(Rect(16, 16, 48, 48), Color::BLACK); in TEST_P()
2490 auto shot = getScreenCapture(); in TEST_P() local
2491 shot->expectColor(Rect(0, 0, 32, 16), Color::RED); in TEST_P()
2492 shot->expectColor(Rect(0, 16, 32, 32), Color::BLUE); in TEST_P()
2493 shot->expectBorder(Rect(0, 0, 32, 32), Color::BLACK); in TEST_P()
2503 auto shot = getScreenCapture(); in TEST_P() local
2504 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2505 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2517 auto shot = getScreenCapture(); in TEST_P() local
2518 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2519 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2526 auto shot = getScreenCapture(); in TEST_P() local
2527 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLUE); in TEST_P()
2528 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2535 auto shot = getScreenCapture(); in TEST_P() local
2536 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2537 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2555 auto shot = getScreenCapture(); in TEST_P() local
2556 shot->expectColor(Rect(0, 0, 64, 64), Color::RED); in TEST_P()
2564 auto shot = getScreenCapture(); in TEST_P() local
2565 shot->expectColor(Rect(0, 0, 32, 32), Color::BLUE); in TEST_P()
2566 shot->expectColor(Rect(0, 32, 64, 64), Color::RED); in TEST_P()
2567 shot->expectColor(Rect(0, 32, 32, 64), Color::RED); in TEST_P()
2573 auto shot = getScreenCapture(); in TEST_P() local
2574 shot->expectColor(Rect(0, 0, 32, 32), Color::BLUE); in TEST_P()
2575 shot->expectColor(Rect(0, 32, 64, 64), Color::GREEN); in TEST_P()
2576 shot->expectColor(Rect(0, 32, 32, 64), Color::GREEN); in TEST_P()
2583 auto shot = getScreenCapture(); in TEST_P() local
2584 shot->expectColor(Rect(0, 0, 32, 32), Color::WHITE); in TEST_P()
2585 shot->expectColor(Rect(0, 32, 64, 64), Color::GREEN); in TEST_P()
2586 shot->expectColor(Rect(0, 32, 32, 64), Color::GREEN); in TEST_P()
2618 auto shot = screenshot(); in TEST_P() local
2619 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), color); in TEST_P()
2620 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2654 auto shot = screenshot(); in TEST_P() local
2655 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), color); in TEST_P()
2656 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2690 auto shot = screenshot(); in TEST_P() local
2691 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), color); in TEST_P()
2692 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2789 auto shot = getScreenCapture(); in TEST_P() local
2790 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2791 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2813 auto shot = getScreenCapture(); in TEST_P() local
2814 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2815 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2835 auto shot = getScreenCapture(); in TEST_P() local
2836 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2837 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2859 auto shot = getScreenCapture(); in TEST_P() local
2860 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2861 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2883 auto shot = getScreenCapture(); in TEST_P() local
2884 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2885 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2905 auto shot = getScreenCapture(); in TEST_P() local
2906 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
2907 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
2930 auto shot = screenshot(); in TEST_F() local
2931 shot->expectColor(rect, Color::RED); in TEST_F()
2932 shot->expectBorder(rect, Color::BLACK); in TEST_F()
5749 auto shot = screenshot(); in SetUp() local
5750 shot->expectColor(Rect(0, 0, 20, 20), Color::BLUE); in SetUp()
5767 auto shot = screenshot(); in TEST_F() local
5768 shot->expectColor(Rect(0, 0, 20, 20), Color::RED); in TEST_F()
5777 auto shot = screenshot(); in TEST_F() local
5778 shot->expectColor(Rect(0, 0, 20, 20), Color::BLUE); in TEST_F()