Home
last modified time | relevance | path

Searched refs:mActionBar (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActionBar.java54 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 …]
DAlbumSetPage.java93 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 …]
DPhotoPage.java145 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 …]
DAbstractGalleryActivity.java58 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/
DActionBarController.java51 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/
DAllInOneActivity.java143 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/
DGalleryActivity.java97 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/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java102 private final ActionBar mActionBar; field in ActionBarAdapter
126 mActionBar = actionBar; in ActionBarAdapter()
350 final int current = mActionBar.getDisplayOptions() & MASK; in updateDisplayOptionsInner()
387 mActionBar.setDisplayOptions(newFlags, MASK); in updateDisplayOptionsInner()
/packages/apps/Dialer/src/com/android/dialer/list/
DListsFragment.java79 private ActionBar mActionBar; field in ListsFragment
209 mActionBar = ((AppCompatActivity) getActivity()).getSupportActionBar(); in onResume()
434 return mActionBar != null; in shouldShowActionBar()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java388 private ActionBar mActionBar; field in SettingsActivity
629 mActionBar = getActionBar(); in onCreate()
630 if (mActionBar != null) { in onCreate()
631 mActionBar.setDisplayHomeAsUpEnabled(mDisplayHomeAsUpEnabled); in onCreate()
632 mActionBar.setHomeButtonEnabled(mDisplayHomeAsUpEnabled); in onCreate()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java248 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()