Lines Matching defs:steps

185      * The number of steps specified in your input parameter can influence the
190 * @param steps usually 40 steps. You can increase or decrease the steps to change the speed.
195 public boolean dragTo(UiObject destObj, int steps) throws UiObjectNotFoundException {
199 dstRect.centerX(), dstRect.centerY(), steps, true);
204 * The number of steps specified in your input parameter can influence the
210 * @param steps usually 40 steps. You can increase or decrease the steps to change the speed.
215 public boolean dragTo(int destX, int destY, int steps) throws UiObjectNotFoundException {
218 steps, true);
231 * @param steps indicates the number of injected move steps into the system. Steps are
232 * injected about 5ms apart. So a 100 steps may take about 1/2 second to complete.
237 public boolean swipeUp(int steps) throws UiObjectNotFoundException {
238 Tracer.trace(steps);
244 steps);
259 * @param steps indicates the number of injected move steps into the system. Steps are
260 * injected about 5ms apart. So a 100 steps may take about 1/2 second to complete.
265 public boolean swipeDown(int steps) throws UiObjectNotFoundException {
266 Tracer.trace(steps);
272 rect.bottom - SWIPE_MARGIN_LIMIT, steps);
287 * @param steps indicates the number of injected move steps into the system. Steps are
288 * injected about 5ms apart. So a 100 steps may take about 1/2 second to complete.
293 public boolean swipeLeft(int steps) throws UiObjectNotFoundException {
294 Tracer.trace(steps);
299 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
314 * @param steps indicates the number of injected move steps into the system. Steps are
315 * injected about 5ms apart. So a 100 steps may take about 1/2 second to complete.
320 public boolean swipeRight(int steps) throws UiObjectNotFoundException {
321 Tracer.trace(steps);
326 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
917 * @param steps the number of steps for the gesture. Steps are injected
918 * about 5 milliseconds apart, so 100 steps may take around 0.5 seconds to complete.
924 public boolean pinchOut(int percent, int steps) throws UiObjectNotFoundException {
948 return performTwoPointerGesture(startPoint1, startPoint2, endPoint1, endPoint2, steps);
955 * @param steps the number of steps for the gesture. Steps are injected
956 * about 5 milliseconds apart, so 100 steps may take around 0.5 seconds to complete.
962 public boolean pinchIn(int percent, int steps) throws UiObjectNotFoundException {
984 return performTwoPointerGesture(startPoint1, startPoint2, endPoint1, endPoint2, steps);
994 * @param steps the number of steps for the gesture. Steps are injected
995 * about 5 milliseconds apart, so 100 steps may take around 0.5 seconds to complete.
1001 Point endPoint2, int steps) {
1004 if(steps == 0)
1005 steps = 1;
1007 final float stepX1 = (endPoint1.x - startPoint1.x) / steps;
1008 final float stepY1 = (endPoint1.y - startPoint1.y) / steps;
1009 final float stepX2 = (endPoint2.x - startPoint2.x) / steps;
1010 final float stepY2 = (endPoint2.y - startPoint2.y) / steps;
1018 // allocate for steps plus first down and last up
1019 PointerCoords[] points1 = new PointerCoords[steps + 2];
1020 PointerCoords[] points2 = new PointerCoords[steps + 2];
1022 // Include the first and last touch downs in the arrays of steps
1023 for (int i = 0; i < steps + 1; i++) {
1050 points1[steps + 1] = p1;
1057 points2[steps + 1] = p2;
1064 * at least 2 pointers. Each pointer must have all of its touch steps