Searched refs:injectMotionEvent (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | PointerCaptureTest.java | 125 private static void injectMotionEvent(MotionEvent event) { in injectMotionEvent() method in PointerCaptureTest 131 injectMotionEvent(obtainRelativeMouseEvent(action, x, y)); in injectRelativeMouseEvent() 153 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mInner, 0, 0)); in verifyHoverDispatch() 154 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget, 0, 0)); in verifyHoverDispatch() 155 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget2, 0, 0)); in verifyHoverDispatch()
|
D | TooltipTest.java | 178 private void injectMotionEvent(MotionEvent event) { in injectMotionEvent() method in TooltipTest 183 injectMotionEvent(obtainMouseEvent( in injectHoverMove() 517 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_DOWN, 0, 0)); in testMouseClickDoesNotShowTooltip() 518 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_PRESS, 0, 0)); in testMouseClickDoesNotShowTooltip() 519 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_RELEASE, 0, 0)); in testMouseClickDoesNotShowTooltip() 520 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_UP, 0, 0)); in testMouseClickDoesNotShowTooltip()
|