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.java201 int dragStartX, int dragStartY, int dragAmountX, int dragAmountY) { in emulateDragGesture() argument
203 dragStartX, dragStartY, dragAmountX, dragAmountY, in emulateDragGesture()
209 int dragStartX, int dragStartY, int dragAmountX, int dragAmountY, in emulateDragGesture() argument
212 dragStartX, dragStartY, dragAmountX, dragAmountY, in emulateDragGesture()
230 int dragStartX, int dragStartY, int dragAmountX, int dragAmountY, in emulateDragGesture() argument
233 emulateDragGesture(instrumentation, activityTestRule, dragStartX, dragStartY, dragAmountX, in emulateDragGesture()
252 int dragStartX, int dragStartY, int dragAmountX, int dragAmountY, in emulateDragGesture() argument
261 injectDownEvent(uiAutomation, downTime, dragStartX, dragStartY, waitForAnimations, in emulateDragGesture()
265 injectMoveEventsForDrag(uiAutomation, downTime, true, dragStartX, dragStartY, in emulateDragGesture()
266 dragStartX + dragAmountX, dragStartY + dragAmountY, moveEventCount, dragDurationMs, in emulateDragGesture()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt205 dragStartX: Int, in emulateDragGesture()
217 injectDownEvent(uiAutomation, downTime, dragStartX, dragStartY) in emulateDragGesture()
219 val dragEndX = dragStartX + dragAmountX in emulateDragGesture()
222 injectMoveEventsForDrag(uiAutomation, downTime, downTime, dragStartX, dragStartY, in emulateDragGesture()
239 dragStartX: Int, in injectMoveEventsForDrag()
246 val dragAmountX = dragEndX - dragStartX in injectMoveEventsForDrag()
253 val moveX = dragStartX + (dragAmountX * i / moveEventCount) in injectMoveEventsForDrag()