Home
last modified time | relevance | path

Searched refs:setTabListener (Results 1 – 22 of 22) 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/browseable/LNotifications/src/com.example.android.lnotifications/
DLNotificationActivity.java44 tabHeadsUpNotification.setTabListener(new FragmentTabListener(HeadsUpNotificationFragment in onCreate()
46 tabVisibilityMetadata.setTabListener(new FragmentTabListener(VisibilityMetadataFragment in onCreate()
48 tabOtherMetadata.setTabListener(new FragmentTabListener(OtherMetadataFragment.newInstance 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/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/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()
DActionBarTabs.java48 .setTabListener(new TabListener(new TabContentFragment(text)))); in onAddTab()
/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()
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()
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()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java91 .setTabListener(this)); in onCreate()
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DActionBarTabsPager.java112 tab.setTabListener(this); in addTab()
DFragmentNestingPagerSupport.java110 tab.setTabListener(this); in addTab()
DFragmentNestingStatePagerSupport.java110 tab.setTabListener(this); in addTab()
/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()