Lines Matching refs:xy
245 int[] xy = new int[2]; in dragViewToBottom() local
246 v.getLocationOnScreen(xy); in dragViewToBottom()
251 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom()
252 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom()
265 int[] xy = new int[2]; in tapView() local
266 v.getLocationOnScreen(xy); in tapView()
271 final float x = xy[0] + (viewWidth / 2.0f); in tapView()
272 float y = xy[1] + (viewHeight / 2.0f); in tapView()
305 int[] xy = new int[2]; in touchAndCancelView() local
306 v.getLocationOnScreen(xy); in touchAndCancelView()
311 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView()
312 float y = xy[1] + (viewHeight / 2.0f); in touchAndCancelView()
340 int[] xy = new int[2]; in clickView() local
341 v.getLocationOnScreen(xy); in clickView()
346 final float x = xy[0] + (viewWidth / 2.0f); in clickView()
347 float y = xy[1] + (viewHeight / 2.0f); in clickView()
401 int[] xy = new int[2]; in longClickView() local
402 v.getLocationOnScreen(xy); in longClickView()
407 final float x = xy[0] + (viewWidth / 2.0f); in longClickView()
408 float y = xy[1] + (viewHeight / 2.0f); in longClickView()
488 int[] xy = new int[2]; in dragViewToTop() local
489 v.getLocationOnScreen(xy); in dragViewToTop()
494 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToTop()
495 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToTop()
510 private static void getStartLocation(View v, int gravity, int[] xy) { in getStartLocation() argument
511 v.getLocationOnScreen(xy); in getStartLocation()
520 xy[1] += viewHeight / 2; in getStartLocation()
523 xy[1] += viewHeight - 1; in getStartLocation()
533 xy[0] += viewWidth / 2; in getStartLocation()
536 xy[0] += viewWidth - 1; in getStartLocation()
584 int[] xy = new int[2]; in dragViewBy() local
586 getStartLocation(v, gravity, xy); in dragViewBy()
588 final int fromX = xy[0]; in dragViewBy()
589 final int fromY = xy[1]; in dragViewBy()
634 int[] xy = new int[2]; in dragViewTo() local
636 getStartLocation(v, gravity, xy); in dragViewTo()
638 final int fromX = xy[0]; in dragViewTo()
639 final int fromY = xy[1]; in dragViewTo()
683 int[] xy = new int[2]; in dragViewToX() local
685 getStartLocation(v, gravity, xy); in dragViewToX()
687 final int fromX = xy[0]; in dragViewToX()
688 final int fromY = xy[1]; in dragViewToX()
730 int[] xy = new int[2]; in dragViewToY() local
732 getStartLocation(v, gravity, xy); in dragViewToY()
734 final int fromX = xy[0]; in dragViewToY()
735 final int fromY = xy[1]; in dragViewToY()