Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A 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
H A 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
H A 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
H A DMagnificationGestureHandlerTest.java70 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 DWindowMagnificationGestureHandlerTest.java363 private MotionEvent downEvent(float x, float y) { in downEvent() method in WindowMagnificationGestureHandlerTest
H A DFullScreenMagnificationGestureHandlerTest.java939 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 DMagnificationGestureDetectorTest.java83 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 DHandwritingInitiatorPerfTest.java72 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 DUdfpsControllerTest.java364 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 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
H A DTouchExplorerTest.java608 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 DPipResizeGestureHandlerTest.java149 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 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
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A 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
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DTwoFingersDownOrSwipe.java113 private static double distance(@NonNull MotionEvent downEvent, @NonNull MotionEvent moveEvent) { in distance()
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/
H A DMotionPredictorTest.kt117 val downEvent = getStylusMotionEvent(eventTime, ACTION_DOWN, /*x=*/0f, /*y=*/0f) regex
H A DAnrTest.kt165 val downEvent = MotionEvent.obtain(downTime, downTime, regex
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DInteraction.java115 MotionEvent downEvent = MotionEvent.obtain( in createInterpolatedEventList() local
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DHandwritingModeController.java253 final MotionEvent downEvent = mHandwritingBuffer.get(0); in startHandwritingSession() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInputFilterTest.java440 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 DTouchExplorer.java751 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 DAutoclickController.java431 MotionEvent downEvent = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1, in sendClick() local
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A 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
H A DEditorTouchStateTest.java492 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 DInstrumentation.java1031 … final KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local

12