Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchExplorerTest.java121 private EventCapturingMotionEventListener mMotionEventListener = field in TouchExplorerTest
199 mView.setOnHoverListener(mMotionEventListener); in setUp()
200 mView.setOnTouchListener(mMotionEventListener); in setUp()
229 mMotionEventListener.assertPropagated( in testSlowSwipe_initiatesTouchExploration()
244 mMotionEventListener.assertNonePropagated(); in testFastSwipe_doesNotInitiateTouchExploration()
277 mMotionEventListener.assertPropagated(ACTION_DOWN, ACTION_MOVE, ACTION_UP); in testTwoFingerDrag_dispatchesEventsBetweenFingers()
285 mMotionEventListener.assertPropagated(ACTION_HOVER_ENTER, ACTION_HOVER_EXIT); in testSingleTap_initiatesTouchExploration()
307 mMotionEventListener.assertNonePropagated(); in testSloppyDoubleTapAccessibilityFocus_performsClick()
327 mMotionEventListener.assertNonePropagated(); in testDoubleTapAccessibilityFocus_performsClick()
342 mMotionEventListener.assertNonePropagated(); in testDoubleTapNoFocus_doesNotPerformClick()
[all …]
DTouchInteractionControllerTest.java109 private EventCapturingMotionEventListener mMotionEventListener = field in TouchInteractionControllerTest
183 mView.setOnHoverListener(mMotionEventListener); in setUp()
184 mView.setOnTouchListener(mMotionEventListener); in setUp()
237 mMotionEventListener.assertPropagated(ACTION_HOVER_ENTER, ACTION_HOVER_EXIT); in testSingleTap_initiatesTouchExploration()
263 mMotionEventListener.assertPropagated( in testInterruptedSwipe_generatesConsistentEventStream()
268 if (mMotionEventListener.peek() != null) { in testInterruptedSwipe_generatesConsistentEventStream()
269 mMotionEventListener.assertPropagated( in testInterruptedSwipe_generatesConsistentEventStream()
303 mMotionEventListener.assertPropagated(ACTION_DOWN, ACTION_MOVE, ACTION_UP); in testTwoFingerDrag_sendsTouchEvents()
333 mMotionEventListener.assertPropagated( in testTwoFingersMovingIndependently_shouldDelegate()
363 mMotionEventListener.assertNonePropagated(); in testPerformClickAccessibilityFocus_performsClick()
[all …]
DStubMotionInterceptingAccessibilityService.java37 private Consumer<MotionEvent> mMotionEventListener; field in StubMotionInterceptingAccessibilityService
81 mMotionEventListener = motionEvent -> { in setAndAwaitMotionEventSources()
113 mMotionEventListener = motionEvent -> { in injectAndAwaitMotionEvent()
127 mMotionEventListener = listener; in setOnMotionEventListener()
133 mMotionEventListener.accept(event); in onMotionEvent()