/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 87 private ArrayList<MenuItemImpl> mItems; 91 private ArrayList<MenuItemImpl> mVisibleItems; 101 private ArrayList<MenuItemImpl> mActionItems; 105 private ArrayList<MenuItemImpl> mNonActionItems; 149 private ArrayList<MenuItemImpl> mTempShortcutItemList = new ArrayList<MenuItemImpl>(); 157 private MenuItemImpl mExpandedItem; 183 public boolean invokeItem(MenuItemImpl item); in invokeItem() 190 mItems = new ArrayList<MenuItemImpl>(); in MenuBuilder() 192 mVisibleItems = new ArrayList<MenuItemImpl>(); in MenuBuilder() 195 mActionItems = new ArrayList<MenuItemImpl>(); in MenuBuilder() [all …]
|
D | BaseMenuPresenter.java | 88 ArrayList<MenuItemImpl> visibleItems = mMenu.getVisibleItems(); in updateMenuView() 91 MenuItemImpl item = visibleItems.get(i); in updateMenuView() 94 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView() 171 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView() 188 public abstract void bindItemView(MenuItemImpl item, MenuView.ItemView itemView); in bindItemView() 197 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() 218 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 222 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | ListMenuPresenter.java | 173 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 177 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 229 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount() 237 public MenuItemImpl getItem(int position) { in getItem() 238 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem() 263 final MenuItemImpl expandedItem = mMenu.getExpandedItem(); in findExpandedIndex() 265 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() 268 final MenuItemImpl item = items.get(i); in findExpandedIndex()
|
D | MenuView.java | 20 import com.android.internal.view.menu.MenuItemImpl; 58 public void initialize(MenuItemImpl itemData, int menuType); in initialize() 64 public MenuItemImpl getItemData(); in getItemData()
|
D | SubMenuBuilder.java | 32 private MenuItemImpl mItem; 34 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder() 116 public boolean expandItemActionView(MenuItemImpl item) { in expandItemActionView() 121 public boolean collapseItemActionView(MenuItemImpl item) { in collapseItemActionView()
|
D | MenuPopupHelper.java | 340 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 344 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 372 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getCount() 380 public MenuItemImpl getItem(int position) { in getItem() 381 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getItem() 409 final MenuItemImpl expandedItem = mMenu.getExpandedItem(); in findExpandedIndex() 411 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() 414 final MenuItemImpl item = items.get(i); in findExpandedIndex()
|
D | MenuPresenter.java | 118 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 127 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
|
D | IconMenuPresenter.java | 58 public void bindItemView(MenuItemImpl item, ItemView itemView) { in bindItemView() 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() 71 final ArrayList<MenuItemImpl> itemsToShow = mMenu.getNonActionItems(); in shouldIncludeItem() 106 final ArrayList<MenuItemImpl> itemsToShow = mMenu.getNonActionItems();
|
D | IconMenuItemView.java | 43 private MenuItemImpl mItemData; 109 public void initialize(MenuItemImpl itemData, int menuType) { in initialize() 118 public void setItemData(MenuItemImpl data) { in setItemData() 210 public MenuItemImpl getItemData() { in getItemData()
|
D | ExpandedMenuView.java | 66 public boolean invokeItem(MenuItemImpl item) { in invokeItem() 71 invokeItem((MenuItemImpl) getAdapter().getItem(position)); in onItemClick()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuBuilder.java | 96 private ArrayList<MenuItemImpl> mItems; 102 private ArrayList<MenuItemImpl> mVisibleItems; 113 private ArrayList<MenuItemImpl> mActionItems; 118 private ArrayList<MenuItemImpl> mNonActionItems; 168 private ArrayList<MenuItemImpl> mTempShortcutItemList = new ArrayList<MenuItemImpl>(); 176 private MenuItemImpl mExpandedItem; 211 public boolean invokeItem(MenuItemImpl item); in invokeItem() 218 mItems = new ArrayList<MenuItemImpl>(); in MenuBuilder() 220 mVisibleItems = new ArrayList<MenuItemImpl>(); in MenuBuilder() 223 mActionItems = new ArrayList<MenuItemImpl>(); in MenuBuilder() [all …]
|
D | BaseMenuPresenter.java | 92 ArrayList<MenuItemImpl> visibleItems = mMenu.getVisibleItems(); in updateMenuView() 95 MenuItemImpl item = visibleItems.get(i); in updateMenuView() 98 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView() 175 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView() 192 public abstract void bindItemView(MenuItemImpl item, MenuView.ItemView itemView); in bindItemView() 201 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() 222 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 226 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | ListMenuPresenter.java | 177 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 181 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 233 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount() 241 public MenuItemImpl getItem(int position) { in getItem() 242 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem() 267 final MenuItemImpl expandedItem = mMenu.getExpandedItem(); in findExpandedIndex() 269 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() 272 final MenuItemImpl item = items.get(i); in findExpandedIndex()
|
D | SubMenuBuilder.java | 35 private MenuItemImpl mItem; 37 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder() 124 public boolean expandItemActionView(MenuItemImpl item) { in expandItemActionView() 129 public boolean collapseItemActionView(MenuItemImpl item) { in collapseItemActionView()
|
D | MenuPopupHelper.java | 317 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 321 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 349 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getCount() 357 public MenuItemImpl getItem(int position) { in getItem() 358 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getItem() 386 final MenuItemImpl expandedItem = mMenu.getExpandedItem(); in findExpandedIndex() 388 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() 391 final MenuItemImpl item = items.get(i); in findExpandedIndex()
|
D | MenuView.java | 55 public void initialize(MenuItemImpl itemData, int menuType); in initialize() 61 public MenuItemImpl getItemData(); in getItemData()
|
D | MenuPresenter.java | 123 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 132 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
|
/frameworks/base/tools/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()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuPresenter.java | 32 import android.support.v7.internal.view.menu.MenuItemImpl; 142 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 147 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 192 MenuItemImpl item = mAdapter.getItem(positionInAdapter).getMenuItem(); in onItemClick() 202 public void setCheckedItem(MenuItemImpl item) { in setCheckedItem() 274 private MenuItemImpl mCheckedItem; 386 MenuItemImpl item = mMenu.getVisibleItems().get(i); in prepareMenuItems() 403 MenuItemImpl subMenuItem = (MenuItemImpl) subMenu.getItem(j); in prepareMenuItems() 457 public void setCheckedItem(MenuItemImpl checkedItem) { in setCheckedItem() 481 MenuItemImpl menuItem = item.getMenuItem(); in restoreInstanceState() [all …]
|
D | NavigationMenu.java | 21 import android.support.v7.internal.view.menu.MenuItemImpl; 39 final MenuItemImpl item = (MenuItemImpl) addInternal(group, id, categoryOrder, title); in addSubMenu()
|
D | NavigationMenuItemView.java | 28 import android.support.v7.internal.view.menu.MenuItemImpl; 42 private MenuItemImpl mItemData; 60 public void initialize(MenuItemImpl itemData, int menuType) { in initialize() 88 public MenuItemImpl getItemData() { in getItemData()
|
D | NavigationSubMenu.java | 21 import android.support.v7.internal.view.menu.MenuItemImpl; 33 public NavigationSubMenu(Context context, NavigationMenu menu, MenuItemImpl item) { in NavigationSubMenu()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionMenuPresenter.java | 34 import android.support.v7.internal.view.menu.MenuItemImpl; 192 public View getItemView(final MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView() 208 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { in bindItemView() 222 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() 237 final ArrayList<MenuItemImpl> actionItems = mMenu.getActionItems(); in updateMenuView() 247 final ArrayList<MenuItemImpl> nonActionItems = mMenu != null ? in updateMenuView() 404 final ArrayList<MenuItemImpl> visibleItems = mMenu.getVisibleItems(); in flagActionItems() 416 MenuItemImpl item = visibleItems.get(i); in flagActionItems() 451 MenuItemImpl item = visibleItems.get(i); in flagActionItems() 517 MenuItemImpl areYouMyGroupie = visibleItems.get(j); in flagActionItems() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuPresenter.java | 45 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() 613 final ArrayList<MenuItemImpl> visibleItems = mMenu.getVisibleItems(); in flagActionItems() 625 MenuItemImpl item = visibleItems.get(i); in flagActionItems() 660 MenuItemImpl item = visibleItems.get(i); in flagActionItems() 720 MenuItemImpl areYouMyGroupie = visibleItems.get(j); in flagActionItems() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
D | SupportMenuInflater.java | 31 import android.support.v7.internal.view.menu.MenuItemImpl; 447 final MenuItemImpl impl = item instanceof MenuItemImpl ? (MenuItemImpl) item : null; in setItem() 449 if (item instanceof MenuItemImpl) { in setItem() 450 ((MenuItemImpl) item).setExclusiveCheckable(true); in setItem()
|