/frameworks/layoutlib/bridge/src/android/widget/ |
D | Toolbar_Accessor.java | 25 public static ActionMenuPresenter getActionMenuPresenter(Toolbar toolbar) { in getActionMenuPresenter() argument 26 return toolbar.getOuterActionMenuPresenter(); in getActionMenuPresenter() 29 public static Context getPopupContext(Toolbar toolbar) { in getPopupContext() argument 30 return toolbar.getPopupContext(); in getPopupContext()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | NavigationDrawerActivity.java | 36 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 37 setSupportActionBar(toolbar); in onCreate() 40 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
|
D | ClippedListActivity.java | 40 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 41 setSupportActionBar(toolbar); in onCreate() 44 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
D | SwingUI.java | 72 JToolBar toolbar = new JToolBar(JToolBar.HORIZONTAL); in prepare() local 75 toolbar.addSeparator(); in prepare() 77 toolbar.add(a); in prepare() 80 getContentPane().add(toolbar, BorderLayout.PAGE_START); in prepare()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | PaintActivity.java | 54 private CutoutAvoidingToolbar toolbar = null; field in PaintActivity 95 bar.setTranslationY(toolbar.getHeight()/2); in showToolbar() 97 .translationY(toolbar.getHeight()) in showToolbar() 106 .translationY(toolbar.getHeight()/2) in hideToolbar() 147 toolbar = findViewById(R.id.toolbar); in setupViews()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | HomeActivity.java | 55 Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); in onCreate() local 56 setSupportActionBar(toolbar); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerActivity.java | 48 Toolbar toolbar = findViewById(R.id.action_bar); in onCreate() local 49 if (toolbar != null) { in onCreate() 50 setActionBar(toolbar); in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ToolbarWidgetWrapper.java | 90 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { in ToolbarWidgetWrapper() argument 91 this(toolbar, style, R.string.action_bar_up_description); in ToolbarWidgetWrapper() 94 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, in ToolbarWidgetWrapper() argument 96 mToolbar = toolbar; in ToolbarWidgetWrapper() 98 mTitle = toolbar.getTitle(); in ToolbarWidgetWrapper() 99 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper() 102 final TypedArray a = toolbar.getContext().obtainStyledAttributes(null, in ToolbarWidgetWrapper()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBarWrapper.java | 182 @NonNull Toolbar toolbar) { in ToolbarWrapper() argument 183 super(context, callback, new ToolbarActionBar(toolbar, "", new WindowCallback())); in ToolbarWrapper() 184 mToolbar = toolbar; in ToolbarWrapper()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 69 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { in ToolbarActionBar() argument 70 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar() 73 toolbar.setOnMenuItemClickListener(mMenuClicker); in ToolbarActionBar()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 330 public FloatingToolbarVisibilityHelper(FloatingToolbar toolbar) { in FloatingToolbarVisibilityHelper() argument 331 mToolbar = Preconditions.checkNotNull(toolbar); in FloatingToolbarVisibilityHelper()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 3262 public void setActionBar(@Nullable Toolbar toolbar) { in setActionBar() argument 3279 if (toolbar != null) { in setActionBar() 3280 final ToolbarActionBar tbab = new ToolbarActionBar(toolbar, getTitle(), this); in setActionBar()
|