Searched refs:anchorPos (Results 1 – 2 of 2) sorted by relevance
170 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local171 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()180 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()181 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()
1370 final int[] anchorPos = mDrawingLocation; in getMaxAvailableHeight() local1371 anchor.getLocationOnScreen(anchorPos); in getMaxAvailableHeight()1378 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight()1379 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()