Searched refs:touchSlop (Results 1 – 1 of 1) sorted by relevance
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 83 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateTapOnView() local 93 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateTapOnView() 121 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateDoubleTapOnView() local 131 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() 134 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() 254 int touchSlop, int xOnScreen, int yOnScreen) { in injectMoveEventForTap() argument 256 xOnScreen + (touchSlop / 2.0f), yOnScreen + (touchSlop / 2.0f), 1); in injectMoveEventForTap() 494 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnViewCenter() local 502 instrumentation, xOnScreen, yOnScreen, touchSlop, extraWaitMs, true); in emulateLongPressOnViewCenter() 517 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnView() local [all …]
|