Home
last modified time | relevance | path

Searched refs:swipe (Results 1 – 21 of 21) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchExplorerTest.java30 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 …]
DTouchInteractionControllerTest.java25 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()
DAccessibilityGestureDetectorTest.java464 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()
DFullScreenMagnificationGestureHandlerTest.java35 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/
DQuickSettingsHelper.java62 quickSettings.swipe(Direction.LEFT, 1f); in findTileWithLabel()
/cts/tests/tests/companion/uicommon/src/android/companion/cts/uicommon/
DCompanionDeviceManagerUi.kt88 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/
DGestureUtils.java131 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/
DRemoteVideoPreviewTest.java444 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()
DActionGetContentOnlyTest.java329 sDevice.swipe(/* startX= */ sDevice.getDisplayWidth() / 2, in findAndClickFileInDocumentsUi()
DPhotoPickerTest.java802 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/
DUiAutomatorUtils2.java224 getUiDevice().swipe(scrollableBounds.centerX(), scrollableBounds.centerY(), in scrollPastCollapsibleToolbar()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java128 title.swipe(Direction.RIGHT, 1.0f); in dismissPolicyTransparencyDialog()
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java216 return uiDevice.swipe( in swipeUp()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/
DPreferredActivitiesTest.java343 .swipe(Direction.UP, 1f); in findObjectInDialog()
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationUtils.kt330 swipe(x, displayHeight, x, 0, 1) in expandNotificationsWatch()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsBehaviorTests.java386 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/
DUserRestrictionInstallTest.kt482 uiDevice.swipe(centerX, centerY, centerX, 0, 10) in <lambda>()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java387 mDevice.swipe(/* startX= */ mDevice.getDisplayWidth() / 2, in findDocument()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java834 mDevice.swipe(/* startX= */ mDevice.getDisplayWidth() / 2, in findDocument()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java808 uiDevice.swipe( in swipeFromTopEdgeToShowSystemBars()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java187 mDevice.swipe(/* startX= */ mDevice.getDisplayWidth() / 2, in findDocument()