Lines Matching refs:items

94      * Contains all of the items for this menu
99 * Contains only the items that are currently visible. This will be created/refreshed from
105 * Whether or not the items (or any one item's shown state) has changed since it was last
111 * Contains only the items that should appear in the Action Bar, if present.
116 * Contains items that should NOT appear in the Action Bar, if present.
121 * Whether or not the items (or any one item's action state) has changed since it was last
127 * Default value for how added items should show in the action list.
134 * all items added to this menu.
202 * Called by menu items to execute their associated action
242 * inflating menu items. This will only hold a WeakReference; you do not
247 * @param menuContext The context used to inflate menu items
620 // We handle the notification of items being changed ourselves, so we use setVisibleInt rather
621 // than setVisible and at the end notify of items being changed
737 * Returns the ordering across all items. This will grab the category from
745 * all the items (even from other categories).
814 private static int findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) {
815 for (int i = items.size() - 1; i >= 0; i--) {
816 MenuItemImpl item = items.get(i);
843 * This function will return all the menu and sub-menu items that can
849 void findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) {
865 ((MenuBuilder)item.getSubMenu()).findItemsWithShortcutForKey(items, keyCode, event);
875 items.add(item);
893 // Get all items that can be associated directly or indirectly with the keyCode
894 ArrayList<MenuItemImpl> items = mTempShortcutItemList;
895 items.clear();
896 findItemsWithShortcutForKey(items, keyCode, event);
898 if (items.isEmpty()) {
908 final int size = items.size();
910 return items.get(0);
917 final MenuItemImpl item = items.get(i);
1054 // Notify of items being changed
1065 // Notify of items being changed
1073 // Refresh the visible items
1090 * This method determines which menu items get to be 'action items' that will appear
1091 * in an action bar and which items should be 'overflow items' in a secondary menu.
1099 * limit the conceptual complexity of the items presented within an action bar. Only a few
1105 * items may be added. If an item that is part of a group cannot fit within the remaining
1109 * <p>The space freed by demoting a full group cannot be consumed by future menu items.
1110 * Once items begin to overflow, all future items become overflow items as well. This is
1115 // which can affect action items staleness.
1122 // Presenters flag action items as needed.
1286 * Sets the current menu info that is set on all items added to this menu