Searched refs:menuItems (Results 1 – 3 of 3) sorted by relevance
279 List<MenuItem> menuItems = getVisibleAndEnabledMenuItems(mMenu); in doShow() local280 menuItems.sort(mMenuItemComparator); in doShow()281 if (!isCurrentlyShowing(menuItems) || mWidthChanged) { in doShow()283 mPopup.layoutMenuItems(menuItems, mMenuItemClickListener, mSuggestedWidth); in doShow()284 mShowingMenuItems = menuItems; in doShow()298 private boolean isCurrentlyShowing(List<MenuItem> menuItems) { in isCurrentlyShowing() argument299 if (mShowingMenuItems == null || menuItems.size() != mShowingMenuItems.size()) { in isCurrentlyShowing()303 final int size = menuItems.size(); in isCurrentlyShowing()305 final MenuItem menuItem = menuItems.get(i); in isCurrentlyShowing()323 List<MenuItem> menuItems = new ArrayList<>(); in getVisibleAndEnabledMenuItems() local[all …]
285 ArrayList<MenuItem> menuItems = mDismissRtl ? mLeftMenuItems : mRightMenuItems; in createMenuViews() local286 menuItems.add(mInfoItem); in createMenuViews()308 List<MenuItem> menuItems = mOnLeft ? mLeftMenuItems : mRightMenuItems; in populateMenuViews() local309 for (int i = 0; i < menuItems.size(); i++) { in populateMenuViews()310 addMenuView(menuItems.get(i), mMenuContainer); in populateMenuViews()440 ArrayList<MenuItem> menuItems) { in setAppName() argument442 final int count = menuItems.size(); in setAppName()444 MenuItem item = menuItems.get(i); in setAppName()
1514 public abstract void setDisabledActionModeMenuItems(@MenuItemFlags int menuItems); in setDisabledActionModeMenuItems() argument