Searched refs:mDecorToolbar (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 45 private DecorToolbar mDecorToolbar; field in class:ToolbarActionBar 70 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); 72 mDecorToolbar.setWindowCallback(mWindowCallback); 74 mDecorToolbar.setWindowTitle(title); 91 mDecorToolbar.setCustomView(view); 96 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); 97 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); 102 mDecorToolbar.setIcon(resId); 107 mDecorToolbar.setIcon(icon); 112 mDecorToolbar [all...] |
H A D | WindowDecorActionBar.java | 81 private DecorToolbar mDecorToolbar; field in class:WindowDecorActionBar 195 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); 203 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { 208 mContext = mDecorToolbar.getContext(); 209 mContextDisplayMode = mDecorToolbar.isSplit() ? 213 final int current = mDecorToolbar.getDisplayOptions(); 268 mDecorToolbar.setEmbeddedTabView(null); 272 mDecorToolbar.setEmbeddedTabView(mTabScrollView); 285 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); 298 mDecorToolbar [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
H A D | ToolbarActionBar.java | 45 DecorToolbar mDecorToolbar; field in class:ToolbarActionBar 69 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); 71 mDecorToolbar.setWindowCallback(mWindowCallback); 73 mDecorToolbar.setWindowTitle(title); 90 mDecorToolbar.setCustomView(view); 95 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); 96 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false)); 101 mDecorToolbar.setIcon(resId); 106 mDecorToolbar.setIcon(icon); 111 mDecorToolbar [all...] |
H A D | WindowDecorActionBar.java | 94 DecorToolbar mDecorToolbar; field in class:WindowDecorActionBar 199 mDecorToolbar = getDecorToolbar(decor.findViewById(R.id.action_bar)); 205 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { 210 mContext = mDecorToolbar.getContext(); 213 final int current = mDecorToolbar.getDisplayOptions(); 266 mDecorToolbar.setEmbeddedTabView(null); 270 mDecorToolbar.setEmbeddedTabView(mTabScrollView); 283 mDecorToolbar.setCollapsible(!mHasEmbeddedTabs && isInTabMode); 296 mDecorToolbar.setEmbeddedTabView(tabScroller); 365 mDecorToolbar [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 63 private DecorToolbar mDecorToolbar; field in class:ActionBarOverlayLayout 420 if (mDecorToolbar.isSplit()) { 589 mDecorToolbar = getDecorToolbar(findViewById(com.android.internal.R.id.action_bar)); 678 mDecorToolbar.setWindowCallback(cb); 684 mDecorToolbar.setWindowTitle(title); 690 return mDecorToolbar.getTitle(); 698 mDecorToolbar.initProgress(); 701 mDecorToolbar.initIndeterminateProgress(); 720 if (mActionBarBottom != null && mDecorToolbar.canSplit()) { 721 mDecorToolbar [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActionBarOverlayLayout.java | 68 private DecorToolbar mDecorToolbar; field in class:ActionBarOverlayLayout 539 mDecorToolbar = getDecorToolbar(findViewById(R.id.action_bar)); 616 mDecorToolbar.setWindowCallback(cb); 622 mDecorToolbar.setWindowTitle(title); 628 return mDecorToolbar.getTitle(); 636 mDecorToolbar.initProgress(); 639 mDecorToolbar.initIndeterminateProgress(); 655 return mDecorToolbar.hasIcon(); 661 return mDecorToolbar.hasLogo(); 667 mDecorToolbar [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | AppCompatActionBar.java | 211 Object mDecorToolbar = getFieldValue(mWindowDecorActionBar, "mDecorToolbar"); 212 if (mDecorToolbar == null) { 216 Class<?> mDecorToolbarClass = mDecorToolbar.getClass(); 221 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); 225 invoke(findMethod(mDecorToolbarClass, "setMenu"), mDecorToolbar, menuBuilder, null);
|
Completed in 42 milliseconds