/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | ActionBarWrapper.java | 11 private final ActionBar mActionBar; field in ActionBarWrapper 28 mActionBar = actionBar; in ActionBarWrapper() 33 mActionBar.setDisplayHomeAsUpEnabled(showHomeAsUp); in setDisplayHomeAsUpEnabled() 38 mActionBar.addOnMenuVisibilityListener(new MenuVisiblityListenerWrapper(listener)); in addOnMenuVisibilityListener() 43 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE); in setDisplayOptionsShowTitle() 48 return mActionBar.getTitle(); in getTitle() 53 mActionBar.setTitle(title); in setTitle() 58 mActionBar.setSubtitle(subtitle); in setSubtitle() 63 mActionBar.show(); in show() 68 mActionBar.hide(); in hide() [all …]
|
D | PhotoViewActivity.java | 35 private ActionBarWrapper mActionBar; field in PhotoViewActivity 124 if (mActionBar == null) { in getActionBarInterface() 125 mActionBar = new ActionBarWrapper(getActionBar()); in getActionBarInterface() 127 return mActionBar; in getActionBarInterface()
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | ActionBarWrapper.java | 12 private final ActionBar mActionBar; field in ActionBarWrapper 29 mActionBar = actionBar; in ActionBarWrapper() 34 mActionBar.setDisplayHomeAsUpEnabled(showHomeAsUp); in setDisplayHomeAsUpEnabled() 39 mActionBar.addOnMenuVisibilityListener(new MenuVisiblityListenerWrapper(listener)); in addOnMenuVisibilityListener() 44 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE); in setDisplayOptionsShowTitle() 49 return mActionBar.getTitle(); in getTitle() 54 mActionBar.setTitle(title); in setTitle() 59 mActionBar.setSubtitle(subtitle); in setSubtitle() 64 mActionBar.show(); in show() 69 mActionBar.hide(); in hide() [all …]
|
D | PhotoViewActivity.java | 35 private ActionBarWrapper mActionBar; field in PhotoViewActivity 124 if (mActionBar == null) { in getActionBarInterface() 125 mActionBar = new ActionBarWrapper(getSupportActionBar()); in getActionBarInterface() 127 return mActionBar; in getActionBarInterface()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 55 @NonNull private FrameworkActionBarWrapper mActionBar; field in FrameworkActionBar 68 mActionBar = FrameworkActionBarWrapper.getActionBarWrapper(context, getCallBack(), in FrameworkActionBar() 85 mActionBar.inflateMenus(); in FrameworkActionBar() 108 mActionBar.setupActionBar(); in setupActionBar() 113 mActionBar.setHomeAsUp(homeAsUp); in setHomeAsUp() 118 mActionBar.setTitle(title); in setTitle() 123 mActionBar.setSubTitle(subtitle); in setSubtitle() 128 mActionBar.setIcon(icon); in setIcon() 142 MenuBuilder menu = mActionBar.getMenuBuilder(); in createMenuPopup() 143 OverflowMenuAdapter adapter = new OverflowMenuAdapter(menu, mActionBar.getPopupContext()); in createMenuPopup() [all …]
|
D | FrameworkActionBarWrapper.java | 57 @NonNull protected ActionBar mActionBar; field in FrameworkActionBarWrapper 84 mActionBar = actionBar; in FrameworkActionBarWrapper() 95 mActionBar.setTitle(title); in setTitle() 100 mActionBar.setSubtitle(subTitle); in setSubTitle() 105 mActionBar.setDisplayHomeAsUpEnabled(homeAsUp); in setHomeAsUp() 148 return mActionBar.getThemedContext(); in getActionMenuContext() 248 @NonNull private final WindowDecorActionBar mActionBar; field in FrameworkActionBarWrapper.WindowActionBarWrapper 258 mActionBar = ((WindowDecorActionBar) super.mActionBar); in WindowActionBarWrapper() 267 mActionBar.setNavigationMode(navMode); in setupActionBar() 287 if (!mActionBar.hasIcon() && icon != null) { in setIcon() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 101 private ActionBar mActionBar; field in Dialog 229 return mActionBar; in getActionBar() 301 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show() 305 mActionBar = new WindowDecorActionBar(this); in show() 414 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(true); in onStart() 421 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); in onStop() 873 mActionBar.dispatchMenuVisibilityChanged(true); in onMenuOpened() 890 mActionBar.dispatchMenuVisibilityChanged(false); in onPanelClosed() 1040 if (mActionBar != null && mActionModeTypeStarting == ActionMode.TYPE_PRIMARY) { in onWindowStartingActionMode() 1041 return mActionBar.startActionMode(callback); in onWindowStartingActionMode()
|
D | Activity.java | 745 /*package*/ ActionBar mActionBar = null; field in Activity 906 if (mActionBar == null) { in onCreate() 909 mActionBar.setDefaultDisplayHomeAsUpEnabled(true); in onCreate() 1228 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(true); in onPostResume() 1612 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); in onStop() 1734 if (mActionBar != null) { in onConfigurationChanged() 1737 mActionBar.onConfigurationChanged(newConfig); in onConfigurationChanged() 2101 return mActionBar; in getActionBar() 2129 mActionBar = tbab; in setActionBar() 2131 mActionBar.invalidateOptionsMenu(); in setActionBar() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplBase.java | 44 ActionBar mActionBar; field in AppCompatDelegateImplBase 88 return mActionBar; in getSupportActionBar() 92 return mActionBar; in peekSupportActionBar() 101 mActionBar != null ? mActionBar.getThemedContext() : mContext); in getMenuInflater()
|
D | AppCompatDelegateImplV7.java | 173 if (!mHasActionBar || mActionBar != null) { in initWindowDecorActionBar() 178 mActionBar = new WindowDecorActionBar((Activity) mOriginalWindowCallback, in initWindowDecorActionBar() 181 mActionBar = new WindowDecorActionBar((Dialog) mOriginalWindowCallback); in initWindowDecorActionBar() 183 if (mActionBar != null) { in initWindowDecorActionBar() 184 mActionBar.setDefaultDisplayHomeAsUpEnabled(mEnableDefaultActionBarUp); in initWindowDecorActionBar() 206 mActionBar = tbab; in setSupportActionBar()
|
/frameworks/base/docs/html/training/backward-compatible-ui/ |
D | new-implementation.jd | 92 ActionBar mActionBar; 96 if (mActionBar == null) { 97 mActionBar = mActivity.getActionBar(); 98 mActionBar.setNavigationMode( 107 mActionBar.addTab((ActionBar.Tab) tab.getTab());
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 691 private DocumentsToolBar mActionBar; field in BaseActivity.SearchManager 696 assert(mActionBar == null); in install() 697 mActionBar = actionBar; in install() 701 mActionBar.setOnActionViewCollapsedListener(this); in install() 758 if (mActionBar.hasExpandedActionView()) { in cancelSearch() 759 mActionBar.collapseActionView(); in cancelSearch()
|