Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java63 mDataProvider.onMotionEvent(appendDownEvent(2, 9)); in test_trackMotionEvents()
64 mDataProvider.onMotionEvent(appendMoveEvent(4, 7)); in test_trackMotionEvents()
65 mDataProvider.onMotionEvent(appendUpEvent(6, 5)); in test_trackMotionEvents()
85 mDataProvider.onMotionEvent(appendDownEvent(2, 9, 1)); in test_trackRecentMotionEvents()
86 mDataProvider.onMotionEvent(appendMoveEvent(4, 7, 800)); in test_trackRecentMotionEvents()
99 mDataProvider.onMotionEvent(appendUpEvent(6, 5, 1200)); in test_trackRecentMotionEvents()
131 mDataProvider.onMotionEvent(motionEventA); in test_unpackMotionEvents()
153 mDataProvider.onMotionEvent(motionEventOrigin); in test_getAngle()
154 mDataProvider.onMotionEvent(appendMoveEvent(1, 1)); in test_getAngle()
158 mDataProvider.onMotionEvent(motionEventOrigin); in test_getAngle()
[all …]
DClassifierTest.java117 mDataProvider.onMotionEvent(motionEvent); in appendMotionEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java186 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
187 verify(next).onMotionEvent(argThat(mIsLineStart), argThat(mIsLineStart), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
195 verify(next).onMotionEvent(argThat(allOf(mIsLineMiddle, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
203 verify(next).onMotionEvent(argThat(allOf(mIsLineEnd, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
241 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testRegularEvent_afterGestureComplete_shouldPassToNext()
242 verify(next).onMotionEvent(argThat(mIsClickDown), argThat(mIsClickDown), eq(0)); in testRegularEvent_afterGestureComplete_shouldPassToNext()
248 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
251 verify(next, times(2)).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), anyInt()); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
257 verify(next).onMotionEvent( in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
267 mMotionEventInjector.onMotionEvent(mouseEvent, mouseEvent, 0); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected()
[all …]
DTouchExplorerTest.java86 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in TouchExplorerTest.EventCaptor
227 mTouchExplorer.onMotionEvent(sendEvent, sendEvent, /* policyFlags */ 0); in send()
DMagnificationGestureHandlerTest.java302 verify(mMgh.getNext(), times(2)).onMotionEvent(any(), any(), anyInt()); in testDisablingTripleTap_removesInputLag()
354 doNothing().when(mMgh.getNext()).onMotionEvent(any(), any(), anyInt()); in allowEventDelegation()
580 mMgh.onMotionEvent(event, event, /* policyFlags */ 0);
DAccessibilityGestureDetectorTest.java172 mDetector.onMotionEvent(event, event, policyFlags); in testPath()
DAccessibilityInputFilterTest.java95 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in AccessibilityInputFilterTest.EventCaptor
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DEventStreamTransformation.java68 default void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method
71 next.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
DMagnificationGestureHandler.java204 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGestureHandler
236 stateHandler.onMotionEvent(event, rawEvent, policyFlags); in handleEventWith()
288 super.onMotionEvent(event, rawEvent, policyFlags); in dispatchTransformedEvent()
296 super.onMotionEvent(event, rawEvent, policyFlags); in dispatchTransformedEvent()
352 void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags); in onMotionEvent() method
396 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGestureHandler.PanningScalingState
513 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGestureHandler.ViewportDraggingState
576 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGestureHandler.DelegatingState
660 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGestureHandler.DetectingState
DAutoclickController.java72 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in AutoclickController
87 super.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
429 AutoclickController.super.onMotionEvent(downEvent, downEvent, mEventPolicyFlags); in sendClick()
432 AutoclickController.super.onMotionEvent(upEvent, upEvent, mEventPolicyFlags); in sendClick()
DTouchExplorer.java276 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in TouchExplorer
278 super.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
288 mReceivedPointerTracker.onMotionEvent(rawEvent); in onMotionEvent()
290 if (mGestureDetector.onMotionEvent(event, rawEvent, policyFlags)) { in onMotionEvent()
994 super.onMotionEvent(event, null, policyFlags); in sendMotionEvent()
996 mInjectedPointerTracker.onMotionEvent(event); in sendMotionEvent()
1372 public void onMotionEvent(MotionEvent event) { in onMotionEvent() method in TouchExplorer.InjectedPointerTracker
1525 public void onMotionEvent(MotionEvent event) { in onMotionEvent() method in TouchExplorer.ReceivedPointerTracker
DAccessibilityInputFilter.java297 .onMotionEvent(transformedEvent, event, policyFlags); in handleMotionEvent()
306 public void onMotionEvent(MotionEvent transformedEvent, MotionEvent rawEvent, in onMotionEvent() method in AccessibilityInputFilter
DMotionEventInjector.java113 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MotionEventInjector
292 super.onMotionEvent(event, rawEvent, policyFlags); in sendMotionEventToNext()
DAccessibilityGestureDetector.java270 public boolean onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in AccessibilityGestureDetector
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/
DIOverviewProxy.aidl57 void onMotionEvent(in MotionEvent event) = 2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java63 void onMotionEvent(MotionEvent motionEvent) { in onMotionEvent() method in FalsingDataProvider
DBrightLineFalsingManager.java158 mDataProvider.onMotionEvent(motionEvent); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DEdgeBackGestureHandler.java322 onMotionEvent((MotionEvent) ev); in onInputEvent()
366 private void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in EdgeBackGestureHandler