/cts/tests/tests/car/src/android/car/cts/ |
D | CarDisplayInputLockTest.java | 202 injectMotionEvent( in tapOnDisplay() 208 injectMotionEvent( in tapOnDisplay() 217 injectMotionEvent(obtainMouseEvent(mActivity.mView, MotionEvent.ACTION_DOWN, displayId)); in mouseClickOnDisplay() 218 injectMotionEvent( in mouseClickOnDisplay() 220 injectMotionEvent( in mouseClickOnDisplay() 222 injectMotionEvent(obtainMouseEvent(mActivity.mView, MotionEvent.ACTION_UP, displayId)); in mouseClickOnDisplay() 225 private void injectMotionEvent(MotionEvent event) { in injectMotionEvent() method in CarDisplayInputLockTest
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewMouseInteractionTest.java | 173 injectMotionEvent(MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, inputSource); in emulateLongClickOnViewCenter() 175 injectMotionEvent(MotionEvent.ACTION_UP, xOnScreen, yOnScreen, inputSource); in emulateLongClickOnViewCenter() 180 private void injectMotionEvent(int action, int x, int y, int inputSource) { in injectMotionEvent() method in TextViewMouseInteractionTest
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PointerCaptureTest.java | 145 private void injectMotionEvent(MotionEvent event) { in injectMotionEvent() method in PointerCaptureTest 156 injectMotionEvent(obtainRelativeMouseEvent(action, x, y)); in injectRelativeMouseEvent() 182 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_ENTER, mInner, 1, 1)); in verifyHoverDispatch() 184 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mInner, 1, 1)); in verifyHoverDispatch() 185 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget, 1, 1)); in verifyHoverDispatch() 186 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget2, 1, 1)); in verifyHoverDispatch()
|
D | TooltipTest.java | 206 private void injectMotionEvent(MotionEvent event) { in injectMotionEvent() method in TooltipTest 211 injectMotionEvent(obtainMotionEvent(source, target, action, offsetX, offsetY)); in injectHoverEvent() 562 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_DOWN, 0, 0)); in testMouseClickDoesNotShowTooltip() 563 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_PRESS, 0, 0)); in testMouseClickDoesNotShowTooltip() 564 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_RELEASE, 0, 0)); in testMouseClickDoesNotShowTooltip() 565 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_UP, 0, 0)); in testMouseClickDoesNotShowTooltip()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 408 injectMotionEvent(event, true /* sync */); in injectStylusEvent() 457 injectMotionEvent(moveEvent, true /* sync */); in injectStylusMoveEvents() 566 private static void injectMotionEvent(MotionEvent event, boolean sync) { in injectMotionEvent() method in TestUtils 573 injectMotionEvent(event, true /* sync */); in injectAll()
|