Page 1 2
public boolean isAboveAnchor() sourcepublic boolean isShowing() sourcepublic void showAtLocation(View parent, int gravity, int x, int y) sourceAt (x, y) from the gravity's edges of the display, Gravity.NO_GRAVITY meaning the top left
public void showAsDropDown(View anchor) sourcepublic void showAsDropDown(View anchor, int xoff, int yoff) sourcepublic void showAsDropDown(View anchor, int xoff, int yoff, int gravity) sourceBelow the anchor's left edge (its right one for an end gravity), moved by the offsets; above it when the space below is smaller than the popup and than the space above.
public int getMaxAvailableHeight(View anchor) sourcepublic int getMaxAvailableHeight(View anchor, int yOffset) sourcepublic int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) sourcepublic void dismiss() sourcepublic void setOnDismissListener(OnDismissListener onDismissListener) sourcepublic void update() sourcethe shown window's params again from the popup's state: its flags, and its size and place as given
public void update(int width, int height) sourcepublic void update(int x, int y, int width, int height) sourcepublic void update(int x, int y, int width, int height, boolean force) sourcea size of -1 keeps the window's, a place of -1 too (both or neither)
public void update(View anchor, int width, int height) sourcepublic void update(View anchor, int xoff, int yoff, int width, int height) sourcePage 1 2
Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.