Home
last modified time | relevance | path

Searched defs:downEvent (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGesturesObserverTest.java90 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onActionDown_shouldNotDetection_onGestureCanceled() local
97 verifyCacheMotionEvents(mEventInfoArgumentCaptor.getValue(), downEvent); in onActionDown_shouldNotDetection_onGestureCanceled() local
102 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_unrecognizedEvents_onDetectionCanceledAfterTimeout() local
111 verifyCacheMotionEvents(mEventInfoArgumentCaptor.getValue(), downEvent); in onMotionEvent_unrecognizedEvents_onDetectionCanceledAfterTimeout() local
116 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendEventsOfSwiping_onGestureCompleted() local
128 verifyCacheMotionEvents(mEventInfoArgumentCaptor.getValue(), downEvent, moveEvent); in sendEventsOfSwiping_onGestureCompleted() local
DSimpleSwipeTest.java66 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleDownEvent_onGestureCanceledAfterTimeout() local
82 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSwipeEvent_onGestureCompleted() local
98 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCanceled() local
DTwoFingersDownOrSwipeTest.java78 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleDownEvent_GestureCanceledAfterTimeout() local
103 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCancelled() local
DMagnificationGestureHandlerTest.java65 final MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMotionEvent_isFromScreen_onMotionEventInternal() local
79 final MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMotionEvent_downEvent_handleInteractionStart() local
DWindowMagnificationGestureHandlerTest.java301 private MotionEvent downEvent(float x, float y) { in downEvent() method in WindowMagnificationGestureHandlerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationGestureDetectorTest.java79 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in onActionDown_invokeDownCallback() local
90 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTap_invokeCallbacksInOrder() local
108 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() local
122 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() local
136 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performLongPress_invokeCallbacksInOrder() local
156 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performDrag_invokeCallbacksInOrder() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java273 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in onActionDownTouch_whenCanDismissLockScreen_entersDevice() local
386 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce() local
441 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in fingerDown() local
533 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in playHapticOnTouchUdfpsArea() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandlerTest.java127 MotionEvent downEvent = in twoInput_triggersPinchResize_getBigger() local
168 MotionEvent downEvent = in twoInput_triggersPinchResize_getSmaller() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGesturesObserverTest.java84 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_unrecognizedEvents_onGestureCancelledAfterTimeout() local
98 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_recognizedEvents_onGestureCompleted() local
DTouchExplorerTest.java603 private MotionEvent downEvent(float x, float y) { in downEvent() method in TouchExplorerTest
609 private MotionEvent downEvent() { in downEvent() method in TouchExplorerTest
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java38 public static MotionEvent downEvent(int displayId, float x, float y) { in downEvent() method in TouchEventGenerator
67 final MotionEvent downEvent = generateMultiplePointersEvent(displayId, in twoPointersDownEvents() local
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt86 val downEvent = MotionEvent.obtain(downTime, downTime, in testGestureMonitorAnr() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuViewTest.java270 final MotionEvent downEvent = in tapOnAndDragMenu_interceptUpEvent() local
306 final MotionEvent downEvent = in tapOnAndDragMenu_matchLocation() local
345 final MotionEvent downEvent = in tapOnAndDragMenuToScreenSide_transformShapeHalfOval() local
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java314 MotionEvent downEvent = downMotion.perform(uiController, startCoordinates, precision); in sendLinearDrag() local
368 MotionEvent downEvent = MotionEvents.sendDown( in performLongPress() local
382 MotionEvent downEvent = MotionEvents.sendDown( in performDoubleTap() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DTwoFingersDownOrSwipe.java113 private static double distance(@NonNull MotionEvent downEvent, @NonNull MotionEvent moveEvent) { in distance()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java115 MotionEvent downEvent = MotionEvent.obtain( in createInterpolatedEventList() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java344 private MotionEvent downEvent(int displayId, int source) { in downEvent() method in AccessibilityInputFilterTest
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java420 MotionEvent downEvent = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1, in sendClick() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchExplorer.java664 MotionEvent downEvent = computeDownEventForDrag(event); in handleActionMoveStateTouchInteracting() local
1105 MotionEvent downEvent = in computeDownEventForDrag() local
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java728 private MotionEvent downEvent(View view, long downTime, long eventTime, float x, float y) { in downEvent() method in EditorCursorDragTest
789 MotionEvent downEvent = downEvent(tv, downEventTime, downEventTime, in simulateDrag() local
DEditorTouchStateTest.java492 private static MotionEvent downEvent(long downTime, long eventTime, float x, float y) { in downEvent() method in EditorTouchStateTest
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java2330 final MotionEvent downEvent = MotionEvent.obtain( in tapOnDisplay() local
/frameworks/base/core/java/android/app/
DInstrumentation.java992 … final KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java2746 KeyEvent downEvent = KeyEvent.changeAction(keyEvent, KeyEvent.ACTION_DOWN); in dispatchDownAndUpKeyEventsLocked() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3357 MotionEvent downEvent = MotionEvent.obtain(ev); in dispatchDownEventToScroller() local