HomeSort by relevance Sort by last modified time
    Searched refs:ActionBar (Results 51 - 75 of 177) sorted by null

1 23 4 5 6 7 8

  /development/samples/ApiDemos/src/com/example/android/apis/view/
VideoPlayerActivity.java 19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
53 implements OnQueryTextListener, ActionBar.TabListener {
63 ActionBar.OnMenuVisibilityListener {
201 ActionBar bar = getActionBar();
248 getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
252 getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
ContentBrowserActivity.java 19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
52 implements OnQueryTextListener, ActionBar.TabListener {
177 ActionBar bar = getActionBar();
224 getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
228 getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
ContentBrowserNavActivity.java 19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
53 implements OnQueryTextListener, ActionBar.TabListener {
179 ActionBar bar = getActionBar();
226 getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
230 getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
TitlesFragment.java 19 import android.app.ActionBar;
47 public class TitlesFragment extends ListFragment implements ActionBar.TabListener {
86 ActionBar bar = getActivity().getActionBar();
88 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
132 // to the ListView in order to dodge the ActionBar. Ordinarily, that's not
133 // necessary, but we've set the ActionBar to "overlay" mode using our theme,
209 // the ActionBar. Which is necessary because the ActionBar is in overlay mode, meaning
211 // the ActionBar height can vary. Specifically, when on a small/normal size screen,
233 /* The following are callbacks implemented for the ActionBar.TabListener
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarOverlayLayout.java 22 import android.support.v7.app.ActionBar;
37 private ActionBar mActionBar;
65 public void setActionBar(ActionBar impl) {
ScrollingTabContainerView.java 21 import android.support.v7.app.ActionBar;
238 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) {
258 public void addTab(ActionBar.Tab tab, boolean setSelected) {
273 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) {
329 private ActionBar.Tab mTab;
339 void attach(ScrollingTabContainerView parent, ActionBar.Tab tab, boolean forList) {
350 public void bindTab(ActionBar.Tab tab) {
369 final ActionBar.Tab tab = mTab;
438 public ActionBar.Tab getTab() {
463 convertView = createTabView((ActionBar.Tab) getItem(position), true)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectVisibleCalendarsActivity.java 19 import android.app.ActionBar;
100 .setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP);
SelectSyncedCalendarsMultiAccountActivity.java 19 import android.app.ActionBar;
161 .setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
GalleryActionBar.java 20 import android.app.ActionBar;
21 import android.app.ActionBar.OnMenuVisibilityListener;
22 import android.app.ActionBar.OnNavigationListener;
54 private ActionBar mActionBar;
240 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
253 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
278 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
288 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
320 if (displayHomeAsUp) options |= ActionBar.DISPLAY_HOME_AS_UP;
321 if (showTitle) options |= ActionBar.DISPLAY_SHOW_TITLE
    [all...]
  /development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
SimpleUpActivity.java 21 import android.app.ActionBar;
PeerActivity.java 21 import android.app.ActionBar;
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoActivity.java 22 import android.app.ActionBar;
146 ActionBar bar = getActionBar();
148 bar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME);
CalendarSettingsActivity.java 21 import android.app.ActionBar;
95 .setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP);
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorActivity.java 19 import android.app.ActionBar;
94 ActionBar actionBar = getActionBar();
95 if (actionBar != null) {
109 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
110 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME |
111 ActionBar.DISPLAY_SHOW_TITLE);
112 actionBar.setCustomView(customActionBarView)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogActivity.java 18 import android.app.ActionBar;
22 import android.app.ActionBar.Tab;
23 import android.app.ActionBar.TabListener;
104 final ActionBar actionBar = getActionBar();
105 actionBar.selectTab(actionBar.getTabAt(position));
119 final ActionBar actionBar = getActionBar();
120 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS)
    [all...]
  /packages/apps/Settings/src/com/android/settings/location/
LocationSettings.java 19 import android.app.ActionBar;
150 activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
151 ActionBar.DISPLAY_SHOW_CUSTOM);
152 activity.getActionBar().setCustomView(mSwitch, new ActionBar.LayoutParams(
153 ActionBar.LayoutParams.WRAP_CONTENT,
154 ActionBar.LayoutParams.WRAP_CONTENT,
  /frameworks/base/core/java/com/android/internal/widget/
ScrollingTabContainerView.java 23 import android.app.ActionBar;
280 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) {
297 public void addTab(ActionBar.Tab tab, boolean setSelected) {
312 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) {
364 private ActionBar.Tab mTab;
369 public TabView(Context context, ActionBar.Tab tab, boolean forList) {
380 public void bindTab(ActionBar.Tab tab) {
398 event.setClassName(ActionBar.Tab.class.getName());
405 info.setClassName(ActionBar.Tab.class.getName());
420 final ActionBar.Tab tab = mTab
    [all...]
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
NewsReaderActivity.java 137 android.app.ActionBar actionBar = getActionBar();
138 actionBar.setDisplayShowTitleEnabled(false);
143 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler));
148 actionBar.setSelectedNavigationItem(selTab);
151 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothSettings.java 21 import android.app.ActionBar;
124 activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
125 ActionBar.DISPLAY_SHOW_CUSTOM);
126 activity.getActionBar().setCustomView(actionBarSwitch, new ActionBar.LayoutParams(
127 ActionBar.LayoutParams.WRAP_CONTENT,
128 ActionBar.LayoutParams.WRAP_CONTENT,
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
WordActivity.java 20 import android.app.ActionBar;
44 ActionBar actionBar = getActionBar();
45 actionBar.setDisplayHomeAsUpEnabled(true);
  /development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
CollectionDemoActivity.java 19 import android.app.ActionBar;
63 final ActionBar actionBar = getActionBar();
67 actionBar.setDisplayHomeAsUpEnabled(true);
  /packages/apps/Settings/src/com/android/settings/accessibility/
CaptionPropertiesFragment.java 19 import android.app.ActionBar;
178 final ActionBar actionBar = activity.getActionBar();
179 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM, ActionBar.DISPLAY_SHOW_CUSTOM);
181 final ActionBar.LayoutParams params = new ActionBar.LayoutParams(
182 ActionBar.LayoutParams.WRAP_CONTENT, ActionBar.LayoutParams.WRAP_CONTENT
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ShortcutNameActivity.java 19 import android.app.ActionBar;
70 ActionBar actionBar = getActionBar();
71 if (actionBar != null) {
72 actionBar.setIcon(R.mipmap.ic_launcher_shortcut_folder);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
HomeXLarge.java 22 import android.app.ActionBar;
34 ActionBar.Callback {
80 /** Implements ActionBar.Callback */
91 /** Implements ActionBar.Callback */
96 /** Implements ActionBar.Callback */
112 /** Implements ActionBar.Callback */
117 /** Implements ActionBar.Callback */
122 /** Implements ActionBar.Callback */
127 /** Implements ActionBar.Callback */
  /packages/services/Telephony/src/com/android/phone/
GsmUmtsAdditionalCallOptions.java 3 import android.app.ActionBar;
58 ActionBar actionBar = getActionBar();
59 if (actionBar != null) {
61 actionBar.setDisplayHomeAsUpEnabled(true);
89 if (itemId == android.R.id.home) { // See ActionBar#setDisplayHomeAsUpEnabled()

Completed in 2733 milliseconds

1 23 4 5 6 7 8