Lines Matching refs:toY
62 final float toY = size.y * 0.75f;
64 drag(test, x, x, fromY, toY, 4);
92 final float toY = size.y * 0.25f;
94 drag(test, x, x, fromY, toY, 4);
241 float toY = screenHeight - 1;
243 drag(test, x, x, fromY, toY, stepCount);
484 float toY = 0;
486 drag(test, x, x, fromY, toY, stepCount);
594 * @param toY Final location of the view after dragging
604 int toY) {
605 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY);
616 * @param toY Final location of the view after dragging
621 int toY) {
630 int deltaY = fromY - toY;
633 drag(test, fromX, toX, fromY, toY, distance);
692 * @param toY Final location of the view after dragging
702 int toY) {
703 return dragViewToY((InstrumentationTestCase) test, v, gravity, toY);
713 * @param toY Final location of the view after dragging
717 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) {
725 int deltaY = fromY - toY;
727 drag(test, fromX, fromX, fromY, toY, deltaY);
740 * @param toY Y coordinate of the drag destination, in screen coordinates
749 float fromY, float toY, int stepCount) {
750 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount);
760 * @param toY Y coordinate of the drag destination, in screen coordinates
764 float toY, int stepCount) {
773 float yStep = (toY - fromY) / stepCount;