HomeSort by relevance Sort by last modified time
    Searched refs:swipe (Results 1 - 25 of 47) sorted by null

1 2

  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SwipeableConversationItemView.java 64 public void startUndoAnimation(AnimatorListener listener, boolean swipe) {
65 final Animator a = (swipe) ? mConversationItemView.createSwipeUndoAnimation()
71 public void startDeleteAnimation(AnimatorListener listener, boolean swipe) {
72 final Animator a = (swipe) ? mConversationItemView.createDestroyWithSwipeAnimation()
  /frameworks/base/services/core/java/com/android/server/policy/
SystemGesturesPointerEventListener.java 120 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); local
202 if (swipe != SWIPE_NONE) {
203 return swipe;
206 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)) local
    [all...]
  /system/extras/tests/workloads/
recentfling.sh 83 function swipe { function
111 swipe "$DOWN" $downCount
113 swipe "$UP" $upCount
115 swipe "$DOWN" $downCount
117 swipe "$UP" $upCount
chromefling.sh 77 function swipe { function
105 swipe "$UP" $upCount
108 swipe "$DOWN" $downCount
youtube.sh 70 function swipe { function
defs.sh 411 vout ${ADB}input swipe $*
412 ${ADB}nice input swipe $*
  /platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
SysAppTestHelper.java 99 // TODO: Cleanup confusion between swipe and fling.
101 mDevice.swipe(50,
108 mDevice.swipe(mDevice.getDisplayWidth() - 50, mDevice.getDisplayHeight() / 2, 50,
114 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight() / 2 + 50,
120 mDevice.swipe(mDevice.getDisplayWidth() / 2, 0, mDevice.getDisplayWidth() / 2,
125 // TODO: Cleanup confusion between swipe and fling.
127 mDevice.swipe(mDevice.getDisplayWidth() - 50, mDevice.getDisplayHeight() / 2,
133 mDevice.swipe(50, mDevice.getDisplayHeight() / 2,
139 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight() / 2 + 50,
145 mDevice.swipe(mDevice.getDisplayWidth() / 2, 0, mDevice.getDisplayWidth() / 2
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
ItemTouchHelperTest.java 150 final SwipeRecord swipe = mCalback.getSwipe(target); local
151 assertNotNull(swipe);
152 assertEquals(dir, swipe.dir);
211 for (SwipeRecord swipe : mSwipeRecords) {
212 if (swipe.viewHolder == vh) {
213 return swipe;
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Settings.java 30 import com.android.mail.providers.UIProvider.Swipe;
93 public final int swipe; field in class:Settings
132 swipe = DEFAULT;
156 swipe = inParcel.readInt();
185 swipe = cursor.getInt(cursor.getColumnIndex(SettingsColumns.SWIPE));
219 swipe = json.optInt(SettingsColumns.SWIPE, sDefault.swipe);
268 json.put(SettingsColumns.SWIPE, swipe)
    [all...]
  /platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
UiBenchJankTestsHelper.java 131 mDevice.swipe(50,
139 mDevice.swipe(mDevice.getDisplayWidth() / 2,
147 mDevice.swipe(mDevice.getDisplayWidth() / 2,
  /external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
swipe.js 29 chrome.gpuBenchmarking.swipe &&
60 chrome.gpuBenchmarking.swipe(this.options_.direction_,
  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationInteractionTests.java 72 obj.swipe(Direction.LEFT, 1.0f);
115 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight() / 2,
NotificationInlineReplyTests.java 70 mDevice.swipe(obj.getVisibleBounds().centerX(), obj.getVisibleBounds().centerY(),
NotificationBundlingTests.java 125 mDevice.swipe(0, y, mDevice.getDisplayWidth(),
NotificationHelper.java 262 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight(),
268 mDevice.swipe(mDevice.getDisplayWidth() / 2, 0, mDevice.getDisplayWidth() / 2,
  /platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
SystemUiJankTests.java 224 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, DEFAULT_FLING_STEPS);
226 mDevice.swipe(r.width() / 2, bottom, r.width() / 2, top, DEFAULT_FLING_STEPS);
232 mDevice.swipe(mDevice.getDisplayWidth() / 2,
239 mDevice.swipe(mDevice.getDisplayWidth() / 2,
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java 418 * 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(startX, startY, endX, endY, steps, true)
466 public boolean swipe(Point[] segments, int segmentSteps) { method in class:UiDevice
    [all...]
UiObject.java 201 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 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...]
  /platform_testing/tests/jank/ime_wear/src/com/android/wearable/ime/janktests/
IMEJankTestsHelper.java 80 mDevice.swipe(mDevice.getDisplayWidth() / 2, mDevice.getDisplayHeight() / 2 + 50,
86 mDevice.swipe(50,
116 // Swipe up 5 times to bring up demo cards
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityGestureDispatchTest.java 185 GestureDescription swipe = createSwipe(startX, startY, endX, endY, gestureTime); local
186 mService.runOnServiceSync(() -> mService.doDispatchGesture(swipe, mCallback, null));
232 GestureDescription swipe = createSwipe(startX, startY, endX, endY, gestureTime); local
233 mService.runOnServiceSync(() -> mService.doDispatchGesture(swipe, mCallback, null));
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
SwipeToDismissActivity.java 152 vh.actionButton.setText(R.string.swipe);
  /prebuilts/sdk/16/
uiautomator.jar 
  /prebuilts/misc/common/ub-uiautomator/
ub-uiautomator.jar 
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AnimatedAdapter.java 513 false /* don't show swipe background */);
516 true /* show swipe background */);
749 boolean swipe) {
756 deletingView.startDeleteAnimation(mAnimatorListener, swipe);
764 private View getUndoingView(int position, Conversation conv, ViewGroup parent, boolean swipe) {
771 undoView.startUndoAnimation(mAnimatorListener, swipe);
    [all...]

Completed in 465 milliseconds

1 2