Home
last modified time | relevance | path

Searched refs:mDecorToolbar (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java43 private DecorToolbar mDecorToolbar; field in ToolbarActionBar
68 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar()
70 mDecorToolbar.setWindowCallback(mWindowCallback); in ToolbarActionBar()
72 mDecorToolbar.setWindowTitle(title); in ToolbarActionBar()
89 mDecorToolbar.setCustomView(view); in setCustomView()
94 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); in setCustomView()
95 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); in setCustomView()
100 mDecorToolbar.setIcon(resId); in setIcon()
105 mDecorToolbar.setIcon(icon); in setIcon()
110 mDecorToolbar.setLogo(resId); in setLogo()
[all …]
DWindowDecorActionBar.java82 private DecorToolbar mDecorToolbar; field in WindowDecorActionBar
196 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init()
204 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init()
209 mContext = mDecorToolbar.getContext(); in init()
210 mContextDisplayMode = mDecorToolbar.isSplit() ? in init()
214 final int current = mDecorToolbar.getDisplayOptions(); in init()
269 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs()
273 mDecorToolbar.setEmbeddedTabView(mTabScrollView); in setHasEmbeddedTabs()
286 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); in setHasEmbeddedTabs()
299 mDecorToolbar.setEmbeddedTabView(tabScroller); in ensureTabsExist()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DToolbarActionBar.java52 private DecorToolbar mDecorToolbar; field in ToolbarActionBar
78 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar()
80 mDecorToolbar.setWindowCallback(mWindowCallback); in ToolbarActionBar()
82 mDecorToolbar.setWindowTitle(title); in ToolbarActionBar()
99 mDecorToolbar.setCustomView(view); in setCustomView()
104 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); in setCustomView()
105 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); in setCustomView()
110 mDecorToolbar.setIcon(resId); in setIcon()
115 mDecorToolbar.setIcon(icon); in setIcon()
120 mDecorToolbar.setLogo(resId); in setLogo()
[all …]
DWindowDecorActionBar.java94 private DecorToolbar mDecorToolbar; field in WindowDecorActionBar
200 mDecorToolbar = getDecorToolbar(decor.findViewById(R.id.action_bar)); in init()
206 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init()
211 mContext = mDecorToolbar.getContext(); in init()
214 final int current = mDecorToolbar.getDisplayOptions(); in init()
266 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs()
270 mDecorToolbar.setEmbeddedTabView(mTabScrollView); in setHasEmbeddedTabs()
283 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); in setHasEmbeddedTabs()
296 mDecorToolbar.setEmbeddedTabView(tabScroller); in ensureTabsExist()
360 mDecorToolbar.getViewGroup(), false)); in setCustomView()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java63 private DecorToolbar mDecorToolbar; field in ActionBarOverlayLayout
412 if (mDecorToolbar.isSplit()) {
574 mDecorToolbar = getDecorToolbar(findViewById(com.android.internal.R.id.action_bar));
663 mDecorToolbar.setWindowCallback(cb);
669 mDecorToolbar.setWindowTitle(title);
675 return mDecorToolbar.getTitle();
683 mDecorToolbar.initProgress();
686 mDecorToolbar.initIndeterminateProgress();
705 if (mActionBarBottom != null && mDecorToolbar.canSplit()) {
706 mDecorToolbar.setSplitView(mActionBarBottom);
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java65 private DecorToolbar mDecorToolbar; field in ActionBarOverlayLayout
532 mDecorToolbar = getDecorToolbar(findViewById(R.id.action_bar)); in pullChildren()
609 mDecorToolbar.setWindowCallback(cb); in setWindowCallback()
615 mDecorToolbar.setWindowTitle(title); in setWindowTitle()
621 return mDecorToolbar.getTitle(); in getTitle()
629 mDecorToolbar.initProgress(); in initFeature()
632 mDecorToolbar.initIndeterminateProgress(); in initFeature()
648 return mDecorToolbar.hasIcon(); in hasIcon()
654 return mDecorToolbar.hasLogo(); in hasLogo()
660 mDecorToolbar.setIcon(resId); in setIcon()
[all …]