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()
87 mDecorToolbar.setCustomView(view); in setCustomView()
92 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); in setCustomView()
93 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); in setCustomView()
98 mDecorToolbar.setIcon(resId); in setIcon()
103 mDecorToolbar.setIcon(icon); in setIcon()
108 mDecorToolbar.setLogo(resId); in setLogo()
[all …]
DWindowDecorActionBar.java81 private DecorToolbar mDecorToolbar; field in WindowDecorActionBar
191 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init()
199 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init()
204 mContext = mDecorToolbar.getContext(); in init()
205 mContextDisplayMode = mDecorToolbar.isSplit() ? in init()
209 final int current = mDecorToolbar.getDisplayOptions(); in init()
264 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs()
268 mDecorToolbar.setEmbeddedTabView(mTabScrollView); in setHasEmbeddedTabs()
281 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); in setHasEmbeddedTabs()
294 mDecorToolbar.setEmbeddedTabView(tabScroller); in ensureTabsExist()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DToolbarActionBar.java53 private DecorToolbar mDecorToolbar; field in ToolbarActionBar
82 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar()
84 mDecorToolbar.setWindowCallback(mWindowCallback); in ToolbarActionBar()
86 mDecorToolbar.setWindowTitle(title); in ToolbarActionBar()
103 mDecorToolbar.setCustomView(view); in setCustomView()
108 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); in setCustomView()
109 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); in setCustomView()
114 mDecorToolbar.setIcon(resId); in setIcon()
119 mDecorToolbar.setIcon(icon); in setIcon()
124 mDecorToolbar.setLogo(resId); in setLogo()
[all …]
DWindowDecorActionBar.java91 private DecorToolbar mDecorToolbar; field in WindowDecorActionBar
201 mDecorToolbar = getDecorToolbar(decor.findViewById(R.id.action_bar)); in init()
209 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init()
214 mContext = mDecorToolbar.getContext(); in init()
215 mContextDisplayMode = mDecorToolbar.isSplit() ? in init()
219 final int current = mDecorToolbar.getDisplayOptions(); in init()
274 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs()
278 mDecorToolbar.setEmbeddedTabView(mTabScrollView); in setHasEmbeddedTabs()
291 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); in setHasEmbeddedTabs()
304 mDecorToolbar.setEmbeddedTabView(tabScroller); in ensureTabsExist()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java64 private DecorToolbar mDecorToolbar; field in ActionBarOverlayLayout
413 if (mDecorToolbar.isSplit()) {
575 mDecorToolbar = getDecorToolbar(findViewById(com.android.internal.R.id.action_bar));
664 mDecorToolbar.setWindowCallback(cb);
670 mDecorToolbar.setWindowTitle(title);
676 return mDecorToolbar.getTitle();
684 mDecorToolbar.initProgress();
687 mDecorToolbar.initIndeterminateProgress();
706 if (mActionBarBottom != null && mDecorToolbar.canSplit()) {
707 mDecorToolbar.setSplitView(mActionBarBottom);
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java63 private DecorToolbar mDecorToolbar; field in ActionBarOverlayLayout
418 if (mDecorToolbar.isSplit()) { in onMeasure()
583 mDecorToolbar = getDecorToolbar(findViewById(R.id.action_bar)); in pullChildren()
673 mDecorToolbar.setWindowCallback(cb); in setWindowCallback()
679 mDecorToolbar.setWindowTitle(title); in setWindowTitle()
685 return mDecorToolbar.getTitle(); in getTitle()
693 mDecorToolbar.initProgress(); in initFeature()
696 mDecorToolbar.initIndeterminateProgress(); in initFeature()
712 return mDecorToolbar.hasIcon(); in hasIcon()
718 return mDecorToolbar.hasLogo(); in hasLogo()
[all …]