/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | MouseKeysInterceptorTest.kt | 140 val downEvent = KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in whenNonMouseKeyEventArrives_eventIsPassedToNextInterceptor() constant 154 val downEvent = KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in whenMouseDirectionalKeyIsPressed_relativeEventIsSent() constant 170 val downEvent = KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in whenClickKeyIsPressed_buttonEventIsSent() constant 189 val downEvent = KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in whenHoldKeyIsPressed_buttonEventIsSent() constant 205 val downEvent = KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in whenReleaseKeyIsPressed_buttonEventIsSent() constant 264 val downEvent = KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in whenScrollToggleOff_DirectionalUpKeyIsPressed_RelativeEventIsSent() constant
|
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/ |
H A D | VerifyInputEventTest.java | 103 KeyEvent downEvent = new KeyEvent(downTime, downTime, in testKeyEvent() local 127 KeyEvent downEvent = new KeyEvent(downTime, downTime, in testKeyEventWithoutHmac() local 149 KeyEvent downEvent = new KeyEvent(downTime, downTime, in testTamperedKeyEvent() local 169 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in testMotionEvent() local 199 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in testMotionEventWithoutHmac() local 226 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in testTamperedMotionEvent() local 255 KeyEvent downEvent = new KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in testDeviceIdBecomesVirtualForInjectedKeys() local 285 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in testDeviceIdBecomesVirtualForInjectedMotions() local
|
/aosp_15_r20/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 | 87 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleDownEvent_GestureCanceledAfterTimeout() local 130 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCancelled() local
|
H A D | MagnificationGestureHandlerTest.java | 83 final MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMotionEvent_isFromScreen_onMotionEventInternal() local 157 final MotionEvent downEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, 0, 0, 0); in onMotionEvent_downEvent_handleInteractionStart() local
|
H A D | FullScreenMagnificationGestureHandlerTest.java | 1450 MotionEvent downEvent = motionEvent(centerX, centerY, ACTION_DOWN, in testSynthesizedGestureEventsDoNotMoveMagnifierViewport() local 2229 private MotionEvent downEvent() { in downEvent() method 2233 private MotionEvent downEvent(float x, float y) { in downEvent() method
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/ |
H A D | MagnificationGestureDetectorTest.java | 82 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in onActionDown_invokeDownCallback() local 93 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTap_invokeCallbacksInOrder() local 111 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() local 125 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() local 139 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performLongPress_invokeCallbacksInOrder() local 159 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performDrag_invokeCallbacksInOrder() local
|
/aosp_15_r20/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | HandwritingInitiatorPerfTest.java | 75 final MotionEvent downEvent = in onTouchEvent_actionDown_toolTypeStylus() local 91 final MotionEvent downEvent = in onTouchEvent_actionUp_toolTypeStylus() local 109 final MotionEvent downEvent = in onTouchEvent_actionMove_toolTypeStylus() local 135 final MotionEvent downEvent = in onTouchEvent_actionDown_toolTypeFinger() local 149 final MotionEvent downEvent = in onTouchEvent_actionUp_toolTypeFinger() local 167 final MotionEvent downEvent = in onTouchEvent_actionMove_toolTypeFinger() local
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
H A D | ShadowViewGroupTest.java | 479 MotionEvent downEvent = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in requestDisallowInterceptTouchEvent_isReflected() local 486 assertSame(shadowOf(root).getInterceptedTouchEvent(), downEvent); in requestDisallowInterceptTouchEvent_isReflected() local 487 assertSame(shadowOf(child3a).getLastTouchEvent(), downEvent); in requestDisallowInterceptTouchEvent_isReflected() local 492 assertSame(shadowOf(root).getInterceptedTouchEvent(), downEvent); in requestDisallowInterceptTouchEvent_isReflected() local 498 assertSame(shadowOf(root).getInterceptedTouchEvent(), downEvent); in requestDisallowInterceptTouchEvent_isReflected() local
|
/aosp_15_r20/frameworks/base/tests/Input/src/com/android/server/input/ |
H A D | InputManagerServiceTests.kt | 387 val downEvent = createKeycodeAEvent(inputDevice, KeyEvent.ACTION_DOWN) in addUniqueIdAssociationByDescriptor_verifyAssociations() constant 449 val downEvent = createKeycodeAEvent(inputDevice, KeyEvent.ACTION_DOWN) in addUniqueIdAssociationByPort_verifyAssociations() constant
|
/aosp_15_r20/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
|
/aosp_15_r20/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 | 640 private MotionEvent downEvent(float x, float y) { in downEvent() method in TouchExplorerTest 646 private MotionEvent downEvent() { in downEvent() method in TouchExplorerTest
|
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipResizeGestureHandlerTest.java | 157 MotionEvent downEvent = in twoInput_triggersPinchResize_getBigger() local 198 MotionEvent downEvent = in twoInput_triggersPinchResize_getSmaller() local
|
/aosp_15_r20/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) in testPredictedCoordinatesAndTime() constant
|
/aosp_15_r20/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 93 final MotionEvent downEvent = generateMultiplePointersEvent(displayId, in twoPointersDownEvents() local
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/touchpad/tutorial/ui/gesture/ |
H A D | TouchpadGestureHandlerTest.kt | 77 private fun downEvent(source: Int, toolType: Int) = in downEvent() method in com.android.systemui.touchpad.tutorial.ui.gesture.TouchpadGestureHandlerTest
|
/aosp_15_r20/cts/tests/input/src/android/input/cts/ |
H A D | InputShellCommandTest.kt | 165 val downEvent = getMotionEvent() in assertTapToolType() constant
|
H A D | InputInjectionTest.kt | 235 val downEvent = MotionEvent.obtain( in <lambda>() constant
|
/aosp_15_r20/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | TouchExplorer.java | 764 MotionEvent downEvent = computeDownEventForDrag(event); in handleActionMoveStateTouchInteracting() local 1241 MotionEvent downEvent = in computeDownEventForDrag() local 1424 MotionEvent downEvent = computeDownEventForDrag(event); in requestDragging() local
|
/aosp_15_r20/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
H A D | AccessibilityDisplayProxyTest.java | 806 final MotionEvent downEvent = getDownMotionEvent(mProxiedVirtualDisplayActivityTitle, in testOnA11yEvent_touchProxyDisplay_proxyDoesNotReceiveInteractionEvent() local 831 final MotionEvent downEvent = getDownMotionEvent(getActivityTitle(sInstrumentation, in testOnA11yEvent_touchDefaultDisplay_serviceReceivesInteractionEvent() local 856 final MotionEvent downEvent = MotionEvent.obtain(downEventTime, in getDownMotionEvent() local
|
/aosp_15_r20/platform_testing/libraries/systemui-tapl/src/android/platform/systemui_tapl/ui/ |
H A D | Root.kt | 381 val downEvent = in sendKey() constant
|
/aosp_15_r20/packages/apps/Car/SystemUI/multivalentTests/src/com/android/systemui/car/keyguard/passenger/ |
D | PassengerPinPadViewTest.java | 97 MotionEvent downEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, in testBackspaceClickHandler() local
|
/aosp_15_r20/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
H A D | WindowTest.java | 743 KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in injectKeyEvent() local 752 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in injectTouchEvent() local
|