Lines Matching refs:gravity
486 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation() argument
492 switch (gravity & Gravity.VERTICAL_GRAVITY_MASK) { in getStartLocation()
505 switch (gravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in getStartLocation()
536 public static int dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewBy() argument
538 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY); in dragViewBy()
558 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, in dragViewBy() argument
562 getStartLocation(v, gravity, xy); in dragViewBy()
591 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
593 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
608 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
612 getStartLocation(v, gravity, xy); in dragViewTo()
642 public static int dragViewToX(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToX() argument
644 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX); in dragViewToX()
658 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
661 getStartLocation(v, gravity, xy); in dragViewToX()
689 public static int dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, in dragViewToY() argument
691 return dragViewToY((InstrumentationTestCase) test, v, gravity, toY); in dragViewToY()
705 public static int dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) { in dragViewToY() argument
708 getStartLocation(v, gravity, xy); in dragViewToY()