Searched refs:injectMotionEvent (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | MouseUiController.java | 68 public boolean injectMotionEvent(MotionEvent event) throws InjectEventSecurityException { in injectMotionEvent() method in MouseUiController 74 return mUiController.injectMotionEvent(event); in injectMotionEvent() 98 success &= injectMotionEvent(me); in injectMotionEventSequence()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 223 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, now, x, y, 1.0f, in sendTap() 225 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, now, x, y, 0.0f, displayId); in sendTap() 257 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, down, down, x1, y1, 1.0f, in sendSwipe() 272 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, down, now, in sendSwipe() 276 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, down, now, x2, y2, 0.0f, in sendSwipe() 306 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, now, dx, dy, 0.0f, in sendMove() 342 injectMotionEvent(inputSource, action, now, now, x, y, pressure, displayId); in sendMotionEvent() 382 private static void injectMotionEvent(int inputSource, int action, long downTime, long when, in injectMotionEvent() method in Input
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 96 uiController.injectMotionEvent(firstFingerEvent); in sendPinchZoomAction() 106 uiController.injectMotionEvent(secondFingerEvent); in sendPinchZoomAction() 135 uiController.injectMotionEvent(event); in sendPinchZoomAction() 154 uiController.injectMotionEvent(secondFingerUpEvent); in sendPinchZoomAction() 169 uiController.injectMotionEvent(firstFingerUpEvent); in sendPinchZoomAction()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 281 void injectMotionEvent(std::string event, int x, int y) { in injectMotionEvent() function 498 injectMotionEvent("DOWN", 11, 11); in TEST_F() 509 injectMotionEvent("UP", 11, 11); in TEST_F()
|