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.java142 private GalleryActionBar mActionBar; field in PhotoPage
243 mDetailsHelper.layout(left, mActionBar.getHeight(), right, bottom);
251 mActionBar = mActivity.getGalleryActionBar(); in onCreate()
361 mActionBar.setShareIntents(panoramaIntent, shareIntent, PhotoPage.this); in onCreate()
736 Menu menu = mActionBar.getMenu(); in updateMenuOperations()
780 mActionBar.show(); in showBars()
789 mActionBar.hide(); in hideBars()
921 mActionBar.createActionBarMenu(R.menu.photo, menu); in onCreateActionBar()
924 mActionBar.setTitle(mMediaSet != null ? mMediaSet.getName() : ""); in onCreateActionBar()
1284 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.kt106 private var mActionBar: ActionBar? = null variable in com.android.calendar.AllInOneActivity
384 mActionBar?.setDisplayOptions( in configureActionBar()
388 mActionBar?.setDisplayOptions(0) in configureActionBar()
395 mActionBar = getActionBar() in createButtonsSpinner()
396 mActionBar?.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST) in createButtonsSpinner()
397 mActionBar?.setListNavigationCallbacks(mActionBarMenuSpinnerAdapter, this) in createButtonsSpinner()
401 ViewType.DAY -> mActionBar?.setSelectedNavigationItem(BUTTON_DAY_INDEX) in createButtonsSpinner()
402 ViewType.WEEK -> mActionBar?.setSelectedNavigationItem(BUTTON_WEEK_INDEX) in createButtonsSpinner()
403 ViewType.MONTH -> mActionBar?.setSelectedNavigationItem(BUTTON_MONTH_INDEX) in createButtonsSpinner()
404 else -> 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.java245 private ActionBar mActionBar; field in CameraActivity
619 mActionBar.hide();
807 if (visible != mActionBar.isShowing()) { in setFilmstripUiVisibility()
809 mActionBar.show(); in setFilmstripUiVisibility()
812 mActionBar.hide(); in setFilmstripUiVisibility()
1510 mActionBar = getActionBar(); in onCreateTasks()
1513 mActionBar.setBackgroundDrawable(new ColorDrawable(0x00000000)); in onCreateTasks()
1515 mActionBar.setBackgroundDrawable(new ColorDrawable(0x80000000)); in onCreateTasks()
2036 mActionBar.setDisplayShowHomeEnabled(false); in resume()