Lines Matching defs:popup
42 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
47 // Flip the location to align the right sides of the popup and
49 xoff -= (popup.getWidth() - anchor.getWidth());
51 popup.showAsDropDown(anchor, xoff, yoff);
112 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
114 popup.showAsDropDown(anchor, xoff, yoff, gravity);
201 * <p>Display the content view in a popup window anchored to the bottom-left
204 * the popup in its entirety, this method tries to find a parent scroll
206 * corner of the popup is pinned at the top left corner of the anchor view.</p>
208 * location, the popup will be moved correspondingly.</p>
210 * @param popup the PopupWindow to show
211 * @param anchor the view on which to pin the popup window
214 * @param gravity Alignment of the popup relative to the anchor
216 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
218 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity);
222 * Sets whether the popup window should overlap its anchor view when
225 * @param overlapAnchor Whether the popup should overlap its anchor.
232 * Returns whether the popup window should overlap its anchor view when
235 * @return Whether the popup should overlap its anchor.