Home
last modified time | relevance | path

Searched refs:obtainMouseEvent (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarDisplayInputLockTest.java275 injectMotionEvent(obtainMouseEvent( in mouseClickOnDisplay()
277 injectMotionEvent(obtainMouseEvent( in mouseClickOnDisplay()
279 injectMotionEvent(obtainMouseEvent( in mouseClickOnDisplay()
281 injectMotionEvent(obtainMouseEvent( in mouseClickOnDisplay()
290 private static MotionEvent obtainMouseEvent(View target, int action, int displayId) { in obtainMouseEvent() method in CarDisplayInputLockTest
/cts/tests/tests/view/src/android/view/cts/
DPointerCaptureTest.java22 import static com.android.compatibility.common.util.CtsMouseUtil.obtainMouseEvent;
181 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_ENTER, mInner, 1, 1)); in verifyHoverDispatch()
183 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mInner, 1, 1)); in verifyHoverDispatch()
184 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget, 1, 1)); in verifyHoverDispatch()
185 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget2, 1, 1)); in verifyHoverDispatch()
DHoverTest.java21 import static com.android.compatibility.common.util.CtsMouseUtil.obtainMouseEvent;
122 obtainMouseEvent(MotionEvent.ACTION_HOVER_ENTER, view, offsetX, offsetY)); in injectHoverEnter()
131 obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, view, offsetX, offsetY)); in injectHoverMove()
DTooltipTest.java228 private static MotionEvent obtainMouseEvent(View target, int action, int offsetX, int offsetY) { in obtainMouseEvent() method in TooltipTest
554 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_DOWN, 0, 0)); in testMouseClickDoesNotShowTooltip()
555 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_PRESS, 0, 0)); in testMouseClickDoesNotShowTooltip()
556 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_RELEASE, 0, 0)); in testMouseClickDoesNotShowTooltip()
557 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_UP, 0, 0)); in testMouseClickDoesNotShowTooltip()
DViewTest.java4129 CtsMouseUtil.obtainMouseEvent(MotionEvent.ACTION_SCROLL, mockView, in testTouchMode()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java62 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() method in CtsMouseUtil