Lines Matching defs:xy

227         int[] xy = new int[2];
228 v.getLocationOnScreen(xy);
233 final float x = xy[0] + (viewWidth / 2.0f);
234 float fromY = xy[1] + (viewHeight / 2.0f);
247 int[] xy = new int[2];
248 v.getLocationOnScreen(xy);
253 final float x = xy[0] + (viewWidth / 2.0f);
254 float y = xy[1] + (viewHeight / 2.0f);
287 int[] xy = new int[2];
288 v.getLocationOnScreen(xy);
293 final float x = xy[0] + (viewWidth / 2.0f);
294 float y = xy[1] + (viewHeight / 2.0f);
322 int[] xy = new int[2];
323 v.getLocationOnScreen(xy);
328 final float x = xy[0] + (viewWidth / 2.0f);
329 float y = xy[1] + (viewHeight / 2.0f);
383 int[] xy = new int[2];
384 v.getLocationOnScreen(xy);
389 final float x = xy[0] + (viewWidth / 2.0f);
390 float y = xy[1] + (viewHeight / 2.0f);
470 int[] xy = new int[2];
471 v.getLocationOnScreen(xy);
476 final float x = xy[0] + (viewWidth / 2.0f);
477 float fromY = xy[1] + (viewHeight / 2.0f);
490 * @param xy Result
492 private static void getStartLocation(View v, int gravity, int[] xy) {
493 v.getLocationOnScreen(xy);
502 xy[1] += viewHeight / 2;
505 xy[1] += viewHeight - 1;
515 xy[0] += viewWidth / 2;
518 xy[0] += viewWidth - 1;
566 int[] xy = new int[2];
568 getStartLocation(v, gravity, xy);
570 final int fromX = xy[0];
571 final int fromY = xy[1];
616 int[] xy = new int[2];
618 getStartLocation(v, gravity, xy);
620 final int fromX = xy[0];
621 final int fromY = xy[1];
665 int[] xy = new int[2];
667 getStartLocation(v, gravity, xy);
669 final int fromX = xy[0];
670 final int fromY = xy[1];
712 int[] xy = new int[2];
714 getStartLocation(v, gravity, xy);
716 final int fromX = xy[0];
717 final int fromY = xy[1];