/frameworks/base/core/java/com/android/internal/widget/ |
ToolbarWidgetWrapper.java | 66 private Toolbar mToolbar; 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.getContext(), titleTextStyle) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ToolbarWidgetWrapper.java | 64 private Toolbar mToolbar; 97 mToolbar = toolbar; 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.getContext(), titleTextStyle); 162 mToolbar.setSubtitleTextAppearance(mToolbar.getContext(), subtitleTextStyle) [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
ToolbarActionBarActivity.java | 25 private Toolbar mToolbar; 34 mToolbar = (Toolbar) findViewById(R.id.toolbar); 35 setSupportActionBar(mToolbar);
|
DrawerLayoutDoubleActivity.java | 44 private Toolbar mToolbar; 73 mToolbar = (Toolbar) findViewById(R.id.toolbar); 74 mToolbar.setTitle(R.string.drawer_title); 75 setSupportActionBar(mToolbar); 85 mToolbar.setBackgroundColor(metalBlueColor); 115 mToolbar.setTitle(Shakespeare.TITLES[position]);
|
DrawerLayoutActivity.java | 50 private Toolbar mToolbar; 78 mToolbar = (Toolbar) findViewById(R.id.toolbar); 79 mToolbar.setTitle(R.string.drawer_title); 80 setSupportActionBar(mToolbar); 117 mToolbar.setBackgroundColor(metalBlueColor); 202 mToolbar.setTitle(Shakespeare.TITLES[position]);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
NavigationView.java | 47 private final DocumentsToolbar mToolbar; 62 mToolbar = toolbar; 69 mToolbar.setNavigationOnClickListener( 114 mToolbar.setTitle(null); 122 mToolbar.setNavigationIcon(getActionBarIcon()); 123 mToolbar.setNavigationContentDescription(R.string.drawer_open); 129 mToolbar.setTitle(title); 132 mToolbar.setTitle(null); 137 if (DEBUG) Log.d(TAG, "Final toolbar title is: " + mToolbar.getTitle()); 153 return mToolbar.getContext().getDrawable(R.drawable.ic_hamburger) [all...] |
DrawerController.java | 127 private Toolbar mToolbar; 133 mToolbar = drawerToolbar; 170 mToolbar.setTitle(title); 186 Metrics.logDrawerOpened(mToolbar.getContext(), mTrigger);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ActionBarAdapter.java | 103 private final Toolbar mToolbar; 130 mToolbar = toolbar; 131 mToolBarFrame = (FrameLayout) mToolbar.getParent(); 132 mMaxToolbarContentInsetStart = mToolbar.getContentInsetStart(); 148 final LayoutInflater inflater = (LayoutInflater) mToolbar.getContext().getSystemService( 152 mSearchContainer = inflater.inflate(R.layout.search_bar_expanded, mToolbar, 155 mToolbar.addView(mSearchContainer); 181 mSelectionContainer = inflater.inflate(R.layout.selection_bar, mToolbar, 363 mToolbar.setContentInsetsRelative(0, mToolbar.getContentInsetEnd()) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
QSCustomizer.java | 68 private Toolbar mToolbar; 79 mToolbar = (Toolbar) findViewById(com.android.internal.R.id.action_bar); 82 mToolbar.setNavigationIcon( 84 mToolbar.setNavigationOnClickListener(new OnClickListener() { 90 mToolbar.setOnMenuItemClickListener(this); 91 mToolbar.getMenu().add(Menu.NONE, MENU_RESET, 0, 93 mToolbar.setTitle(R.string.qs_edit); 153 mToolbar.dismissPopupMenus();
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
AppBarLayoutBaseTest.java | 51 protected Toolbar mToolbar; 101 mToolbar = (Toolbar) mAppBar.findViewById(R.id.toolbar); 107 activity.setSupportActionBar(mToolbar);
|
AppBarWithCollapsingToolbarTest.java | 36 (CollapsingToolbarLayout.LayoutParams) mToolbar.getLayoutParams(); 49 final int toolbarHeight = mToolbar.getHeight(); 132 (CollapsingToolbarLayout.LayoutParams) mToolbar.getLayoutParams(); 147 final int toolbarHeight = mToolbar.getHeight(); 234 (CollapsingToolbarLayout.LayoutParams) mToolbar.getLayoutParams(); 312 final int toolbarHeight = mToolbar.getHeight();
|
AppBarWithToolbarAndTabsTest.java | 62 final int toolbarHeight = mToolbar.getHeight(); 154 final int toolbarHeight = mToolbar.getHeight(); 247 final int toolbarHeight = mToolbar.getHeight();
|
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingToolbarLayout.java | 102 private Toolbar mToolbar; 268 if (mToolbar == null && mContentScrim != null && mScrimAlpha > 0) { 296 if (child == mToolbar && mContentScrim != null && mScrimAlpha > 0) { 319 mToolbar = null; 324 mToolbar = (Toolbar) findViewById(mToolbarId); 325 if (mToolbar != null) { 326 mToolbarDirectChild = findDirectChild(mToolbar); 330 if (mToolbar == null) { 341 mToolbar = toolbar; 370 if (mCollapsingTitleEnabled && mToolbar != null) [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
FloatingActionMode.java | 307 private final FloatingToolbar mToolbar; 317 mToolbar = Preconditions.checkNotNull(toolbar); 331 mToolbar.dismiss(); 356 mToolbar.hide(); 358 mToolbar.show();
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
DrawerLayoutActivity.java | 85 private Toolbar mToolbar; 112 mToolbar = (Toolbar) findViewById(R.id.toolbar); 113 mToolbar.setTitle(R.string.drawer_title); 114 setSupportActionBar(mToolbar); 151 mToolbar.setBackgroundColor(metalBlueColor); 253 mToolbar.setTitle(Shakespeare.TITLES[position]);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
FrameworkActionBarWrapper.java | 189 private final Toolbar mToolbar; // This is the view. 194 mToolbar = toolbar; 216 return Toolbar_Accessor.getPopupContext(mToolbar); 222 return (MenuBuilder) mToolbar.getMenu(); 228 return Toolbar_Accessor.getActionMenuPresenter(mToolbar); 234 return mToolbar.getWrapper();
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactPickerFragment.java | 116 private Toolbar mToolbar; 183 mToolbar = (Toolbar) view.findViewById(R.id.toolbar); 184 mToolbar.setNavigationIcon(R.drawable.ic_arrow_back_light); 185 mToolbar.setNavigationContentDescription(R.string.back); 186 mToolbar.setNavigationOnClickListener(new OnClickListener() { 193 mToolbar.inflateMenu(R.menu.compose_menu); 194 mToolbar.setOnMenuItemClickListener(this); 344 final Menu menu = mToolbar.getMenu(); 364 mPendingExplodeView = mToolbar; 417 final Menu menu = mToolbar.getMenu() [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
MultiShrinkScroller.java | 108 private View mToolbar; 293 mToolbar = findViewById(R.id.toolbar_parent); 752 = mToolbar.getLayoutParams(); 754 mToolbar.setLayoutParams(toolbarLayoutParams); 762 return mToolbar.getLayoutParams().height; 771 = mToolbar.getLayoutParams(); 773 mToolbar.setLayoutParams(toolbarLayoutParams); 780 return mToolbar.getLayoutParams().height; [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarDrawerToggle.java | 614 final Toolbar mToolbar; 619 mToolbar = toolbar; 626 mToolbar.setNavigationIcon(upDrawable); 633 mToolbar.setNavigationContentDescription(mDefaultContentDescription); 635 mToolbar.setNavigationContentDescription(contentDescRes); 646 return mToolbar.getContext();
|
/frameworks/base/core/java/android/app/ |
ActionBar.java | [all...] |
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat.jar | |
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |