Lines Matching refs:WithMotionAction
476 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_CANCEL), in consumeMotionCancel()
835 foregroundWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
870 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
871 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
872 window->consumeMotionEvent(WithMotionAction(POINTER_0_UP)); in TEST_F()
878 AllOf(WithMotionAction(ACTION_CANCEL), WithPointers(expectedPointers))); in TEST_F()
973 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
974 leftWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
983 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
984 rightWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1003 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB))); in TEST_F()
1005 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB), in TEST_F()
1071 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
1072 leftWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1081 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
1082 middleWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1091 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB))); in TEST_F()
1093 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB), in TEST_F()
1096 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
1097 rightWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1110 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(deviceB))); in TEST_F()
1111 rightWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), in TEST_F()
1176 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
1177 leftWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1186 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
1187 middleWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1196 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB))); in TEST_F()
1198 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB), in TEST_F()
1200 rightForegroundWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
1204 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB), in TEST_F()
1216 rightForegroundWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), in TEST_F()
1220 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(deviceB), in TEST_F()
1486 spyWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1487 spyWindow->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
1488 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1489 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
1499 spyWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_CANCEL)); in TEST_F()
1500 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_CANCEL)); in TEST_F()
1513 spyWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1514 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1547 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1553 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_MOVE)); in TEST_F()
1561 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
1569 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1575 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_MOVE)); in TEST_F()
1581 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
1624 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
1636 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT)); in TEST_F()
1637 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
1648 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT)); in TEST_F()
1649 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1661 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
1673 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1685 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
1730 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
1740 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT)); in TEST_F()
1741 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
1750 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1759 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
1769 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
1778 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
1807 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1827 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
1836 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1856 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1878 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
1888 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1894 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_MOVE)); in TEST_F()
1912 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
1917 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_MOVE)); in TEST_F()
1923 window->consumeMotionEvent(WithMotionAction(ACTION_SCROLL)); in TEST_F()
1949 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
1969 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
1996 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2003 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2010 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2017 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2050 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2052 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2073 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2075 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2109 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2111 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2118 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2120 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2127 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2129 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2136 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2138 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2167 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
2186 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_MOVE), in TEST_F()
2219 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
2227 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2232 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2239 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_MOVE), in TEST_F()
2247 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2276 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2277 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2289 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId), in TEST_F()
2291 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
2293 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_MOVE), in TEST_F()
2330 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2331 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2343 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
2345 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_MOVE), in TEST_F()
2353 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId), in TEST_F()
2385 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId1))); in TEST_F()
2386 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId1))); in TEST_F()
2400 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(stylusDeviceId1))); in TEST_F()
2401 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId2))); in TEST_F()
2402 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId2))); in TEST_F()
2437 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId1))); in TEST_F()
2438 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId1))); in TEST_F()
2449 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId2))); in TEST_F()
2450 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId2))); in TEST_F()
2456 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId1))); in TEST_F()
2485 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2486 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2493 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId))); in TEST_F()
2494 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2501 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2530 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2531 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2538 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2545 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId), in TEST_F()
2553 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2586 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
2596 AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithDeviceId(mouseDeviceId))); in TEST_F()
2598 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
2607 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
2616 rightWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
2628 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(mouseDeviceId))); in TEST_F()
2630 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2635 AllOf(WithMotionAction(ACTION_MOVE), WithPointers(expectedPointers))); in TEST_F()
2671 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
2681 AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithDeviceId(mouseDeviceId))); in TEST_F()
2683 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
2692 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
2701 rightWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
2712 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2717 AllOf(WithMotionAction(ACTION_MOVE), WithPointers(expectedPointers))); in TEST_F()
2749 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
2757 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
2765 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(mouseDeviceId))); in TEST_F()
2772 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
2815 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2817 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2826 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2837 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
2839 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
2847 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2891 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2893 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
2902 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2904 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2912 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
2914 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
2922 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2924 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
2969 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
2971 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
2982 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
2990 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
2992 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3000 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
3045 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
3047 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
3056 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3058 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3066 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3068 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3076 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
3078 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
3122 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3123 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
3124 window->consumeMotionEvent(WithMotionAction(POINTER_0_UP)); in TEST_F()
3133 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId), in TEST_F()
3135 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
3144 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
3161 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(mouseDeviceId))); in TEST_F()
3202 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3203 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
3204 window->consumeMotionEvent(WithMotionAction(POINTER_0_UP)); in TEST_F()
3213 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
3222 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
3230 window->consumeMotionEvent(AllOf(WithMotionAction(POINTER_0_DOWN), WithDeviceId(touchDeviceId), in TEST_F()
3239 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(mouseDeviceId))); in TEST_F()
3267 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(VIRTUAL_KEYBOARD_ID))); in TEST_F()
3277 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(VIRTUAL_KEYBOARD_ID))); in TEST_F()
3278 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3304 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(VIRTUAL_KEYBOARD_ID))); in TEST_F()
3312 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3353 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
3371 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT)); in TEST_F()
3372 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
3373 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
3383 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
3393 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
3394 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_MOVE)); in TEST_F()
3437 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
3451 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3453 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), WithDeviceId(touchDeviceId))); in TEST_F()
3461 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
3469 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
3470 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_MOVE)); in TEST_F()
3500 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
3521 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3540 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3565 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
3572 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3581 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3588 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_UP), WithDeviceId(touchDeviceId))); in TEST_F()
3595 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3634 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
3659 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3661 AllOf(WithMotionAction(ACTION_UP), WithDeviceId(stylusDeviceId))); in TEST_F()
3669 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3707 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(stylusDeviceId))); in TEST_F()
3732 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
3734 AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithDeviceId(stylusDeviceId))); in TEST_F()
3742 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
3768 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
3773 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
3779 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3785 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
3791 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
3796 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
3821 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
3832 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
3838 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
3870 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
3872 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
3879 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
3880 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
3881 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3882 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3888 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3889 window->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3893 window->consumeMotionEvent(WithMotionAction(ACTION_CANCEL)); in TEST_F()
3899 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3909 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId))); in TEST_F()
3911 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
3912 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
3921 spyWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
3922 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
3930 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3931 window->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3973 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
3975 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
3983 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3984 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
3990 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3991 window->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
3995 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId))); in TEST_F()
4002 spyWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
4012 AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithDeviceId(mouseDeviceId))); in TEST_F()
4014 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
4016 AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithDeviceId(mouseDeviceId))); in TEST_F()
4017 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
4026 spyWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
4027 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
4036 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(mouseDeviceId))); in TEST_F()
4037 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(mouseDeviceId))); in TEST_F()
4045 AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
4125 window1->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN))); in TEST_F()
4134 window2->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN))); in TEST_F()
4154 AllOf(WithMotionAction(POINTER_1_DOWN), WithDownTime(secondDown->getDownTime()))); in TEST_F()
4171 AllOf(WithMotionAction(POINTER_1_DOWN), WithDownTime(firstDown->getDownTime()))); in TEST_F()
4196 windowRight->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
4205 windowRight->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT)); in TEST_F()
4206 windowLeft->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
4215 windowLeft->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
4216 windowLeft->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
4226 windowLeft->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
4236 windowLeft->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_RELEASE)); in TEST_F()
4253 windowRight->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
4288 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
4289 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
4297 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId), in TEST_F()
4299 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
4308 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
4348 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
4349 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
4357 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(mouseDeviceId))); in TEST_F()
4366 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
4375 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
4402 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER), in TEST_F()
4404 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER), in TEST_F()
4443 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER), in TEST_F()
4445 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER), in TEST_F()
4447 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_MOVE), in TEST_F()
4449 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_MOVE), in TEST_F()
4459 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT), in TEST_F()
4461 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT), in TEST_F()
4463 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
4465 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
4470 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_CANCEL), in TEST_F()
4481 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
4496 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
4498 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
4509 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
4511 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
4545 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
4547 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
4549 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
4551 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
4558 AllOf(WithMotionAction(ACTION_DOWN), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4560 AllOf(WithMotionAction(ACTION_DOWN), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4565 AllOf(WithMotionAction(ACTION_CANCEL), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4574 AllOf(WithMotionAction(ACTION_UP), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4586 AllOf(WithMotionAction(ACTION_DOWN), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4588 AllOf(WithMotionAction(ACTION_DOWN), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4596 AllOf(WithMotionAction(ACTION_UP), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4598 AllOf(WithMotionAction(ACTION_UP), WithSource(AINPUT_SOURCE_TOUCHSCREEN))); in TEST_F()
4606 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
4608 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
4632 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
4640 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
4641 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
4651 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_PRESS)); in TEST_F()
4661 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_BUTTON_RELEASE)); in TEST_F()
4702 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
4706 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT)); in TEST_F()
4732 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F_WITH_FLAGS()
4733 window->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F_WITH_FLAGS()
4757 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
4766 AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithDeviceId(mouseDeviceId))); in TEST_F()
4767 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
4791 AllOf(WithMotionAction(ACTION_HOVER_ENTER), WithDeviceId(mouseDeviceId))); in TEST_F()
4798 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
4818 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER), in TEST_F()
4826 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT), in TEST_F()
4830 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
4837 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
4858 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER), in TEST_F()
4866 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_EXIT), in TEST_F()
4869 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
4876 window->consumeMotionEvent(AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
4903 windowDefaultDisplay->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_ENTER)); in TEST_F()
4923 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_MOVE), in TEST_F()
4994 AllOf(WithMotionAction(ACTION_CANCEL), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
5009 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
5013 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
5019 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
5101 AllOf(WithMotionAction(ACTION_OUTSIDE), WithCoords(-50, -50))); in TEST_F()
5165 rightWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
5169 AllOf(WithMotionAction(ACTION_OUTSIDE), WithDeviceId(deviceA), WithCoords(0, 0))); in TEST_F()
5176 leftWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
5181 AllOf(WithMotionAction(ACTION_OUTSIDE), WithDeviceId(deviceB), WithCoords(-50, -50))); in TEST_F()
5189 rightWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(deviceA))); in TEST_F()
5195 leftWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(deviceB))); in TEST_F()
5238 AllOf(WithMotionAction(ACTION_OUTSIDE), WithPointers(expectedPointers))); in TEST_F()
5349 leftWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
5390 trustedOverlay->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
5391 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
5392 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_2_DOWN)); in TEST_F()
5402 trustedOverlay->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
5421 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_2_UP)); in TEST_F()
5422 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_1_UP)); in TEST_F()
5423 trustedOverlay->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
5499 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
5513 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
5523 window->consumeMotionEvent(WithMotionAction(POINTER_1_UP)); in TEST_F()
5531 window->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
5539 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
5749 firstWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithCoords(100, 400))); in TEST_F()
5750 monitor.consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithCoords(100, 400))); in TEST_F()
5756 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithCoords(100, 80))); in TEST_F()
5760 AllOf(WithMotionAction(POINTER_1_DOWN), WithPointers(expectedMonitorPointers))); in TEST_F()
5764 firstWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithCoords(100, 400))); in TEST_F()
5765 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithCoords(100, 80))); in TEST_F()
5767 AllOf(WithMotionAction(ACTION_CANCEL), WithPointers(expectedMonitorPointers))); in TEST_F()
5776 firstWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithCoords(100, 400))); in TEST_F()
5781 firstWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithCoords(100, 400))); in TEST_F()
5782 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithCoords(-100, -400))); in TEST_F()
5792 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
5799 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithCoords(100, 80), in TEST_F()
5802 AllOf(WithMotionAction(ACTION_DOWN), WithCoords(100, 80), WithRawCoords(300, 880))); in TEST_F()
5825 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
5833 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithCoords(100, 80), in TEST_F()
5836 AllOf(WithMotionAction(ACTION_DOWN), WithCoords(100, 80), WithRawCoords(300, 880))); in TEST_F()
5848 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
5853 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithCoords(100, 80), in TEST_F()
5877 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
5884 secondWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_EXIT), WithCoords(100, 80), in TEST_F()
6724 AllOf(WithMotionAction(ACTION_DOWN), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
7683 leftSlipperyWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
7712 originalWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
7723 originalWindow->consumeMotionEvent(WithMotionAction(ACTION_CANCEL)); in TEST_F()
7724 appearingWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
7730 appearingWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
7782 leftWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
7789 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
7799 spyWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(deviceB))); in TEST_F()
7849 leftWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
7856 rightWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
7864 rightWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceB))); in TEST_F()
7865 middleWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceB))); in TEST_F()
7873 leftWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(deviceA))); in TEST_F()
7874 middleWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
7882 middleWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(deviceB))); in TEST_F()
8017 AllOf(WithMotionAction(ACTION_HOVER_ENTER), Not(WithEventId(notifyArgs.id)), in TEST_F()
8020 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
8031 AllOf(WithMotionAction(ACTION_HOVER_EXIT), Not(WithEventId(notifyArgs.id)), in TEST_F()
8034 right->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER), in TEST_F()
8039 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithEventId(notifyArgs.id))); in TEST_F()
8058 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN))); in TEST_F()
8065 window->consumeMotionEvent(AllOf(WithMotionAction(POINTER_1_DOWN))); in TEST_F()
8087 window->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(deviceA))); in TEST_F()
8846 AllOf(WithMotionAction(ACTION_DOWN), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
8857 AllOf(WithMotionAction(ACTION_DOWN), WithDisplayId(SECOND_DISPLAY_ID))); in TEST_F()
8872 windowInPrimary->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
9105 mWindow->consumeMotionEvent(WithMotionAction(action)); in notifyAndConsumeMotion()
9353 window->consumeMotionEvent(WithMotionAction(expectedAction)); in consumeMotionEvent()
9665 AllOf(WithMotionAction(ACTION_CANCEL), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
9845 AllOf(WithMotionAction(ACTION_CANCEL), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
9971 AllOf(WithMotionAction(ACTION_CANCEL), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
10053 mWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
10054 mWindow->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
10076 mWindow->consumeMotionEvent(WithMotionAction(ACTION_CANCEL)); in TEST_F()
10104 mWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
10130 AllOf(WithMotionAction(ACTION_CANCEL), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
10154 AllOf(WithMotionAction(ACTION_CANCEL), WithDisplayId(ui::LogicalDisplayId::DEFAULT))); in TEST_F()
10611 navigationBar->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
10643 navigationBar->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
10644 navigationBar->consumeMotionEvent(WithMotionAction(ACTION_OUTSIDE)); in TEST_F()
10645 appWindow->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
11032 mWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_ENTER))); in TEST_F()
11033 mWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_HOVER_MOVE))); in TEST_F()
11042 mWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithCoords(10, 11), in TEST_F()
11053 AllOf(WithMotionAction(ACTION_HOVER_MOVE), WithSource(AINPUT_SOURCE_MOUSE))); in TEST_F()
11742 mSpyWindow->consumeMotionEvent(WithMotionAction(ACTION_CANCEL)); in TEST_F()
11743 mSpyWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithPointerIds({1}))); in TEST_F()
11744 mDragWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
11765 AllOf(WithMotionAction(ACTION_MOVE), WithFlags(AMOTION_EVENT_FLAG_NO_FOCUS_CHANGE))); in TEST_F()
12122 ASSERT_NO_FATAL_FAILURE(mWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER))); in TEST_F()
12123 ASSERT_NO_FATAL_FAILURE(mSpyWindow->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER))); in TEST_F()
13021 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
13022 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
13031 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
13037 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(stylusDeviceId))); in TEST_F()
13039 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId))); in TEST_F()
13051 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
13089 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
13090 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(stylusDeviceId))); in TEST_F()
13099 AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
13100 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithDeviceId(touchDeviceId))); in TEST_F()
13105 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(stylusDeviceId))); in TEST_F()
13107 AllOf(WithMotionAction(ACTION_CANCEL), WithDeviceId(touchDeviceId))); in TEST_F()
13122 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(stylusDeviceId))); in TEST_F()
13128 spy->consumeMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithDeviceId(touchDeviceId))); in TEST_F()
13145 window->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13146 spy->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13459 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13460 spy->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13478 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
13479 right->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13480 spy->consumeMotionEvent(WithMotionAction(ACTION_HOVER_MOVE)); in TEST_F()
13498 right->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
13499 spy->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
13559 spy->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
13589 spy->consumeMotionEvent(WithMotionAction(POINTER_1_UP)); in TEST_F()
13660 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13675 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
13676 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13697 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_EXIT)); in TEST_F()
13698 right->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13741 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13755 left->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()
13776 right->consumeMotionEvent(WithMotionAction(ACTION_HOVER_ENTER)); in TEST_F()