Searched refs:itemImpl (Results 1 – 2 of 2) sorted by relevance
967 MenuItemImpl itemImpl = (MenuItemImpl) item; in performItemAction() local969 if (itemImpl == null || !itemImpl.isEnabled()) { in performItemAction()973 boolean invoked = itemImpl.invoke(); in performItemAction()975 final ActionProvider provider = itemImpl.getSupportActionProvider(); in performItemAction()977 if (itemImpl.hasCollapsibleActionView()) { in performItemAction()978 invoked |= itemImpl.expandActionView(); in performItemAction()982 } else if (itemImpl.hasSubMenu() || providerHasSubMenu) { in performItemAction()988 if (!itemImpl.hasSubMenu()) { in performItemAction()989 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl)); in performItemAction()992 final SubMenuBuilder subMenu = (SubMenuBuilder) itemImpl.getSubMenu(); in performItemAction()
902 MenuItemImpl itemImpl = (MenuItemImpl) item; in performItemAction() local904 if (itemImpl == null || !itemImpl.isEnabled()) { in performItemAction()908 boolean invoked = itemImpl.invoke(); in performItemAction()912 if (itemImpl.hasCollapsibleActionView()) { in performItemAction()913 invoked |= itemImpl.expandActionView(); in performItemAction()917 } else if (itemImpl.hasSubMenu() || providerHasSubMenu) { in performItemAction()918 if (!itemImpl.hasSubMenu()) { in performItemAction()919 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl)); in performItemAction()922 final SubMenuBuilder subMenu = (SubMenuBuilder) itemImpl.getSubMenu(); in performItemAction()