Home
last modified time | relevance | path

Searched refs:PopupMenu (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DPopupMenu.java37 public class PopupMenu implements MenuBuilder.Callback, MenuPresenter.Callback { class
54 public void onDismiss(PopupMenu menu); in onDismiss()
64 public PopupMenu(Context context, View anchor) { in PopupMenu() method in PopupMenu
/frameworks/base/core/java/android/widget/
DPopupMenu.java36 public class PopupMenu implements MenuBuilder.Callback, MenuPresenter.Callback { class
53 public void onDismiss(PopupMenu menu); in onDismiss()
63 public PopupMenu(Context context, View anchor) { in PopupMenu() method in PopupMenu
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java59 import android.widget.PopupMenu;
74 private PopupMenu mPopup;
780 final PopupMenu popup = in handleLongPress()
781 new PopupMenu(mContext, anchorView == null ? selectedView : anchorView); in handleLongPress()
784 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in handleLongPress()
803 popup.setOnDismissListener(new PopupMenu.OnDismissListener() { in handleLongPress()
804 public void onDismiss(PopupMenu menu) { in handleLongPress()
/frameworks/base/docs/html/guide/topics/ui/
Dmenus.jd23 <li><a href="#PopupMenu">Creating a Popup Menu</a>
108 <p>See the section about <a href="#PopupMenu">Creating a Popup Menu</a>.</p>
716 <h2 id="PopupMenu">Creating a Popup Menu</h2>
724 <p>A {@link android.widget.PopupMenu} is a modal menu anchored to a {@link android.view.View}.
740 <p class="note"><strong>Note:</strong> {@link android.widget.PopupMenu} is available with API
745 <li>Instantate a {@link android.widget.PopupMenu} with its constructor, which takes the
750 android.widget.PopupMenu#getMenu() PopupMenu.getMenu()}. On API level 14 and above, you can use
751 {@link android.widget.PopupMenu#inflate PopupMenu.inflate()} instead.</li>
752 <li>Call {@link android.widget.PopupMenu#show() PopupMenu.show()}.</li>
771 PopupMenu popup = new PopupMenu(this, v);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java78 import android.widget.PopupMenu;
124 protected PopupMenu mNotificationBlamePopup;
376 mNotificationBlamePopup = new PopupMenu(mContext, v); in getNotificationLongClicker()
380 … mNotificationBlamePopup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in getNotificationLongClicker()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd55 <p>{@link android.widget.ListPopupWindow} and {@link android.widget.PopupMenu} widgets can be imple…
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd1308 <p>Android 3.0 introduced {@link android.widget.PopupMenu} to create short contextual menus that pop
1310 the {@link android.widget.PopupMenu} with a couple useful features:</p>
1314 android.widget.PopupMenu#inflate inflate()}, passing it the menu resource ID.</li>
1315 <li>You can also now create a {@link android.widget.PopupMenu.OnDismissListener} that receives a
Dandroid-3.0.jd508 <li>{@link android.widget.PopupMenu}
/frameworks/base/docs/html/
Dsitemap.txt1507 http://developer.android.com/reference/android/widget/PopupMenu.OnDismissListener.html
1508 http://developer.android.com/reference/android/widget/PopupMenu.OnMenuItemClickListener.html
1566 http://developer.android.com/reference/android/widget/PopupMenu.html
6250 http://developer.android.com/sdk/api_diff/14/changes/android.widget.PopupMenu.html
/frameworks/base/api/
Dcurrent.txt29876 public class PopupMenu {
29877 ctor public PopupMenu(android.content.Context, android.view.View);
29882 method public void setOnDismissListener(android.widget.PopupMenu.OnDismissListener);
29883 method public void setOnMenuItemClickListener(android.widget.PopupMenu.OnMenuItemClickListener);
29887 public static abstract interface PopupMenu.OnDismissListener {
29888 method public abstract void onDismiss(android.widget.PopupMenu);
29891 public static abstract interface PopupMenu.OnMenuItemClickListener {