Searched refs:menuItems (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/ |
D | FloatingToolbar.java | 225 List<MenuItem> menuItems = getVisibleAndEnabledMenuItems(mMenu); in doShow() local 226 menuItems.sort(mMenuItemComparator); in doShow() 227 mPopup.show(menuItems, mMenuItemClickListener, mContentRect); in doShow() 235 List<MenuItem> menuItems = new ArrayList<>(); in getVisibleAndEnabledMenuItems() local 241 menuItems.addAll(getVisibleAndEnabledMenuItems(subMenu)); in getVisibleAndEnabledMenuItems() 243 menuItems.add(menuItem); in getVisibleAndEnabledMenuItems() 247 return menuItems; in getVisibleAndEnabledMenuItems()
|
D | RemoteFloatingToolbarPopup.java | 134 public void show(List<MenuItem> menuItems, in show() argument 136 Objects.requireNonNull(menuItems); in show() 138 if (isShowing() && Objects.equals(menuItems, mMenuItems) in show() 148 || !MenuItemRepr.reprEquals(menuItems, mMenuItems) in show() 155 mMenuItems = menuItems; in show() 292 private static List<ToolbarMenuItem> getToolbarMenuItems(List<MenuItem> menuItems) { in getToolbarMenuItems() argument 293 final List<ToolbarMenuItem> list = new ArrayList<>(menuItems.size()); in getToolbarMenuItems() 294 for (MenuItem menuItem : menuItems) { in getToolbarMenuItems()
|
D | LocalFloatingToolbarPopup.java | 287 List<MenuItem> menuItems, in layoutMenuItems() argument 292 updateMenuItems(menuItems, menuItemClickListener); in layoutMenuItems() 293 menuItems = layoutMainPanelItems(menuItems, getAdjustedToolbarWidth(suggestedWidth)); in layoutMenuItems() 294 if (!menuItems.isEmpty()) { in layoutMenuItems() 296 layoutOverflowPanelItems(menuItems); in layoutMenuItems() 308 List<MenuItem> menuItems, MenuItem.OnMenuItemClickListener menuItemClickListener) { in updateMenuItems() argument 310 for (MenuItem menuItem : menuItems) { in updateMenuItems() 319 private boolean isLayoutRequired(List<MenuItem> menuItems) { in isLayoutRequired() argument 320 return !MenuItemRepr.reprEquals(menuItems, mMenuItems.values()); in isLayoutRequired() 337 public void show(List<MenuItem> menuItems, in show() argument [all …]
|
D | FloatingToolbarPopup.java | 50 void show(List<MenuItem> menuItems, MenuItem.OnMenuItemClickListener menuItemClickListener, in show() argument
|
/frameworks/base/core/java/android/view/selectiontoolbar/ |
D | ShowInfo.java | 124 @NonNull List<ToolbarMenuItem> menuItems, in ShowInfo() argument 132 this.mMenuItems = menuItems; in ShowInfo() 308 List<ToolbarMenuItem> menuItems = new java.util.ArrayList<>(); in ShowInfo() local 309 in.readParcelableList(menuItems, ToolbarMenuItem.class.getClassLoader()); in ShowInfo() 317 this.mMenuItems = menuItems; in ShowInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRow.java | 307 List<MenuItem> menuItems = mOnLeft ? mLeftMenuItems : mRightMenuItems; in populateMenuViews() local 308 for (int i = 0; i < menuItems.size(); i++) { in populateMenuViews() 309 addMenuView(menuItems.get(i), mMenuContainer); in populateMenuViews() 448 ArrayList<MenuItem> menuItems) { in setAppName() argument 450 final int count = menuItems.size(); in setAppName() 452 MenuItem item = menuItems.get(i); in setAppName()
|
/frameworks/base/core/java/android/service/selectiontoolbar/ |
D | RemoteSelectionToolbar.java | 288 List<ToolbarMenuItem> menuItems, in layoutMenuItems() argument 293 menuItems = layoutMainPanelItems(menuItems, getAdjustedToolbarWidth(suggestedWidth)); in layoutMenuItems() 294 if (!menuItems.isEmpty()) { in layoutMenuItems() 296 layoutOverflowPanelItems(menuItems); in layoutMenuItems() 813 private List<ToolbarMenuItem> layoutMainPanelItems(List<ToolbarMenuItem> menuItems, in layoutMainPanelItems() argument 818 for (ToolbarMenuItem menuItem : menuItems) { in layoutMainPanelItems() 897 private void layoutOverflowPanelItems(List<ToolbarMenuItem> menuItems) { in layoutOverflowPanelItems() argument 901 final int size = menuItems.size(); in layoutOverflowPanelItems() 903 overflowPanelAdapter.add(menuItems.get(i)); in layoutOverflowPanelItems()
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 1698 public abstract void setDisabledActionModeMenuItems(@MenuItemFlags int menuItems); in setDisabledActionModeMenuItems() argument
|