Home
last modified time | relevance | path

Searched refs:DisplayBehavior (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java70 private final DisplayBehavior mDisplayBehavior;
285 public DisplayBehavior getDisplayBehavior() { in getDisplayBehavior()
334 private DisplayBehavior mDisplayBehavior = DisplayBehavior.ALWAYS;
366 if (mIsActivatable && mDisplayBehavior == DisplayBehavior.NEVER) { in build()
376 || mDisplayBehavior != DisplayBehavior.ALWAYS)) { in build()
386 || mDisplayBehavior != DisplayBehavior.ALWAYS)) { in build()
493 public Builder setDisplayBehavior(DisplayBehavior behavior) { in setDisplayBehavior()
614 public enum DisplayBehavior { enum in MenuItem
DMenuItemXmlParserUtil.java128 MenuItem.DisplayBehavior displayBehavior = displayBehaviorInt == 0 in readMenuItem()
129 ? MenuItem.DisplayBehavior.ALWAYS in readMenuItem()
130 : MenuItem.DisplayBehavior.NEVER; in readMenuItem()
DMenuItemAdapterV1.java124 MenuItem.DisplayBehavior displayBehavior = mClientMenuItem.getDisplayBehavior(); in getDisplayBehavior()
125 if (displayBehavior == MenuItem.DisplayBehavior.NEVER) { in getDisplayBehavior()
DToolbarControllerImpl.java590 if (item.getDisplayBehavior() == MenuItem.DisplayBehavior.NEVER) { in setMenuItemsInternal()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java302 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()
316 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()
331 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarMenuItemsTest.java230 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in menuItems_overflowText_shouldWork()
260 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in menuItems_overflowIconAndText_shouldWork()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java164 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()