Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DPointerCaptureTest.java22 import static com.android.compatibility.common.util.CtsMouseUtil.obtainMouseEvent;
158 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mInner, 0, 0)); in verifyHoverDispatch()
159 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget, 0, 0)); in verifyHoverDispatch()
160 injectMotionEvent(obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, mTarget2, 0, 0)); in verifyHoverDispatch()
DTooltipTest.java203 private static MotionEvent obtainMouseEvent(View target, int action, int offsetX, int offsetY) { in obtainMouseEvent() method in TooltipTest
528 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_DOWN, 0, 0)); in testMouseClickDoesNotShowTooltip()
529 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_PRESS, 0, 0)); in testMouseClickDoesNotShowTooltip()
530 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_BUTTON_RELEASE, 0, 0)); in testMouseClickDoesNotShowTooltip()
531 injectMotionEvent(obtainMouseEvent(mTooltipView, MotionEvent.ACTION_UP, 0, 0)); in testMouseClickDoesNotShowTooltip()
DHoverTest.java21 import static com.android.compatibility.common.util.CtsMouseUtil.obtainMouseEvent;
107 obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, view, offsetX, offsetY)); in injectHoverMove()
DViewTest.java3673 CtsMouseUtil.obtainMouseEvent(MotionEvent.ACTION_SCROLL, mockView, 0, 0); in testTouchMode()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsMouseUtil.java55 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() method in CtsMouseUtil