/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | MagnificationGesturesObserverTest.java | 90 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
|
H A D | SimpleSwipeTest.java | 66 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
|
H A D | TwoFingersDownOrSwipeTest.java | 78 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
|
H A D | MagnificationGestureHandlerTest.java | 70 final MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMotionEvent_isFromScreen_onMotionEventInternal() local 84 final MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMotionEvent_downEvent_handleInteractionStart() local
|
H A D | WindowMagnificationGestureHandlerTest.java | 304 private MotionEvent downEvent(float x, float y) { in downEvent() method in WindowMagnificationGestureHandlerTest
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | MagnificationGestureDetectorTest.java | 79 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
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | UdfpsControllerTest.java | 284 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in onActionDownTouch_whenCanDismissLockScreen_entersDevice() local 397 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce() local 527 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in fingerDown() local 640 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in playHapticOnTouchUdfpsArea() local
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
H A D | GesturesObserverTest.java | 84 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
|
H A D | TouchExplorerTest.java | 608 private MotionEvent downEvent(float x, float y) { in downEvent() method in TouchExplorerTest 614 private MotionEvent downEvent() { in downEvent() method in TouchExplorerTest
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipResizeGestureHandlerTest.java | 127 MotionEvent downEvent = in twoInput_triggersPinchResize_getBigger() local 168 MotionEvent downEvent = in twoInput_triggersPinchResize_getSmaller() local
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
H A D | TouchEventGenerator.java | 38 public static MotionEvent downEvent(int displayId, float x, float y) { in downEvent() method in TouchEventGenerator 67 final MotionEvent downEvent = generateMultiplePointersEvent(displayId, in twoPointersDownEvents() local
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityFloatingMenuViewTest.java | 278 final MotionEvent downEvent = in tapOnAndDragMenu_interceptUpEvent() local 314 final MotionEvent downEvent = in tapOnAndDragMenu_matchLocation() local 353 final MotionEvent downEvent = in tapOnAndDragMenuToDisplaySide_transformShapeHalfOval() local
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | DragAction.java | 314 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
|
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
H A D | PreferenceControllerTestHelper.java | 217 private static Lifecycle.Event downEvent(Lifecycle.State state) { in downEvent() method in PreferenceControllerTestHelper
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | TwoFingersDownOrSwipe.java | 113 private static double distance(@NonNull MotionEvent downEvent, @NonNull MotionEvent moveEvent) { in distance()
|
/aosp12/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | AnrTest.kt | 86 val downEvent = MotionEvent.obtain(downTime, downTime, regex
|
/aosp12/packages/apps/Car/tests/RotaryIME/src/com/android/car/rotaryime/ |
H A D | RotaryIme.java | 150 KeyEvent downEvent = new KeyEvent(uptimeMillis, uptimeMillis, KeyEvent.ACTION_DOWN, in sendDownUpKeyEvents() local
|
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
H A D | Interaction.java | 115 MotionEvent downEvent = MotionEvent.obtain( in createInterpolatedEventList() local
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | MainKeyboardAccessibilityDelegate.java | 262 final MotionEvent downEvent = MotionEvent.obtain( in performLongClickOn() local
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityInputFilterTest.java | 441 private MotionEvent downEvent(int displayId, int source) { in downEvent() method in AccessibilityInputFilterTest
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AutoclickController.java | 431 MotionEvent downEvent = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1, in sendClick() local
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
H A D | FlingUpDownTouchHandler.java | 90 boolean shouldUseFalsing(@NonNull MotionEvent downEvent); in shouldUseFalsing()
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | TouchExplorer.java | 694 MotionEvent downEvent = computeDownEventForDrag(event); in handleActionMoveStateTouchInteracting() local 1135 MotionEvent downEvent = in computeDownEventForDrag() local
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditorCursorDragTest.java | 728 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
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | CarInputService.java | 429 KeyEvent downEvent = createKeyEvent(/* down= */ true, uptime, uptime, keyCode); in rotaryEventToKeyEvents() local
|