Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DSimplePagerAdapter.java29 private final List<Pair<View, String>> mPages = new ArrayList<>(); field in SimplePagerAdapter
36 mPages.add(new Pair<>(child, (String) tag)); in SimplePagerAdapter()
42 return mPages.get(position).first; in instantiateItem()
47 return mPages.size(); in getCount()
52 return mPages.get(position).second; in getPageTitle()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java181 private Pages mPages; field in PumpActivity.ActivityPagerAdapter
188 mPages = pages; in setPages()
193 return mPages; in getPages()
198 return mPages.getPages().length; in getCount()
203 return mPages.getPages()[position].createFragment(); in getItem()
208 return mPages.getPages()[position].getId(); in getItemId()
218 return mPages.getPages()[position].getTitle(); in getPageTitle()
260 private final Page[] mPages; field in PumpActivity.Pages
266 mPages = pages; in Pages()
274 return mPages; in getPages()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java50 protected final List<T> mPages = new ArrayList<>(); field in BasePreviewAdapter
59 mPages.add(p); in addPage()
64 return mPages.size(); in getCount()
76 position = mPages.size() - 1 - position; in instantiateItem()
79 T page = mPages.get(position); in instantiateItem()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java104 protected final List<Pair<String, View>> mPages = new ArrayList<>(); field in LiveWallpaperPreview
192 mPages.add(Pair.create(getString(R.string.tab_info), pageInfo)); in initInfoPage()
298 mPages.add(Pair.create(getResources().getString(R.string.tab_customize), pageSettings)); in initSettingsPage()
314 final View page = mPages.get(position).second; in populateBottomPane()
329 return mPages.size(); in populateBottomPane()
335 return mPages.get(position).first; in populateBottomPane()
359 if (mPages.size() > 1) { in populateBottomPane()