Home | History | Annotate | Download | only in actions

Lines Matching defs:steps

70    * not behave as expected, you can change steps with {@link #setScrollSteps}.
86 * expected, you can change steps with {@link #setFlingSteps}.
99 private final int steps;
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);
122 * @param steps minimum 2; (steps-1) is the number of {@code ACTION_MOVE} that
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis,
135 this.steps = Math.max(2, steps);
189 double xStep = ((double) (endX - startX)) / steps;
190 double yStep = ((double) (endY - startY)) / steps;
198 for (int i = 1; i < steps; i++) {
214 toStringHelper.add("steps", steps);