Searched refs:obtainMouseEvent (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/car/src/android/car/cts/ |
D | CarDisplayInputLockTest.java | 275 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/ |
D | PointerCaptureTest.java | 22 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()
|
D | HoverTest.java | 21 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()
|
D | TooltipTest.java | 228 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()
|
D | ViewTest.java | 4129 CtsMouseUtil.obtainMouseEvent(MotionEvent.ACTION_SCROLL, mockView, in testTouchMode()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 62 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() method in CtsMouseUtil
|