/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperHoneycomb.java | 31 ActionBar mActionBar; 39 if (mActionBar == null) { 40 mActionBar = mActivity.getActionBar(); 41 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); 68 mActionBar.addTab((ActionBar.Tab) tab.getTab()); 73 int position = mActionBar.getSelectedTab().getPosition(); 80 mActionBar.setSelectedNavigationItem(position);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarImplICS.java | 33 final android.app.ActionBar mActionBar; 47 mActionBar = activity.getActionBar(); 74 mActionBar.setCustomView(view); 83 mActionBar.setCustomView(view, lp); 88 mActionBar.setCustomView(resId); 93 mActionBar.setIcon(resId); 98 mActionBar.setIcon(icon); 103 mActionBar.setLogo(resId); 108 mActionBar.setLogo(logo); 113 mActionBar.setListNavigationCallbacks(adapter [all...] |
ActionBarActivityDelegate.java | 60 private ActionBar mActionBar; 80 if (mActionBar == null) { 81 mActionBar = createSupportActionBar(); 84 mActionBar.setDisplayHomeAsUpEnabled(true); 89 mActionBar = null; 91 return mActionBar; 120 if (mActionBar == null) { 123 mActionBar.setDisplayHomeAsUpEnabled(true);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
SlidingPaneLayoutActivity.java | 69 private ActionBarHelper mActionBar; 88 mActionBar = createActionBarHelper(); 89 mActionBar.init(); 116 mActionBar.setTitle(Shakespeare.TITLES[position]); 127 mActionBar.onPanelOpened(); 132 mActionBar.onPanelClosed(); 145 mActionBar.onFirstLayout(); 176 private final ActionBar mActionBar; 181 mActionBar = getActionBar(); 186 mActionBar.setDisplayHomeAsUpEnabled(true) [all...] |
DrawerLayoutActivity.java | 75 private ActionBarHelper mActionBar; 96 mActionBar = createActionBarHelper(); 97 mActionBar.init(); 139 mActionBar.setTitle(Shakespeare.TITLES[position]); 157 mActionBar.onDrawerOpened(); 163 mActionBar.onDrawerClosed(); 202 private final ActionBar mActionBar; 207 mActionBar = getActionBar(); 212 mActionBar.setDisplayHomeAsUpEnabled(true); 213 mActionBar.setHomeButtonEnabled(true) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
GalleryActionBar.java | 54 private ActionBar mActionBar; 162 view.getText1().setText(mActionBar.getTitle()); 189 mActionBar = activity.getActionBar(); 210 return mActionBar != null ? mActionBar.getHeight() : 0; 236 if (mActionBar != null) { 239 mActionBar.setListNavigationCallbacks(mAdapter, this); 240 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); 250 if (mActionBar != null) { 253 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD) [all...] |
PhotoPage.java | 145 private GalleryActionBar mActionBar; 248 mDetailsHelper.layout(left, mActionBar.getHeight(), right, bottom); 256 mActionBar = mActivity.getGalleryActionBar(); 366 mActionBar.setShareIntents(panoramaIntent, shareIntent, PhotoPage.this); [all...] |
AbstractGalleryActivity.java | 58 private GalleryActionBar mActionBar; 269 if (mActionBar == null) { 270 mActionBar = new GalleryActionBar(this); 272 return mActionBar;
|
AlbumSetPage.java | 93 private GalleryActionBar mActionBar; 135 int slotViewTop = mActionBar.getHeight() + mConfig.paddingTop; 331 mActionBar = mActivity.getGalleryActionBar(); 446 mActionBar.disableClusterMenu(false); 468 mActionBar.enableClusterMenu(mSelectedAction, this); 538 mActionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); 541 mActionBar.setTitle(R.string.select_album); 547 mActionBar.getClusterTypeAction() == FilterUtils.CLUSTER_BY_ALBUM; 555 FilterUtils.setupMenuItems(mActionBar, mMediaSet.getPath(), false); 563 mActionBar.setTitle(mTitle) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarOverlayLayout.java | 37 private ActionBar mActionBar; 66 mActionBar = impl;
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
DesktopView.java | 40 private ActionBar mActionBar; 130 mActionBar = context.getActionBar(); 260 mActionBar.hide(); 365 mActionBar.show();
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
ActionBarTabsPager.java | 86 private final ActionBar mActionBar; 103 mActionBar = activity.getActionBar(); 114 mActionBar.addTab(tab); 135 mActionBar.setSelectedNavigationItem(position);
|
FragmentNestingPagerSupport.java | 84 private final ActionBar mActionBar; 101 mActionBar = activity.getActionBar(); 112 mActionBar.addTab(tab); 133 mActionBar.setSelectedNavigationItem(position);
|
FragmentNestingStatePagerSupport.java | 84 private final ActionBar mActionBar; 101 mActionBar = activity.getActionBar(); 112 mActionBar.addTab(tab); 133 mActionBar.setSelectedNavigationItem(position);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarOverlayLayout.java | 40 private ActionBarImpl mActionBar; 91 mActionBar = impl; 95 mActionBar.setWindowVisibility(mWindowVisibility); 143 final boolean wasVisible = mActionBar != null ? mActionBar.isSystemShowing() : true; 145 if (mActionBar != null) { 149 mActionBar.enableContentAnimations(!stable); 150 if (barVisible || !stable) mActionBar.showForSystem(); 151 else mActionBar.hideForSystem(); 154 if (mActionBar != null) [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ActionBarAdapter.java | 79 private final ActionBar mActionBar; 130 mActionBar = actionBar; 148 View customSearchView = LayoutInflater.from(mActionBar.getThemedContext()).inflate( 167 mActionBar.setCustomView(customSearchView, layoutParams); 192 mActionBar.setListNavigationCallbacks(navAdapter, mNavigationListener); 261 final Tab tab = mActionBar.newTab(); 269 mActionBar.addTab(tab); 320 final int actionBarSelectedNavIndex = mActionBar.getSelectedNavigationIndex(); 321 switch(mActionBar.getNavigationMode()) { 324 mActionBar.setSelectedNavigationItem(mCurrentTab) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
XLargeUi.java | 47 private ActionBar mActionBar; 63 mActionBar = mActivity.getActionBar(); 69 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); 70 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); 71 mActionBar.setCustomView(mTabBar); 77 mActionBar.show(); 86 mActionBar.show(); 99 mActionBar.hide();
|
ComboViewActivity.java | 163 private final ActionBar mActionBar; 180 mActionBar = activity.getActionBar(); 191 mActionBar.addTab(tab); 212 mActionBar.setSelectedNavigationItem(position);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | 145 private ActionBarView mActionBar; 362 } else if (mActionBar != null) { 363 mActionBar.setWindowTitle(title); 409 if (isActionBarMenu && mActionBar != null) { 412 mActionBar.setMenuPrepared(); 424 if (isActionBarMenu && mActionBar != null) { 428 mActionBar.setMenu(st.menu, mActionMenuPresenterCallback); 440 if (isActionBarMenu && mActionBar != null) { 442 mActionBar.setMenu(null, mActionMenuPresenterCallback); 465 if (isActionBarMenu && mActionBar != null) [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
GalleryActivity.java | 97 private final ActionBar mActionBar; 115 mActionBar = activity.getActionBar(); 126 mActionBar.addTab(tab); 149 mActionBar.setSelectedNavigationItem(position);
|
/packages/apps/Camera/src/com/android/camera/ |
ActivityBase.java | 80 protected GalleryActionBar mActionBar; 241 mActionBar = new GalleryActionBar(this); 242 mActionBar.hide(); 475 return mActionBar;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MailActionBarView.java | 72 protected ActionBar mActionBar; 183 final boolean runningMR11OrLater = actionBarSupportsNewMethods(mActionBar); 271 mActionBar = actionBar; 332 mActionBar.setDisplayHomeAsUpEnabled(true); 338 mActionBar.setDisplayHomeAsUpEnabled(true); 553 if (!TextUtils.equals(subtitle, mActionBar.getSubtitle())) { 554 mActionBar.setSubtitle(subtitle); 562 if (!TextUtils.equals(title, mActionBar.getTitle())) { 563 mActionBar.setTitle(title); 586 if (mActionBar == null) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CameraActivity.java | 173 private ActionBar mActionBar; 342 } else if (mActionBar.isShowing()) { 461 if (mActionBar.isShowing()) { 510 boolean currentActionBarVisibility = mActionBar.isShowing(); 513 mActionBar.show(); 515 mActionBar.hide(); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
DeskClock.java | 74 private ActionBar mActionBar; 109 if (mActionBar != null) { 110 mActionBar.setSelectedNavigationItem(tab); 125 mActionBar.setSelectedNavigationItem(mSelectedTab); 129 mActionBar = getActionBar(); 131 if (mActionBar != null) { 132 mActionBar.setDisplayOptions(0); 133 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); 135 mAlarmTab = mActionBar.newTab(); 140 mClockTab = mActionBar.newTab() [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 143 private ActionBar mActionBar; 464 mActionBar.setDisplayOptions( 467 mActionBar.setDisplayOptions(0); 474 mActionBar = getActionBar(); 475 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); 476 mActionBar.setListNavigationCallbacks(mActionBarMenuSpinnerAdapter, this); 479 mActionBar.setSelectedNavigationItem(BUTTON_AGENDA_INDEX); 482 mActionBar.setSelectedNavigationItem(BUTTON_DAY_INDEX); 485 mActionBar.setSelectedNavigationItem(BUTTON_WEEK_INDEX); 488 mActionBar.setSelectedNavigationItem(BUTTON_MONTH_INDEX) [all...] |