Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java57 private final List<MenuItem> mMenuItems = new ArrayList<>(); field in ToolbarActivity
84 mMenuItems.add(MenuItem.builder(this) in onCreate()
92 toolbar.setMenuItems(mMenuItems); in onCreate()
179 mMenuItems.clear(); in onCreate()
184 mMenuItems.add(MenuItem.builder(this) in onCreate()
189 toolbar.setMenuItems(mMenuItems); in onCreate()
193 mMenuItems.add(MenuItem.builder(this) in onCreate()
200 toolbar.setMenuItems(mMenuItems); in onCreate()
204 mMenuItems.add(MenuItem.builder(this) in onCreate()
213 toolbar.setMenuItems(mMenuItems); in onCreate()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarControllerAdapterV1.java644 private final List<MenuItemAdapterV1> mMenuItems; field in ToolbarControllerAdapterV1.ToolbarAdapterState
660 mMenuItems = Collections.emptyList(); in ToolbarAdapterState()
677 mMenuItems = builder.mMenuItems; in ToolbarAdapterState()
774 return mShowMenuItemsWhileSearching ? mMenuItems : Collections.emptyList(); in getShownMenuItems()
777 ? mMenuItems.stream().filter(i -> !i.isSearch()).collect(toList()) in getShownMenuItems()
780 return mMenuItems; in getShownMenuItems()
810 private List<MenuItemAdapterV1> mMenuItems; field in ToolbarControllerAdapterV1.ToolbarAdapterState.Builder
827 mMenuItems = state.mMenuItems; in Builder()
934 if (!Objects.equals(mMenuItems, menuItems)) { in setMenuItems()
935 mMenuItems = menuItems; in setMenuItems()
DToolbarControllerImpl.java119 private List<MenuItem> mMenuItems = Collections.emptyList(); field in ToolbarControllerImpl
585 if (items.equals(mMenuItems)) { in setMenuItemsInternal()
600 mMenuItems = new ArrayList<>(items); in setMenuItemsInternal()
679 return mMenuItems; in setMenuItems()
694 return Collections.unmodifiableList(mMenuItems); in getMenuItems()
703 for (MenuItem item : mMenuItems) { in findMenuItemById()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/widescreenime/
DWideScreenImeActivity.java68 private final List<MenuItem> mMenuItems = new ArrayList<>(); field in WideScreenImeActivity
123 mMenuItems.add(MenuItem.builder(this) in onCreate()
138 toolbar.setMenuItems(mMenuItems); in onCreate()