Lines Matching refs:xy
227 int[] xy = new int[2]; in dragViewToBottom() local
228 v.getLocationOnScreen(xy); in dragViewToBottom()
233 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom()
234 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom()
247 int[] xy = new int[2]; in tapView() local
248 v.getLocationOnScreen(xy); in tapView()
253 final float x = xy[0] + (viewWidth / 2.0f); in tapView()
254 float y = xy[1] + (viewHeight / 2.0f); in tapView()
287 int[] xy = new int[2]; in touchAndCancelView() local
288 v.getLocationOnScreen(xy); in touchAndCancelView()
293 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView()
294 float y = xy[1] + (viewHeight / 2.0f); in touchAndCancelView()
322 int[] xy = new int[2]; in clickView() local
323 v.getLocationOnScreen(xy); in clickView()
328 final float x = xy[0] + (viewWidth / 2.0f); in clickView()
329 float y = xy[1] + (viewHeight / 2.0f); in clickView()
383 int[] xy = new int[2]; in longClickView() local
384 v.getLocationOnScreen(xy); in longClickView()
389 final float x = xy[0] + (viewWidth / 2.0f); in longClickView()
390 float y = xy[1] + (viewHeight / 2.0f); in longClickView()
470 int[] xy = new int[2]; in dragViewToTop() local
471 v.getLocationOnScreen(xy); in dragViewToTop()
476 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToTop()
477 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToTop()
492 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation() argument
493 v.getLocationOnScreen(xy); in getStartLocation()
502 xy[1] += viewHeight / 2; in getStartLocation()
505 xy[1] += viewHeight - 1; in getStartLocation()
515 xy[0] += viewWidth / 2; in getStartLocation()
518 xy[0] += viewWidth - 1; in getStartLocation()
566 int[] xy = new int[2]; in dragViewBy() local
568 getStartLocation(v, gravity, xy); in dragViewBy()
570 final int fromX = xy[0]; in dragViewBy()
571 final int fromY = xy[1]; in dragViewBy()
616 int[] xy = new int[2]; in dragViewTo() local
618 getStartLocation(v, gravity, xy); in dragViewTo()
620 final int fromX = xy[0]; in dragViewTo()
621 final int fromY = xy[1]; in dragViewTo()
665 int[] xy = new int[2]; in dragViewToX() local
667 getStartLocation(v, gravity, xy); in dragViewToX()
669 final int fromX = xy[0]; in dragViewToX()
670 final int fromY = xy[1]; in dragViewToX()
712 int[] xy = new int[2]; in dragViewToY() local
714 getStartLocation(v, gravity, xy); in dragViewToY()
716 final int fromX = xy[0]; in dragViewToY()
717 final int fromY = xy[1]; in dragViewToY()