Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperCategory.java42 private final List<WallpaperInfo> mWallpapers; field in WallpaperCategory
65 mWallpapers = wallpapers; in WallpaperCategory()
73 mWallpapers = wallpapers; in WallpaperCategory()
84 receiver.onWallpapersReceived(new ArrayList<>(mWallpapers)); in fetchWallpapers()
93 return mWallpapers; in getWallpapers()
110 return mWallpapers != null && mWallpapers.size() == 1; in isSingleWallpaperCategory()
116 return isSingleWallpaperCategory() ? mWallpapers.get(0) : null; in getSingleWallpaper()
124 return mWallpapers; in getMutableWallpapers()
131 return Collections.unmodifiableList(mWallpapers); in getUnmodifiableWallpapers()
137 if (mThumbAsset == null && mWallpapers.size() > 0) { in getThumbnail()
[all …]
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java58 private List<LiveWallpaperInfo> mWallpapers; field in LiveWallpaperListAdapter
69 mWallpapers = generatePlaceholderViews(list.size()); in LiveWallpaperListAdapter()
84 if (mWallpapers == null) { in getCount()
87 return mWallpapers.size(); in getCount()
91 return mWallpapers.get(position); in getItem()
111 LiveWallpaperInfo wallpaperInfo = mWallpapers.get(position); in getView()
230 if (mWallpaperPosition < mWallpapers.size()) { in onProgressUpdate()
231 mWallpapers.set(mWallpaperPosition, info); in onProgressUpdate()
233 mWallpapers.add(info); in onProgressUpdate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java149 List<WallpaperInfo> mWallpapers; field in IndividualPickerFragment
189 mWallpapers = new ArrayList<>(); in onCreate()
254 mWallpapers.clear(); in fetchWallpapers()
263 mWallpapers.add(wallpaper); in fetchWallpapers()
395 return mWallpapers != null && mWallpapers.size() <= MAX_CAPACITY_IN_FEWER_COLUMN_LAYOUT; in isFewerColumnLayout()
424 mAdapter = new IndividualAdapter(mWallpapers); in setUpImageGrid()
635 private final List<WallpaperInfo> mWallpapers; field in IndividualPickerFragment.IndividualAdapter
638 mWallpapers = wallpapers; in IndividualAdapter()
684 return mCategory.supportsCustomPhotos() ? mWallpapers.size() + 1 : mWallpapers.size(); in getItemCount()
705 WallpaperInfo wallpaper = mWallpapers.get(wallpaperIndex); in onBindIndividualHolder()