Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java111 MotionEventInjector mMotionEventInjector; field in MotionEventInjectorTest
136 return mMotionEventInjector.handleMessage(msg); in setUp()
139 mMotionEventInjector = new MotionEventInjector(mMessageCapturingHandler); in setUp()
181 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
229 attachMockNext(mMotionEventInjector); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash()
237 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testRegularEvent_afterGestureComplete_shouldPassToNext()
241 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testRegularEvent_afterGestureComplete_shouldPassToNext()
247 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
248 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
263 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java117 private final SparseArray<MotionEventInjector> mMotionEventInjector = new SparseArray<>(0); field in AccessibilityInputFilter
416 mMotionEventInjector.put(displayId, injector); in enableFeatures()
464 for (int i = mMotionEventInjector.size() - 1; i >= 0; i--) { in disableFeatures()
465 final MotionEventInjector injector = mMotionEventInjector.valueAt(i); in disableFeatures()
472 mMotionEventInjector.clear(); in disableFeatures()
DAccessibilityManagerService.java236 private MotionEventInjector mMotionEventInjector; field in AccessibilityManagerService
1003 mMotionEventInjector = motionEventInjector; in setMotionEventInjector()
1012 while ((mMotionEventInjector == null) && (SystemClock.uptimeMillis() < endMillis)) { in getMotionEventInjectorLocked()
1019 if (mMotionEventInjector == null) { in getMotionEventInjectorLocked()
1022 return mMotionEventInjector; in getMotionEventInjectorLocked()