Lines Matching refs:coord
317 * @param coord The coordinate that we want mapped.
322 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) {
324 float[] pt = {coord[0], coord[1]};
338 coord[0] = (int) Math.round(pt[0]);
339 coord[1] = (int) Math.round(pt[1]);
484 int coord[] = new int[2];
486 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2);
487 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2);
491 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord);
495 int toX = coord[0];
496 int toY = coord[1];