Searched refs:IS_ACTION_CANCEL (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 84 private static final Matcher<MotionEvent> IS_ACTION_CANCEL = field in MotionEventInjectorTest 253 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected() 304 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal() 368 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew() 554 assertThat(events.get(1), IS_ACTION_CANCEL); in testContinuedGesture_nonContinuingGestureArrivesDuringDispatch_gestureCanceled() 574 assertThat(events.get(2), IS_ACTION_CANCEL); in testContinuedGesture_nonContinuingGestureArrivesAfterDispatch_gestureCanceled() 596 assertThat(events.get(2), allOf(isAtPoint(CONTINUED_LINE_MID1), IS_ACTION_CANCEL)); in testContinuedGesture_misMatchedContinuationArrives_bothGesturesCanceled() local 613 assertThat(events.get(1), IS_ACTION_CANCEL); in testContinuedGesture_continuationArrivesFromOtherService_bothGesturesCanceled() 633 assertThat(events.get(2), IS_ACTION_CANCEL); in testContinuedGesture_realGestureArrivesInBetween_getsCanceled() 660 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testClearEventsOnOtherSource_realGestureInProgress_shouldNotForgetAboutGesture()
|