Home | History | Annotate | Download | only in test

Lines Matching refs:toX

593      * @param toX Final location of the view after dragging
603 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX,
605 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY);
615 * @param toX Final location of the view after dragging
620 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX,
629 int deltaX = fromX - toX;
633 drag(test, fromX, toX, fromY, toY, distance);
645 * @param toX Final location of the view after dragging
655 int toX) {
656 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX);
666 * @param toX Final location of the view after dragging
670 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) {
678 int deltaX = fromX - toX;
680 drag(test, fromX, toX, fromY, fromY, deltaX);
738 * @param toX Xcoordinate of the drag destination, in screen coordinates
748 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX,
750 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount);
758 * @param toX Xcoordinate of the drag destination, in screen coordinates
763 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY,
774 float xStep = (toX - fromX) / stepCount;