Home
last modified time | relevance | path

Searched refs:Toolbar (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DToolbarBindingAdapter.java20 import android.widget.Toolbar;
23 …@BindingMethod(type = Toolbar.class, attribute = "android:onMenuItemClick", method = "setOnMenuIte…
24 …@BindingMethod(type = Toolbar.class, attribute = "android:onNavigationClick", method = "setNavigat…
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutWithViewPagerActivity.java19 import android.support.v7.widget.Toolbar;
29 Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet()
DAppBarLayoutBaseTest.java33 import android.support.v7.widget.Toolbar;
51 protected Toolbar mToolbar;
101 mToolbar = (Toolbar) mAppBar.findViewById(R.id.toolbar); in configureContent()
DTextInputLayoutActivity.java19 import android.support.v7.widget.Toolbar;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DToolbarActionBarActivity.java21 import android.support.v7.widget.Toolbar;
25 private Toolbar mToolbar;
34 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet()
DDrawerLayoutDoubleActivity.java26 import android.support.v7.widget.Toolbar;
44 private Toolbar mToolbar;
73 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet()
DDrawerLayoutActivity.java28 import android.support.v7.widget.Toolbar;
50 private Toolbar mToolbar;
78 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet()
/frameworks/base/docs/html/training/appbar/
Dsetting-up.jd14 <li><a href="#add-toolbar">Add a Toolbar to an Activity</a></li>
49 of {@link android.support.v7.widget.Toolbar}, and they are available on any
55 android.support.v7.widget.Toolbar} class to implement your activities' app
58 {@link android.support.v7.widget.Toolbar} widget provides a <a href=
65 <h2 id="add-toolbar">Add a Toolbar to an Activity</h2>
67 These steps describe how to set up a {@link android.support.v7.widget.Toolbar}
87 that uses a {@link android.support.v7.widget.Toolbar} as an app bar.
105 <li>Add a {@link android.support.v7.widget.Toolbar} to the activity's layout.
107 android.support.v7.widget.Toolbar} and gives it the appearance of floating
111 &lt;android.support.v7.widget.Toolbar
[all …]
Dindex.jd55 android.support.v7.widget.Toolbar} widget as an app bar. There are other ways
58 {@link android.support.v7.widget.Toolbar} makes it easy to set up an app bar
71 Learn how to add a {@link android.support.v7.widget.Toolbar} widget to your
Dup-action.jd104 android.support.v7.widget.Toolbar} as the app bar for
115 Toolbar myChildToolbar =
116 (Toolbar) findViewById(R.id.my_child_toolbar);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDrawerController.java29 import android.widget.Toolbar;
86 Toolbar toolbar = (Toolbar) activity.findViewById(R.id.roots_toolbar); in create()
127 private Toolbar mToolbar;
132 Toolbar drawerToolbar) { in RuntimeDrawerController()
DDocumentsToolbar.java22 import android.widget.Toolbar;
27 public class DocumentsToolbar extends Toolbar {
/frameworks/base/tools/layoutlib/bridge/src/android/widget/
DToolbar_Accessor.java25 public static ActionMenuPresenter getActionMenuPresenter(Toolbar toolbar) { in getActionMenuPresenter()
29 public static Context getPopupContext(Toolbar toolbar) { in getPopupContext()
/frameworks/base/core/java/com/android/internal/widget/
DToolbarWidgetWrapper.java41 import android.widget.Toolbar;
66 private Toolbar mToolbar;
90 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { in ToolbarWidgetWrapper()
94 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, in ToolbarWidgetWrapper()
449 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); in setEmbeddedTabView()
511 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); in setNavigationMode()
526 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in ensureSpinner()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbarWidgetWrapper.java64 private Toolbar mToolbar;
90 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { in ToolbarWidgetWrapper()
95 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, in ToolbarWidgetWrapper()
425 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); in setEmbeddedTabView()
487 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); in setNavigationMode()
502 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in ensureSpinner()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java47 import android.widget.Toolbar;
72 if (view instanceof Toolbar) { in getActionBarWrapper()
73 return new ToolbarWrapper(context, callback, (Toolbar) view); in getActionBarWrapper()
189 private final Toolbar mToolbar; // This is the view.
192 @NonNull Toolbar toolbar) { in ToolbarWrapper()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java30 import android.support.v7.widget.Toolbar;
179 Toolbar toolbar, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
190 <T extends Drawable & DrawerToggle> ActionBarDrawerToggle(Activity activity, Toolbar toolbar, in ActionBarDrawerToggle()
614 final Toolbar mToolbar;
618 ToolbarCompatDelegate(Toolbar toolbar) { in ToolbarCompatDelegate()
DAppCompatDelegate.java35 import android.support.v7.widget.Toolbar;
229 public abstract void setSupportActionBar(@Nullable Toolbar toolbar); in setSupportActionBar()
DToolbarActionBar.java31 import android.support.v7.widget.Toolbar;
65 private final Toolbar.OnMenuItemClickListener mMenuClicker =
66 new Toolbar.OnMenuItemClickListener() {
73 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback callback) { in ToolbarActionBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java34 import android.widget.Toolbar;
35 import android.widget.Toolbar.OnMenuItemClickListener;
68 private Toolbar mToolbar;
79 mToolbar = (Toolbar) findViewById(com.android.internal.R.id.action_bar); in QSCustomizer()
/frameworks/support/v7/appcompat/api/
D22.0.0.txt136 method public void setSupportActionBar(android.support.v7.widget.Toolbar);
149 …app.Activity, android.support.v4.widget.DrawerLayout, android.support.v7.widget.Toolbar, int, int);
466 public class Toolbar extends android.view.ViewGroup {
467 ctor public Toolbar(android.content.Context);
468 ctor public Toolbar(android.content.Context, android.util.AttributeSet);
469 ctor public Toolbar(android.content.Context, android.util.AttributeSet, int);
500 …method public void setOnMenuItemClickListener(android.support.v7.widget.Toolbar.OnMenuItemClickLis…
513 public static class Toolbar.LayoutParams extends android.support.v7.app.ActionBar.LayoutParams {
514 ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet);
515 ctor public Toolbar.LayoutParams(int, int);
[all …]
D22.1.0.txt128 …app.Activity, android.support.v4.widget.DrawerLayout, android.support.v7.widget.Toolbar, int, int);
227 method public void setSupportActionBar(android.support.v7.widget.Toolbar);
263 method public abstract void setSupportActionBar(android.support.v7.widget.Toolbar);
628 public class Toolbar extends android.view.ViewGroup {
629 ctor public Toolbar(android.content.Context);
630 ctor public Toolbar(android.content.Context, android.util.AttributeSet);
631 ctor public Toolbar(android.content.Context, android.util.AttributeSet, int);
662 …method public void setOnMenuItemClickListener(android.support.v7.widget.Toolbar.OnMenuItemClickLis…
675 public static class Toolbar.LayoutParams extends android.support.v7.app.ActionBar.LayoutParams {
676 ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet);
[all …]
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java38 import android.widget.Toolbar;
64 private final Toolbar.OnMenuItemClickListener mMenuClicker =
65 new Toolbar.OnMenuItemClickListener() {
72 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { in ToolbarActionBar()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingToolbarLayout.java39 import android.support.v7.widget.Toolbar;
102 private Toolbar mToolbar;
324 mToolbar = (Toolbar) findViewById(mToolbarId); in ensureToolbar()
333 Toolbar toolbar = null; in ensureToolbar()
336 if (child instanceof Toolbar) { in ensureToolbar()
337 toolbar = (Toolbar) child; in ensureToolbar()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DSettingsDrawerActivity.java45 import android.widget.Toolbar;
91 Toolbar toolbar = (Toolbar) findViewById(R.id.action_bar); in onCreate()

123