Searched defs:toolbar (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/widget/
H A DToolbar_Accessor.java25 public static ActionMenuPresenter getActionMenuPresenter(Toolbar toolbar) { argument
26 return toolbar.getOuterActionMenuPresenter();
29 public static Context getPopupContext(Toolbar toolbar) { argument
30 return toolbar.getPopupContext();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFrameworkActionBarWrapper.java191 @NonNull Toolbar toolbar) {
192 super(context, callback, new ToolbarActionBar(toolbar, "", new WindowCallback()));
193 mToolbar = toolbar;
190 ToolbarWrapper(@onNull BridgeContext context, @NonNull ActionBarCallback callback, @NonNull Toolbar toolbar) argument
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarDrawerToggle.java133 // used in toolbar mode when DrawerToggle is disabled
181 * @param toolbar The toolbar to use if you have an independent Toolbar.
189 Toolbar toolbar, @StringRes int openDrawerContentDescRes,
191 this(activity, toolbar, drawerLayout, null, openDrawerContentDescRes,
200 <T extends Drawable & DrawerToggle> ActionBarDrawerToggle(Activity activity, Toolbar toolbar, argument
204 if (toolbar != null) {
205 mActivityImpl = new ToolbarCompatDelegate(toolbar);
206 toolbar.setNavigationOnClickListener(new View.OnClickListener() {
636 ToolbarCompatDelegate(Toolbar toolbar) { argument
188 ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, Toolbar toolbar, @StringRes int openDrawerContentDescRes, @StringRes int closeDrawerContentDescRes) argument
[all...]
H A DActionBarActivity.java81 * an {@link ActionBar} object that can be used to control the given toolbar as if it were
82 * a traditional window decor action bar. The toolbar's menu will be populated with the
89 * @param toolbar Toolbar to set as the Activity's action bar
91 public void setSupportActionBar(@Nullable Toolbar toolbar) { argument
92 getDelegate().setSupportActionBar(toolbar);
H A DActionBarActivityDelegate.java138 abstract void setSupportActionBar(Toolbar toolbar); argument
H A DActionBarActivityDelegateBase.java179 void setSupportActionBar(Toolbar toolbar) { argument
189 ToolbarActionBar tbab = new ToolbarActionBar(toolbar, mActivity.getTitle(),
/frameworks/base/core/java/com/android/internal/app/
H A DToolbarActionBar.java67 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { argument
68 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false);
71 toolbar.setOnMenuItemClickListener(mMenuClicker);
320 "Tabs are not supported in toolbar action bars");
326 "Tabs are not supported in toolbar action bars");
332 "Tabs are not supported in toolbar action bars");
338 "Tabs are not supported in toolbar action bars");
344 "Tabs are not supported in toolbar action bars");
350 "Tabs are not supported in toolbar action bars");
356 "Tabs are not supported in toolbar actio
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DToolbarWidgetWrapper.java89 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { argument
90 this(toolbar, style, R.string.action_bar_up_description);
93 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, argument
95 mToolbar = toolbar;
97 mTitle = toolbar.getTitle();
98 mSubtitle = toolbar.getSubtitle();
101 final TypedArray a = toolbar.getContext().obtainStyledAttributes(null,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DToolbarActionBar.java80 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window window, argument
82 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false);
85 toolbar.setOnMenuItemClickListener(mMenuClicker);
336 "Tabs are not supported in toolbar action bars");
342 "Tabs are not supported in toolbar action bars");
348 "Tabs are not supported in toolbar action bars");
354 "Tabs are not supported in toolbar action bars");
360 "Tabs are not supported in toolbar action bars");
366 "Tabs are not supported in toolbar action bars");
372 "Tabs are not supported in toolbar actio
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DToolbarWidgetWrapper.java87 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { argument
88 this(toolbar, style, R.string.abc_action_bar_up_description,
92 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, argument
94 mToolbar = toolbar;
95 mTitle = toolbar.getTitle();
96 mSubtitle = toolbar.getSubtitle();
101 final TintTypedArray a = TintTypedArray.obtainStyledAttributes(toolbar.getContext(),
177 mTintManager = new TintManager(toolbar.getContext());
/frameworks/base/core/java/android/app/
H A DActivity.java2091 * an {@link ActionBar} object that can be used to control the given toolbar as if it were
2092 * a traditional window decor action bar. The toolbar's menu will be populated with the
2099 * @param toolbar Toolbar to set as the Activity's action bar
2101 public void setActionBar(@Nullable Toolbar toolbar) { argument
2107 ToolbarActionBar tbab = new ToolbarActionBar(toolbar, getTitle(), this);

Completed in 6926 milliseconds