Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DViewGroupGetChildLocalHitRegionTest.java114 injectMotionEvent(viewBottom, x, y, isHover); in testGetChildLocalHitRegion_topViewIsNotBlockedByBottomView()
135 private void injectMotionEvent(View view, boolean isHover) { in injectMotionEvent() method in ViewGroupGetChildLocalHitRegionTest
138 injectMotionEvent(view, x, y, isHover); in injectMotionEvent()
145 private void injectMotionEvent(View view, float x, float y, boolean isHover) { in injectMotionEvent() method in ViewGroupGetChildLocalHitRegionTest
214 injectMotionEvent(viewTop, isHover); in assertGetChildLocalHitRegion()
257 injectMotionEvent(viewTop, isHover); in assertGetChildLocalHitRegionEmpty()
H A DPinchZoomAction.java96 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DMouseUiController.java68 public boolean injectMotionEvent(MotionEvent event) throws InjectEventSecurityException { in injectMotionEvent() method in MouseUiController
76 return mUiController.injectMotionEvent(event); in injectMotionEvent()
100 success &= injectMotionEvent(me); in injectMotionEventSequence()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java158 private void injectMotionEvent(int inputSource, int action, long downTime, long when, in injectMotionEvent() method in InputShellCommand
383 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, now, x, y, 1.0f, in sendTap()
385 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, now, x, y, 0.0f, displayId); in sendTap()
411 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, down, down, x1, y1, 1.0f, in sendSwipe()
422 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, down, now, in sendSwipe()
426 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, down, now, x2, y2, 0.0f, in sendSwipe()
450 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, now, dx, dy, 0.0f, in sendMove()
501 injectMotionEvent(inputSource, action, now, now, x, y, pressure, displayId); in sendMotionEvent()