Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java118 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateTapOnView() local
128 … injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen, waitForAnimations); in emulateTapOnView()
165 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateDoubleTapOnView() local
175 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen, true); in emulateDoubleTapOnView()
178 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen, true); in emulateDoubleTapOnView()
383 int touchSlop, int xOnScreen, int yOnScreen, boolean waitForAnimations) { in injectMoveEventForTap() argument
385 xOnScreen + (touchSlop / 2.0f), yOnScreen + (touchSlop / 2.0f), 1); in injectMoveEventForTap()
698 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnViewCenter() local
706 xOnScreen, yOnScreen, touchSlop, extraWaitMs, true); in emulateLongPressOnViewCenter()
721 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in emulateLongPressOnView() local
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java69 final int touchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in touchAndCancelOnDisplayCenterSync() local
70 final int tapX = x + Math.round(touchSlop / 2.0f); in touchAndCancelOnDisplayCenterSync()
71 final int tapY = y + Math.round(touchSlop / 2.0f); in touchAndCancelOnDisplayCenterSync()
/cts/tests/app/src/android/app/cts/
DDialogTest.java468 final int touchSlop = ViewConfiguration.get(mActivity).getScaledWindowTouchSlop(); in testTouchEvent() local
470 final int y = dialogLocation[1] - (touchSlop + 1); in testTouchEvent()