Home | History | Annotate | Download | only in actions

Lines Matching defs:direction

25 import io.appium.droiddriver.scroll.Direction.PhysicalDirection;
73 * @param direction specifies where the view port will move, instead of the
77 public static SwipeAction toScroll(PhysicalDirection direction) {
78 return new SwipeAction(direction, scrollSteps);
89 * @param direction specifies where the view port will move, instead of the
93 public static SwipeAction toFling(PhysicalDirection direction) {
94 return new SwipeAction(direction, flingSteps);
97 private final PhysicalDirection direction;
108 public SwipeAction(PhysicalDirection direction, int steps) {
109 this(direction, steps, false, 1000L);
115 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis) {
116 this(direction, steps, drag, timeoutMillis, 0.1F, 0.1F, 0.1F, 0.1F);
120 * @param direction the scroll direction specifying where the view port will
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis,
134 this.direction = direction;
160 switch (direction) {
186 throw new ActionException("Unknown scroll direction: " + direction);
213 toStringHelper.addValue(direction);