/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/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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 53 @NonNull private FrameworkActionBarWrapper mActionBar; field in FrameworkActionBar 66 mActionBar = FrameworkActionBarWrapper.getActionBarWrapper(context, getCallBack(), in FrameworkActionBar() 83 mActionBar.inflateMenus(); in FrameworkActionBar() 106 mActionBar.setupActionBar(); in setupActionBar() 111 mActionBar.setHomeAsUp(homeAsUp); in setHomeAsUp() 116 mActionBar.setTitle(title); in setTitle() 121 mActionBar.setSubTitle(subtitle); in setSubtitle() 126 mActionBar.setIcon(icon); in setIcon() 140 MenuBuilder menu = mActionBar.getMenuBuilder(); in createMenuPopup() 141 OverflowMenuAdapter adapter = new OverflowMenuAdapter(menu, mActionBar.getPopupContext()); in createMenuPopup() [all …]
|
D | FrameworkActionBarWrapper.java | 56 @NonNull protected ActionBar mActionBar; field in FrameworkActionBarWrapper 83 mActionBar = actionBar; in FrameworkActionBarWrapper() 94 mActionBar.setTitle(title); in setTitle() 99 mActionBar.setSubtitle(subTitle); in setSubTitle() 104 mActionBar.setDisplayHomeAsUpEnabled(homeAsUp); in setHomeAsUp() 139 return mActionBar.getThemedContext(); in getActionMenuContext() 244 @NonNull private final WindowDecorActionBar mActionBar; field in FrameworkActionBarWrapper.WindowActionBarWrapper 254 mActionBar = (WindowDecorActionBar) super.mActionBar; in WindowActionBarWrapper() 263 mActionBar.setNavigationMode(navMode); in setupActionBar() 283 if (!mActionBar.hasIcon() && icon != null) { in setIcon() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionBarShadowControllerTest.java | 57 private ActionBar mActionBar; field in ActionBarShadowControllerTest 65 when(mActivity.getActionBar()).thenReturn(mActionBar); in setUp() 77 verify(mActionBar).setElevation(ActionBarShadowController.ELEVATION_LOW); in attachToView_shouldAddScrollWatcherAndUpdateActionBar() 86 verify(mActionBar).setElevation(ActionBarShadowController.ELEVATION_LOW); in attachToView_scrollView_shouldAddScrollWatcherAndUpdateActionBar()
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 112 private ActionBar mActionBar; field in Dialog 252 return mActionBar; in getActionBar() 329 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show() 333 mActionBar = new WindowDecorActionBar(this); in show() 444 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(true); in onStart() 451 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); in onStop() 956 mActionBar.dispatchMenuVisibilityChanged(true); in onMenuOpened() 975 mActionBar.dispatchMenuVisibilityChanged(false); in onPanelClosed() 1125 if (mActionBar != null && mActionModeTypeStarting == ActionMode.TYPE_PRIMARY) { in onWindowStartingActionMode() 1126 return mActionBar.startActionMode(callback); in onWindowStartingActionMode()
|
D | Activity.java | 884 /*package*/ ActionBar mActionBar = null; field in Activity 1587 if (mActionBar == null) { in onCreate() 1590 mActionBar.setDefaultDisplayHomeAsUpEnabled(true); in onCreate() 1990 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(true); in onPostResume() 2620 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); in onStop() 2703 if (mActionBar != null) { in onDestroy() 2704 mActionBar.onDestroy(); in onDestroy() 3026 if (mActionBar != null) { in onConfigurationChanged() 3029 mActionBar.onConfigurationChanged(newConfig); in onConfigurationChanged() 3440 return mActionBar; in getActionBar() [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 1340 Landroid/app/Activity;->mActionBar:Landroid/app/ActionBar; 4742 Landroid/app/Dialog;->mActionBar:Landroid/app/ActionBar;
|