/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentNestingTabsSupport.java | 36 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()
|
D | FragmentTabs.java | 40 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()
|
D | FragmentTabsFragmentSupport.java | 37 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()
|
D | FragmentTabsPager.java | 55 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()
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | FragmentNestingPagerSupport.java | 50 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()
|
D | FragmentNestingStatePagerSupport.java | 50 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()
|
D | ActionBarTabsPager.java | 54 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()
|
D | FragmentTabsFragment.java | 36 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()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TabLayoutTest.java | 99 tabLayout.addTab(tab); in testTabWithCustomLayoutSelection1() 118 tabLayout.addTab(tab); in testTabWithCustomLayoutSelection2() 138 tabs.addTab(tab1); in testMultipleTabsWithCustomLayoutSelection1() 142 tabs.addTab(tab2, true); in testMultipleTabsWithCustomLayoutSelection1() 146 tabs.addTab(tab3); in testMultipleTabsWithCustomLayoutSelection1() 163 tabs.addTab(tab1); in testMultipleTabsWithCustomLayoutSelection2() 167 tabs.addTab(tab2, true); in testMultipleTabsWithCustomLayoutSelection2() 171 tabs.addTab(tab3); in testMultipleTabsWithCustomLayoutSelection2()
|
D | TabLayoutPoolingTest.java | 52 tabLayout2.addTab(tabLayout2.newTab()); in testUsingTabsFromOtherInstance() 53 tabLayout2.addTab(tabLayout2.newTab()); in testUsingTabsFromOtherInstance() 54 tabLayout2.addTab(tabLayout2.newTab()); in testUsingTabsFromOtherInstance()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | MediaDump.java | 48 tab.addTab(videoDumpTab); in onCreate() 57 tab.addTab(rgbPlayerTab); in onCreate()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | ActionBar.java | 630 public abstract void addTab(Tab tab); in addTab() method in ActionBar 644 public abstract void addTab(Tab tab, boolean setSelected); in addTab() method in ActionBar 660 public abstract void addTab(Tab tab, int position); in addTab() method in ActionBar 676 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() method in ActionBar
|
D | WindowDecorActionBar.java | 538 public void addTab(Tab tab) { in addTab() method in WindowDecorActionBar 539 addTab(tab, mTabs.isEmpty()); in addTab() 543 public void addTab(Tab tab, int position) { in addTab() method in WindowDecorActionBar 544 addTab(tab, position, mTabs.isEmpty()); in addTab() 548 public void addTab(Tab tab, boolean setSelected) { in addTab() method in WindowDecorActionBar 550 mTabScrollView.addTab(tab, setSelected); in addTab() 558 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() method in WindowDecorActionBar 560 mTabScrollView.addTab(tab, position, setSelected); in addTab()
|
D | ToolbarActionBar.java | 337 public void addTab(Tab tab) { in addTab() method in ToolbarActionBar 343 public void addTab(Tab tab, boolean setSelected) { in addTab() method in ToolbarActionBar 349 public void addTab(Tab tab, int position) { in addTab() method in ToolbarActionBar 355 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() method in ToolbarActionBar
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarDisplayOptions.java | 63 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()
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | TabLayoutUsage.java | 70 public void addTab(View view) { in addTab() method in TabLayoutUsage 72 mPagerAdapter.addTab(cheese); in addTab() 140 public void addTab(String title) { in addTab() method in TabLayoutUsage.CheesePagerAdapter
|
D | TabLayoutPreselectedUsage.java | 63 mPagerAdapter.addTab(Cheeses.sCheeseStrings[i]); in onCreate() 128 public void addTab(String title) { in addTab() method in TabLayoutPreselectedUsage.CheesePagerAdapter
|
D | TabLayoutCustomItemsUsage.java | 45 tabLayout.addTab(tab); in onCreate()
|
/frameworks/base/core/java/android/app/ |
D | ActionBar.java | 637 public abstract void addTab(Tab tab); in addTab() method in ActionBar 650 public abstract void addTab(Tab tab, boolean setSelected); in addTab() method in ActionBar 665 public abstract void addTab(Tab tab, int position); in addTab() method in ActionBar 680 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() method in ActionBar
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 331 public void addTab(Tab tab) { in addTab() method in ToolbarActionBar 337 public void addTab(Tab tab, boolean setSelected) { in addTab() method in ToolbarActionBar 343 public void addTab(Tab tab, int position) { in addTab() method in ToolbarActionBar 349 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() method in ToolbarActionBar
|
D | WindowDecorActionBar.java | 547 public void addTab(Tab tab) { in addTab() method in WindowDecorActionBar 548 addTab(tab, mTabs.isEmpty()); in addTab() 552 public void addTab(Tab tab, int position) { in addTab() method in WindowDecorActionBar 553 addTab(tab, position, mTabs.isEmpty()); in addTab() 557 public void addTab(Tab tab, boolean setSelected) { in addTab() method in WindowDecorActionBar 559 mTabScrollView.addTab(tab, setSelected); in addTab() 567 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() method in WindowDecorActionBar 569 mTabScrollView.addTab(tab, position, setSelected); in addTab()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadTabActivity.java | 40 th.addTab(ts); in onCreate()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 437 public void addTab(@NonNull Tab tab) { in addTab() method in TabLayout 438 addTab(tab, mTabs.isEmpty()); in addTab() 448 public void addTab(@NonNull Tab tab, int position) { in addTab() method in TabLayout 449 addTab(tab, position, mTabs.isEmpty()); in addTab() 458 public void addTab(@NonNull Tab tab, boolean setSelected) { in addTab() method in TabLayout 459 addTab(tab, mTabs.size(), setSelected); in addTab() 469 public void addTab(@NonNull Tab tab, int position, boolean setSelected) { in addTab() method in TabLayout 495 addTab(tab); in addTabFromItemView() 904 addTab(newTab().setText(mPagerAdapter.getPageTitle(i)), false); in populateFromPagerAdapter()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentTabHost.java | 220 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { in addTab() method in FragmentTabHost 239 addTab(tabSpec); in addTab()
|
/frameworks/base/docs/html/training/backward-compatible-ui/ |
D | abstracting.jd | 95 …tionBar#newTab ActionBar.newTab()} and {@link android.app.ActionBar#addTab ActionBar.addTab()}:</p> 105 public abstract void addTab(CompatTab tab);
|