Searched refs:anchorPos (Results 1 – 4 of 4) sorted by relevance
168 int [] anchorPos = new int[2]; in updateFloatingWindowLayout() local169 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()
1844 final int[] anchorPos = mTmpDrawingLocation; in getMaxAvailableHeight() local1845 anchor.getLocationOnScreen(anchorPos); in getMaxAvailableHeight()1851 distanceToBottom = bottomEdge - anchorPos[1] - yOffset; in getMaxAvailableHeight()1853 distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight()1855 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()
1204 final int anchorPos; in collectInitialPrefetchPositions() local1208 anchorPos = mPendingSavedState.mAnchorPosition; in collectInitialPrefetchPositions()1213 anchorPos = fromEnd ? adapterItemCount - 1 : 0; in collectInitialPrefetchPositions()1215 anchorPos = mPendingScrollPosition; in collectInitialPrefetchPositions()1222 int targetPos = anchorPos; in collectInitialPrefetchPositions()
1209 final int anchorPos; in collectInitialPrefetchPositions() local1213 anchorPos = mPendingSavedState.mAnchorPosition; in collectInitialPrefetchPositions()1218 anchorPos = fromEnd ? adapterItemCount - 1 : 0; in collectInitialPrefetchPositions()1220 anchorPos = mPendingScrollPosition; in collectInitialPrefetchPositions()1227 int targetPos = anchorPos; in collectInitialPrefetchPositions()