/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 274 mDetailsHelper.layout(left, mActionBar.getHeight(), right, bottom); 282 mActionBar = mActivity.getGalleryActionBar(); in onCreate() 396 mActionBar.setShareIntents(panoramaIntent, shareIntent, PhotoPage.this); in onCreate() 804 Menu menu = mActionBar.getMenu(); in updateMenuOperations() 845 mActionBar.show(); in showBars() 854 mActionBar.hide(); in hideBars() 985 mActionBar.createActionBarMenu(R.menu.photo, menu); in onCreateActionBar() 988 mActionBar.setTitle(mMediaSet != null ? mMediaSet.getName() : ""); in onCreateActionBar() 1350 mActionBar.removeOnMenuVisibilityListener(mMenuVisibilityListener); in onPause() [all …]
|
D | AbstractGalleryActivity.java | 54 private GalleryActionBar mActionBar; field in AbstractGalleryActivity 265 if (mActionBar == null) { in getGalleryActionBar() 266 mActionBar = new GalleryActionBar(this); in getGalleryActionBar() 268 return mActionBar; in getGalleryActionBar()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 79 private final ActionBar mActionBar; field in ActionBarAdapter 130 mActionBar = actionBar; in ActionBarAdapter() 148 View customSearchView = LayoutInflater.from(mActionBar.getThemedContext()).inflate( in ActionBarAdapter() 167 mActionBar.setCustomView(customSearchView, layoutParams); in ActionBarAdapter() 192 mActionBar.setListNavigationCallbacks(navAdapter, mNavigationListener); in setupNavigationList() 257 final Tab tab = mActionBar.newTab(); in addTab() 265 mActionBar.addTab(tab); in addTab() 316 final int actionBarSelectedNavIndex = mActionBar.getSelectedNavigationIndex(); in setCurrentTab() 317 switch(mActionBar.getNavigationMode()) { in setCurrentTab() 320 mActionBar.setSelectedNavigationItem(mCurrentTab); in setCurrentTab() [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/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 70 private ActionBar mActionBar; field in DeskClock 101 if (mActionBar != null) { in onNewIntent() 102 mActionBar.setSelectedNavigationItem(tab); in onNewIntent() 116 mActionBar.setSelectedNavigationItem(mSelectedTab); in initViews() 120 mActionBar = getActionBar(); in createTabs() 122 mActionBar.setDisplayOptions(0); in createTabs() 123 if (mActionBar != null) { in createTabs() 124 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in createTabs() 125 mTimerTab = mActionBar.newTab(); in createTabs() 130 mClockTab = mActionBar.newTab(); in createTabs() [all …]
|
/packages/apps/Email/src/com/android/email/activity/ |
D | ActionBarController.java | 77 private final ActionBar mActionBar; field in ActionBarController 215 mActionBar = actionBar; in ActionBarController() 226 mActionBar.setCustomView(R.layout.action_bar_custom_view); in ActionBarController() 227 mActionBarCustomView = (ViewGroup) mActionBar.getCustomView(); in ActionBarController() 386 mActionBar.setDisplayOptions(showUp in refreshInernal() 486 mActionBar.setTitle(builder); in updateTitle() 487 mActionBar.setSubtitle(null); in updateTitle() 490 mActionBar.setTitle(mAllFoldersLabel); in updateTitle() 491 mActionBar.setSubtitle(mCursor.getAccountDisplayName()); in updateTitle() 528 mActionBar.setDisplayOptions(CUSTOM_ACTION_BAR_OPTIONS, ACTION_BAR_MASK); in enterCustomActionBarMode() [all …]
|
D | MessageFileView.java | 37 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()
|
/packages/apps/Browser/src/com/android/browser/ |
D | XLargeUi.java | 48 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()
|
D | ComboViewActivity.java | 171 private final ActionBar mActionBar; field in ComboViewActivity.TabsAdapter 188 mActionBar = activity.getActionBar(); in TabsAdapter() 199 mActionBar.addTab(tab); in addTab() 220 mActionBar.setSelectedNavigationItem(position); in onPageSelected()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | GalleryActivity.java | 96 private final ActionBar mActionBar; field in GalleryActivity.TabsAdapter 114 mActionBar = activity.getActionBar(); in TabsAdapter() 125 mActionBar.addTab(tab); in addTab() 148 mActionBar.setSelectedNavigationItem(position); in onPageSelected()
|
/packages/apps/Gallery2/src/com/android/camera/ |
D | ActivityBase.java | 81 protected GalleryActionBar mActionBar; field in ActivityBase 242 mActionBar = new GalleryActionBar(this); in setContentView() 243 mActionBar.hide(); in setContentView() 476 return mActionBar; in getGalleryActionBar()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ActivityBase.java | 80 protected GalleryActionBar mActionBar; field in ActivityBase 241 mActionBar = new GalleryActionBar(this); in setContentView() 242 mActionBar.hide(); in setContentView() 475 return mActionBar; in getGalleryActionBar()
|