Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java279 List<MenuItem> menuItems = getVisibleAndEnabledMenuItems(mMenu); in doShow() local
280 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() argument
299 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java285 ArrayList<MenuItem> menuItems = mDismissRtl ? mLeftMenuItems : mRightMenuItems; in createMenuViews() local
286 menuItems.add(mInfoItem); in createMenuViews()
308 List<MenuItem> menuItems = mOnLeft ? mLeftMenuItems : mRightMenuItems; in populateMenuViews() local
309 for (int i = 0; i < menuItems.size(); i++) { in populateMenuViews()
310 addMenuView(menuItems.get(i), mMenuContainer); in populateMenuViews()
440 ArrayList<MenuItem> menuItems) { in setAppName() argument
442 final int count = menuItems.size(); in setAppName()
444 MenuItem item = menuItems.get(i); in setAppName()
/frameworks/base/core/java/android/webkit/
DWebSettings.java1514 public abstract void setDisabledActionModeMenuItems(@MenuItemFlags int menuItems); in setDisabledActionModeMenuItems() argument