Searched refs:mDecorToolbar (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 45 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 …]
|
D | WindowDecorActionBar.java | 83 private DecorToolbar mDecorToolbar; field in WindowDecorActionBar 199 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init() 207 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init() 212 mContext = mDecorToolbar.getContext(); in init() 213 mContextDisplayMode = mDecorToolbar.isSplit() ? in init() 217 final int current = mDecorToolbar.getDisplayOptions(); in init() 272 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs() 276 mDecorToolbar.setEmbeddedTabView(mTabScrollView); in setHasEmbeddedTabs() 289 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); in setHasEmbeddedTabs() 302 mDecorToolbar.setEmbeddedTabView(tabScroller); in ensureTabsExist() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarOverlayLayout.java | 67 private DecorToolbar mDecorToolbar; field in ActionBarOverlayLayout 476 if (mDecorToolbar.isSplit()) { 662 mDecorToolbar = getDecorToolbar(findViewById(com.android.internal.R.id.action_bar)); 752 mDecorToolbar.setWindowCallback(cb); 758 mDecorToolbar.setWindowTitle(title); 764 return mDecorToolbar.getTitle(); 772 mDecorToolbar.initProgress(); 775 mDecorToolbar.initIndeterminateProgress(); 794 if (mActionBarBottom != null && mDecorToolbar.canSplit()) { 795 mDecorToolbar.setSplitView(mActionBarBottom); [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | AppCompatActionBar.java | 215 Object mDecorToolbar = getFieldValue(mWindowDecorActionBar, "mDecorToolbar"); in inflateMenus() local 216 if (mDecorToolbar == null) { in inflateMenus() 220 Class<?> mDecorToolbarClass = mDecorToolbar.getClass(); in inflateMenus() 225 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); in inflateMenus() 229 invoke(findMethod(mDecorToolbarClass, "setMenu"), mDecorToolbar, menuBuilder, null); in inflateMenus() local
|