/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | TabHelperEclair.java | 99 CompatTab newTab = mTabs.get(tabId); in onTabChanged() local 102 if (mLastTab != newTab) { in onTabChanged() 109 if (newTab != null) { in onTabChanged() 111 newTab.getCallback().onTabSelected(newTab, ft); in onTabChanged() 114 mLastTab = newTab; in onTabChanged() 117 newTab.getCallback().onTabReselected(newTab, ft); in onTabChanged()
|
D | TabHelper.java | 65 public CompatTab newTab(String tag) { in newTab() method in TabHelper
|
D | CompatTabHoneycomb.java | 40 mTab = activity.getActionBar().newTab(); in CompatTabHoneycomb()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentTabsFragment.java | 216 TabInfo newTab = null; in doTabChanged() local 220 newTab = tab; in doTabChanged() 223 if (newTab == null) { in doTabChanged() 226 if (mLastTab != newTab) { in doTabChanged() 235 if (newTab != null) { in doTabChanged() 236 if (newTab.fragment == null) { in doTabChanged() 237 newTab.fragment = Fragment.instantiate(mContext, in doTabChanged() 238 newTab.clss.getName(), newTab.args); in doTabChanged() 239 ft.add(mContainerId, newTab.fragment, newTab.tag); in doTabChanged() 241 ft.attach(newTab.fragment); in doTabChanged() [all …]
|
D | FragmentNestingTabs.java | 42 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()
|
D | FragmentTabs.java | 42 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()
|
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()
|
D | ActionBarTabs.java | 48 bar.addTab(bar.newTab() in onAddTab()
|
/development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/ |
D | MainActivity.java | 50 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/ |
D | ShortcutLauncherMain.java | 53 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/ |
D | MainActivity.java | 42 CompatTab photosTab = tabHelper.newTab("photos") in onCreate() 48 CompatTab videosTab = tabHelper.newTab("videos") in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | VideoPlayerActivity.java | 202 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()
|
D | ContentBrowserNavActivity.java | 180 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()
|
D | ContentBrowserActivity.java | 178 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/ |
D | MainActivity.java | 89 actionBar.newTab() in onCreate()
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | MainActivity.java | 87 actionBar.newTab() in onCreate()
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | NewsReaderActivity.java | 146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler)); in setUpActionBar()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | TitlesFragment.java | 95 bar.addTab(bar.newTab().setText(Directory.getCategory(i).getName()) in onActivityCreated()
|