/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
H A D | GesturePointerEventListener.kt | 215 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 D | SystemGesturesPointerEventListener.java | 237 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 D | UiDevice.java | 430 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 D | UiObject.java | 201 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 D | InteractionController.java | 354 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 D | GameAppHelper.kt | 48 return uiDevice.swipe( 83 return uiDevice.swipe(
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | GestureDescriptionTest.java | 71 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 D | NotificationUtils.kt | 56 device.swipe(x, startY, x, endY, steps)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ |
H A D | ClosePipBySwipingDownTest.kt | 79 device.swipe(pipCenterX, pipCenterY, displayCenterX, displayY, 50)
|
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/ |
H A D | glossary.md | 8 …swipe 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 D | OpenActivityFromBubbleOnLocksreenTest.kt | 74 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 D | SplitScreenUtils.kt | 169 device.swipe( 185 device.swipe(
|
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 232 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 D | OpenAppFromNotificationWarmTest.kt | 96 device.swipe(x, startY, x, endY, steps)
|
/aosp14/frameworks/base/cmds/uiautomator/api/ |
H A D | 16.txt | 44 method public boolean swipe(int, int, int, int, int); 45 method public boolean swipe(android.graphics.Point[], int);
|
H A D | 17.txt | 50 method public boolean swipe(int, int, int, int, int); 51 method public boolean swipe(android.graphics.Point[], int);
|
H A D | current.txt | 70 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 D | plugin_hooks.md | 52 … swipes/input for notification views, can be used to control what happens when you swipe/long-press
|
H A D | falsing.md | 81 like a swipe) and false otherwise.
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | FullScreenMagnificationGestureHandlerTest.java | 314 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 D | metrics_constants.proto | 2144 // 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
|