Home
last modified time | relevance | path

Searched refs:IS_ACTION_CANCEL (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java89 private static final Matcher<MotionEvent> IS_ACTION_CANCEL = field in MotionEventInjectorTest
272 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
326 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testOnMotionEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassReal()
390 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testInjectEvents_openInjectedGestureInProgress_shouldCancelAndNotifyAndPassNew()
576 assertThat(events.get(1), IS_ACTION_CANCEL); in testContinuedGesture_nonContinuingGestureArrivesDuringDispatch_gestureCanceled()
596 assertThat(events.get(2), IS_ACTION_CANCEL); in testContinuedGesture_nonContinuingGestureArrivesAfterDispatch_gestureCanceled()
618 assertThat(events.get(2), allOf(isAtPoint(CONTINUED_LINE_MID1), IS_ACTION_CANCEL)); in testContinuedGesture_misMatchedContinuationArrives_bothGesturesCanceled() local
635 assertThat(events.get(1), IS_ACTION_CANCEL); in testContinuedGesture_continuationArrivesFromOtherService_bothGesturesCanceled()
655 assertThat(events.get(2), IS_ACTION_CANCEL); in testContinuedGesture_realGestureArrivesInBetween_getsCanceled()
682 assertThat(mCaptor1.getAllValues().get(1), IS_ACTION_CANCEL); in testClearEventsOnOtherSource_realGestureInProgress_shouldNotForgetAboutGesture()