/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 70 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_singleTap() 91 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_doubleTap_sameArea() 113 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_doubleTap_notSameArea() 126 MotionEvent event4 = upEvent(event3Time, event4Time, 200f, 300f); in testUpdate_doubleTap_notSameArea() 142 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_doubleTap_delayAfterFirstDownEvent() 172 MotionEvent event3 = upEvent(event1Time, event3Time, 200f, 31f); in testUpdate_quickTapAfterDrag() 197 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_tripleClick_mouse() 212 MotionEvent event4 = upEvent(event3Time, event4Time, 21f, 31f); in testUpdate_tripleClick_mouse() 237 MotionEvent event2 = upEvent(event1Time, event2Time, 20f, 30f); in testUpdate_tripleClick_touch() 250 MotionEvent event4 = upEvent(event3Time, event4Time, 21f, 31f); in testUpdate_tripleClick_touch() [all …]
|
D | EditorCursorDragTest.java | 282 MotionEvent event4 = upEvent(tv, event1Time, event4Time, 100f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag() 295 MotionEvent event6 = upEvent(tv, event5Time, event6Time, 90f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag() 366 MotionEvent event4 = upEvent(tv, event1Time, event4Time, 120f, 30f); in testEditor_onTouchEvent_cursorDrag() 389 MotionEvent event2 = upEvent(tv, event1Time, event2Time, 20f, 30f); in testEditor_onTouchEvent_selectionDrag() 407 MotionEvent event5 = upEvent(tv, event3Time, event5Time, 120f, 30f); in testEditor_onTouchEvent_selectionDrag() 566 dispatchTouchEvent(handleView, upEvent(handleView, handleDownTime, eventTime, 0, 0)); in testCursorDrag_multiTouch() 624 dispatchTouchEvent(tv, upEvent(tv, downTime, downTime + 1, x, y)); in tapAtPoint() 651 dispatchTouchEvent(view, upEvent(view, downTime, eventTime, startX, startY)); in dragDownUntilLineChange() 704 private MotionEvent upEvent(View view, long downTime, long eventTime, float x, float y) { in upEvent() method in EditorCursorDragTest 773 MotionEvent upEvent = upEvent(tv, downEventTime, upEventTime, upCoords[0], upCoords[1]); in simulateDrag() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | FullScreenMagnificationGestureHandlerTest.java | 346 send(upEvent()); in testTwoFingersOneTap_zoomedState_dispatchMotionEvents() 373 send(upEvent()); in testThreeFingersOneTap_zoomedState_dispatchMotionEvents() 618 send(upEvent()); 622 send(upEvent()); 629 send(upEvent()); 660 send(upEvent()); 665 send(upEvent(x, y)); 670 send(upEvent()); 681 send(upEvent()); 718 private MotionEvent upEvent() { [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 426 MotionEvent upEvent = MotionEvent.obtain(downEvent); in sendClick() local 427 upEvent.setAction(MotionEvent.ACTION_UP); in sendClick() 432 AutoclickController.super.onMotionEvent(upEvent, upEvent, mEventPolicyFlags); in sendClick() 433 upEvent.recycle(); in sendClick()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 194 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, in sendKeyAndWaitForEvent() 197 injectEventSync(upEvent); in sendKeyAndWaitForEvent() 551 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, 554 if(injectEventSync(upEvent)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | TouchExplorerTest.java | 135 send(upEvent()); in upEventWhenInTwoFingerMove_clearsState() 299 private MotionEvent upEvent() { in upEvent() method in TouchExplorerTest
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 1541 final MotionEvent upEvent = MotionEvent.obtain( in tapOnDisplay() local 1548 upEvent.setDisplayId(dc.getDisplayId()); in tapOnDisplay() 1549 dc.mTapDetector.onPointerEvent(upEvent); in tapOnDisplay()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 986 final KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local 987 sendKeySync(upEvent); in invokeContextMenuAction()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2610 KeyEvent upEvent = KeyEvent.changeAction(keyEvent, KeyEvent.ACTION_UP); in createCanceledKeyEvent() local 2611 return KeyEvent.changeTimeRepeat(upEvent, System.currentTimeMillis(), 0, in createCanceledKeyEvent()
|