Home
last modified time | relevance | path

Searched refs:MenuItemImpl (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java91 private ArrayList<MenuItemImpl> mItems;
95 private ArrayList<MenuItemImpl> mVisibleItems;
105 private ArrayList<MenuItemImpl> mActionItems;
109 private ArrayList<MenuItemImpl> mNonActionItems;
153 private ArrayList<MenuItemImpl> mTempShortcutItemList = new ArrayList<MenuItemImpl>();
161 private MenuItemImpl mExpandedItem;
194 public boolean invokeItem(MenuItemImpl item); in invokeItem()
201 mItems = new ArrayList<MenuItemImpl>(); in MenuBuilder()
203 mVisibleItems = new ArrayList<MenuItemImpl>(); in MenuBuilder()
206 mActionItems = new ArrayList<MenuItemImpl>(); in MenuBuilder()
[all …]
DBaseMenuPresenter.java90 ArrayList<MenuItemImpl> visibleItems = mMenu.getVisibleItems(); in updateMenuView()
93 MenuItemImpl item = visibleItems.get(i); in updateMenuView()
96 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView()
173 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView()
190 public abstract void bindItemView(MenuItemImpl item, MenuView.ItemView itemView); in bindItemView()
199 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem()
220 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
224 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
DMenuAdapter.java53 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getCount()
65 public MenuItemImpl getItem(int position) { in getItem()
66 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getItem()
102 final MenuItemImpl expandedItem = mAdapterMenu.getExpandedItem(); in findExpandedIndex()
104 final ArrayList<MenuItemImpl> items = mAdapterMenu.getNonActionItems(); in findExpandedIndex()
107 final MenuItemImpl item = items.get(i); in findExpandedIndex()
DListMenuPresenter.java175 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
179 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
231 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount()
239 public MenuItemImpl getItem(int position) { in getItem()
240 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem()
265 final MenuItemImpl expandedItem = mMenu.getExpandedItem(); in findExpandedIndex()
267 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex()
270 final MenuItemImpl item = items.get(i); in findExpandedIndex()
DSubMenuBuilder.java33 private MenuItemImpl mItem;
35 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder()
119 public boolean expandItemActionView(MenuItemImpl item) { in expandItemActionView()
124 public boolean collapseItemActionView(MenuItemImpl item) { in collapseItemActionView()
DMenuView.java57 public void initialize(MenuItemImpl itemData, int menuType); in initialize()
64 public MenuItemImpl getItemData(); in getItemData()
DIconMenuPresenter.java60 public void bindItemView(MenuItemImpl item, ItemView itemView) { in bindItemView()
72 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem()
73 final ArrayList<MenuItemImpl> itemsToShow = mMenu.getNonActionItems(); in shouldIncludeItem()
108 final ArrayList<MenuItemImpl> itemsToShow = mMenu.getNonActionItems();
DMenuPresenter.java126 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView()
135 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
DExpandedMenuView.java66 public boolean invokeItem(MenuItemImpl item) { in invokeItem()
71 invokeItem((MenuItemImpl) getAdapter().getItem(position)); in onItemClick()
DIconMenuItemView.java45 private MenuItemImpl mItemData;
121 public void initialize(MenuItemImpl itemData, int menuType) { in initialize()
130 public void setItemData(MenuItemImpl data) { in setItemData()
223 public MenuItemImpl getItemData() { in getItemData()
DMenuPopup.java107 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
112 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
DActionMenuItemView.java42 private MenuItemImpl mItemData;
114 public MenuItemImpl getItemData() { in getItemData()
119 public void initialize(MenuItemImpl itemData, int menuType) { in initialize()
DListMenuItemView.java44 private MenuItemImpl mItemData;
122 public void initialize(MenuItemImpl itemData, int menuType) { in initialize()
163 public MenuItemImpl getItemData() { in getItemData()
DMenuItemImpl.java45 public final class MenuItemImpl implements MenuItem { class
127 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering, in MenuItemImpl() method in MenuItemImpl
756 mMenu.onItemVisibleChanged(MenuItemImpl.this); in setActionProvider()
DMenuDialogHelper.java170 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0); in onClick()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DOverflowMenuAdapter.java20 import com.android.internal.view.menu.MenuItemImpl;
49 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount()
57 public MenuItemImpl getItem(int position) { in getItem()
58 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem()
86 final MenuItemImpl expandedItem = mMenu.getExpandedItem(); in findExpandedIndex()
88 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex()
91 final MenuItemImpl item = items.get(i); in findExpandedIndex()
DFrameworkActionBar.java23 import com.android.internal.view.menu.MenuItemImpl;
174 List<MenuItemImpl> menus = mActionBar.getMenuBuilder().getNonActionItems(); in isOverflowPopupNeeded()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java48 import com.android.internal.view.menu.MenuItemImpl;
236 public View getItemView(final MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView()
252 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { in bindItemView()
266 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem()
446 final ArrayList<MenuItemImpl> actionItems = mMenu.getActionItems(); in updateMenuView()
456 final ArrayList<MenuItemImpl> nonActionItems = mMenu != null ? in updateMenuView()
630 final ArrayList<MenuItemImpl> visibleItems; in flagActionItems()
650 MenuItemImpl item = visibleItems.get(i); in flagActionItems()
685 MenuItemImpl item = visibleItems.get(i); in flagActionItems()
745 MenuItemImpl areYouMyGroupie = visibleItems.get(j); in flagActionItems()
[all …]
DToolbar.java52 import com.android.internal.view.menu.MenuItemImpl;
736 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
2403 MenuItemImpl mCurrentExpandedItem;
2462 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
2489 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
DActionMenuView.java38 import com.android.internal.view.menu.MenuItemImpl;
618 public boolean invokeItem(MenuItemImpl item) { in invokeItem()
/frameworks/layoutlib/bridge/src/com/android/internal/view/menu/
DMenuBuilder_Delegate.java33 /*package*/ static MenuItemImpl createNewMenuItem(MenuBuilder thisMenu, int group, int id, in createNewMenuItem()
DBridgeMenuItemImpl.java27 public class BridgeMenuItemImpl extends MenuItemImpl {
/frameworks/base/core/java/android/view/
DMenuInflater.java32 import com.android.internal.view.menu.MenuItemImpl;
507 if (item instanceof MenuItemImpl) { in setItem()
508 MenuItemImpl impl = (MenuItemImpl) item; in setItem()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java56 import com.android.internal.view.menu.MenuItemImpl;
142 final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
454 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
1595 MenuItemImpl mCurrentExpandedItem;
1654 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
1682 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java36 import com.android.internal.view.menu.MenuItemImpl;
1080 MenuItemImpl menuItem; in getViewKey()

12