Searched refs:menuItem (Results 1 – 9 of 9) sorted by relevance
41 final MenuItem getMenuItemWrapper(final MenuItem menuItem) { in getMenuItemWrapper() argument42 if (menuItem instanceof SupportMenuItem) { in getMenuItemWrapper()43 final SupportMenuItem supportMenuItem = (SupportMenuItem) menuItem; in getMenuItemWrapper()51 MenuItem wrappedItem = mMenuItems.get(menuItem); in getMenuItemWrapper()61 return menuItem; in getMenuItemWrapper()100 android.view.MenuItem menuItem; in internalRemoveGroup() local103 menuItem = iterator.next(); in internalRemoveGroup()104 if (groupId == menuItem.getGroupId()) { in internalRemoveGroup()116 android.view.MenuItem menuItem; in internalRemoveItem() local119 menuItem = iterator.next(); in internalRemoveItem()[all …]
264 MenuItem menuItem = menu.getItem(i); in getVisibleAndEnabledMenuItems() local265 if (menuItem.isVisible() && menuItem.isEnabled()) { in getVisibleAndEnabledMenuItems()266 Menu subMenu = menuItem.getSubMenu(); in getVisibleAndEnabledMenuItems()270 menuItems.add(menuItem); in getVisibleAndEnabledMenuItems()279 for (MenuItem menuItem : menuItems) { in getShowingMenuItemsReferences()280 if (isIconOnlyMenuItem(menuItem)) { in getShowingMenuItemsReferences()281 references.add(menuItem.getIcon()); in getShowingMenuItemsReferences()283 references.add(menuItem.getTitle()); in getShowingMenuItemsReferences()1117 final MenuItem menuItem = remainingMenuItems.peek(); in layoutMainPanelItems() local1118 View menuItemButton = createMenuItemButton(mContext, menuItem); in layoutMainPanelItems()[all …]
165 MenuItem menuItem = null; in onHoverEvent() local171 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent()177 if (oldMenuItem != menuItem) { in onHoverEvent()183 mHoveredMenuItem = menuItem; in onHoverEvent()185 if (menuItem != null) { in onHoverEvent()186 mHoverListener.onItemHoverEnter(menu, menuItem); in onHoverEvent()
196 MenuItem menuItem = null; in onHoverEvent() local202 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent()208 if (oldMenuItem != menuItem) { in onHoverEvent()214 mHoveredMenuItem = menuItem; in onHoverEvent()216 if (menuItem != null) { in onHoverEvent()217 mHoverListener.onItemHoverEnter(menu, menuItem); in onHoverEvent()
47 /*package*/ static void registerMenu(MenuInflater thisInflater, MenuItem menuItem, in registerMenu() argument49 if (menuItem instanceof BridgeMenuItemImpl) { in registerMenu()55 ((BridgeMenuItemImpl) menuItem).setViewCookie(viewKey); in registerMenu()
206 UiObject2 menuItem = null; in findMenuWithName() local208 menuItem = it.next(); in findMenuWithName()209 UiObject2 text = menuItem.findObject(By.text(label)); in findMenuWithName()214 return menuItem; in findMenuWithName()
162 public boolean onOptionsItemSelected(MenuItem menuItem) { in onOptionsItemSelected() argument163 int id = menuItem.getItemId(); in onOptionsItemSelected()169 return super.onOptionsItemSelected(menuItem); in onOptionsItemSelected()
567 MenuItemImpl menuItem = ((NavigationMenuTextItem) item).getMenuItem(); in restoreInstanceState() local568 if (menuItem != null && menuItem.getItemId() == checkedItem) { in restoreInstanceState()569 setCheckedItem(menuItem); in restoreInstanceState()
1404 MenuItemImpl menuItem; in getViewKey() local1406 menuItem = ((ActionMenuItemView) view).getItemData(); in getViewKey()1408 menuItem = ((ListMenuItemView) view).getItemData(); in getViewKey()1410 menuItem = ((IconMenuItemView) view).getItemData(); in getViewKey()1412 menuItem = null; in getViewKey()1414 if (menuItem instanceof BridgeMenuItemImpl) { in getViewKey()1415 return ((BridgeMenuItemImpl) menuItem).getViewCookie(); in getViewKey()