/aosp14/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 | 363 private MotionEvent downEvent(float x, float y) { in downEvent() method in WindowMagnificationGestureHandlerTest
|
H A D | FullScreenMagnificationGestureHandlerTest.java | 939 private MotionEvent downEvent() { in downEvent() method 943 private MotionEvent downEvent(float x, float y) { in downEvent() method
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | MagnificationGestureDetectorTest.java | 83 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in onActionDown_invokeDownCallback() local 94 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTap_invokeCallbacksInOrder() local 112 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() local 126 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() local 140 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performLongPress_invokeCallbacksInOrder() local 160 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performDrag_invokeCallbacksInOrder() local
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | HandwritingInitiatorPerfTest.java | 72 final MotionEvent downEvent = in onTouchEvent_actionDown_toolTypeStylus() local 88 final MotionEvent downEvent = in onTouchEvent_actionUp_toolTypeStylus() local 106 final MotionEvent downEvent = in onTouchEvent_actionMove_toolTypeStylus() local 132 final MotionEvent downEvent = in onTouchEvent_actionDown_toolTypeFinger() local 146 final MotionEvent downEvent = in onTouchEvent_actionUp_toolTypeFinger() local 164 final MotionEvent downEvent = in onTouchEvent_actionMove_toolTypeFinger() local
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | UdfpsControllerTest.java | 364 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onActionDownTouch_whenCanDismissLockScreen_entersDevice() local 426 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce() local 739 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in fingerDownParameterized() local 1023 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in aodInterruptCancelTimeoutActionOnFingerUpParameterized() local 1179 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in noHapticOnTouchUdfpsArea_a11yTouchExplorationDisabled() local 1213 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in noHapticOnTouchUdfpsArea_a11yTouchExplorationDisabled__oneWayHapticsEnabled() local 1248 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onTouch_withoutNewTouchDetection_shouldCallOldFingerprintManagerPath() local 1279 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in fingerDown_falsingManagerInformed() local 1297 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onTouch_withNewTouchDetection_shouldCallNewFingerprintManagerPath() local 1376 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onTouch_WithNewTouchDetection_forwardToKeyguard() local [all …]
|
/aosp14/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
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipResizeGestureHandlerTest.java | 149 MotionEvent downEvent = in twoInput_triggersPinchResize_getBigger() local 190 MotionEvent downEvent = in twoInput_triggersPinchResize_getSmaller() local
|
/aosp14/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
|
/aosp14/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
|
/aosp14/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()
|
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | MotionPredictorTest.kt | 117 val downEvent = getStylusMotionEvent(eventTime, ACTION_DOWN, /*x=*/0f, /*y=*/0f) regex
|
H A D | AnrTest.kt | 165 val downEvent = MotionEvent.obtain(downTime, downTime, regex
|
/aosp14/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
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | HandwritingModeController.java | 253 final MotionEvent downEvent = mHandwritingBuffer.get(0); in startHandwritingSession() local
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityInputFilterTest.java | 440 private MotionEvent downEvent(int displayId, int source) { in downEvent() method in AccessibilityInputFilterTest
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | TouchExplorer.java | 751 MotionEvent downEvent = computeDownEventForDrag(event); in handleActionMoveStateTouchInteracting() local 1214 MotionEvent downEvent = in computeDownEventForDrag() local 1395 MotionEvent downEvent = computeDownEventForDrag(event); in requestDragging() local
|
/aosp14/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
|
/aosp14/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
|
H A D | EditorTouchStateTest.java | 492 private static MotionEvent downEvent(long downTime, long eventTime, float x, float y) { in downEvent() method in EditorTouchStateTest
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 1031 … final KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local
|