Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
H A DGesturePointerEventListener.kt215 val swipe = detectSwipe(ev) regex
216 mSwipeFireable = swipe == SWIPE_NONE
217 if (swipe == SWIPE_FROM_TOP) {
220 } else if (swipe == SWIPE_FROM_BOTTOM) {
223 } else if (swipe == SWIPE_FROM_RIGHT) {
226 } else if (swipe == SWIPE_FROM_LEFT) {
342 val swipe = detectSwipe(i, time, x, y) regex
343 if (swipe != SWIPE_NONE) {
344 return swipe
348 if (swipe != SWIPE_NONE) {
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSystemGesturesPointerEventListener.java237 final int swipe = detectSwipe(event); in onPointerEvent()
238 mSwipeFireable = swipe == SWIPE_NONE; in onPointerEvent()
239 if (swipe == SWIPE_FROM_TOP) { in onPointerEvent()
242 } else if (swipe == SWIPE_FROM_BOTTOM) { in onPointerEvent()
245 } else if (swipe == SWIPE_FROM_RIGHT) { in onPointerEvent()
248 } else if (swipe == SWIPE_FROM_LEFT) { in onPointerEvent()
366 final int swipe = detectSwipe(i, time, x, y); in detectSwipe() local
367 if (swipe != SWIPE_NONE) { in detectSwipe()
368 return swipe; in detectSwipe()
372 if (swipe != SWIPE_NONE) { in detectSwipe()
[all …]
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() method in UiDevice
433 .swipe(startX, startY, endX, endY, steps); in swipe()
454 .swipe(startX, startY, endX, endY, steps, true); in drag()
466 public boolean swipe(Point[] segments, int segmentSteps) { in swipe() method in UiDevice
468 return getAutomatorBridge().getInteractionController().swipe(segments, segmentSteps); in swipe()
H A DUiObject.java201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), in dragTo()
220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, in dragTo()
245 return getInteractionController().swipe(rect.centerX(), in swipeUp()
273 return getInteractionController().swipe(rect.centerX(), in swipeDown()
301 return getInteractionController().swipe(rect.right - SWIPE_MARGIN_LIMIT, in swipeLeft()
328 return getInteractionController().swipe(rect.left + SWIPE_MARGIN_LIMIT, in swipeRight()
H A DInteractionController.java354 swipe(downX, downY, upX, upY, steps);
422 public boolean swipe(int downX, int downY, int upX, int upY, int steps) {
423 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
436 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
475 public boolean swipe(Point[] segments, int segmentSteps) {
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
H A DGameAppHelper.kt48 return uiDevice.swipe(
83 return uiDevice.swipe(
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DGestureDescriptionTest.java71 GestureDescription swipe = in testSwipe_shouldContainEvenlySpacedPoints() local
74 .getGestureStepsFromGestureDescription(swipe, samplePeriod); in testSwipe_shouldContainEvenlySpacedPoints()
93 GestureDescription swipe = createSwipe(10.1f, 20.6f, 11.9f, 22.1f, strokeTime); in testSwipeWithNonIntegerValues_shouldRound() local
95 .getGestureStepsFromGestureDescription(swipe, strokeTime); in testSwipeWithNonIntegerValues_shouldRound()
235 GestureDescription swipe = new GestureDescription.Builder().addStroke(swipeStroke).build(); in testGetGestureSteps_touchPointsHaveStrokeId() local
237 .getGestureStepsFromGestureDescription(swipe, 10); in testGetGestureSteps_touchPointsHaveStrokeId()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/service/notification/scenarios/
H A DNotificationUtils.kt56 device.swipe(x, startY, x, endY, steps)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
H A DClosePipBySwipingDownTest.kt79 device.swipe(pipCenterX, pipCenterY, displayCenterX, displayY, 50)
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/
H A Dglossary.md8swipe down from the top of the screen to interact with quick settings tiles</li><li>[Keyguard Stat…
25 … user performs an action to indicate they'd like to enter the device (ie: swipe up on the lock scr…
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
H A DOpenActivityFromBubbleOnLocksreenTest.kt74 device.swipe(100, insets.top + 100, 100, device.displayHeight / 2, 4)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
H A DSplitScreenUtils.kt169 device.swipe(
185 device.swipe(
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java232 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight() * 3 / 4, in swipeUp()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/notification/
H A DOpenAppFromNotificationWarmTest.kt96 device.swipe(x, startY, x, endY, steps)
/aosp14/frameworks/base/cmds/uiautomator/api/
H A D16.txt44 method public boolean swipe(int, int, int, int, int);
45 method public boolean swipe(android.graphics.Point[], int);
H A D17.txt50 method public boolean swipe(int, int, int, int, int);
51 method public boolean swipe(android.graphics.Point[], int);
H A Dcurrent.txt70 method @Deprecated public boolean swipe(int, int, int, int, int);
71 method @Deprecated public boolean swipe(android.graphics.Point[], int);
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dplugin_hooks.md52 … swipes/input for notification views, can be used to control what happens when you swipe/long-press
H A Dfalsing.md81 like a swipe) and false otherwise.
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandlerTest.java314 assertTransition(STATE_2TAPS, () -> swipe(), STATE_IDLE); in testAlternativeTransitions_areWorking()
899 private void swipe() { in swipe() method
/aosp14/frameworks/base/proto/src/metrics_constants/
H A Dmetrics_constants.proto2144 // swipe away conditional
5564 // FIELD: The x-location of a swipe gesture, conveyed as percent of total width
5569 // FIELD: The y-location of a swipe gesture, conveyed as percent of total width