Home
last modified time | relevance | path

Searched refs:dragStartY (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.kt206 dragStartY: Int, in emulateDragGesture()
217 injectDownEvent(uiAutomation, downTime, dragStartX, dragStartY) in emulateDragGesture()
220 val dragEndY = dragStartY + dragAmountY in emulateDragGesture()
222 injectMoveEventsForDrag(uiAutomation, downTime, downTime, dragStartX, dragStartY, in emulateDragGesture()
240 dragStartY: Int, in injectMoveEventsForDrag()
247 val dragAmountY = dragEndY - dragStartY in injectMoveEventsForDrag()
254 val moveY = dragStartY + (dragAmountY * i / moveEventCount) in injectMoveEventsForDrag()