Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java99 private static final Point CLICK_POINT = new Point(1000, 2000); field in MotionEventInjectorTest
158 0, 0, false, CLICK_DURATION, CLICK_POINT, CLICK_POINT); in setUp()
165 mClickDownEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, CLICK_POINT.x, CLICK_POINT.y, in setUp()
169 mClickUpEvent = MotionEvent.obtain(0, CLICK_DURATION, ACTION_UP, CLICK_POINT.x, in setUp()
170 CLICK_POINT.y, PRESSURE, POINTER_SIZE, METASTATE, X_PRECISION, Y_PRECISION, in setUp()
174 mHoverMoveEvent = MotionEvent.obtain(0, 0, ACTION_HOVER_MOVE, CLICK_POINT.x, CLICK_POINT.y, in setUp()
185 mIsClickDown = allOf(IS_ACTION_DOWN, isAtPoint(CLICK_POINT), hasStandardInitialization(), in setUp()
187 mIsClickUp = allOf(IS_ACTION_UP, isAtPoint(CLICK_POINT), hasStandardInitialization(), in setUp()
355 clickTouchPoint.mX = CLICK_POINT.x; in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal()
356 clickTouchPoint.mY = CLICK_POINT.y; in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal()
[all …]