Searched refs:swipe (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java120 final int swipe = detectSwipe(event);
121 mSwipeFireable = swipe == SWIPE_NONE;
122 if (swipe == SWIPE_FROM_TOP) {
125 } else if (swipe == SWIPE_FROM_BOTTOM) {
128 } else if (swipe == SWIPE_FROM_RIGHT) {
131 } else if (swipe == SWIPE_FROM_LEFT) {
201 final int swipe = detectSwipe(i, time, x, y);
202 if (swipe != SWIPE_NONE) {
203 return swipe;
206 final int swipe
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
H A DItemTouchHelperTest.java150 final SwipeRecord swipe = mCalback.getSwipe(target);
151 assertNotNull(swipe);
152 assertEquals(dir, swipe.dir);
211 for (SwipeRecord swipe : mSwipeRecords) {
212 if (swipe.viewHolder == vh) {
213 return swipe;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java418 * Performs a swipe from one coordinate to another using the number of steps
420 * per step. So for a 100 steps, the swipe will take about 1/2 second to complete.
430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice
433 .swipe(startX, startY, endX, endY, steps);
437 * Performs a swipe from one coordinate to another coordinate. You can control
438 * the smoothness and speed of the swipe by specifying the number of steps.
440 * steps, the swipe will take around 0.5 seconds to complete.
446 * @param steps is the number of steps for the swipe action
447 * @return true if swipe is performed, false if the operation fails
454 .swipe(start
466 public boolean swipe(Point[] segments, int segmentSteps) { method in class:UiDevice
[all...]
H A DUiObject.java201 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(),
220 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY,
225 * Performs the swipe up action on the UiObject.
244 return false; // too small to swipe
245 return getInteractionController().swipe(rect.centerX(),
251 * Performs the swipe down action on the UiObject.
252 * The swipe gesture can be performed over any surface. The targeted
272 return false; // too small to swipe
273 return getInteractionController().swipe(rect.centerX(),
279 * Performs the swipe lef
[all...]
H A DInteractionController.java356 swipe(downX, downY, upX, upY, steps);
360 // Collect all accessibility events generated during the swipe command and get the
422 * @return true if the swipe executed successfully
424 public boolean swipe(int downX, int downY, int upX, int upY, int steps) { method in class:InteractionController
425 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
435 * @param drag when true, the swipe becomes a drag swipe
436 * @return true if the swipe executed successfully
438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) { method in class:InteractionController
472 * Performs a swipe betwee
477 public boolean swipe(Point[] segments, int segmentSteps) { method in class:InteractionController
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DSwipeToDismissActivity.java152 vh.actionButton.setText(R.string.swipe);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DSwipeToDismissActivity.java152 vh.actionButton.setText(R.string.swipe);
/frameworks/base/docs/html/topic/performance/
H A Dperformance_toc.cs1262 "How to implement various navigation patterns such as swipe views,
1330 <a href="<?cs var:toroot ?>training/swipe/index.html"
1333 swipe-to-refresh gesture."
1338 <a href="<?cs var:toroot ?>training/swipe/add-swipe-interface.html"
1341 <a href="<?cs var:toroot ?>training/swipe/respond-refresh-request.html"
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1218 "How to implement various navigation patterns such as swipe views,
1286 <a href="<?cs var:toroot ?>training/swipe/index.html"
1289 swipe-to-refresh gesture."
1294 <a href="<?cs var:toroot ?>training/swipe/add-swipe-interface.html"
1297 <a href="<?cs var:toroot ?>training/swipe/respond-refresh-request.html"

Completed in 423 milliseconds