Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java190 ActivityTestRule<?> activityTestRule, int dragStartX, int dragStartY, 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
246 injectDownEvent(instrumentation, downTime, dragStartX, dragStartY, in emulateDragGesture()
250 injectMoveEventsForDrag(instrumentation, downTime, dragStartX, dragStartY, in emulateDragGesture()
251 dragStartX + dragAmountX, dragStartY + dragAmountY, moveEventCount, in emulateDragGesture()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt218 dragStartX: Int, in emulateDragGesture()
230 injectDownEvent(uiAutomation, downTime, dragStartX, dragStartY) in emulateDragGesture()
232 val dragEndX = dragStartX + dragAmountX in emulateDragGesture()
235 injectMoveEventsForDrag(uiAutomation, downTime, downTime, dragStartX, dragStartY, in emulateDragGesture()
252 dragStartX: Int, in injectMoveEventsForDrag()
259 val dragAmountX = dragEndX - dragStartX in injectMoveEventsForDrag()
266 val moveX = dragStartX + (dragAmountX * i / moveEventCount) in injectMoveEventsForDrag()