Home
last modified time | relevance | path

Searched refs:injectMotionEvent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java211 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x, y, 1.0f); in sendTap()
212 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x, y, 0.0f); in sendTap()
220 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f); in sendSwipe()
226 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), in sendSwipe()
230 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f); in sendSwipe()
239 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f); in sendDragAndDrop()
251 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), in sendDragAndDrop()
255 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f); in sendDragAndDrop()
267 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, dx, dy, 0.0f); in sendMove()
298 …private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pre… in injectMotionEvent() method in Input
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java97 uiController.injectMotionEvent(firstFingerEvent); in sendPinchZoomAction()
107 uiController.injectMotionEvent(secondFingerEvent); in sendPinchZoomAction()
136 uiController.injectMotionEvent(event); in sendPinchZoomAction()
155 uiController.injectMotionEvent(secondFingerUpEvent); in sendPinchZoomAction()
170 uiController.injectMotionEvent(firstFingerUpEvent); in sendPinchZoomAction()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java65 public boolean injectMotionEvent(MotionEvent event) throws InjectEventSecurityException { in injectMotionEvent() method in MouseUiController
71 return mUiController.injectMotionEvent(event); in injectMotionEvent()