Searched defs:drag (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java50 drag(vt, 100, 200, 100, 200, 10, t, 300);
65 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator());
76 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator());
88 drag(vt, 100, 200, 200, 200, 15, t, 400);
100 drag(vt, 200, 200, 100, 200, 15, t, 400);
116 drag(vt, 100, 200, 100, 200, 2, t, 100);
131 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms
136 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms
153 drag(vt, 100, 200, 100, 200, 10, t, 400);
158 drag(v
232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, method in class:VelocityTest
241 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);
197 * @param stepCount How many move steps to include in the drag
215 * @param stepCount How many move steps to include in the drag
231 drag(test, x, x, fromY, toY, stepCount);
435 * @param stepCount How many move steps to include in the drag
461 * @param stepCount How many move steps to include in the drag
474 drag(test, x, x, fromY, toY, stepCount);
526 * @param deltaX Amount to drag horizontally in pixels
527 * @param deltaY Amount to drag verticall
736 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, method in class:TouchUtils
751 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, method in class:TouchUtils
[all...]
/frameworks/base/cmds/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java233 public void scrollInOtherOrientationTest(final boolean horizontal, final boolean drag) argument
275 if (drag) {
686 drag(mRecyclerView, 0, 0, 0, 500, 5);
692 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, method in class:RecyclerViewLayoutTest

Completed in 131 milliseconds