Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java99 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in GalleryActivity.TabsAdapter
125 mTabs.add(info); in addTab()
132 return mTabs.size(); in getCount()
137 TabInfo info = mTabs.get(position); in getItem()
165 for (int i = 0; i < mTabs.size(); i++) { in onTabSelected()
166 if (mTabs.get(i) == tag) { in onTabSelected()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java47 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in TabsAdapter
90 mTabs.add(info); in addTab()
97 return mTabs.size(); in getCount()
102 View view = mTabs.get(position).view; in instantiateItem()
146 final View contentView = mTabs.get(position).view; in onPageSelected()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizeTabHost.java48 private ViewGroup mTabs; field in AppsCustomizeTabHost
64 mTabs.requestLayout(); in AppsCustomizeTabHost()
102 mTabs = tabs; in onFinishInflate()
145 boolean remeasureTabWidth = (mTabs.getLayoutParams().width <= 0); in onMeasure()
151 if (contentWidth > 0 && mTabs.getLayoutParams().width != contentWidth) { in onMeasure()
153 mTabs.getLayoutParams().width = contentWidth; in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java313 private final List<TabInfo> mTabs = new ArrayList<>(4 /* number of fragments */); field in DeskClock.TabsAdapter
339 TabInfo info = mTabs.get(position); in getItem()
360 return mTabs.size(); in getCount()
365 mTabs.add(info); in addTab()