Home
last modified time | relevance | path

Searched refs:itemImpl (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java967 MenuItemImpl itemImpl = (MenuItemImpl) item; in performItemAction() local
969 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()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java902 MenuItemImpl itemImpl = (MenuItemImpl) item; in performItemAction() local
904 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()