Home
last modified time | relevance | path

Searched refs:mActionBar (Results 1 – 8 of 8) 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/Calendar/src/com/android/calendar/
DAllInOneActivity.java137 private ActionBar mActionBar; field in AllInOneActivity
423 mActionBar.setDisplayOptions( in configureActionBar()
426 mActionBar.setDisplayOptions(0); in configureActionBar()
433 mActionBar = getActionBar(); in createButtonsSpinner()
434 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); in createButtonsSpinner()
435 mActionBar.setListNavigationCallbacks(mActionBarMenuSpinnerAdapter, this); in createButtonsSpinner()
440 mActionBar.setSelectedNavigationItem(BUTTON_DAY_INDEX); in createButtonsSpinner()
443 mActionBar.setSelectedNavigationItem(BUTTON_WEEK_INDEX); in createButtonsSpinner()
446 mActionBar.setSelectedNavigationItem(BUTTON_MONTH_INDEX); in createButtonsSpinner()
449 mActionBar.setSelectedNavigationItem(BUTTON_DAY_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.java95 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/
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()
1541 mActionBar = getActionBar(); in onCreateTasks()
1544 mActionBar.setBackgroundDrawable(new ColorDrawable(0x00000000)); in onCreateTasks()
1546 mActionBar.setBackgroundDrawable(new ColorDrawable(0x80000000)); in onCreateTasks()
2066 mActionBar.setDisplayShowHomeEnabled(false); in resume()