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

/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java51 drag(vt, 100, 200, 100, 200, 10, t, 300);
66 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator());
77 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator());
90 drag(vt, 100, 200, 200, 200, 15, t, 400);
103 drag(vt, 200, 200, 100, 200, 15, t, 400);
120 drag(vt, 100, 200, 100, 200, 2, t, 100);
136 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms
141 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms
158 drag(vt, 100, 200, 100, 200, 10, t, 400);
163 drag(v
237 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, method in class:VelocityTest
246 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.java70 drag(test, x, x, fromY, toY, 4);
100 drag(test, x, x, fromY, toY, 4);
203 * @param stepCount How many move steps to include in the drag
221 * @param stepCount How many move steps to include in the drag
237 drag(test, x, x, fromY, toY, stepCount);
441 * @param stepCount How many move steps to include in the drag
467 * @param stepCount How many move steps to include in the drag
480 drag(test, x, x, fromY, toY, stepCount);
532 * @param deltaX Amount to drag horizontally in pixels
533 * @param deltaY Amount to drag verticall
742 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, method in class:TouchUtils
757 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, method in class:TouchUtils
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DTouchUtils.java180 drag(inst, x, x, fromY, toY, stepCount);
229 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance));
244 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX));
259 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY));
265 public static void drag(Instrumentation inst, float fromX, float toX, float fromY, method in class:TouchUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java184 float drag = mSGD.getFocusY() - mInitialTouchFocusY;
185 drag *= USE_DRAG ? 1f : 0f;
186 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f;
187 float pull = Math.abs(drag) + Math.abs(span) + 1f;
188 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull;
/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.java451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DNavBarTuner.java422 holder.itemView.findViewById(R.id.drag).setOnTouchListener(new View.OnTouchListener() {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java540 } else { // drag
554 } else { // drag
1208 } else { // drag
1955 drag(mRecyclerView, 0, 0, 0, 500, 5);
1961 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, method in class:RecyclerViewLayoutTest

Completed in 563 milliseconds