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.java47 private ActionBar mActionBar; field in GalleryActionBar
136 mActionBar = ((Activity) activity).getActionBar(); in GalleryActionBar()
157 return mActionBar != null ? mActionBar.getHeight() : 0; in getHeight()
183 if (mActionBar != null) { in enableClusterMenu()
186 mActionBar.setListNavigationCallbacks(mAdapter, this); in enableClusterMenu()
187 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); in enableClusterMenu()
197 if (mActionBar != null) { in disableClusterMenu()
200 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in disableClusterMenu()
224 if (mActionBar != null) { in setDisplayOptions()
227 mActionBar.setDisplayOptions(options, in setDisplayOptions()
[all …]
DAlbumSetPage.java86 private GalleryActionBar mActionBar; field in AlbumSetPage
127 int slotViewTop = mActionBar.getHeight();
279 mActionBar = mActivity.getGalleryActionBar(); in onCreate()
328 mActionBar.disableClusterMenu(false); in onPause()
350 mActionBar.enableClusterMenu(mSelectedAction, this); in onResume()
427 mActionBar.setTitle(id); in onCreateActionBar()
430 mActionBar.setTitle(R.string.select_album); in onCreateActionBar()
438 mActionBar.getClusterTypeAction() == FilterUtils.CLUSTER_BY_ALBUM; in onCreateActionBar()
446 FilterUtils.setupMenuItems(mActionBar, mMediaSet.getPath(), false); in onCreateActionBar()
455 mActionBar.setTitle(mTitle); in onCreateActionBar()
[all …]
DAbstractGalleryActivity.java46 private GalleryActionBar mActionBar; field in AbstractGalleryActivity
232 if (mActionBar == null) { in getGalleryActionBar()
233 mActionBar = new GalleryActionBar(this); in getGalleryActionBar()
235 return mActionBar; in getGalleryActionBar()
DPhotoPage.java117 private GalleryActionBar mActionBar; field in PhotoPage
167 mDetailsHelper.layout(left, mActionBar.getHeight(), right, bottom);
174 mActionBar = mActivity.getGalleryActionBar(); in onCreate()
359 mActionBar.setTitle(mCurrentPhoto.getName()); in updateTitle()
361 mActionBar.setTitle(""); in updateTitle()
400 mActionBar.show(); in showBars()
408 mActionBar.hide(); in hideBars()
856 mActionBar.removeOnMenuVisibilityListener(mMenuVisibilityListener); in onPause()
880 mActionBar.setDisplayOptions(mSetPathString != null, true); in onResume()
881 mActionBar.addOnMenuVisibilityListener(mMenuVisibilityListener); in onResume()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java80 private final ActionBar mActionBar; field in ActionBarAdapter
131 mActionBar = actionBar; in ActionBarAdapter()
149 View customSearchView = LayoutInflater.from(mActionBar.getThemedContext()).inflate( in ActionBarAdapter()
168 mActionBar.setCustomView(customSearchView, layoutParams); in ActionBarAdapter()
193 mActionBar.setListNavigationCallbacks(navAdapter, mNavigationListener); in setupNavigationList()
258 final Tab tab = mActionBar.newTab(); in addTab()
266 mActionBar.addTab(tab); in addTab()
317 final int actionBarSelectedNavIndex = mActionBar.getSelectedNavigationIndex(); in setCurrentTab()
318 switch(mActionBar.getNavigationMode()) { in setCurrentTab()
321 mActionBar.setSelectedNavigationItem(mCurrentTab); in setCurrentTab()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java147 private ActionBar mActionBar; field in AllInOneActivity
465 mActionBar.setDisplayOptions( in configureActionBar()
468 mActionBar.setDisplayOptions(0); in configureActionBar()
473 mActionBar = getActionBar(); in createTabs()
474 if (mActionBar == null) { in createTabs()
477 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in createTabs()
478 mDayTab = mActionBar.newTab(); in createTabs()
481 mActionBar.addTab(mDayTab); in createTabs()
482 mWeekTab = mActionBar.newTab(); in createTabs()
485 mActionBar.addTab(mWeekTab); in createTabs()
[all …]
/packages/apps/Browser/src/com/android/browser/
DXLargeUi.java48 private ActionBar mActionBar; field in XLargeUi
64 mActionBar = mActivity.getActionBar(); in XLargeUi()
70 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in setupActionBar()
71 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); in setupActionBar()
72 mActionBar.setCustomView(mTabBar); in setupActionBar()
78 mActionBar.show(); in showComboView()
87 mActionBar.show(); in setUseQuickControls()
100 mActionBar.hide(); in checkHideActionBar()
DComboViewActivity.java167 private final ActionBar mActionBar; field in ComboViewActivity.TabsAdapter
184 mActionBar = activity.getActionBar(); in TabsAdapter()
195 mActionBar.addTab(tab); in addTab()
216 mActionBar.setSelectedNavigationItem(position); in onPageSelected()
/packages/apps/Email/src/com/android/email/activity/
DMessageFileView.java37 private ActionBar mActionBar; field in MessageFileView
49 mActionBar = getActionBar(); in onCreate()
50 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_HOME_AS_UP in onCreate()
96 mActionBar.setTitle(getString(R.string.eml_view_title, filename)); in setTitle()
DActionBarController.java67 private final ActionBar mActionBar; field in ActionBarController
203 mActionBar = actionBar; in ActionBarController()
211 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_SHOW_CUSTOM); in ActionBarController()
214 mActionBar.setCustomView(R.layout.action_bar_custom_view); in ActionBarController()
215 mActionBarCustomView = (ViewGroup) mActionBar.getCustomView(); in ActionBarController()
364 mActionBar.setDisplayOptions(showUp in refreshInernal()
/packages/apps/Camera/src/com/android/camera/
DActivityBase.java82 protected GalleryActionBar mActionBar; field in ActivityBase
179 mActionBar = new GalleryActionBar(this); in setContentView()
180 mActionBar.hide(); in setContentView()
418 return mActionBar; in getGalleryActionBar()