Searched refs:touchSlop (Results 1 – 3 of 3) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 88 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateTapOnView() local 98 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateTapOnView() 134 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateDoubleTapOnView() local 144 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() 147 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() 288 int touchSlop, int xOnScreen, int yOnScreen) { in injectMoveEventForTap() argument 290 xOnScreen + (touchSlop / 2.0f), yOnScreen + (touchSlop / 2.0f), 1); in injectMoveEventForTap() 532 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnViewCenter() local 540 xOnScreen, yOnScreen, touchSlop, extraWaitMs, true); in emulateLongPressOnViewCenter() 555 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnView() local [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 87 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateTapOnView() local 97 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateTapOnView() 133 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateDoubleTapOnView() local 143 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() 146 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() 287 int touchSlop, int xOnScreen, int yOnScreen) { in injectMoveEventForTap() argument 289 xOnScreen + (touchSlop / 2.0f), yOnScreen + (touchSlop / 2.0f), 1); in injectMoveEventForTap() 531 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnViewCenter() local 539 xOnScreen, yOnScreen, touchSlop, extraWaitMs, true); in emulateLongPressOnViewCenter() 554 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnView() local [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 487 final int touchSlop = ViewConfiguration.get(mActivity).getScaledWindowTouchSlop(); in testTouchEvent() local 488 final int x = dialogLocation[0] - (touchSlop + 1); in testTouchEvent() 489 final int y = dialogLocation[1] - (touchSlop + 1); in testTouchEvent()
|