Home
last modified time | relevance | path

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

/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/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/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java48 protected final List<T> mPages = new ArrayList<>(); field in BasePreviewAdapter
57 mPages.add(p); in addPage()
62 return mPages.size(); in getCount()
74 position = mPages.size() - 1 - position; in instantiateItem()
77 T page = mPages.get(position); in instantiateItem()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java90 private List<Pair<String, View>> mPages; field in LivePreviewFragment
143 mPages = new ArrayList<>(); in onCreateView()
192 final View page = mPages.get(position).second; in setUpBottomSheetView()
207 return mPages.size(); in setUpBottomSheetView()
213 return mPages.get(position).first; in setUpBottomSheetView()
238 if (mPages.size() > 1) { in setUpBottomSheetView()
283 mPages.add(Pair.create(getString(R.string.tab_info), pageInfo)); in initInfoPage()
306 mPages.add(Pair.create(getResources().getString(R.string.tab_customize), pageSettings)); in initSettingsPage()
DCategoryFragment.java1138 private List<View> mPages; field in CategoryFragment.PreviewPagerAdapter
1141 mPages = pages; in PreviewPagerAdapter()
1153 View view = mPages.get(position); in instantiateItem()
1160 return mPages.size(); in getCount()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java103 protected final List<Pair<String, View>> mPages = new ArrayList<>(); field in LiveWallpaperPreview
191 mPages.add(Pair.create(getString(R.string.tab_info), pageInfo)); in initInfoPage()
297 mPages.add(Pair.create(getResources().getString(R.string.tab_customize), pageSettings)); in initSettingsPage()
313 final View page = mPages.get(position).second; in populateBottomPane()
328 return mPages.size(); in populateBottomPane()
334 return mPages.get(position).first; in populateBottomPane()
358 if (mPages.size() > 1) { in populateBottomPane()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeFragment.java532 for (ThemePreviewPage page : mPages) { in rebindWallpaperIfAvailable()
540 for (ThemePreviewPage page : mPages) { in updateTime()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java333 for (GridPreviewPage page : mPages) { in onWallpaperInfoLoaded()