Searched refs:CompatTab (Results 1 – 8 of 8) sorted by relevance
28 public abstract class CompatTab { class32 protected CompatTab(FragmentActivity activity, String tag) { in CompatTab() method in CompatTab37 public abstract CompatTab setText(int resId); in setText()38 public abstract CompatTab setIcon(int resId); in setIcon()39 public abstract CompatTab setTabListener(CompatTabListener callback); in setTabListener()40 public abstract CompatTab setFragment(Fragment fragment); in setFragment()
26 public class CompatTabEclair extends CompatTab {37 public CompatTab setText(int resId) { in setText()43 public CompatTab setIcon(int resId) { in setIcon()49 public CompatTab setTabListener(CompatTabListener callback) { in setTabListener()55 public CompatTab setFragment(Fragment fragment) { in setFragment()
29 public void onTabSelected(CompatTab tab, FragmentTransaction ft); in onTabSelected()35 public void onTabUnselected(CompatTab tab, FragmentTransaction ft); in onTabUnselected()41 public void onTabReselected(CompatTab tab, FragmentTransaction ft); in onTabReselected()
29 public class CompatTabHoneycomb extends CompatTab implements ActionBar.TabListener {44 public CompatTab setText(int resId) { in setText()50 public CompatTab setIcon(int resId) { in setIcon()56 public CompatTab setTabListener(CompatTabListener callback) { in setTabListener()107 public CompatTab setFragment(Fragment fragment) { in setFragment()
44 private final HashMap<String, CompatTab> mTabs = new HashMap<String, CompatTab>();47 CompatTab mLastTab;64 public void addTab(CompatTab tab) { in addTab()99 CompatTab newTab = mTabs.get(tabId); in onTabChanged()
65 public CompatTab newTab(String tag) { in newTab()73 public abstract void addTab(CompatTab tab); in addTab()
46 public void addTab(CompatTab tab) { in addTab()
19 import com.example.android.tabcompat.lib.CompatTab;42 CompatTab photosTab = tabHelper.newTab("photos") in onCreate()48 CompatTab videosTab = tabHelper.newTab("videos") in onCreate()77 public void onTabSelected(CompatTab tab, FragmentTransaction ft) { in onTabSelected()92 public void onTabUnselected(CompatTab tab, FragmentTransaction ft) { in onTabUnselected()101 public void onTabReselected(CompatTab tab, FragmentTransaction ft) { in onTabReselected()