Home
last modified time | relevance | path

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

123

/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutPoolingTest.java52 tabLayout2.addTab(tabLayout2.newTab()); in testUsingTabsFromOtherInstance()
53 tabLayout2.addTab(tabLayout2.newTab()); in testUsingTabsFromOtherInstance()
54 tabLayout2.addTab(tabLayout2.newTab()); in testUsingTabsFromOtherInstance()
DTabLayoutTest.java108 tabLayout.addTab(tab); in testTabWithCustomLayoutSelection1()
129 tabLayout.addTab(tab); in testTabWithCustomLayoutSelection2()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DMediaDump.java48 tab.addTab(videoDumpTab); in onCreate()
57 tab.addTab(rgbPlayerTab); in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java637 public abstract void addTab(Tab tab); in addTab() method in ActionBar
651 public abstract void addTab(Tab tab, boolean setSelected); in addTab() method in ActionBar
667 public abstract void addTab(Tab tab, int position); in addTab() method in ActionBar
683 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() method in ActionBar
DWindowDecorActionBar.java538 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()
DToolbarActionBar.java337 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/base/core/java/android/app/
DActionBar.java637 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/
DToolbarActionBar.java331 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
DWindowDecorActionBar.java547 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/
DLaunchpadTabActivity.java40 th.addTab(ts); in onCreate()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java218 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { in addTab() method in FragmentTabHost
237 addTab(tabSpec); in addTab()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentTabHost.java226 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { in addTab() method in FragmentTabHost
245 addTab(tabSpec); in addTab()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dabstracting.jd95 …tionBar#newTab ActionBar.newTab()} and {@link android.app.ActionBar#addTab ActionBar.addTab()}:</p>
105 public abstract void addTab(CompatTab tab);
Dnew-implementation.jd103 public void addTab(CompatTab tab) {
107 mActionBar.addTab((ActionBar.Tab) tab.getTab());
Dolder-implementation.jd112 public void addTab(CompatTab tab) {
118 mTabHost.addTab(spec);
Dusing-component.jd124 tabHelper.addTab(photosTab);
129 tabHelper.addTab(videosTab);
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java436 public void addTab(@NonNull Tab tab) { in addTab() method in TabLayout
437 addTab(tab, mTabs.isEmpty()); in addTab()
447 public void addTab(@NonNull Tab tab, int position) { in addTab() method in TabLayout
448 addTab(tab, position, mTabs.isEmpty()); in addTab()
457 public void addTab(@NonNull Tab tab, boolean setSelected) { in addTab() method in TabLayout
476 public void addTab(@NonNull Tab tab, int position, boolean setSelected) { in addTab() method in TabLayout
502 addTab(tab); in addTabFromItemView()
904 addTab(newTab().setText(mPagerAdapter.getPageTitle(i)), false); in populateFromPagerAdapter()
/frameworks/support/v13/api/
D22.2.0.txt25 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
D22.2.1.txt25 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
D22.1.0.txt25 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
D22.0.0.txt25 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
D23.1.0.txt31 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
D23.0.0.txt31 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
D23.1.1.txt31 … method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtilsActions.java184 tabLayout.addTab(tabLayout.newTab().setText(tabs[i]));

123