Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
H A DFalsingDataProviderTest.java77 mDataProvider.onMotionEvent(appendUpEvent(6, 5)); in test_trackMotionEvents()
136 mDataProvider.onMotionEvent(motionEventA); in test_unpackMotionEvents()
158 mDataProvider.onMotionEvent(motionEventOrigin); in test_getAngle()
163 mDataProvider.onMotionEvent(motionEventOrigin); in test_getAngle()
169 mDataProvider.onMotionEvent(motionEventOrigin); in test_getAngle()
179 mDataProvider.onMotionEvent(motionEventOrigin); in test_isHorizontal()
184 mDataProvider.onMotionEvent(motionEventOrigin); in test_isHorizontal()
189 mDataProvider.onMotionEvent(motionEventOrigin); in test_isHorizontal()
199 mDataProvider.onMotionEvent(motionEventOrigin); in test_isVertical()
204 mDataProvider.onMotionEvent(motionEventOrigin); in test_isVertical()
[all …]
H A DFalsingCollectorImplTest.java175 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testPassThroughGesture()
181 orderedCalls.verify(mFalsingDataProvider).onMotionEvent( in testPassThroughGesture()
183 orderedCalls.verify(mFalsingDataProvider).onMotionEvent(up); in testPassThroughGesture()
193 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidGesture()
198 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidGesture()
210 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidUnlocked()
214 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidUnlocked()
226 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidDozingNotPulsing()
230 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidDozingNotPulsing()
243 verify(mFalsingDataProvider, never()).onMotionEvent(any(MotionEvent.class)); in testAvoidDozingButPulsing()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMotionEventInjectorTest.java221 verify(next).onMotionEvent(argThat(allOf(mIsLineEnd, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
259 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testRegularEvent_afterGestureComplete_shouldPassToNext()
260 verify(next).onMotionEvent(argThat(mIsClickDown), argThat(mIsClickDown), in testRegularEvent_afterGestureComplete_shouldPassToNext()
267 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
276 verify(next).onMotionEvent( in testInjectEvents_withRealGestureUnderway_shouldCancelRealAndPassInjected()
287 mMotionEventInjector.onMotionEvent(mouseEvent, mouseEvent, 0); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected()
299 mMotionEventInjector.onMotionEvent(mClickDownEvent, mClickDownEvent, 0); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
300 mMotionEventInjector.onMotionEvent(mClickUpEvent, mClickUpEvent, 0); in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
309 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
311 verify(next).onMotionEvent( in testInjectEvents_withRealGestureFinished_shouldJustPassInjected()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DTwoFingersDownOrSwipeTest.java81 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in sendSingleDownEvent_GestureCanceledAfterTimeout()
93 mGesturesObserver.onMotionEvent(event, event, 0); in sendTwoFingerDownEvent_onGestureCompleted()
108 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in sendSingleTapEvent_onGestureCancelled()
109 mGesturesObserver.onMotionEvent(upEvent, upEvent, 0); in sendSingleTapEvent_onGestureCancelled()
120 mGesturesObserver.onMotionEvent(event, event, 0); in firstPointerMove_twoPointersDown_onGestureCompleted()
124 mGesturesObserver.onMotionEvent(moveEvent, moveEvent, 0); in firstPointerMove_twoPointersDown_onGestureCompleted()
136 mGesturesObserver.onMotionEvent(event, event, 0); in secondPointerMove_twoPointersDown_onGestureCompleted()
140 mGesturesObserver.onMotionEvent(moveEvent, moveEvent, 0); in secondPointerMove_twoPointersDown_onGestureCompleted()
H A DSimpleSwipeTest.java72 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in sendSingleDownEvent_onGestureCanceledAfterTimeout()
88 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in sendSwipeEvent_onGestureCompleted()
89 mGesturesObserver.onMotionEvent(moveEvent, moveEvent, 0); in sendSwipeEvent_onGestureCompleted()
104 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in sendSingleTapEvent_onGestureCanceled()
105 mGesturesObserver.onMotionEvent(upEvent, upEvent, 0); in sendSingleTapEvent_onGestureCanceled()
H A DMagnificationGesturesObserverTest.java80 mObserver.onMotionEvent(moveEvent, moveEvent, 0); in onActionMove_onGestureCanceled()
93 mObserver.onMotionEvent(downEvent, downEvent, 0); in onActionDown_shouldNotDetection_onGestureCanceled()
107 mObserver.onMotionEvent(downEvent, downEvent, 0); in onMotionEvent_unrecognizedEvents_onDetectionCanceledAfterTimeout()
122 mObserver.onMotionEvent(downEvent, downEvent, 0); in sendEventsOfSwiping_onGestureCompleted()
123 mObserver.onMotionEvent(moveEvent, moveEvent, 0); in sendEventsOfSwiping_onGestureCompleted()
H A DMagnificationGestureHandlerTest.java73 mMgh.onMotionEvent(downEvent, downEvent, /* policyFlags= */ 0); in onMotionEvent_isFromScreen_onMotionEventInternal()
87 mMgh.onMotionEvent(downEvent, downEvent, /* policyFlags= */ 0); in onMotionEvent_downEvent_handleInteractionStart()
101 mMgh.onMotionEvent(upEvent, upEvent, /* policyFlags= */ 0); in onMotionEvent_upEvent_handleInteractionEnd()
115 mMgh.onMotionEvent(cancelEvent, cancelEvent, /* policyFlags= */ 0); in onMotionEvent_cancelEvent_handleInteractionEnd()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
H A DEdgeBackGestureHandler.java143 onMotionEvent(motionEvent); in onTouch()
174 mEdgeBackPanel.onMotionEvent(cancelEv); in cancelGesture()
178 private void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in EdgeBackGestureHandler
187 mEdgeBackPanel.onMotionEvent(ev); in onMotionEvent()
214 mEdgeBackPanel.onMotionEvent(ev); in onMotionEvent()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
H A DGesturesObserverTest.java76 mGesturesObserver.onMotionEvent(moveEvent, moveEvent, 0); in onActionMove_onGestureCancelled()
88 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in onMotionEvent_unrecognizedEvents_onGestureCancelledAfterTimeout()
104 mGesturesObserver.onMotionEvent(downEvent, downEvent, 0); in onMotionEvent_recognizedEvents_onGestureCompleted()
105 mGesturesObserver.onMotionEvent(moveEvent, moveEvent, 0); in onMotionEvent_recognizedEvents_onGestureCompleted()
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DWindowMagnificationGestureHandler.java136 mCurrentState.onMotionEvent(event, rawEvent, policyFlags); in onMotionEventInternal()
219 void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags); in onMotionEvent() method
281 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in WindowMagnificationGestureHandler.PanningScalingGestureState
312 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in WindowMagnificationGestureHandler.DelegatingState
372 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in WindowMagnificationGestureHandler.DetectingState
373 mGesturesObserver.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
H A DMagnificationGestureHandler.java122 public final void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGestureHandler
161 super.onMotionEvent(event, rawEvent, policyFlags); in dispatchTransformedEvent()
170 super.onMotionEvent(event, rawEvent, policyFlags); in dispatchTransformedEvent()
H A DGesturesObserver.java89 public boolean onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in GesturesObserver
102 matcher.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
H A DMagnificationGesturesObserver.java110 boolean onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in MagnificationGesturesObserver
122 return mGesturesObserver.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
H A DFullScreenMagnificationGestureHandler.java187 stateHandler.onMotionEvent(event, rawEvent, policyFlags); in handleEventWith()
284 void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags); in onMotionEvent() method
328 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in FullScreenMagnificationGestureHandler.PanningScalingState
442 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in FullScreenMagnificationGestureHandler.ViewportDraggingState
505 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in FullScreenMagnificationGestureHandler.DelegatingState
598 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in FullScreenMagnificationGestureHandler.DetectingState
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DEventStreamTransformation.java68 default void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method
71 next.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
H A DAutoclickController.java75 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() method in AutoclickController
94 super.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
440 AutoclickController.super.onMotionEvent(downEvent, downEvent, mEventPolicyFlags); in sendClick()
443 AutoclickController.super.onMotionEvent(upEvent, upEvent, mEventPolicyFlags); in sendClick()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
H A DSysUiOverlayInputConsumer.java65 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in SysUiOverlayInputConsumer
66 mTriggerSwipeUpTracker.onMotionEvent(ev); in onMotionEvent()
H A DTaskbarStashInputConsumer.java62 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in TaskbarStashInputConsumer
65 mDelegate.onMotionEvent(ev); in onMotionEvent()
H A DOverviewWithoutFocusInputConsumer.java69 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in OverviewWithoutFocusInputConsumer
70 mTriggerSwipeUpTracker.onMotionEvent(ev); in onMotionEvent()
H A DAccessibilityInputConsumer.java76 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in AccessibilityInputConsumer
150 mDelegate.onMotionEvent(ev); in onMotionEvent()
H A DOneHandedModeInputConsumer.java84 public void onMotionEvent(MotionEvent ev) { in onMotionEvent() method in OneHandedModeInputConsumer
139 mDelegate.onMotionEvent(ev); in onMotionEvent()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DInputConsumer.java100 default void onMotionEvent(MotionEvent ev) { } in onMotionEvent() method
108 onMotionEvent((MotionEvent) ev); in onInputEvent()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedTouchHandler.java83 private boolean onMotionEvent(MotionEvent ev) { in onMotionEvent() method in OneHandedTouchHandler
125 onMotionEvent((MotionEvent) ev); in onInputEvent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingDataProvider.java79 void onMotionEvent(MotionEvent motionEvent) { in onMotionEvent() method in FalsingDataProvider
97 mMotionEventListeners.forEach(listener -> listener.onMotionEvent(motionEvent)); in onMotionEvent()
378 void onMotionEvent(MotionEvent ev); in onMotionEvent() method
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/
H A DCarDisplayAreaTouchHandler.java89 private void onMotionEvent(MotionEvent event) { in onMotionEvent() method in CarDisplayAreaTouchHandler
147 onMotionEvent((MotionEvent) ev); in onInputEvent()

123