/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActionBar.java | 54 private ActionBar mActionBar; field in GalleryActionBar 162 view.getText1().setText(mActionBar.getTitle()); in getView() 189 mActionBar = activity.getActionBar(); in GalleryActionBar() 210 return mActionBar != null ? mActionBar.getHeight() : 0; in getHeight() 236 if (mActionBar != null) { in enableClusterMenu() 239 mActionBar.setListNavigationCallbacks(mAdapter, this); in enableClusterMenu() 240 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); in enableClusterMenu() 250 if (mActionBar != null) { in disableClusterMenu() 253 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in disableClusterMenu() 259 if (mActionBar != null && mAlbumModeListener != null) { in onConfigurationChanged() [all …]
|
D | AlbumSetPage.java | 93 private GalleryActionBar mActionBar; field in AlbumSetPage 135 int slotViewTop = mActionBar.getHeight() + mConfig.paddingTop; 331 mActionBar = mActivity.getGalleryActionBar(); in onCreate() 446 mActionBar.disableClusterMenu(false); in onPause() 468 mActionBar.enableClusterMenu(mSelectedAction, this); in onResume() 538 mActionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar() 541 mActionBar.setTitle(R.string.select_album); in onCreateActionBar() 547 mActionBar.getClusterTypeAction() == FilterUtils.CLUSTER_BY_ALBUM; in onCreateActionBar() 555 FilterUtils.setupMenuItems(mActionBar, mMediaSet.getPath(), false); in onCreateActionBar() 563 mActionBar.setTitle(mTitle); in onCreateActionBar() [all …]
|
D | PhotoPage.java | 145 private GalleryActionBar mActionBar; field in PhotoPage 248 mDetailsHelper.layout(left, mActionBar.getHeight(), right, bottom); 256 mActionBar = mActivity.getGalleryActionBar(); in onCreate() 366 mActionBar.setShareIntents(panoramaIntent, shareIntent, PhotoPage.this); in onCreate() 763 Menu menu = mActionBar.getMenu(); in updateMenuOperations() 807 mActionBar.show(); in showBars() 816 mActionBar.hide(); in hideBars() 948 mActionBar.createActionBarMenu(R.menu.photo, menu); in onCreateActionBar() 951 mActionBar.setTitle(mMediaSet != null ? mMediaSet.getName() : ""); in onCreateActionBar() 1312 mActionBar.removeOnMenuVisibilityListener(mMenuVisibilityListener); in onPause() [all …]
|
D | AbstractGalleryActivity.java | 58 private GalleryActionBar mActionBar; field in AbstractGalleryActivity 269 if (mActionBar == null) { in getGalleryActionBar() 270 mActionBar = new GalleryActionBar(this); in getGalleryActionBar() 272 return mActionBar; in getGalleryActionBar()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionBarController.java | 51 protected ActionBar mActionBar; field in ActionBarController 137 mActionBar = actionBar; in initialize() 197 mActionBar.setDisplayHomeAsUpEnabled(true); in onViewModeChanged() 203 mActionBar.setDisplayHomeAsUpEnabled(true); in onViewModeChanged() 209 mActionBar.setDisplayHomeAsUpEnabled(true); in onViewModeChanged() 291 if (!TextUtils.equals(title, mActionBar.getTitle())) { in setTitle() 292 mActionBar.setTitle(title); in setTitle() 308 if (mActionBar == null) { in removeBackButton() 313 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME, mask); in removeBackButton() 314 mActionBar.setHomeButtonEnabled(false); in removeBackButton() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 143 private ActionBar mActionBar; field in AllInOneActivity 464 mActionBar.setDisplayOptions( in configureActionBar() 467 mActionBar.setDisplayOptions(0); in configureActionBar() 474 mActionBar = getActionBar(); in createButtonsSpinner() 475 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); in createButtonsSpinner() 476 mActionBar.setListNavigationCallbacks(mActionBarMenuSpinnerAdapter, this); in createButtonsSpinner() 479 mActionBar.setSelectedNavigationItem(BUTTON_AGENDA_INDEX); in createButtonsSpinner() 482 mActionBar.setSelectedNavigationItem(BUTTON_DAY_INDEX); in createButtonsSpinner() 485 mActionBar.setSelectedNavigationItem(BUTTON_WEEK_INDEX); in createButtonsSpinner() 488 mActionBar.setSelectedNavigationItem(BUTTON_MONTH_INDEX); in createButtonsSpinner() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | GalleryActivity.java | 97 private final ActionBar mActionBar; field in GalleryActivity.TabsAdapter 115 mActionBar = activity.getActionBar(); in TabsAdapter() 126 mActionBar.addTab(tab); in addTab() 149 mActionBar.setSelectedNavigationItem(position); in onPageSelected()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | ActionBarShadowControllerTest.java | 56 private ActionBar mActionBar; field in ActionBarShadowControllerTest 63 when(mActivity.getActionBar()).thenReturn(mActionBar); in setUp() 74 verify(mActionBar).setElevation(ActionBarShadowController.ELEVATION_LOW); in attachToRecyclerView_shouldAddScrollWatcherAndUpdateActionBar()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 95 private final ActionBar mActionBar; field in ActionBarAdapter 119 mActionBar = actionBar; in ActionBarAdapter() 316 final int current = mActionBar.getDisplayOptions() & MASK; in updateDisplayOptionsInner() 359 mActionBar.setDisplayOptions(newFlags, MASK); in updateDisplayOptionsInner()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CameraActivity.java | 248 private ActionBar mActionBar; field in CameraActivity 624 mActionBar.hide(); 812 if (visible != mActionBar.isShowing()) { in setFilmstripUiVisibility() 814 mActionBar.show(); in setFilmstripUiVisibility() 817 mActionBar.hide(); in setFilmstripUiVisibility() 1538 mActionBar = getActionBar(); in onCreateTasks() 1541 mActionBar.setBackgroundDrawable(new ColorDrawable(0x00000000)); in onCreateTasks() 1543 mActionBar.setBackgroundDrawable(new ColorDrawable(0x80000000)); in onCreateTasks() 2026 mActionBar.setDisplayShowHomeEnabled(false); in resume()
|