Home | History | Annotate | Download | only in test

Lines Matching refs:toX

587      * @param toX Final location of the view after dragging
597 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX,
599 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY);
609 * @param toX Final location of the view after dragging
614 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX,
623 int deltaX = fromX - toX;
627 drag(test, fromX, toX, fromY, toY, distance);
639 * @param toX Final location of the view after dragging
649 int toX) {
650 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX);
660 * @param toX Final location of the view after dragging
664 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) {
672 int deltaX = fromX - toX;
674 drag(test, fromX, toX, fromY, fromY, deltaX);
732 * @param toX Xcoordinate of the drag destination, in screen coordinates
742 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX,
744 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount);
752 * @param toX Xcoordinate of the drag destination, in screen coordinates
757 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY,
768 float xStep = (toX - fromX) / stepCount;