/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | CompatActionBarNavHandler.java | 54 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 56 mNavListener.onCategorySelected(tab.getPosition()); in onTabSelected() 76 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument 84 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | TabHelperEclair.java | 64 public void addTab(CompatTab tab) { in addTab() argument 65 String tag = tab.getTag(); in addTab() 68 if (tab.getIcon() != null) { in addTab() 69 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText(), tab.getIcon()); in addTab() 71 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText()); in addTab() 81 tab.setFragment(fragment); in addTab() 89 mTabs.put(tag, tab); in addTab()
|
D | TabHelperHoneycomb.java | 46 public void addTab(CompatTab tab) { in addTab() argument 47 String tag = tab.getTag(); in addTab() 54 tab.setFragment(fragment); in addTab() 62 if (tab.getCallback() == null) { in addTab() 68 mActionBar.addTab((ActionBar.Tab) tab.getTab()); in addTab()
|
D | CompatTabListener.java | 29 public void onTabSelected(CompatTab tab, FragmentTransaction ft); in onTabSelected() argument 35 public void onTabUnselected(CompatTab tab, FragmentTransaction ft); in onTabUnselected() argument 41 public void onTabReselected(CompatTab tab, FragmentTransaction ft); in onTabReselected() argument
|
D | CompatTabHoneycomb.java | 83 public void onTabReselected(Tab tab, android.app.FragmentTransaction f) { in onTabReselected() argument 91 public void onTabSelected(Tab tab, android.app.FragmentTransaction f) { in onTabSelected() argument
|
D | TabHelper.java | 73 public abstract void addTab(CompatTab tab); in addTab() argument
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | ActionBarTabsPager.java | 109 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() argument 111 tab.setTag(info); in addTab() 112 tab.setTabListener(this); in addTab() 114 mActionBar.addTab(tab); in addTab() 143 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 144 Object tag = tab.getTag(); in onTabSelected() 153 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 157 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | FragmentNestingPagerSupport.java | 107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() argument 109 tab.setTag(info); in addTab() 110 tab.setTabListener(this); in addTab() 112 mActionBar.addTab(tab); in addTab() 141 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 142 Object tag = tab.getTag(); in onTabSelected() 151 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 155 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | FragmentNestingStatePagerSupport.java | 107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() argument 109 tab.setTag(info); in addTab() 110 tab.setTabListener(this); in addTab() 112 mActionBar.addTab(tab); in addTab() 141 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 142 Object tag = tab.getTag(); in onTabSelected() 151 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 155 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/ |
D | MainActivity.java | 77 public void onTabSelected(CompatTab tab, FragmentTransaction ft) { in onTabSelected() argument 79 Fragment fragment = tab.getFragment(); in onTabSelected() 83 tab.setFragment(fragment); in onTabSelected() 84 ft.add(android.R.id.tabcontent, fragment, tab.getTag()); in onTabSelected() 92 public void onTabUnselected(CompatTab tab, FragmentTransaction ft) { in onTabUnselected() argument 93 Fragment fragment = tab.getFragment(); in onTabUnselected() 101 public void onTabReselected(CompatTab tab, FragmentTransaction ft) { in onTabReselected() argument
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentTabsFragment.java | 163 TabInfo tab = mTabs.get(i); in handleViewStateRestored() local 164 tab.fragment = mManager.findFragmentByTag(tab.tag); in handleViewStateRestored() 165 if (tab.fragment != null && !tab.fragment.isDetached()) { in handleViewStateRestored() 166 if (tab.tag.equals(currentTab)) { in handleViewStateRestored() 170 mLastTab = tab; in handleViewStateRestored() 177 ft.detach(tab.fragment); in handleViewStateRestored() 218 TabInfo tab = mTabs.get(i); in doTabChanged() local 219 if (tab.tag.equals(tabId)) { in doTabChanged() 220 newTab = tab; in doTabChanged()
|
D | FragmentNestingTabs.java | 98 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 107 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 113 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | ActionBarTabs.java | 96 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 100 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 104 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | FragmentTabs.java | 98 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 107 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 113 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | ActionBarDisplayOptions.java | 141 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 145 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 149 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | TabLayoutCustomItemsUsage.java | 43 TabLayout.Tab tab = tabLayout.newTab(); in onCreate() local 45 tabLayout.addTab(tab); in onCreate() 46 tab.setCustomView(R.layout.design_tab_custom); in onCreate()
|
/development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/ |
D | MainActivity.java | 65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabSelected() argument 71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabUnselected() argument 77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabReselected() argument
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
D | LNotificationActivity.java | 66 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabReselected() argument 71 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabSelected() argument 76 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
|
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/ |
D | MainActivity.java | 106 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabSelected() argument 108 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected() 116 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabUnselected() argument 123 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabReselected() argument
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | MainActivity.java | 94 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabUnselected() argument 98 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabSelected() argument 100 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected() 104 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabReselected() argument
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarTabs.java | 94 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 99 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 104 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | ActionBarDisplayOptions.java | 160 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 164 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 168 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | TitlesFragment.java | 237 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabSelected() argument 240 titleFrag.populateTitles(tab.getPosition()); in onTabSelected() 249 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 252 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
/development/samples/browseable/SlidingTabsColors/ |
D | _index.jd | 9 ViewPager title strip, with custom coloring for each tab.
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | VideoPlayerActivity.java | 271 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 275 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 279 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|