Home
last modified time | relevance | path

Searched refs:tab (Results 1 – 25 of 29) sorted by relevance

12

/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DCompatActionBarNavHandler.java54 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/
DCompatTabListener.java29 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
DTabHelperEclair.java64 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()
DTabHelperHoneycomb.java46 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()
DCompatTabHoneycomb.java83 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
DTabHelper.java73 public abstract void addTab(CompatTab tab); in addTab() argument
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java77 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/
DFragmentTabsFragment.java163 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()
DFragmentNestingTabs.java98 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
DActionBarTabs.java96 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
DFragmentTabs.java98 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
DActionBarDisplayOptions.java141 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/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/
DMainActivity.java65 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/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutLauncherMain.java67 public void onTabSelected(Tab tab, FragmentTransaction ft) {
68 mPager.setCurrentItem(tab.getPosition());
72 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
77 public void onTabReselected(Tab tab, FragmentTransaction ft) {
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java106 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/
DMainActivity.java94 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/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java237 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.jd9 ViewPager title strip, with custom coloring for each tab.
/development/samples/ApiDemos/src/com/example/android/apis/view/
DVideoPlayerActivity.java271 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
DContentBrowserActivity.java254 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
258 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
262 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DContentBrowserNavActivity.java256 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
260 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
264 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DSystemUIModes.java335 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
339 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
343 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
/development/ide/eclipse/
DREADME.importing-to-eclipse.txt31 If you are having trouble seeing the "Include Files" tab, you will need to
/development/tools/idegen/
DREADME17 under the "Classpath" tab. This will ensure that you only get access to
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12