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

1 2 3 4 5 6 7 8

  /cts/tests/tests/app/src/android/app/cts/
ActionBarActivity.java 18 import android.app.ActionBar;
27 ActionBar bar = getActionBar();
28 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  /developers/build/prebuilts/gradle/ActionBarCompat-Styled/ActionBarCompat-StyledSample/src/main/java/com/example/android/actionbarcompat/styled/
MainActivity.java 21 import android.support.v7.app.ActionBar;
38 public class MainActivity extends ActionBarActivity implements ActionBar.TabListener {
46 ActionBar ab = getSupportActionBar();
47 ab.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
63 // Implemented from ActionBar.TabListener
65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
69 // Implemented from ActionBar.TabListener
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
75 // Implemented from ActionBar.TabListener
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /developers/build/prebuilts/gradle/DoneBar/DoneBarSample/src/main/java/com/example/android/donebar/
DoneBarActivity.java 19 import android.app.ActionBar;
58 final ActionBar actionBar = getActionBar();
59 actionBar.setDisplayOptions(
60 ActionBar.DISPLAY_SHOW_CUSTOM,
61 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME
62 | ActionBar.DISPLAY_SHOW_TITLE);
63 actionBar.setCustomView(customActionBarView,
64 new ActionBar.LayoutParams
    [all...]
DoneButtonActivity.java 19 import android.app.ActionBar;
51 final ActionBar actionBar = getActionBar();
52 actionBar.setDisplayOptions(
53 ActionBar.DISPLAY_SHOW_CUSTOM,
54 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME
55 | ActionBar.DISPLAY_SHOW_TITLE);
56 actionBar.setCustomView(customActionBarView);
  /developers/samples/android/ui/actionbar/DoneBar/DoneBarSample/src/main/java/com/example/android/donebar/
DoneBarActivity.java 19 import android.app.ActionBar;
58 final ActionBar actionBar = getActionBar();
59 actionBar.setDisplayOptions(
60 ActionBar.DISPLAY_SHOW_CUSTOM,
61 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME
62 | ActionBar.DISPLAY_SHOW_TITLE);
63 actionBar.setCustomView(customActionBarView,
64 new ActionBar.LayoutParams
    [all...]
DoneButtonActivity.java 19 import android.app.ActionBar;
51 final ActionBar actionBar = getActionBar();
52 actionBar.setDisplayOptions(
53 ActionBar.DISPLAY_SHOW_CUSTOM,
54 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME
55 | ActionBar.DISPLAY_SHOW_TITLE);
56 actionBar.setCustomView(customActionBarView);
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-Styled/ActionBarCompat-StyledSample/src/main/java/com/example/android/actionbarcompat/styled/
MainActivity.java 21 import android.support.v7.app.ActionBar;
38 public class MainActivity extends ActionBarActivity implements ActionBar.TabListener {
46 ActionBar ab = getSupportActionBar();
47 ab.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
63 // Implemented from ActionBar.TabListener
65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
69 // Implemented from ActionBar.TabListener
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
75 // Implemented from ActionBar.TabListener
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /development/samples/browseable/DoneBar/src/com.example.android.donebar/
DoneBarActivity.java 19 import android.app.ActionBar;
58 final ActionBar actionBar = getActionBar();
59 actionBar.setDisplayOptions(
60 ActionBar.DISPLAY_SHOW_CUSTOM,
61 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME
62 | ActionBar.DISPLAY_SHOW_TITLE);
63 actionBar.setCustomView(customActionBarView,
64 new ActionBar.LayoutParams
    [all...]
DoneButtonActivity.java 19 import android.app.ActionBar;
51 final ActionBar actionBar = getActionBar();
52 actionBar.setDisplayOptions(
53 ActionBar.DISPLAY_SHOW_CUSTOM,
54 ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME
55 | ActionBar.DISPLAY_SHOW_TITLE);
56 actionBar.setCustomView(customActionBarView);
  /development/samples/browseable/Styled/src/com.example.android.actionbarcompat.styled/
MainActivity.java 21 import android.support.v7.app.ActionBar;
38 public class MainActivity extends ActionBarActivity implements ActionBar.TabListener {
46 ActionBar ab = getSupportActionBar();
47 ab.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
63 // Implemented from ActionBar.TabListener
65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
69 // Implemented from ActionBar.TabListener
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
75 // Implemented from ActionBar.TabListener
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarTabs.java 20 import android.app.ActionBar;
21 import android.app.ActionBar.Tab;
45 final ActionBar bar = getActionBar();
54 final ActionBar bar = getActionBar();
61 final ActionBar bar = getActionBar();
63 if (bar.getNavigationMode() == ActionBar.NAVIGATION_MODE_TABS) {
64 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
65 bar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE);
67 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS)
    [all...]
ActionBarDisplayOptions.java 20 import android.app.ActionBar;
21 import android.app.ActionBar.Tab;
34 implements View.OnClickListener, ActionBar.TabListener {
54 final ActionBar bar = getActionBar();
56 new ActionBar.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
70 final ActionBar bar = getActionBar();
74 flags = ActionBar.DISPLAY_HOME_AS_UP;
77 flags = ActionBar.DISPLAY_SHOW_HOME;
80 flags = ActionBar.DISPLAY_USE_LOGO;
83 flags = ActionBar.DISPLAY_SHOW_TITLE
    [all...]
FragmentNestingTabs.java 19 import android.app.ActionBar;
20 import android.app.ActionBar.Tab;
38 final ActionBar bar = getActionBar();
39 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
40 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
70 public static class TabListener<T extends Fragment> implements ActionBar.TabListener {
FragmentTabs.java 21 import android.app.ActionBar;
22 import android.app.ActionBar.Tab;
38 final ActionBar bar = getActionBar();
39 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
40 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
70 public static class TabListener<T extends Fragment> implements ActionBar.TabListener {
  /development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarTabs.java 21 import android.support.v7.app.ActionBar;
22 import android.support.v7.app.ActionBar.Tab;
44 final ActionBar bar = getSupportActionBar();
53 final ActionBar bar = getSupportActionBar();
60 final ActionBar bar = getSupportActionBar();
62 if (bar.getNavigationMode() == ActionBar.NAVIGATION_MODE_TABS) {
63 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
64 bar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE);
66 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS)
    [all...]
ActionBarDisplayOptions.java 20 import android.support.v7.app.ActionBar;
21 import android.support.v7.app.ActionBar.Tab;
34 implements View.OnClickListener, ActionBar.TabListener {
36 private ActionBar.LayoutParams mCustomViewLayoutParams;
54 mCustomViewLayoutParams = new ActionBar.LayoutParams(
57 final ActionBar bar = getSupportActionBar();
78 final ActionBar bar = getSupportActionBar();
82 flags = ActionBar.DISPLAY_HOME_AS_UP;
85 flags = ActionBar.DISPLAY_SHOW_HOME;
88 flags = ActionBar.DISPLAY_USE_LOGO
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
ActionBarActivityDelegateJB.java 26 public ActionBar createSupportActionBar() {
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
CompatActionBarNavHandler.java 19 import android.app.ActionBar.OnNavigationListener;
20 import android.app.ActionBar.Tab;
21 import android.app.ActionBar.TabListener;
  /packages/apps/Contacts/src/com/android/contacts/activities/
ActionBarAdapter.java 19 import android.app.ActionBar;
20 import android.app.ActionBar.LayoutParams;
21 import android.app.ActionBar.Tab;
79 private final ActionBar mActionBar;
126 public ActionBarAdapter(Context context, Listener listener, ActionBar actionBar,
130 mActionBar = actionBar;
138 mActionBarNavigationMode = ActionBar.NAVIGATION_MODE_LIST;
142 mActionBarNavigationMode = ActionBar.NAVIGATION_MODE_TABS;
171 case ActionBar.NAVIGATION_MODE_TABS
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
TabHelperHoneycomb.java 19 import android.app.ActionBar;
31 ActionBar mActionBar;
41 mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
67 // native tab object is an ActionBar.Tab.
68 mActionBar.addTab((ActionBar.Tab) tab.getTab());
  /packages/apps/Contacts/src/com/android/contacts/preference/
ContactsPreferenceActivity.java 19 import android.app.ActionBar;
42 ActionBar actionBar = getActionBar();
43 if (actionBar != null) {
44 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
OnPhoneNumberPickerActionListener.java 18 import android.app.ActionBar;
40 * Called when home menu in {@link ActionBar} is clicked by the user.
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventActivity.java 23 import android.app.ActionBar;
82 ActionBar.DISPLAY_SHOW_TITLE,
83 ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME
84 | ActionBar.DISPLAY_SHOW_TITLE);
89 getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
90 ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME|
91 ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_CUSTOM)
    [all...]
  /packages/apps/Settings/src/com/android/settings/nfc/
AndroidBeam.java 19 import android.app.ActionBar;
53 activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
54 ActionBar.DISPLAY_SHOW_CUSTOM);
55 activity.getActionBar().setCustomView(mActionBarSwitch, new ActionBar.LayoutParams(
56 ActionBar.LayoutParams.WRAP_CONTENT,
57 ActionBar.LayoutParams.WRAP_CONTENT,
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
ActionBarTabsPager.java 22 import android.app.ActionBar;
23 import android.app.ActionBar.Tab;
49 final ActionBar bar = getActionBar();
50 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
51 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
84 implements ActionBar.TabListener, ViewPager.OnPageChangeListener {
86 private final ActionBar mActionBar;
109 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) {

Completed in 3004 milliseconds

1 2 3 4 5 6 7 8