Home
last modified time | relevance | path

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

/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()
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()
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()
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()
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()
DContentBrowserNavActivity.java180 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
181 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
182 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
DContentBrowserActivity.java178 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
179 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
180 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
DTabs5.java42 tabHost.addTab(tabHost.newTabSpec(name) in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
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()
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()
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()
DActionBarTabs.java48 bar.addTab(bar.newTab() in onAddTab()
/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/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutLauncherMain.java53 ab.addTab(ab.newTab().setText("App list").setTabListener(mTabListener)); in onCreate()
54 ab.addTab(ab.newTab().setText("Pinned shortcuts").setTabListener(mTabListener)); in onCreate()
56 ab.addTab(ab.newTab().setText("Create shortcuts").setTabListener(mTabListener)); 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/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java46 tabHelper.addTab(photosTab); in onCreate()
52 tabHelper.addTab(videosTab); in onCreate()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java88 actionBar.addTab( in onCreate()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java280 tabHost.addTab(spec1); in onCreate()
281 tabHost.addTab(spec2); in onCreate()
282 tabHost.addTab(spec3); in onCreate()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java86 actionBar.addTab( in onCreate()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsReaderActivity.java146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler)); in setUpActionBar()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java95 bar.addTab(bar.newTab().setText(Directory.getCategory(i).getName()) in onActivityCreated()