Searched refs:drag (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java52 drag(vt, 100, 200, 100, 200, 10, t, 300);
67 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator());
78 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator());
90 drag(vt, 100, 200, 200, 200, 15, t, 400);
102 drag(vt, 200, 200, 100, 200, 15, t, 400);
118 drag(vt, 100, 200, 100, 200, 2, t, 100);
133 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms
138 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms
155 drag(vt, 100, 200, 100, 200, 10, t, 400);
160 drag(v
234 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, method in class:VelocityTest
243 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, method in class:VelocityTest
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java64 drag(test, x, x, fromY, toY, 4);
94 drag(test, x, x, fromY, toY, 4);
209 * @param stepCount How many move steps to include in the drag
227 * @param stepCount How many move steps to include in the drag
243 drag(test, x, x, fromY, toY, stepCount);
447 * @param stepCount How many move steps to include in the drag
473 * @param stepCount How many move steps to include in the drag
486 drag(test, x, x, fromY, toY, stepCount);
538 * @param deltaX Amount to drag horizontally in pixels
539 * @param deltaY Amount to drag verticall
748 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, method in class:TouchUtils
763 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, method in class:TouchUtils
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java236 float drag = mSGD.getFocusY() - mInitialTouchFocusY;
237 drag *= USE_DRAG ? 1f : 0f;
238 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f;
239 float pull = Math.abs(drag) + Math.abs(span) + 1f;
240 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull;
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java425 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
435 * @param drag when true, the swipe becomes a drag swipe
438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) { argument
453 if (drag)
465 if (drag)
H A DUiDevice.java448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice
/frameworks/uiautomator/src/com/android/uiautomator/core/
H A DInteractionController.java425 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
435 * @param drag when true, the swipe becomes a drag swipe
438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) { argument
453 if (drag)
465 if (drag)
H A DUiDevice.java448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice

Completed in 184 milliseconds