Home | History | Annotate | Download | only in widget

Lines Matching defs:PopupMenu

34  * A PopupMenu displays a {@link Menu} in a modal popup window anchored to a {@link View}.
39 public class PopupMenu implements MenuBuilder.Callback, MenuPresenter.Callback {
55 * @param menu The PopupMenu that was dismissed.
57 public void onDismiss(PopupMenu menu);
61 * Construct a new PopupMenu.
63 * @param context Context for the PopupMenu.
67 public PopupMenu(Context context, View anchor) {
72 * Construct a new PopupMenu.
74 * @param context Context for the PopupMenu.
79 public PopupMenu(Context context, View anchor, int gravity) {
100 * PopupMenu myPopup = new PopupMenu(context, myAnchor);
154 * Inflate a menu resource into this PopupMenu. This is equivalent to calling
155 * popupMenu.getMenuInflater().inflate(menuRes, popupMenu.getMenu()).