Home
last modified time | relevance | path

Searched refs:addTab (Results 1 – 25 of 35) sorted by relevance

12

/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentNestingTabsSupport.java36 mTabHost.addTab(mTabHost.newTabSpec("menus").setIndicator("Menus"), in onCreate()
38 mTabHost.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"), in onCreate()
40 mTabHost.addTab(mTabHost.newTabSpec("stack").setIndicator("Stack"), in onCreate()
42 mTabHost.addTab(mTabHost.newTabSpec("tabs").setIndicator("Tabs"), in onCreate()
DFragmentTabs.java40 mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"), in onCreate()
42 mTabHost.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"), in onCreate()
44 mTabHost.addTab(mTabHost.newTabSpec("custom").setIndicator("Custom"), in onCreate()
46 mTabHost.addTab(mTabHost.newTabSpec("throttle").setIndicator("Throttle"), in onCreate()
DFragmentTabsFragmentSupport.java37 mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"), in onCreateView()
39 mTabHost.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"), in onCreateView()
41 mTabHost.addTab(mTabHost.newTabSpec("custom").setIndicator("Custom"), in onCreateView()
43 mTabHost.addTab(mTabHost.newTabSpec("throttle").setIndicator("Throttle"), in onCreateView()
DFragmentTabsPager.java55 mTabsAdapter.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"), in onCreate()
57 mTabsAdapter.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"), in onCreate()
59 mTabsAdapter.addTab(mTabHost.newTabSpec("custom").setIndicator("Custom"), in onCreate()
61 mTabsAdapter.addTab(mTabHost.newTabSpec("throttle").setIndicator("Throttle"), in onCreate()
131 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { in addTab() method in FragmentTabsPager.TabsAdapter
137 mTabHost.addTab(tabSpec); in addTab()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DTabs3.java35 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
39 tabHost.addTab(tabHost.newTabSpec("tab2") in onCreate()
45 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs2.java40 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
43 tabHost.addTab(tabHost.newTabSpec("tab2") in onCreate()
46 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs1.java40 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
43 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
46 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs6.java39 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
42 tabHost.addTab(tabHost.newTabSpec("tab2") in onCreate()
45 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs5.java42 tabHost.addTab(tabHost.newTabSpec(name) in onCreate()
DVideoPlayerActivity.java202 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
203 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
204 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentTabsFragment.java36 mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"), in onCreateView()
38 mTabHost.addTab(mTabHost.newTabSpec("array").setIndicator("Array"), in onCreateView()
40 mTabHost.addTab(mTabHost.newTabSpec("cursor").setIndicator("Cursor"), in onCreateView()
DFragmentNestingPagerSupport.java50 mTabsAdapter.addTab(bar.newTab().setText("Simple"), in onCreate()
52 mTabsAdapter.addTab(bar.newTab().setText("List"), in onCreate()
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"), in onCreate()
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"), in onCreate()
107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() method in FragmentNestingPagerSupport.TabsAdapter
112 mActionBar.addTab(tab); in addTab()
DFragmentNestingStatePagerSupport.java50 mTabsAdapter.addTab(bar.newTab().setText("Simple"), in onCreate()
52 mTabsAdapter.addTab(bar.newTab().setText("List"), in onCreate()
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"), in onCreate()
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"), in onCreate()
107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() method in FragmentNestingStatePagerSupport.TabsAdapter
112 mActionBar.addTab(tab); in addTab()
DActionBarTabsPager.java54 mTabsAdapter.addTab(bar.newTab().setText("Simple"), in onCreate()
56 mTabsAdapter.addTab(bar.newTab().setText("List"), in onCreate()
58 mTabsAdapter.addTab(bar.newTab().setText("Cursor"), in onCreate()
109 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() method in ActionBarTabsPager.TabsAdapter
114 mActionBar.addTab(tab); in addTab()
/development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/
DMainActivity.java50 ab.addTab(ab.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
51 ab.addTab(ab.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
52 ab.addTab(ab.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DLNotificationActivity.java50 actionBar.addTab(tabHeadsUpNotification, 0); in onCreate()
51 actionBar.addTab(tabVisibilityMetadata, 1); in onCreate()
52 actionBar.addTab(tabOtherMetadata, 2); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentNestingTabs.java42 bar.addTab(bar.newTab() in onCreate()
46 bar.addTab(bar.newTab() in onCreate()
50 bar.addTab(bar.newTab() in onCreate()
54 bar.addTab(bar.newTab() in onCreate()
DFragmentTabs.java42 bar.addTab(bar.newTab() in onCreate()
46 bar.addTab(bar.newTab() in onCreate()
50 bar.addTab(bar.newTab() in onCreate()
54 bar.addTab(bar.newTab() in onCreate()
DFragmentTabsFragment.java51 mTabManager.addTab(host.newTabSpec("result").setIndicator("Result"), in onCreateView()
53 mTabManager.addTab(host.newTabSpec("contacts").setIndicator("Contacts"), in onCreateView()
55 mTabManager.addTab(host.newTabSpec("apps").setIndicator("Apps"), in onCreateView()
57 mTabManager.addTab(host.newTabSpec("throttle").setIndicator("Throttle"), in onCreateView()
143 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { in addTab() method in FragmentTabsFragment.TabManager
148 mTabHost.addTab(tabSpec); in addTab()
DActionBarDisplayOptions.java63 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
64 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
65 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelperHoneycomb.java46 public void addTab(CompatTab tab) { in addTab() method in TabHelperHoneycomb
68 mActionBar.addTab((ActionBar.Tab) tab.getTab()); in addTab()
DTabHelperEclair.java64 public void addTab(CompatTab tab) { in addTab() method in TabHelperEclair
90 mTabHost.addTab(spec); in addTab()
DTabHelper.java73 public abstract void addTab(CompatTab tab); in addTab() method in TabHelper
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarDisplayOptions.java61 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
62 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
63 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java46 tabHelper.addTab(photosTab); in onCreate()
52 tabHelper.addTab(videosTab); in onCreate()

12