Home | History | Annotate | Download | only in test

Lines Matching refs:deltaX

537      * @param deltaX Amount to drag horizontally in pixels
548 int deltaX, int deltaY) {
549 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY);
559 * @param deltaX Amount to drag horizontally in pixels
569 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX,
578 int distance = (int) Math.sqrt(deltaX * deltaX + deltaY * deltaY);
580 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance);
628 int deltaX = fromX - toX;
631 int distance = (int)Math.sqrt(deltaX * deltaX + deltaY * deltaY);
677 int deltaX = fromX - toX;
679 drag(test, fromX, toX, fromY, fromY, deltaX);
681 return deltaX;