Home
last modified time | relevance | path

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

12345678

/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMouseKeysInterceptorTest.kt140 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 DVerifyInputEventTest.java103 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 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.java87 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 DMagnificationGestureHandlerTest.java83 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 DFullScreenMagnificationGestureHandlerTest.java1450 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 DMagnificationGestureDetectorTest.java82 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 DHandwritingInitiatorPerfTest.java75 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 DShadowViewGroupTest.java479 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 DInputManagerServiceTests.kt387 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 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
/aosp_15_r20/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.java640 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 DPipResizeGestureHandlerTest.java157 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 DMotionPredictorTest.kt117 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 DTouchEventGenerator.java38 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 DTouchpadGestureHandlerTest.kt77 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 DInputShellCommandTest.kt165 val downEvent = getMotionEvent() in assertTapToolType() constant
H A DInputInjectionTest.kt235 val downEvent = MotionEvent.obtain( in <lambda>() constant
/aosp_15_r20/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
H A DTouchExplorer.java764 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 DAccessibilityDisplayProxyTest.java806 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 DRoot.kt381 val downEvent = in sendKey() constant
/aosp_15_r20/packages/apps/Car/SystemUI/multivalentTests/src/com/android/systemui/car/keyguard/passenger/
DPassengerPinPadViewTest.java97 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 DWindowTest.java743 KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in injectKeyEvent() local
752 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in injectTouchEvent() local

12345678