• Home
  • Raw
  • Download

Lines Matching refs:xy

233         int[] xy = new int[2];  in dragViewToBottom()  local
234 v.getLocationOnScreen(xy); in dragViewToBottom()
239 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom()
240 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom()
253 int[] xy = new int[2]; in tapView() local
254 v.getLocationOnScreen(xy); in tapView()
259 final float x = xy[0] + (viewWidth / 2.0f); in tapView()
260 float y = xy[1] + (viewHeight / 2.0f); in tapView()
293 int[] xy = new int[2]; in touchAndCancelView() local
294 v.getLocationOnScreen(xy); in touchAndCancelView()
299 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView()
300 float y = xy[1] + (viewHeight / 2.0f); in touchAndCancelView()
328 int[] xy = new int[2]; in clickView() local
329 v.getLocationOnScreen(xy); in clickView()
334 final float x = xy[0] + (viewWidth / 2.0f); in clickView()
335 float y = xy[1] + (viewHeight / 2.0f); in clickView()
389 int[] xy = new int[2]; in longClickView() local
390 v.getLocationOnScreen(xy); in longClickView()
395 final float x = xy[0] + (viewWidth / 2.0f); in longClickView()
396 float y = xy[1] + (viewHeight / 2.0f); in longClickView()
476 int[] xy = new int[2]; in dragViewToTop() local
477 v.getLocationOnScreen(xy); in dragViewToTop()
482 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToTop()
483 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToTop()
498 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation() argument
499 v.getLocationOnScreen(xy); in getStartLocation()
508 xy[1] += viewHeight / 2; in getStartLocation()
511 xy[1] += viewHeight - 1; in getStartLocation()
521 xy[0] += viewWidth / 2; in getStartLocation()
524 xy[0] += viewWidth - 1; in getStartLocation()
572 int[] xy = new int[2]; in dragViewBy() local
574 getStartLocation(v, gravity, xy); in dragViewBy()
576 final int fromX = xy[0]; in dragViewBy()
577 final int fromY = xy[1]; in dragViewBy()
622 int[] xy = new int[2]; in dragViewTo() local
624 getStartLocation(v, gravity, xy); in dragViewTo()
626 final int fromX = xy[0]; in dragViewTo()
627 final int fromY = xy[1]; in dragViewTo()
671 int[] xy = new int[2]; in dragViewToX() local
673 getStartLocation(v, gravity, xy); in dragViewToX()
675 final int fromX = xy[0]; in dragViewToX()
676 final int fromY = xy[1]; in dragViewToX()
718 int[] xy = new int[2]; in dragViewToY() local
720 getStartLocation(v, gravity, xy); in dragViewToY()
722 final int fromX = xy[0]; in dragViewToY()
723 final int fromY = xy[1]; in dragViewToY()