Searched refs:anchorPos (Results 1 – 2 of 2) sorted by relevance
168 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local169 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()178 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()179 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()
1770 final int[] anchorPos = mTmpDrawingLocation; in getMaxAvailableHeight() local1771 anchor.getLocationOnScreen(anchorPos); in getMaxAvailableHeight()1777 distanceToBottom = bottomEdge - anchorPos[1] - yOffset; in getMaxAvailableHeight()1779 distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight()1781 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()