Searched refs:CLICK_POINT (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 94 private static final Point CLICK_POINT = new Point(1000, 2000); field in MotionEventInjectorTest 144 0, 0, false, CLICK_DURATION, CLICK_POINT, CLICK_POINT); in setUp() 151 mClickDownEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, CLICK_POINT.x, CLICK_POINT.y, 0); in setUp() 153 mClickUpEvent = MotionEvent.obtain(0, CLICK_DURATION, ACTION_UP, CLICK_POINT.x, in setUp() 154 CLICK_POINT.y, 0); in setUp() 157 mHoverMoveEvent = MotionEvent.obtain(0, 0, ACTION_HOVER_MOVE, CLICK_POINT.x, CLICK_POINT.y, in setUp() 167 mIsClickDown = allOf(IS_ACTION_DOWN, isAtPoint(CLICK_POINT), hasStandardInitialization(), in setUp() 169 mIsClickUp = allOf(IS_ACTION_UP, isAtPoint(CLICK_POINT), hasStandardInitialization(), in setUp() 333 clickTouchPoint.mX = CLICK_POINT.x; in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 334 clickTouchPoint.mY = CLICK_POINT.y; in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() [all …]
|