Home
last modified time | relevance | path

Searched refs:downEvent (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java70 MotionEvent downEvent = MotionEvents.sendDown(
73 return downEvent;
136 MotionEvent downEvent = MotionEvents.sendDown(
171 MotionEvent downEvent = MotionEvents.sendDown(
176 if (!MotionEvents.sendUp(uiController, downEvent)) {
180 MotionEvents.sendCancel(uiController, downEvent);
187 downEvent.recycle();
189 downEvent = MotionEvents.sendDown(
192 return downEvent;
223 MotionEvent downEvent = MotionEvents.sendDown(
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java238 send(downEvent()); in testAlternativeTransitions_areWorking()
270 send(downEvent()); in testNonTransitions_dontChangeState()
453 send(downEvent());
458 send(downEvent());
467 send(downEvent());
548 send(downEvent());
553 send(downEvent(x, y));
563 send(downEvent());
568 send(downEvent());
597 private MotionEvent downEvent() {
[all …]
DAccessibilityInputFilterTest.java215 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
216 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers()
232 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers()
233 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers()
238 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldClearEventsForAllEventHandlers()
267 private MotionEvent downEvent(int displayId, int source) { in downEvent() method in AccessibilityInputFilterTest
DTouchExplorerTest.java178 send(downEvent()); in goFromStateIdleTo()
261 private MotionEvent downEvent() { in downEvent() method in TouchExplorerTest
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java420 MotionEvent downEvent = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1, in sendClick() local
426 MotionEvent upEvent = MotionEvent.obtain(downEvent); in sendClick()
429 AutoclickController.super.onMotionEvent(downEvent, downEvent, mEventPolicyFlags); in sendClick()
430 downEvent.recycle(); in sendClick()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java115 MotionEvent downEvent = MotionEvent.obtain( in createInterpolatedEventList() local
117 result.add(downEvent); in createInterpolatedEventList()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java190 KeyEvent downEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN, in sendKeyAndWaitForEvent()
193 if (injectEventSync(downEvent)) { in sendKeyAndWaitForEvent()
547 KeyEvent downEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN,
550 if (injectEventSync(downEvent)) {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java932 final MotionEvent downEvent = MotionEvent.obtain( in tapOnDisplay() local
939 downEvent.setDisplayId(dc.getDisplayId()); in tapOnDisplay()
940 dc.mTapDetector.onPointerEvent(downEvent); in tapOnDisplay()
/frameworks/base/core/java/android/app/
DInstrumentation.java971 … final KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local
972 sendKeySync(downEvent); in invokeContextMenuAction()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java2099 KeyEvent downEvent = KeyEvent.changeAction(keyEvent, KeyEvent.ACTION_DOWN); in handleVoiceKeyEventLocked() local
2101 downEvent, needWakeLock); in handleVoiceKeyEventLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3717 MotionEvent downEvent = MotionEvent.obtain(ev);
3718 downEvent.setAction(MotionEvent.ACTION_DOWN);
3719 onScrollTouch(downEvent);
3720 downEvent.recycle();