Home
last modified time | relevance | path

Searched refs:setMenuItems (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarMenuItemsTest.java97 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_findMenuItemById_shouldWork()
113 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_text_shouldShow()
133 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_icon_shouldShow()
161 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_textAndIcon_shouldShow()
186 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_removeIcon_shouldShowText()
207 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_switch_shouldShow()
233 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_overflowText_shouldWork()
263 toolbar.setMenuItems(Collections.singletonList(menuItem[0])); in menuItems_overflowIconAndText_shouldWork()
284 toolbar.setMenuItems(menuItems); in menuItems_getMenuItems_returnsSameMenuItems()
299 toolbar.setMenuItems(Arrays.asList( in menuItems_null_shouldRemoveExistingMenuItems()
[all …]
DEmptyToolbarController.java192 public void setMenuItems(@Nullable List<MenuItem> items) { in setMenuItems() method in EmptyToolbarController
197 public List<MenuItem> setMenuItems(int resId) { in setMenuItems() method in EmptyToolbarController
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java92 toolbar.setMenuItems(mMenuItems); in onCreate()
180 toolbar.setMenuItems(R.xml.menuitems); in onCreate()
189 toolbar.setMenuItems(mMenuItems); in onCreate()
200 toolbar.setMenuItems(mMenuItems); in onCreate()
213 toolbar.setMenuItems(mMenuItems); in onCreate()
223 toolbar.setMenuItems(mMenuItems); in onCreate()
235 toolbar.setMenuItems(mMenuItems); in onCreate()
246 toolbar.setMenuItems(mMenuItems); in onCreate()
259 toolbar.setMenuItems(mMenuItems); in onCreate()
272 toolbar.setMenuItems(mMenuItems); in onCreate()
[all …]
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
DConversationListFragment.java92 setMenuItems(); in onViewCreated()
97 setMenuItems(); in onViewCreated()
115 private void setMenuItems() { in setMenuItems() method in ConversationListFragment
136 mToolbar.setMenuItems(menuItems); in setMenuItems()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarController.java121 mToolbarController.setMenuItems( in AppBarController()
242 public void setMenuItems(List<MenuItem> items) { in setMenuItems() method in AppBarController
243 mToolbarController.setMenuItems(items); in setMenuItems()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarControllerAdapterV1.java357 public void setMenuItems(@Nullable List<MenuItem> items) { in setMenuItems() method in ToolbarControllerAdapterV1
360 .setMenuItems(convertList(items, MenuItemAdapterV1::new)) in setMenuItems()
365 public List<MenuItem> setMenuItems(int resId) { in setMenuItems() method in ToolbarControllerAdapterV1
367 setMenuItems(menuItems); in setMenuItems()
498 mOemToolbar.setMenuItems(newAdapterState.getShownMenuItems()); in update()
929 public Builder setMenuItems(List<MenuItemAdapterV1> menuItems) { in setMenuItems() method in ToolbarControllerAdapterV1.ToolbarAdapterState.Builder
DToolbarController.java255 void setMenuItems(@Nullable List<MenuItem> items); in setMenuItems() method
286 List<MenuItem> setMenuItems(@XmlRes int resId); in setMenuItems() method
DToolbarControllerImpl.java642 public void setMenuItems(@Nullable List<MenuItem> items) { in setMenuItems() method in ToolbarControllerImpl
677 public List<MenuItem> setMenuItems(@XmlRes int resId) { in setMenuItems() method in ToolbarControllerImpl
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/
DAutoSettingsFrameFragment.java112 mToolbar.setMenuItems(Collections.singletonList(MenuItem.builder(getContext()) in updateAction()
117 mToolbar.setMenuItems(null); in updateAction()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateLayoutFragment.java175 mToolbar.setMenuItems(Collections.singletonList(installButton)); in showInstallNow()
199 mToolbar.setMenuItems(null); // Remove install button in showInstallationInProgress()
268 mToolbar.setMenuItems(null); // Remove install now button in onPayloadApplicationComplete()
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/toolbar/
DToolbarControllerOEMV1.java122 void setMenuItems(List<? extends MenuItemOEMV1> items); in setMenuItems() method
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/
DHistoryManager.java33 public void setMenuItems(MenuItem undoItem, MenuItem redoItem, MenuItem resetItem) { in setMenuItems() method in HistoryManager
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerBaseFragment.java89 toolbar.setMenuItems(R.xml.menuitems); in setupToolbar()
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/
DCarDevelopmentSettingsDashboardFragment.java53 mToolbar.setMenuItems(items); in onActivityCreated()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseFragment.java139 toolbar.setMenuItems(items); in onActivityCreated()
DSettingsFragment.java228 toolbar.setMenuItems(items); in setupToolbar()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPopupMenu.java62 void setMenuItems(OverflowItem[] menuItems) { in setMenuItems() method in WalletPopupMenu
DWalletView.java121 mOverflowPopup.setMenuItems(menuItems); in showCardCarousel()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/widescreenime/
DWideScreenTestView.java66 toolbar.setMenuItems(Collections.singletonList(MenuItem.builder(this) in onCreate()
DWideScreenImeActivity.java138 toolbar.setMenuItems(mMenuItems); in onCreate()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java214 mToolbar.setMenuItems(Arrays.asList(bandSelectorMenuItem, appSelectorMenuItem)); in updateMenuItems()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DMultiSelectListPreferenceFragment.java105 toolbar.setMenuItems(null); in onViewCreated()
DListPreferenceFragment.java104 toolbar.setMenuItems(null); in onViewCreated()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsFragment.java168 toolbar.setMenuItems(null); in setupToolbar()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DToolbarControllerImpl.java231 public void setMenuItems(List<? extends MenuItemOEMV1> menuItems) {

12