Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java191 int dragAmountX, int dragAmountY) { in emulateDragGesture() argument
193 dragStartX, dragStartY, dragAmountX, dragAmountY, /* dragDurationMs= */ 2000, in emulateDragGesture()
198 ActivityTestRule<?> activityTestRule, int dragStartX, int dragStartY, int dragAmountX, in emulateDragGesture() argument
200 emulateDragGesture(instrumentation, activityTestRule, dragStartX, dragStartY, dragAmountX, in emulateDragGesture()
218 int dragStartX, int dragStartY, int dragAmountX, int dragAmountY, in emulateDragGesture() argument
221 emulateDragGesture(instrumentation, activityTestRule, dragStartX, dragStartY, dragAmountX, in emulateDragGesture()
241 int dragStartX, int dragStartY, int dragAmountX, int dragAmountY, in emulateDragGesture() argument
251 dragStartX + dragAmountX, dragStartY + dragAmountY, moveEventCount, in emulateDragGesture()
254 injectUpEvent(instrumentation, downTime, true, dragStartX + dragAmountX, in emulateDragGesture()
411 final int dragAmountX = dragEndX - dragStartX; in injectMoveEventsForDrag() local
[all …]
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt220 dragAmountX: Int, in emulateDragGesture()
232 val dragEndX = dragStartX + dragAmountX in emulateDragGesture()
259 val dragAmountX = dragEndX - dragStartX in injectMoveEventsForDrag() constant
266 val moveX = dragStartX + (dragAmountX * i / moveEventCount) in injectMoveEventsForDrag()