Searched refs:anchorPos (Results 1 – 2 of 2) sorted by relevance
172 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local173 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()182 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()183 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()
1537 final int[] anchorPos = mDrawingLocation; in getMaxAvailableHeight() local1538 anchor.getLocationOnScreen(anchorPos); in getMaxAvailableHeight()1545 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight()1546 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()