Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java45 private DecorToolbar mDecorToolbar; field in ToolbarActionBar
70 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar()
72 mDecorToolbar.setWindowCallback(mWindowCallback); in ToolbarActionBar()
74 mDecorToolbar.setWindowTitle(title); in ToolbarActionBar()
91 mDecorToolbar.setCustomView(view); in setCustomView()
96 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); in setCustomView()
97 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); in setCustomView()
102 mDecorToolbar.setIcon(resId); in setIcon()
107 mDecorToolbar.setIcon(icon); in setIcon()
112 mDecorToolbar.setLogo(resId); in setLogo()
[all …]
DWindowDecorActionBar.java82 private DecorToolbar mDecorToolbar; field in WindowDecorActionBar
198 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init()
206 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init()
211 mContext = mDecorToolbar.getContext(); in init()
212 mContextDisplayMode = mDecorToolbar.isSplit() ? in init()
216 final int current = mDecorToolbar.getDisplayOptions(); in init()
271 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs()
275 mDecorToolbar.setEmbeddedTabView(mTabScrollView); in setHasEmbeddedTabs()
288 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); in setHasEmbeddedTabs()
301 mDecorToolbar.setEmbeddedTabView(tabScroller); in ensureTabsExist()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java65 private DecorToolbar mDecorToolbar; field in ActionBarOverlayLayout
422 if (mDecorToolbar.isSplit()) {
591 mDecorToolbar = getDecorToolbar(findViewById(com.android.internal.R.id.action_bar));
681 mDecorToolbar.setWindowCallback(cb);
687 mDecorToolbar.setWindowTitle(title);
693 return mDecorToolbar.getTitle();
701 mDecorToolbar.initProgress();
704 mDecorToolbar.initIndeterminateProgress();
723 if (mActionBarBottom != null && mDecorToolbar.canSplit()) {
724 mDecorToolbar.setSplitView(mActionBarBottom);
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java199 Object mDecorToolbar = getFieldValue(mWindowDecorActionBar, "mDecorToolbar"); in inflateMenus() local
200 if (mDecorToolbar == null) { in inflateMenus()
204 Class<?> mDecorToolbarClass = mDecorToolbar.getClass(); in inflateMenus()
209 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); in inflateMenus()
213 invoke(findMethod(mDecorToolbarClass, "setMenu"), mDecorToolbar, menuBuilder, null); in inflateMenus() local