Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java119 final int swipe = detectSwipe(event); in onPointerEvent()
120 mSwipeFireable = swipe == SWIPE_NONE; in onPointerEvent()
121 if (swipe == SWIPE_FROM_TOP) { in onPointerEvent()
124 } else if (swipe == SWIPE_FROM_BOTTOM) { in onPointerEvent()
127 } else if (swipe == SWIPE_FROM_RIGHT) { in onPointerEvent()
197 final int swipe = detectSwipe(i, time, x, y); in detectSwipe() local
198 if (swipe != SWIPE_NONE) { in detectSwipe()
199 return swipe; in detectSwipe()
202 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe() local
203 if (swipe != SWIPE_NONE) { in detectSwipe()
[all …]
/frameworks/base/docs/html/design/patterns/
Dswipe-views.jd31 using the swipe gesture to navigate to the next/previous detail view.</p>
35swipe gesture. If a view contains content that exceeds the width of the screen such as a wide emai…
40 …Scrolling within a wide email message using the swipe gesture before navigating to the next messag…
56 People app with swipe gesture navigation between top-level screens.
62 <p>If your app uses action bar tabs, use swipe to navigate between the different views.</p>
68 <p>Use swipe to quickly navigate between detail views or tabs.</p>
71 <p>Transition between the views as the user performs the swipe gesture. Do not wait for the
76 the swipe gesture.</p>
83 …<p>For more details on how to build swipe views, read the developer documentation on <a href="{@do…
Dapp-structure.jd209 between categories, users can swipe left/right on the content.
283 between items from within the detail view. Use swipe views or other techniques, such as thumbnail v…
288 Gmail using swipe views to navigate from detail view to detail view.
293 In addition to supporting swipe gestures to move left or right through pages, Magazines provides a
297 <p>For more discussion, see the <a href="{@docRoot}design/patterns/swipe-views.html">Swipe Views</a>
317 <p>Allow for quick navigation between detail items with swipe views.</p>
Dbuttons.jd67 they swipe from any edge where a system bar is hidden. By requiring this more
112 But in some apps, the user might occasionally need to swipe from the edge as
Dfullscreen.jd67 they swipe from any edge where a system bar is hidden. By requiring this more
112 But in some apps, the user might occasionally need to swipe from the edge as
/frameworks/base/docs/html/training/swipe/
Dindex.jd40 platform includes the swipe-to-refresh design pattern, which allows users
41 to trigger an update with a vertical swipe.
56 <b><a href="add-swipe-interface.html">Adding Swipe-to-Refresh To Your
64 …"When the user performs a swipe gesture, the SwipeRefreshLayout widget displays a progress indicat…
66 <source src="images/swipe.mp4">
77 Learn how to provide swipe-to-refresh support in a {@link
88 Learn how to respond to the swipe-to-refresh gesture, and how to perform the
Dadd-swipe-interface.jd44 The swipe-to-refresh user interface pattern is implemented entirely within
46 detects the vertical swipe, displays a distinctive progress bar, and triggers
56 that users who may be unable to use the swipe gesture can trigger a manual
62 To add the swipe to refresh widget to an existing app, add {@link
93 <code>"@android:id/list"</code>, the swipe-to-refresh functionality is
109 users who may not be able to perform a swipe gesture can still trigger a
119 swipe-to-refresh action. By making the refresh action less conspicuous in the
120 action bar, you can encourage users to perform manual updates with the swipe
126 The following code demonstrates how to add the swipe-to-refresh action to the
Drespond-refresh-request.jd29 refresh, whether the user triggers the refresh with a swipe gesture or by
36 When the user makes a swipe gesture, the system displays the progress
48 onRefresh()} method is invoked when the user performs a swipe gesture.
76 * performs a swipe-to-refresh gesture.
109 with a swipe or by using the action bar. When the update has finished, call
145 <strong>Note:</strong> When the user triggers a refresh with a swipe action as
152 if the update is triggered by any means <em>other than</em> a swipe gesture,
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java151 final SwipeRecord swipe = mCalback.getSwipe(target); in basicSwipeTest() local
152 assertNotNull(swipe); in basicSwipeTest()
153 assertEquals(dir, swipe.dir); in basicSwipeTest()
212 for (SwipeRecord swipe : mSwipeRecords) { in getSwipe()
213 if (swipe.viewHolder == vh) { in getSwipe()
214 return swipe; in getSwipe()
/frameworks/base/docs/html/training/wearables/ui/
Dexit.jd9 <li><a href="#disable-swipe">Disable the Swipe-To-Dismiss Gesture</a></li>
22 content and then swipe again from left to right to exit the app.</p>
25 disable the swipe to exit gesture in your app. However, if you disable it, you must implement
35 <h2 id="disable-swipe">Disable the Swipe-To-Dismiss Gesture</h2>
37 <p>If the user interaction model of your app interferes with the swipe-to-dismiss gesture,
38 you can disable it for your app. To disable the swipe-to-dismiss gesture in your app, extend
D2d-picker.jd197 through the card's content. When users reach the end of a scrollable card, a swipe in the same
202 method. When users swipe to navigate across pages, the
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd2 page.tags=viewpager,horizontal,paging,swipe view,tabs
15 <li><a href="#swipe-tabs">Change Tabs with Swipe Views</a></li>
24 <li><a href="{@docRoot}design/patterns/swipe-views.html">Android Design: Swipe Views</a></li>
41 you how to create a tab layout with swipe views for switching between tabs, or how to show
48 Effective Navigation</a> and the <a href="{@docRoot}design/patterns/swipe-views.html">Swipe
58 <p>You can create swipe views in your app using the {@link android.support.v4.view.ViewPager}
65 {@code <ViewPager>} element to your XML layout. For example, if each page in the swipe view
92 to swipe across a collection of {@link android.app.Fragment} objects:</p>
163 <p>This example shows only the code necessary to create the swipe views. The following
221 <h2 id="swipe-tabs">Change Tabs with Swipe Views</h2>
[all …]
Dindex.jd45 implement navigation patterns with tabs, swipe views, and a navigation drawer. You should also
60 horizontal paging (swipe views) to navigate between tabs.</dd>
64 of the screen that opens with a swipe or by pressing the action bar's app icon.</dd>
/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.java356 swipe(downX, downY, upX, upY, steps);
424 public boolean swipe(int downX, int downY, int upX, int upY, int steps) {
425 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
477 public boolean swipe(Point[] segments, int segmentSteps) {
/frameworks/base/docs/html/training/
Dtraining_toc.cs1236 "How to implement various navigation patterns such as swipe views,
1307 swipe-to-refresh gesture."
1312 <a href="<?cs var:toroot ?>training/swipe/add-swipe-interface.html"
1315 <a href="<?cs var:toroot ?>training/swipe/respond-refresh-request.html"
/frameworks/base/docs/html/design/wear/
Dstyle.jd41 …, should be cropped appropriately to provide an affordance to the user to swipe the card to read m…
64 …needed) to the right of the main card in the stream to which the user can swipe for more informati…
/frameworks/base/docs/html/training/displaying-bitmaps/
Ddisplay-bitmap.jd20 <li><a href="{@docRoot}design/patterns/swipe-views.html">Android Design: Swipe Views</a></li>
43 <p>The <a href="{@docRoot}design/patterns/swipe-views.html">swipe view pattern</a> is an excellent
/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);
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd30 <li><a href="{@docRoot}design/patterns/swipe-views.html">Android Design: Swipe Views</a></li>
146 href="{@docRoot}design/patterns/swipe-views.html">Swipe Views</a> pattern guides.</p>
149 <p>Another popular lateral navigation pattern is horizontal paging, also referred to as swipe views…
/frameworks/base/docs/html/guide/topics/ui/
Dcontrols.jd89 …sers to select a single value for a set by using up/down buttons or via a swipe gesture. Use a <co…
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd60 …or where the interaction model is extremely simple and intuitive (such as swipe views using a {@li…
/frameworks/base/docs/html/wear/preview/features/
Dnotifications.jd74 <li><strong>Updated horizontal swipe gesture on a notification</strong>:
76 direction. So if your notification instructs the user to swipe left or right,

123