Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/
DShadeTouchHandlerTest.java88 final boolean captured = swipe(Direction.DOWN); in testSwipeDown_captured()
96 final boolean captured = swipe(Direction.UP); in testSwipeUp_notCaptured()
106 swipe(Direction.DOWN); in testSwipeDown_communalEnabled_sentToCentralSurfaces()
116 swipe(Direction.DOWN); in testSwipeDown_communalDisabled_sentToShadeView()
128 swipe(Direction.DOWN); in testSwipeDown_dreaming_sentToShadeView()
138 swipe(Direction.UP); in testSwipeUp_communalEnabled_touchesNotSent()
149 swipe(Direction.UP); in testSwipeUp_communalDisabled_touchesNotSent()
163 private boolean swipe(Direction direction) { in swipe() method in ShadeTouchHandlerTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt215 val swipe = detectSwipe(ev) in <lambda>() constant
216 mSwipeFireable = swipe == SWIPE_NONE in <lambda>()
217 if (swipe == SWIPE_FROM_TOP) { in <lambda>()
220 } else if (swipe == SWIPE_FROM_BOTTOM) { in <lambda>()
223 } else if (swipe == SWIPE_FROM_RIGHT) { in <lambda>()
226 } else if (swipe == SWIPE_FROM_LEFT) { in <lambda>()
342 val swipe = detectSwipe(i, time, x, y) in <lambda>() constant
343 if (swipe != SWIPE_NONE) { in <lambda>()
344 return swipe in <lambda>()
347 val swipe = detectSwipe(i, move.eventTime, move.getX(p), move.getY(p)) in <lambda>() constant
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java238 final int swipe = detectSwipe(event); in onPointerEvent()
239 mSwipeFireable = swipe == SWIPE_NONE; in onPointerEvent()
240 if (swipe == SWIPE_FROM_TOP) { in onPointerEvent()
243 } else if (swipe == SWIPE_FROM_BOTTOM) { in onPointerEvent()
246 } else if (swipe == SWIPE_FROM_RIGHT) { in onPointerEvent()
249 } else if (swipe == SWIPE_FROM_LEFT) { in onPointerEvent()
367 final int swipe = detectSwipe(i, time, x, y); in detectSwipe() local
368 if (swipe != SWIPE_NONE) { in detectSwipe()
369 return swipe; in detectSwipe()
372 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe() local
[all …]
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DGameAppHelper.kt48 return uiDevice.swipe(bound.centerX(), 0, bound.centerX(), bound.centerY(), SWIPE_STEPS) in swipeDown()
77 return uiDevice.swipe( in switchToPreviousAppByQuickSwitchGesture()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
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()
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()
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) {
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
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()
/frameworks/base/tests/FlickerTests/FlickerService/src/com/android/server/wm/flicker/service/notification/scenarios/
DNotificationUtils.kt56 device.swipe(x, startY, x, endY, steps) in openNotification()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DClosePipBySwipingDownTest.kt79 device.swipe(pipCenterX, pipCenterY, displayCenterX, displayY, 50) in <lambda>()
/frameworks/base/packages/SystemUI/docs/device-entry/
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…
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/
DOpenActivityFromBubbleOnLocksreenTest.kt74 device.swipe(100, insets.top + 100, 100, device.displayHeight / 2, 4) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt185 device.swipe(swipeXCoordinate, 5, swipeXCoordinate, displayBounds.bottom, 50 /* steps */) in <lambda>()
195 device.swipe( in <lambda>()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java233 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight() * 3 / 4, in swipeUp()
/frameworks/base/tests/FlickerTests/Notification/src/com/android/server/wm/flicker/notification/
DOpenAppFromNotificationWarmTest.kt110 device.swipe(x, startY, x, endY, steps) in FlickerTestData()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp156 return handleMultiFingerSwipe(when, readTime, 3, gesture.details.swipe.dx, in handleGesture()
157 gesture.details.swipe.dy); in handleGesture()
/frameworks/base/cmds/uiautomator/api/
D16.txt44 method public boolean swipe(int, int, int, int, int);
45 method public boolean swipe(android.graphics.Point[], int);
D17.txt50 method public boolean swipe(int, int, int, int, int);
51 method public boolean swipe(android.graphics.Point[], int);
Dcurrent.txt70 method @Deprecated public boolean swipe(int, int, int, int, int);
71 method @Deprecated public boolean swipe(android.graphics.Point[], int);
/frameworks/base/packages/SystemUI/docs/
Dplugin_hooks.md52 … swipes/input for notification views, can be used to control what happens when you swipe/long-press
Dscene.md168 `Map` that connects `UserAction` (for example: swipe down, swipe up, back
177 values over time. For example, the `Lockscreen` scene ties the "swipe up" user
Dfalsing.md81 like a swipe) and false otherwise.
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt835 fun result(swipe: Swipe?): UserActionResult? { in computeSwipesResults()
836 return userActions[swipe ?: return null] in computeSwipesResults()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java410 assertTransition(STATE_2TAPS, () -> swipe(), STATE_IDLE); in testAlternativeTransitions_areWorking()
1062 swipe(DEFAULT_POINT, new PointF(DEFAULT_X * 2, DEFAULT_Y * 2), /* durationMs= */ 20); in testSingleFingerScrollAfterMagnified_startsFling()
1677 private void swipe() { in swipe() method
1682 private void swipe(PointF start, PointF end, int durationMs) { in swipe() method
/frameworks/base/packages/SystemUI/aconfig/
Dsystemui.aconfig869 description: "do not initiate bouncer swipe when the direction is opposite of the expansion"
1026 description: "Increase swipe area for gestures to bring in glanceable hub"
1040 …description: "Shows a vertical bar at the right edge to indicate the user can swipe to open the gl…

12