Searched refs:tapLocation (Results 1 – 2 of 2) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDetectorTest.java | 653 final PointF tapLocation = new PointF(mTapLocation); in MultiFingerSwipe() local 657 adjustTapLocation(tapLocation, fingerOffsetSum, slopAdjustedDx, slopAdjustedDy); in MultiFingerSwipe() 660 if (!mDisplayBounds.contains(tapLocation.x, tapLocation.y)) { in MultiFingerSwipe() 666 add(tapLocation, fingerOffset * currentFinger, 0), in MultiFingerSwipe() 667 add(tapLocation, slopAdjustedDx + (fingerOffset * currentFinger), in MultiFingerSwipe() 695 PointF tapLocation, float fingerOffsetSum, float strokeDeltaX, float strokeDeltaY) { in adjustTapLocation() argument 708 tapLocation.offset(offsetX, offsetY); in adjustTapLocation()
|
D | AccessibilityEndToEndTest.java | 2123 PointF tapLocation = new PointF(buttonLocation[0] + midX, buttonLocation[1] + midY); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() local 2125 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2131 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2147 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2153 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2217 PointF tapLocation = new PointF(buttonLocation[0] + midX, buttonLocation[1] + midY); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() local 2219 dispatch(service, click(tapLocation)); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() 2225 dispatch(service, click(tapLocation)); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()
|