Lines Matching refs:toY
68 final float toY = size.y * 0.75f; in dragQuarterScreenDown() local
70 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown()
98 final float toY = size.y * 0.25f; in dragQuarterScreenUp() local
100 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp()
235 float toY = screenHeight - 1; in dragViewToBottom() local
237 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
478 float toY = 0; in dragViewToTop() local
480 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
598 int toY) { in dragViewTo() argument
599 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
615 int toY) { in dragViewTo() argument
624 int deltaY = fromY - toY; in dragViewTo()
627 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
696 int toY) { in dragViewToY() argument
697 return dragViewToY((InstrumentationTestCase) test, v, gravity, toY); in dragViewToY()
711 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) { in dragViewToY() argument
719 int deltaY = fromY - toY; in dragViewToY()
721 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
743 float fromY, float toY, int stepCount) { in drag() argument
744 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag() local
758 float toY, int stepCount) { in drag() argument
767 float yStep = (toY - fromY) / stepCount; in drag()