Lines Matching refs:toX
597 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
599 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
614 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
623 int deltaX = fromX - toX; in dragViewTo()
627 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
649 int toX) { in dragViewToX() argument
650 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX); in dragViewToX()
664 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
672 int deltaX = fromX - toX; in dragViewToX()
674 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
742 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, in drag() argument
744 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag() local
757 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, in drag() argument
768 float xStep = (toX - fromX) / stepCount; in drag()