Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java153 final int swipe = detectSwipe(event); in onPointerEvent()
154 mSwipeFireable = swipe == SWIPE_NONE; in onPointerEvent()
155 if (swipe == SWIPE_FROM_TOP) { in onPointerEvent()
158 } else if (swipe == SWIPE_FROM_BOTTOM) { in onPointerEvent()
161 } else if (swipe == SWIPE_FROM_RIGHT) { in onPointerEvent()
164 } else if (swipe == SWIPE_FROM_LEFT) { in onPointerEvent()
238 final int swipe = detectSwipe(i, time, x, y); in detectSwipe() local
239 if (swipe != SWIPE_NONE) { in detectSwipe()
240 return swipe; in detectSwipe()
243 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe() local
[all …]
/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()
DMagnificationGestureHandlerTest.java259 assertTransition(STATE_2TAPS, () -> swipe(), STATE_IDLE); in testAlternativeTransitions_areWorking()
557 private void swipe() {
/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
/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/proto/src/metrics_constants/
Dmetrics_constants.proto2144 // swipe away conditional
5554 // FIELD: The x-location of a swipe gesture, conveyed as percent of total width
5559 // FIELD: The y-location of a swipe gesture, conveyed as percent of total width