Home
last modified time | relevance | path

Searched refs:anchorPos (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DMediaController.java168 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local
169 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()
DPopupWindow.java1770 final int[] anchorPos = mTmpDrawingLocation; in getMaxAvailableHeight() local
1771 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()