Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java79 toolbar.setMenuItems(mMenuItems); in onCreate()
96 toolbar.setMenuItems(R.xml.menuitems); in onCreate()
105 toolbar.setMenuItems(mMenuItems); in onCreate()
116 toolbar.setMenuItems(mMenuItems); in onCreate()
128 toolbar.setMenuItems(mMenuItems); in onCreate()
142 toolbar.setMenuItems(mMenuItems); in onCreate()
152 toolbar.setMenuItems(mMenuItems); in onCreate()
164 toolbar.setMenuItems(mMenuItems); in onCreate()
177 toolbar.setMenuItems(mMenuItems); in onCreate()
188 toolbar.setMenuItems(mMenuItems); in onCreate()
[all …]
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java330 mToolbar.setMenuItems(Arrays.asList( in menuItems_whenClicked_shouldCallListener()
347 mToolbar.setMenuItems(Arrays.asList( in menuItems_null_shouldRemoveExistingMenuItems()
355 mToolbar.setMenuItems(null); in menuItems_null_shouldRemoveExistingMenuItems()
364 mToolbar.setMenuItems(Collections.singletonList(item)); in menuItems_setVisibility_shouldDefaultToShown()
373 mToolbar.setMenuItems(Collections.singletonList(item)); in menuItems_setVisibility_shouldHide()
383 mToolbar.setMenuItems(Collections.singletonList(item)); in menuItems_setVisibility_shouldReshowAfterHiding()
397 mToolbar.setMenuItems(menuItems); in menuItems_equalItems_shouldntRecreateViews()
403 mToolbar.setMenuItems(menuItems); in menuItems_equalItems_shouldntRecreateViews()
410 mToolbar.setMenuItems(Arrays.asList( in menuItems_searchScreen_shouldHideMenuItems()
424 mToolbar.setMenuItems(Arrays.asList( in menuItems_showMenuItemsWhileSearching()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbar.java154 setMenuItems(a.getResourceId(R.styleable.CarUiToolbar_menuItems, 0)); in Toolbar()
388 public void setMenuItems(@Nullable List<MenuItem> items) { in setMenuItems() method in Toolbar
389 mController.setMenuItems(items); in setMenuItems()
421 public List<MenuItem> setMenuItems(@XmlRes int resId) { in setMenuItems() method in Toolbar
422 return mController.setMenuItems(resId); in setMenuItems()
DToolbarController.java149 void setMenuItems(@Nullable List<MenuItem> items); in setMenuItems() method
180 List<MenuItem> setMenuItems(@XmlRes int resId); in setMenuItems() method
DToolbarControllerImpl.java436 public void setMenuItems(@Nullable List<MenuItem> items) { in setMenuItems() method in ToolbarControllerImpl
470 public List<MenuItem> setMenuItems(@XmlRes int resId) { in setMenuItems() method in ToolbarControllerImpl
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociationActivity.java213 mToolbar.setMenuItems(Arrays.asList(cancelButton, confirmButton)); in showConfirmButtons()
217 mToolbar.setMenuItems(null); in dismissConfirmButtons()
/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/Settings/src/com/android/car/settings/common/
DBaseFragment.java141 toolbar.setMenuItems(items); in onActivityCreated()
DSettingsFragment.java198 toolbar.setMenuItems(items); in onActivityCreated()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerBaseFragment.java91 toolbar.setMenuItems(R.xml.menuitems); in setupToolbar()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarView.java152 setMenuItems(Arrays.asList(mSearch, mEqualizer, mSettings, mAppSelector)); in init()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java187 mToolbar.setMenuItems(Arrays.asList(bandSelectorMenuItem, appSelectorMenuItem)); in updateMenuItems()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsFragment.java158 toolbar.setMenuItems(null); in setupToolbar()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java1014 mPrimaryImage.getHistory().setMenuItems(undoItem, redoItem, resetItem); in setupMenu()