Searched refs:dragDurationMs (Results 1 – 2 of 2) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 199 int dragAmountY, int dragDurationMs, int moveEventCount) { in emulateDragGesture() argument 201 dragAmountY, dragDurationMs, moveEventCount, /* eventInjectionListener= */ null); in emulateDragGesture() 219 int dragDurationMs, int moveEventCount, in emulateDragGesture() argument 222 dragAmountY, dragDurationMs, moveEventCount, /* waitForAnimations= */ true, in emulateDragGesture() 242 int dragDurationMs, int moveEventCount, in emulateDragGesture() argument 252 dragDurationMs, waitForAnimations, eventInjectionListener); in emulateDragGesture() 277 int dragDurationMs = 2000; in emulateDragGesture() local 284 if (maxDragDurationMs < dragDurationMs) { in emulateDragGesture() 285 Log.d(TAG, "emulateDragGesture: Lowering standard drag duration from " + dragDurationMs in emulateDragGesture() 287 dragDurationMs = maxDragDurationMs; in emulateDragGesture() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | StretchEdgeUtil.kt | 222 dragDurationMs: Int, in emulateDragGesture() 236 dragEndX, dragEndY, moveEventCount, dragDurationMs) in emulateDragGesture() 237 injectUpEvent(uiAutomation, downTime, downTime + dragDurationMs, dragEndX, dragEndY) in emulateDragGesture() 257 dragDurationMs: Int in injectMoveEventsForDrag() 268 val eventTime = dragStartTime + (dragDurationMs * i / moveEventCount) in injectMoveEventsForDrag()
|