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.java929 MenuItemImpl itemImpl = (MenuItemImpl) item; in performItemAction() local
931 if (itemImpl == null || !itemImpl.isEnabled()) { in performItemAction()
935 boolean invoked = itemImpl.invoke(); in performItemAction()
939 if (itemImpl.hasCollapsibleActionView()) { in performItemAction()
940 invoked |= itemImpl.expandActionView(); in performItemAction()
944 } else if (itemImpl.hasSubMenu() || providerHasSubMenu) { in performItemAction()
945 if (!itemImpl.hasSubMenu()) { in performItemAction()
946 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl)); in performItemAction()
949 final SubMenuBuilder subMenu = (SubMenuBuilder) itemImpl.getSubMenu(); in performItemAction()