Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMediaController.java188 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local
189 mAnchor.getLocationOnScreen(anchorPos); in updateFloatingWindowLayout()
198 p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2; in updateFloatingWindowLayout()
199 p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight(); in updateFloatingWindowLayout()
DPopupWindow.java1994 final int[] anchorPos = mTmpDrawingLocation; in getMaxAvailableHeight() local
1995 anchor.getLocationOnScreen(anchorPos); in getMaxAvailableHeight()
2001 distanceToBottom = bottomEdge - anchorPos[1] - yOffset; in getMaxAvailableHeight()
2003 distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight()
2005 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1200 final int anchorPos; in collectInitialPrefetchPositions() local
1204 anchorPos = mPendingSavedState.mAnchorPosition; in collectInitialPrefetchPositions()
1209 anchorPos = fromEnd ? adapterItemCount - 1 : 0; in collectInitialPrefetchPositions()
1211 anchorPos = mPendingScrollPosition; in collectInitialPrefetchPositions()
1218 int targetPos = anchorPos; in collectInitialPrefetchPositions()