Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMediaController.java172 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local
173 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()
DPopupWindow.java1537 final int[] anchorPos = mDrawingLocation; in getMaxAvailableHeight() local
1538 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()