Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java928 MenuItemImpl itemImpl = (MenuItemImpl) item; in performItemAction() local
930 if (itemImpl == null || !itemImpl.isEnabled()) { in performItemAction()
934 boolean invoked = itemImpl.invoke(); in performItemAction()
938 if (itemImpl.hasCollapsibleActionView()) { in performItemAction()
939 invoked |= itemImpl.expandActionView(); in performItemAction()
943 } else if (itemImpl.hasSubMenu() || providerHasSubMenu) { in performItemAction()
944 if (!itemImpl.hasSubMenu()) { in performItemAction()
945 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl)); in performItemAction()
948 final SubMenuBuilder subMenu = (SubMenuBuilder) itemImpl.getSubMenu(); in performItemAction()