Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragDetectorTest.kt58 `when`(eventHandler.handleMotionEvent(any(), any())).thenReturn(true) in setUp()
75 verify(eventHandler).handleMotionEvent(any(), argThat { in testNoMove_passesDownAndUp()
81 verify(eventHandler).handleMotionEvent(any(), argThat { in testNoMove_passesDownAndUp()
89 `when`(eventHandler.handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
94 verify(eventHandler).handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
102 verify(eventHandler, never()).handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
107 verify(eventHandler).handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
115 `when`(eventHandler.handleMotionEvent(any(), argThat { in testMoveInSlop_mouse_passesDownMoveAndUp()
121 verify(eventHandler).handleMotionEvent(any(), argThat { in testMoveInSlop_mouse_passesDownMoveAndUp()
129 verify(eventHandler).handleMotionEvent(any(), argThat { in testMoveInSlop_mouse_passesDownMoveAndUp()
[all …]
DDesktopModeWindowDecorationTests.java540 public boolean handleMotionEvent(@Nullable View v, MotionEvent ev) { in handleMotionEvent() method in DesktopModeWindowDecorationTests.TestTouchEventListener
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java77 return mEventHandler.handleMotionEvent(v, ev); in onMotionEvent()
85 mResultOfDownAction = mEventHandler.handleMotionEvent(v, ev); in onMotionEvent()
103 return mEventHandler.handleMotionEvent(v, ev); in onMotionEvent()
111 return mEventHandler.handleMotionEvent(v, ev); in onMotionEvent()
114 return mEventHandler.handleMotionEvent(v, ev); in onMotionEvent()
130 boolean handleMotionEvent(@Nullable View v, MotionEvent ev); in handleMotionEvent() method
DCaptionWindowDecorViewModel.java312 public boolean handleMotionEvent(@Nullable View v, MotionEvent e) { in handleMotionEvent() method in CaptionWindowDecorViewModel.CaptionTouchEventListener
DDragResizeInputListener.java392 public boolean handleMotionEvent(View v, MotionEvent e) { in handleMotionEvent() method in DragResizeInputListener.TaskResizeInputEventReceiver
DDesktopModeWindowDecorViewModel.java624 public boolean handleMotionEvent(@Nullable View v, MotionEvent e) { in handleMotionEvent() method in DesktopModeWindowDecorViewModel.DesktopModeTouchEventListener
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java264 mTarget.handleMotionEvent(false, 0, 0); in testPrivateInterceptGlobalDragDropFlagBehaviour()
312 mTarget.handleMotionEvent(false, 0, 0); in testPrivateInterceptGlobalDragDropIgnoresNonLocalWindows()
352 mTarget.handleMotionEvent(false, 0, 0); in testPrivateInterceptGlobalDragDropGetsDragFlags()
539 mTarget.handleMotionEvent(false, 0, 0); in testRequestSurfaceForReturnAnimationFlag_dropSuccessful()
570 mTarget.handleMotionEvent(false, 0, 0); in testRequestSurfaceForReturnAnimationFlag_dropUnsuccessful()
605 mTarget.handleMotionEvent(false /* keepHandling */, invalidXY, invalidXY); in testUnhandledDragReceivesUnhandledDropOverWindow()
629 mTarget.handleMotionEvent(false /* keepHandling */, invalidXY, invalidXY); in testUnhandledDragReceivesUnhandledDropOverNoValidWindow()
652 mTarget.handleMotionEvent(false /* keepHandling */, invalidXY, invalidXY); in testUnhandledDragDoesNotReceiveUnhandledDropWithoutDragFlag()
674 mTarget.handleMotionEvent(false /* keepHandling */, invalidXY, invalidXY); in testUnhandledDragCallbackTimeout()
691 mTarget.handleMotionEvent(false /* keepHandling */, dropX, dropY); in doDragAndDrop()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java105 mDragDropController.handleMotionEvent(!mMuteInput /* keepHandling */, newX, newY); in onInputEvent()
DDragDropController.java467 void handleMotionEvent(boolean keepHandling, float newX, float newY) { in handleMotionEvent() method in DragDropController
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java506 handleMotionEvent(event, policyFlags); in processMotionEvent()
526 private void handleMotionEvent(MotionEvent event, int policyFlags) { in handleMotionEvent() method in AccessibilityInputFilter