Searched defs:mToolbar (Results 1 - 14 of 14) sorted by relevance

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DAppCompatMenuItemIconTintingTestActivity.java27 private Toolbar mToolbar; field in class:AppCompatMenuItemIconTintingTestActivity
36 mToolbar = findViewById(R.id.toolbar);
37 setSupportActionBar(mToolbar);
49 return mToolbar.getMenu();
H A DDrawerLayoutDoubleActivity.java42 private Toolbar mToolbar; field in class:DrawerLayoutDoubleActivity
71 mToolbar = findViewById(R.id.toolbar);
72 mToolbar.setTitle(R.string.drawer_title);
73 setSupportActionBar(mToolbar);
83 mToolbar.setBackgroundColor(metalBlueColor);
113 mToolbar.setTitle(Shakespeare.TITLES[position]);
H A DToolbarAppCompatActivity.java28 private Toolbar mToolbar; field in class:ToolbarAppCompatActivity
41 mToolbar = findViewById(R.id.toolbar);
42 setSupportActionBar(mToolbar);
46 return mToolbar;
H A DDrawerLayoutActivity.java51 private Toolbar mToolbar; field in class:DrawerLayoutActivity
79 mToolbar = findViewById(R.id.toolbar);
80 mToolbar.setTitle(R.string.drawer_title);
81 setSupportActionBar(mToolbar);
118 mToolbar.setBackgroundColor(metalBlueColor);
203 mToolbar.setTitle(Shakespeare.TITLES[position]);
/frameworks/support/car/src/main/java/androidx/car/drawer/
H A DCarDrawerActivity.java71 private Toolbar mToolbar; field in class:CarDrawerActivity
90 mToolbar = findViewById(R.id.car_toolbar);
91 setSupportActionBar(mToolbar);
187 (AppBarLayout.LayoutParams) mToolbar.getLayoutParams();
198 (AppBarLayout.LayoutParams) mToolbar.getLayoutParams();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DDrawerLayoutActivity.java88 private Toolbar mToolbar; field in class:DrawerLayoutActivity
115 mToolbar = findViewById(R.id.toolbar);
116 mToolbar.setTitle(R.string.drawer_title);
117 setSupportActionBar(mToolbar);
154 mToolbar.setBackgroundColor(metalBlueColor);
256 mToolbar.setTitle(Shakespeare.TITLES[position]);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DDrawerLayoutActivity.java88 private Toolbar mToolbar; field in class:DrawerLayoutActivity
115 mToolbar = findViewById(R.id.toolbar);
116 mToolbar.setTitle(R.string.drawer_title);
117 setSupportActionBar(mToolbar);
154 mToolbar.setBackgroundColor(metalBlueColor);
256 mToolbar.setTitle(Shakespeare.TITLES[position]);
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DActionBarOverlayLayoutTest.java66 private Toolbar mToolbar; field in class:ActionBarOverlayLayoutTest
89 mToolbar = new Toolbar(mContext);
90 mToolbar.setId(com.android.internal.R.id.action_bar);
91 mActionBarTop.addView(mToolbar);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DQSCustomizer.java75 private Toolbar mToolbar; field in class:QSCustomizer
89 mToolbar = findViewById(com.android.internal.R.id.action_bar);
92 mToolbar.setNavigationIcon(
94 mToolbar.setNavigationOnClickListener(new OnClickListener() {
100 mToolbar.setOnMenuItemClickListener(this);
101 mToolbar.getMenu().add(Menu.NONE, MENU_RESET, 0,
103 mToolbar.setTitle(R.string.qs_edit);
105 mToolbar.setTitleTextColor(accentColor);
106 mToolbar.getNavigationIcon().setTint(accentColor);
107 mToolbar
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFrameworkActionBarWrapper.java189 private final Toolbar mToolbar; // This is the view. field in class:FrameworkActionBarWrapper.ToolbarWrapper
194 mToolbar = toolbar;
216 return Toolbar_Accessor.getPopupContext(mToolbar);
222 return (MenuBuilder) mToolbar.getMenu();
228 return Toolbar_Accessor.getActionMenuPresenter(mToolbar);
234 return mToolbar.getWrapper();
/frameworks/base/core/java/com/android/internal/view/
H A DFloatingActionMode.java319 private final FloatingToolbar mToolbar; field in class:FloatingActionMode.FloatingToolbarVisibilityHelper
331 mToolbar = Preconditions.checkNotNull(toolbar);
345 mToolbar.dismiss();
376 mToolbar.hide();
378 mToolbar.show();
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DActionBarDrawerToggle.java587 final Toolbar mToolbar; field in class:ActionBarDrawerToggle.ToolbarCompatDelegate
592 mToolbar = toolbar;
599 mToolbar.setNavigationIcon(upDrawable);
606 mToolbar.setNavigationContentDescription(mDefaultContentDescription);
608 mToolbar.setNavigationContentDescription(contentDescRes);
619 return mToolbar.getContext();
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DToolbarWidgetWrapper.java70 Toolbar mToolbar; field in class:ToolbarWidgetWrapper
102 mToolbar = toolbar;
138 setCustomView(LayoutInflater.from(mToolbar.getContext()).inflate(customNavId,
139 mToolbar, false));
145 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams();
147 mToolbar.setLayoutParams(lp);
155 mToolbar.setContentInsetsRelative(Math.max(contentInsetStart, 0),
161 mToolbar.setTitleTextAppearance(mToolbar.getContext(), titleTextStyle);
167 mToolbar
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DToolbarWidgetWrapper.java66 private Toolbar mToolbar; field in class:ToolbarWidgetWrapper
96 mToolbar = toolbar;
101 mNavIcon = mToolbar.getNavigationIcon();
133 setCustomView(LayoutInflater.from(mToolbar.getContext()).inflate(customNavId,
134 mToolbar, false));
140 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams();
142 mToolbar.setLayoutParams(lp);
150 mToolbar.setContentInsetsRelative(Math.max(contentInsetStart, 0),
156 mToolbar.setTitleTextAppearance(mToolbar
[all...]

Completed in 1003 milliseconds