/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | TouchExplorerTest.java | 30 import static android.accessibilityservice.cts.utils.GestureUtils.swipe; 228 dispatch(swipe(mTapLocation, add(mTapLocation, mSwipeDistance, 0), mSwipeTimeMillis)); in testSlowSwipe_initiatesTouchExploration() 243 dispatch(swipe(mTapLocation, endPoint)); in testFastSwipe_doesNotInitiateTouchExploration() 275 swipe(finger1Start, finger1End, mSwipeTimeMillis), in testTwoFingerDrag_dispatchesEventsBetweenFingers() 276 swipe(finger2Start, finger2End, mSwipeTimeMillis)); in testTwoFingerDrag_dispatchesEventsBetweenFingers() 487 StrokeDescription swipe1 = swipe(finger1Start, finger1End, mSwipeTimeMillis); in testThreeFingerMovement_shouldDelegate() 488 StrokeDescription swipe2 = swipe(finger2Start, finger2End, mSwipeTimeMillis); in testThreeFingerMovement_shouldDelegate() 489 StrokeDescription swipe3 = swipe(finger3Start, finger3End, mSwipeTimeMillis); in testThreeFingerMovement_shouldDelegate() 512 StrokeDescription swipe1 = swipe(finger1Start, finger1End, mSwipeTimeMillis); in testTwoFingersMovingIndependently_shouldDelegate() 515 StrokeDescription swipe2 = swipe(finger2Start, finger2End, mSwipeTimeMillis); in testTwoFingersMovingIndependently_shouldDelegate() [all …]
|
D | TouchInteractionControllerTest.java | 25 import static android.accessibilityservice.cts.utils.GestureUtils.swipe; 301 swipe(finger1Start, finger1End, mSwipeTimeMillis), in testTwoFingerDrag_sendsTouchEvents() 302 swipe(finger2Start, finger2End, mSwipeTimeMillis)); in testTwoFingerDrag_sendsTouchEvents() 328 StrokeDescription swipe1 = swipe(finger1Start, finger1End, mSwipeTimeMillis); in testTwoFingersMovingIndependently_shouldDelegate() 331 StrokeDescription swipe2 = swipe(finger2Start, finger2End, mSwipeTimeMillis); in testTwoFingersMovingIndependently_shouldDelegate() 415 dispatch(swipe(mTapLocation, add(mTapLocation, mSwipeDistance, 0), mSwipeTimeMillis)); in testPerformLongClick_sendsMotionEvents()
|
D | AccessibilityGestureDetectorTest.java | 464 assertEventAfterGesture(swipe(displayId), in verifyGestureTouchEventOnDisplay() 518 GestureDescription gesture = swipe(displayId); in testDispatchGesture_privateDisplay_gestureCancelled() 538 private GestureDescription swipe(int displayId) { in swipe() method in AccessibilityGestureDetectorTest 539 StrokeDescription swipe = new StrokeDescription( in swipe() local 541 return getGestureBuilder(displayId, swipe).build(); in swipe() 665 GestureUtils.swipe( in MultiFingerSwipe()
|
D | FullScreenMagnificationGestureHandlerTest.java | 35 import static android.accessibilityservice.cts.utils.GestureUtils.swipe; 369 dispatch(swipe(mNavigationBarTapLocation, mTapLocation)); in testSwipeUpFromNavigationBar_zooming_zoomOut() 428 dispatch(swipe( in assertGesturesPropagateToView()
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/ |
D | QuickSettingsHelper.java | 62 quickSettings.swipe(Direction.LEFT, 1f); in findTileWithLabel()
|
/cts/tests/tests/companion/uicommon/src/android/companion/cts/uicommon/ |
D | CompanionDeviceManagerUi.kt | 88 it.swipe(Direction.UP, 1.0F) in waitUntilPositiveButtonIsEnabledAndClick() 109 it.swipe(Direction.UP, 1.0F) in waitUntilAppAppeared()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 131 public static StrokeDescription swipe(PointF from, PointF to) { in swipe() method in GestureUtils 132 return swipe(from, to, ViewConfiguration.getTapTimeout()); in swipe() 135 public static StrokeDescription swipe(PointF from, PointF to, long duration) { in swipe() method in GestureUtils 150 StrokeDescription swipe2 = startingAt(time, swipe(midpoint, to, duration / 2)); in interruptedSwipe() 380 builder.addStroke(swipe(explorePoint, explorePoint, time));
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | RemoteVideoPreviewTest.java | 444 sDevice.swipe(width / 2, height / 2, width / 4, height / 2, 10); in swipeLeftAndWait() 454 sDevice.swipe(width / 4, height / 2, width / 2, height / 2, 10); in swipeRightAndWait()
|
D | ActionGetContentOnlyTest.java | 329 sDevice.swipe(/* startX= */ sDevice.getDisplayWidth() / 2, in findAndClickFileInDocumentsUi()
|
D | PhotoPickerTest.java | 802 sDevice.swipe(15 * width / 20, height / 2, width / 20, height / 2, 10); in swipeLeftAndWait()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UiAutomatorUtils2.java | 224 getUiDevice().swipe(scrollableBounds.centerX(), scrollableBounds.centerY(), in scrollPastCollapsibleToolbar()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 128 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
|
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/ |
D | CtsSyncAccountAccessOtherCertTestCases.java | 216 return uiDevice.swipe( in swipeUp()
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/ |
D | PreferredActivitiesTest.java | 343 .swipe(Direction.UP, 1f); in findObjectInDialog()
|
/cts/tests/tests/hibernation/src/android/hibernation/cts/ |
D | AppHibernationUtils.kt | 330 swipe(x, displayHeight, x, 0, 1) in expandNotificationsWatch()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 386 mDevice.swipe(p1.x, p1.y, p2.x, p2.y, STEPS); in swipeByUiDevice() 806 mDevice.swipe(swipeBounds.left, swipeY, swipeBounds.right, swipeY, STEPS); in testSystemGestureExclusionLimit()
|
/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/ |
D | UserRestrictionInstallTest.kt | 482 uiDevice.swipe(centerX, centerY, centerX, 0, 10) in <lambda>()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 387 mDevice.swipe(/* startX= */ mDevice.getDisplayWidth() / 2, in findDocument()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 834 mDevice.swipe(/* startX= */ mDevice.getDisplayWidth() / 2, in findDocument()
|
/cts/tests/tests/gameservice/src/android/service/games/ |
D | GameServiceTest.java | 808 uiDevice.swipe( in swipeFromTopEdgeToShowSystemBars()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 187 mDevice.swipe(/* startX= */ mDevice.getDisplayWidth() / 2, in findDocument()
|