/frameworks/base/policy/src/com/android/internal/policy/impl/ |
SystemGesturesPointerEventListener.java | 91 final int swipe = detectSwipe(event); 92 mSwipeFireable = swipe == SWIPE_NONE; 93 if (swipe == SWIPE_FROM_TOP) { 96 } else if (swipe == SWIPE_FROM_BOTTOM) { 99 } else if (swipe == SWIPE_FROM_RIGHT) { 153 final int swipe = detectSwipe(i, time, x, y); 154 if (swipe != SWIPE_NONE) { 155 return swipe; 158 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); 159 if (swipe != SWIPE_NONE) [all...] |
/external/chromium_org/ui/base/gestures/ |
gesture_types.cc | 45 data.swipe.left = delta_x < 0; 46 data.swipe.right = delta_x > 0; 47 data.swipe.up = delta_y < 0; 48 data.swipe.down = delta_y > 0;
|
gesture_types.h | 108 return data.swipe.left; 113 return data.swipe.right; 118 return data.swipe.up; 123 return data.swipe.down; 162 struct { // SWIPE direction. 167 } swipe; member in union:ui::GestureEventDetails::__anon16592
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SwipeableConversationItemView.java | 70 public void startUndoAnimation(AnimatorListener listener, boolean swipe) { 71 final Animator a = (swipe) ? mConversationItemView.createSwipeUndoAnimation() 77 public void startDeleteAnimation(AnimatorListener listener, boolean swipe) { 78 final Animator a = (swipe) ? mConversationItemView.createDestroyWithSwipeAnimation()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Settings.java | 31 import com.android.mail.providers.UIProvider.Swipe; 90 public final int swipe; field in class:Settings 123 swipe = DEFAULT; 146 swipe = inParcel.readInt(); 174 swipe = cursor.getInt(cursor.getColumnIndex(SettingsColumns.SWIPE)); 206 swipe = json.optInt(SettingsColumns.SWIPE, sDefault.swipe); 252 json.put(SettingsColumns.SWIPE, swipe) [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiDevice.java | 415 * Performs a swipe from one coordinate to another using the number of steps 417 * per step. So for a 100 steps, the swipe will take about 1/2 second to complete. 427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice 430 .swipe(startX, startY, endX, endY, steps); 434 * Performs a swipe from one coordinate to another coordinate. You can control 435 * the smoothness and speed of the swipe by specifying the number of steps. 437 * steps, the swipe will take around 0.5 seconds to complete. 443 * @param steps is the number of steps for the swipe action 444 * @return true if swipe is performed, false if the operation fails 451 .swipe(startX, startY, endX, endY, steps, true) 463 public boolean swipe(Point[] segments, int segmentSteps) { method in class:UiDevice [all...] |
UiObject.java | 198 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), 217 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, 222 * Performs the swipe up action on the UiObject. 241 return false; // too small to swipe 242 return getInteractionController().swipe(rect.centerX(), 248 * Performs the swipe down action on the UiObject. 249 * The swipe gesture can be performed over any surface. The targeted 269 return false; // too small to swipe 270 return getInteractionController().swipe(rect.centerX(), 276 * Performs the swipe left action on the UiObject. [all...] |
InteractionController.java | 356 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) { 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) { 472 * Performs a swipe between points in the Point array [all...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
UiDevice.java | 415 * Performs a swipe from one coordinate to another using the number of steps 417 * per step. So for a 100 steps, the swipe will take about 1/2 second to complete. 427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice 430 .swipe(startX, startY, endX, endY, steps); 434 * Performs a swipe from one coordinate to another coordinate. You can control 435 * the smoothness and speed of the swipe by specifying the number of steps. 437 * steps, the swipe will take around 0.5 seconds to complete. 443 * @param steps is the number of steps for the swipe action 444 * @return true if swipe is performed, false if the operation fails 451 .swipe(startX, startY, endX, endY, steps, true) 463 public boolean swipe(Point[] segments, int segmentSteps) { method in class:UiDevice [all...] |
UiObject.java | 198 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), 217 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, 222 * Performs the swipe up action on the UiObject. 241 return false; // too small to swipe 242 return getInteractionController().swipe(rect.centerX(), 248 * Performs the swipe down action on the UiObject. 249 * The swipe gesture can be performed over any surface. The targeted 269 return false; // too small to swipe 270 return getInteractionController().swipe(rect.centerX(), 276 * Performs the swipe left action on the UiObject. [all...] |
InteractionController.java | 356 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) { 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) { 472 * Performs a swipe between points in the Point array [all...] |
/prebuilts/sdk/16/ |
uiautomator.jar | |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AnimatedAdapter.java | 500 false /* don't show swipe background */); 503 true /* show swipe background */); 724 boolean swipe) { 731 deletingView.startDeleteAnimation(mAnimatorListener, swipe); 739 private View getUndoingView(int position, Conversation conv, ViewGroup parent, boolean swipe) { 746 undoView.startUndoAnimation(mAnimatorListener, swipe); [all...] |
/prebuilts/sdk/17/ |
uiautomator.jar | |
/prebuilts/sdk/18/ |
uiautomator.jar | |
/prebuilts/sdk/19/ |
uiautomator.jar | |
/prebuilts/sdk/current/ |
uiautomator.jar | |
/frameworks/base/docs/html/design/ |
design_toc.cs | 37 <li><a href="<?cs var:toroot ?>design/patterns/swipe-views.html">Swipe Views</a></li>
|
/external/chromium_org/chrome/browser/resources/file_manager/js/photo/ |
slide_mode.js | [all...] |
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
CtsUiAutomatorTest.java | 326 * Verifies swipeRight, swipeLeft and raw swipe APIs perform as expected. 335 assertTrue("UiObject swipe left 1->2", "[ 2 ]".equals(textView.getText())); 338 assertTrue("UiObject swipe left 2->3", "[ 3 ]".equals(textView.getText())); 341 assertTrue("UiObject swipe left 3->4", "[ 4 ]".equals(textView.getText())); 344 assertTrue("UiObject swipe right 3<-4", "[ 3 ]".equals(textView.getText())); 347 assertTrue("UiObject swipe right 2<-3", "[ 2 ]".equals(textView.getText())); 350 assertTrue("UiObject swipe right 1<-2", "[ 1 ]".equals(textView.getText())); 353 UiDevice.getInstance().swipe(tb.right - 20, tb.centerY(), tb.left + 20, tb.centerY(), 50); 356 assertTrue("UiDevice raw swipe 1->2", "[ 2 ]".equals(textView.getText())); [all...] |
/frameworks/uiautomator/tests/CtsUiAutomatorTest/src/com/android/uiautomator/tests/cts/ |
CtsUiAutomatorTest.java | 300 * Verifies swipeRight, swipeLeft and raw swipe APIs perform as expected. 309 assertTrue("UiObject swipe left 1->2", "[ 2 ]".equals(textView.getText())); 312 assertTrue("UiObject swipe left 2->3", "[ 3 ]".equals(textView.getText())); 315 assertTrue("UiObject swipe left 3->4", "[ 4 ]".equals(textView.getText())); 318 assertTrue("UiObject swipe right 3<-4", "[ 3 ]".equals(textView.getText())); 321 assertTrue("UiObject swipe right 2<-3", "[ 2 ]".equals(textView.getText())); 324 assertTrue("UiObject swipe right 1<-2", "[ 1 ]".equals(textView.getText())); 327 UiDevice.getInstance().swipe(tb.right - 20, tb.centerY(), tb.left + 20, tb.centerY(), 50); 330 assertTrue("UiDevice raw swipe 1->2", "[ 2 ]".equals(textView.getText())); [all...] |
/frameworks/base/docs/html/training/ |
training_toc.cs | 750 "How to implement various navigation patterns such as swipe views, 756 Creating Swipe Views with Tabs [all...] |
/external/chromium_org/third_party/usb_ids/ |
usb.ids | [all...] |