Home
last modified time | relevance | path

Searched refs:setTabListener (Results 1 – 17 of 17) sorted by relevance

/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/ApiDemos/src/com/example/android/apis/app/
DFragmentNestingTabs.java44 .setTabListener(new TabListener<FragmentMenuFragment>( in onCreate()
48 .setTabListener(new TabListener<FragmentArgumentsFragment>( in onCreate()
52 .setTabListener(new TabListener<FragmentStackFragment>( in onCreate()
56 .setTabListener(new TabListener<FragmentTabsFragment>( in onCreate()
DFragmentTabs.java44 .setTabListener(new TabListener<FragmentStack.CountingFragment>( in onCreate()
48 .setTabListener(new TabListener<LoaderCursor.CursorLoaderListFragment>( in onCreate()
52 .setTabListener(new TabListener<LoaderCustom.AppListFragment>( in onCreate()
56 .setTabListener(new TabListener<LoaderThrottle.ThrottledLoaderListFragment>( 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.java50 .setTabListener(new TabListener(new TabContentFragment(text)))); in onAddTab()
/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/
DCompatTabHoneycomb.java56 public CompatTab setTabListener(CompatTabListener callback) { in setTabListener() method in CompatTabHoneycomb
58 mTab.setTabListener(this); in setTabListener()
DCompatTab.java39 public abstract CompatTab setTabListener(CompatTabListener callback); in setTabListener() method in CompatTab
DCompatTabEclair.java49 public CompatTab setTabListener(CompatTabListener callback) { in setTabListener() method in CompatTabEclair
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java45 .setTabListener(new InstantiatingTabListener(this, PhotosFragment.class)); in onCreate()
51 .setTabListener(new InstantiatingTabListener(this, VideosFragment.class)); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
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()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java91 .setTabListener(this)); in onCreate()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java89 .setTabListener(this)); 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.java96 .setTabListener(this)); in onActivityCreated()