Home
last modified time | relevance | path

Searched refs:toolbar (Results 1 – 12 of 12) sorted by relevance

/frameworks/layoutlib/bridge/src/android/widget/
DToolbar_Accessor.java25 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/
DNavigationDrawerActivity.java36 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()
DClippedListActivity.java40 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/
DSwingUI.java72 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/
DPaintActivity.java54 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/
DHomeActivity.java55 Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); in onCreate() local
56 setSupportActionBar(toolbar); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java48 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/
DToolbarWidgetWrapper.java90 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/
DFrameworkActionBarWrapper.java182 @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/
DToolbarActionBar.java69 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/
DFloatingActionMode.java330 public FloatingToolbarVisibilityHelper(FloatingToolbar toolbar) { in FloatingToolbarVisibilityHelper() argument
331 mToolbar = Preconditions.checkNotNull(toolbar); in FloatingToolbarVisibilityHelper()
/frameworks/base/core/java/android/app/
DActivity.java3262 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()