Searched refs:anchorPos (Results 1 – 3 of 3) sorted by relevance
188 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local189 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()
1993 final int[] anchorPos = mTmpDrawingLocation; in getMaxAvailableHeight() local1994 anchor.getLocationOnScreen(anchorPos); in getMaxAvailableHeight()2000 distanceToBottom = bottomEdge - anchorPos[1] - yOffset; in getMaxAvailableHeight()2002 distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight()2004 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()
1200 final int anchorPos; in collectInitialPrefetchPositions() local1204 anchorPos = mPendingSavedState.mAnchorPosition; in collectInitialPrefetchPositions()1209 anchorPos = fromEnd ? adapterItemCount - 1 : 0; in collectInitialPrefetchPositions()1211 anchorPos = mPendingScrollPosition; in collectInitialPrefetchPositions()1218 int targetPos = anchorPos; in collectInitialPrefetchPositions()