Home
last modified time | relevance | path

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

12

/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.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
DWindowMagnificationGestureHandlerTest.java336 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/apct-tests/perftests/core/src/android/view/
DHandwritingInitiatorPerfTest.java71 final MotionEvent downEvent = in onTouchEvent_actionDown_toolTypeStylus() local
87 final MotionEvent downEvent = in onTouchEvent_actionUp_toolTypeStylus() local
105 final MotionEvent downEvent = in onTouchEvent_actionMove_toolTypeStylus() local
131 final MotionEvent downEvent = in onTouchEvent_actionDown_toolTypeFinger() local
145 final MotionEvent downEvent = in onTouchEvent_actionUp_toolTypeFinger() local
163 final MotionEvent downEvent = in onTouchEvent_actionMove_toolTypeFinger() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java335 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onActionDownTouch_whenCanDismissLockScreen_entersDevice() local
397 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce() local
700 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in fingerDownParameterized() local
981 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in aodInterruptCancelTimeoutActionOnFingerUpParameterized() local
1107 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in noHapticOnTouchUdfpsArea_a11yTouchExplorationDisabled() local
1147 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onTouch_withoutNewTouchDetection_shouldCallOldFingerprintManagerPath() local
1201 MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onTouch_withNewTouchDetection_shouldCallNewFingerprintManagerPath() 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.java608 private MotionEvent downEvent(float x, float y) { in downEvent() method in TouchExplorerTest
614 private MotionEvent downEvent() { in downEvent() method in TouchExplorerTest
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandlerTest.java135 MotionEvent downEvent = in twoInput_triggersPinchResize_getBigger() local
176 MotionEvent downEvent = in twoInput_triggersPinchResize_getSmaller() local
/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/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/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuViewTest.java288 final MotionEvent downEvent = in tapOnAndDragMenu_interceptUpEvent() local
324 final MotionEvent downEvent = in tapOnAndDragMenu_matchLocation() local
363 final MotionEvent downEvent = in tapOnAndDragMenuToDisplaySide_transformShapeHalfOval() local
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt164 val downEvent = MotionEvent.obtain(downTime, downTime, in triggerAnr() constant
/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/services/core/java/com/android/server/inputmethod/
DHandwritingModeController.java162 final MotionEvent downEvent = mHandwritingBuffer.get(0); in startHandwritingSession() local
/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.java440 private MotionEvent downEvent(int displayId, int source) { in downEvent() method in AccessibilityInputFilterTest
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchExplorer.java748 MotionEvent downEvent = computeDownEventForDrag(event); in handleActionMoveStateTouchInteracting() local
1211 MotionEvent downEvent = in computeDownEventForDrag() local
1392 MotionEvent downEvent = computeDownEventForDrag(event); in requestDragging() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java431 MotionEvent downEvent = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1, in sendClick() 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/core/java/android/app/
DInstrumentation.java1026 … final KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java2797 final MotionEvent downEvent = MotionEvent.obtain( in tapOnDisplay() local

12