/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 91 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 …]
|
D | BaseMenuPresenter.java | 90 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()
|
D | MenuAdapter.java | 53 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()
|
D | ListMenuPresenter.java | 175 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()
|
D | SubMenuBuilder.java | 33 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()
|
D | MenuView.java | 57 public void initialize(MenuItemImpl itemData, int menuType); in initialize() 64 public MenuItemImpl getItemData(); in getItemData()
|
D | IconMenuPresenter.java | 60 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();
|
D | MenuPresenter.java | 126 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 135 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
|
D | ExpandedMenuView.java | 66 public boolean invokeItem(MenuItemImpl item) { in invokeItem() 71 invokeItem((MenuItemImpl) getAdapter().getItem(position)); in onItemClick()
|
D | IconMenuItemView.java | 45 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()
|
D | MenuPopup.java | 107 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 112 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | ActionMenuItemView.java | 42 private MenuItemImpl mItemData; 114 public MenuItemImpl getItemData() { in getItemData() 119 public void initialize(MenuItemImpl itemData, int menuType) { in initialize()
|
D | ListMenuItemView.java | 44 private MenuItemImpl mItemData; 122 public void initialize(MenuItemImpl itemData, int menuType) { in initialize() 163 public MenuItemImpl getItemData() { in getItemData()
|
D | MenuItemImpl.java | 45 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()
|
D | MenuDialogHelper.java | 170 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0); in onClick()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | OverflowMenuAdapter.java | 20 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()
|
D | FrameworkActionBar.java | 23 import com.android.internal.view.menu.MenuItemImpl; 174 List<MenuItemImpl> menus = mActionBar.getMenuBuilder().getNonActionItems(); in isOverflowPopupNeeded()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuPresenter.java | 48 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 …]
|
D | Toolbar.java | 52 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()
|
D | ActionMenuView.java | 38 import com.android.internal.view.menu.MenuItemImpl; 618 public boolean invokeItem(MenuItemImpl item) { in invokeItem()
|
/frameworks/layoutlib/bridge/src/com/android/internal/view/menu/ |
D | MenuBuilder_Delegate.java | 33 /*package*/ static MenuItemImpl createNewMenuItem(MenuBuilder thisMenu, int group, int id, in createNewMenuItem()
|
D | BridgeMenuItemImpl.java | 27 public class BridgeMenuItemImpl extends MenuItemImpl {
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 32 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/ |
D | ActionBarView.java | 56 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/ |
D | RenderSessionImpl.java | 36 import com.android.internal.view.menu.MenuItemImpl; 1080 MenuItemImpl menuItem; in getViewKey()
|