Lines Matching refs:anchor
127 * popup will match the width of the anchor view. If used to specify a popup height, the popup
362 * Returns the view that will be used to anchor this popup.
364 * @return The popup's anchor view
371 * Sets the popup's anchor view. This popup will always be positioned relative to the anchor
374 * @param anchor The view to use as an anchor.
376 public void setAnchorView(View anchor) {
377 mDropDownAnchorView = anchor;
381 * @return The horizontal offset of the popup from its anchor in pixels.
388 * Set the horizontal offset of this popup from its anchor view in pixels.
390 * @param offset The horizontal offset of the popup from its anchor.
397 * @return The vertical offset of the popup from its anchor in pixels.
407 * Set the vertical offset of this popup from its anchor view in pixels.
409 * @param offset The vertical offset of the popup from its anchor.
1081 * @param anchor The view on which the popup window must be anchored.
1088 public int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) {
1090 anchor.getWindowVisibleDisplayFrame(displayFrame);
1094 anchor.getLocationOnScreen(anchorPos);
1098 Resources res = anchor.getContext().getResources();
1101 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset;
1104 // anchorPos[1] is distance from anchor to top of screen