Home
last modified time | relevance | path

Searched refs:mTabs (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DSlidingTabsColorsFragment.java102 private List<SamplePagerItem> mTabs = new ArrayList<SamplePagerItem>(); field in SlidingTabsColorsFragment
113 mTabs.add(new SamplePagerItem( in onCreate()
119 mTabs.add(new SamplePagerItem( in onCreate()
125 mTabs.add(new SamplePagerItem( in onCreate()
131 mTabs.add(new SamplePagerItem( in onCreate()
181 return mTabs.get(position).getIndicatorColor(); in onViewCreated()
186 return mTabs.get(position).getDividerColor(); in onViewCreated()
216 return mTabs.get(i).createFragment(); in getItem()
221 return mTabs.size(); in getCount()
233 return mTabs.get(position).getTitle(); in getPageTitle()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentTabsFragment.java92 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentTabsFragment.TabManager
147 mTabs.add(info); in addTab()
162 for (int i=0; i<mTabs.size(); i++) { in handleViewStateRestored()
163 TabInfo tab = mTabs.get(i); in handleViewStateRestored()
195 mTabs.clear(); in handleDestroyView()
217 for (int i=0; i<mTabs.size(); i++) { in doTabChanged()
218 TabInfo tab = mTabs.get(i); in doTabChanged()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelperEclair.java44 private final HashMap<String, CompatTab> mTabs = new HashMap<String, CompatTab>(); field in TabHelperEclair
89 mTabs.put(tag, tab); in addTab()
99 CompatTab newTab = mTabs.get(tabId); in onTabChanged()