Home
last modified time | relevance | path

Searched refs:collectionId (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperCategory.java46 public WallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in WallpaperCategory() argument
48 this(title, collectionId, 0, wallpapers, priority, isDownloadable, downloadComponent); in WallpaperCategory()
51 public WallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in WallpaperCategory() argument
53 this(title, collectionId, 0, wallpapers, priority, false, null); in WallpaperCategory()
56 public WallpaperCategory(String title, String collectionId, int featuredThumbnailIndex, in WallpaperCategory() argument
58 this(title, collectionId, featuredThumbnailIndex, wallpapers, priority, false, null); in WallpaperCategory()
61 public WallpaperCategory(String title, String collectionId, int featuredThumbnailIndex, in WallpaperCategory() argument
64 super(title, collectionId, priority, isDownloadable, downloadComponent); in WallpaperCategory()
70 public WallpaperCategory(String title, String collectionId, Asset thumbAsset, in WallpaperCategory() argument
72 super(title, collectionId, priority, false, null); in WallpaperCategory()
DCategory.java45 public Category(String title, String collectionId, int priority) { in Category() argument
46 this(title, collectionId, priority, false, null); in Category()
60 public Category(String title, String collectionId, int priority, boolean isDownloadable, in Category() argument
63 mCollectionId = collectionId; in Category()
DThirdPartyLiveWallpaperCategory.java39 public ThirdPartyLiveWallpaperCategory(String title, String collectionId, in ThirdPartyLiveWallpaperCategory() argument
43 super(title, collectionId, wallpapers, priority, isDownloadable, downloadComponent); in ThirdPartyLiveWallpaperCategory()
47 public ThirdPartyLiveWallpaperCategory(String title, String collectionId, in ThirdPartyLiveWallpaperCategory() argument
50 super(title, collectionId, wallpapers, priority, false, null); in ThirdPartyLiveWallpaperCategory()
DImageCategory.java43 public ImageCategory(String title, String collectionId, int priority) { in ImageCategory() argument
44 super(title, collectionId, priority); in ImageCategory()
48 public ImageCategory(String title, String collectionId, int priority, int overlayIconResId) { in ImageCategory() argument
49 super(title, collectionId, priority); in ImageCategory()
DCreativeCategory.java101 public CreativeCategory(Context context, String title, String collectionId, Uri thumbUri, in CreativeCategory() argument
105 collectionId, in CreativeCategory()
145 String collectionId, android.app.WallpaperInfo wallpaperInfo) { in readCreativeWallpapers() argument
160 if (!TextUtils.equals(categoryId, collectionId)) { in readCreativeWallpapers()
DPlaceholderCategory.java34 public PlaceholderCategory(String title, String collectionId, int priority) { in PlaceholderCategory() argument
35 super(title, collectionId, priority); in PlaceholderCategory()
DWallpaperMetadata.java38 public WallpaperMetadata(List<String> attributions, String actionUrl, String collectionId, in WallpaperMetadata() argument
42 mCollectionId = collectionId; in WallpaperMetadata()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPreferences.kt129 override fun setHomeWallpaperCollectionId(collectionId: String?) { in setHomeWallpaperCollectionId()
130 homeCollectionId = collectionId in setHomeWallpaperCollectionId()
219 override fun setLockWallpaperCollectionId(collectionId: String?) { in setLockWallpaperCollectionId()
220 lockCollectionId = collectionId in setLockWallpaperCollectionId()
430 collectionId: String?, in updateDailyWallpaperSet()
436 setHomeWallpaperCollectionId(collectionId!!) in updateDailyWallpaperSet()
440 setLockWallpaperCollectionId(collectionId!!) in updateDailyWallpaperSet()
444 setHomeWallpaperCollectionId(collectionId!!) in updateDailyWallpaperSet()
446 setLockWallpaperCollectionId(collectionId) in updateDailyWallpaperSet()
472 collectionId: String?, in storeLatestWallpaper()
DWallpaperModelUtils.kt56 collectionId: String, in getStaticWallpaperModel()
76 collectionId, in getStaticWallpaperModel()
102 collectionId: String, in getLiveWallpaperModel()
122 collectionId, in getLiveWallpaperModel()
DTestWallpaperPersister.java104 String actionUrl, String collectionId, String remoteId) { in setWallpaperInRotation() argument
118 String actionUrl, String collectionId) { in setWallpaperBitmapInNextRotation() argument
128 String collectionId, int wallpaperId, String remoteId) { in finalizeWallpaperForNextRotation() argument
213 String collectionId, int wallpaperId, String remoteId, @Destination int destination) { in saveStaticWallpaperMetadata() argument
DTestWallpaperCategory.java34 public TestWallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in TestWallpaperCategory() argument
36 super(title, collectionId, wallpapers, priority); in TestWallpaperCategory()
DFakeDefaultWallpaperModelFactory.kt40 collectionId = "testCollectionId", in getWallpaperModel()
49 collectionId = "testCollection", in getWallpaperModel()
DTestCurrentWallpaperInfoFactory.java65 String actionUrl, String collectionId) { in createTestWallpaperInfo() argument
70 wallpaper.setCollectionId(collectionId); in createTestWallpaperInfo()
DTestCategoryProvider.java79 public Category getCategory(String collectionId) { in getCategory() argument
83 if (category.getCollectionId().equals(collectionId)) { in getCategory()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperPersister.java79 String actionUrl, String collectionId, String remoteId); in setWallpaperInRotation() argument
96 String actionUrl, String collectionId); in setWallpaperBitmapInNextRotation() argument
111 String collectionId, int wallpaperId, String remoteId); in finalizeWallpaperForNextRotation() argument
129 String collectionId, in saveStaticWallpaperMetadata() argument
DDefaultWallpaperPreferences.kt259 override fun setHomeWallpaperCollectionId(collectionId: String?) { in <lambda>()
262 .putString(WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_COLLECTION_ID, collectionId) in <lambda>()
317 metadata.collectionId in <lambda>()
357 metadata.collectionId in <lambda>()
477 override fun setLockWallpaperCollectionId(collectionId: String?) { in <lambda>()
480 .putString(WallpaperPreferenceKeys.KEY_LOCK_WALLPAPER_COLLECTION_ID, collectionId) in <lambda>()
534 metadata.collectionId in <lambda>()
574 metadata.collectionId in <lambda>()
848 collectionId: String?, in <lambda>()
854 setHomeWallpaperCollectionId(collectionId!!) in <lambda>()
[all …]
DDefaultWallpaperPersister.java212 String actionUrl, String collectionId, String remoteId) { in setWallpaperInRotation() argument
214 attributions, actionUrl, collectionId, getDefaultWhichWallpaper()); in setWallpaperInRotation()
220 return saveStaticWallpaperMetadata(attributions, actionUrl, collectionId, wallpaperId, in setWallpaperInRotation()
226 String actionUrl, String collectionId) { in setWallpaperBitmapInNextRotation() argument
233 collectionId, whichWallpaper); in setWallpaperBitmapInNextRotation()
238 String collectionId, int wallpaperId, String remoteId) { in finalizeWallpaperForNextRotation() argument
239 return saveStaticWallpaperMetadata(attributions, actionUrl, collectionId, wallpaperId, in finalizeWallpaperForNextRotation()
246 String collectionId, in saveStaticWallpaperMetadata() argument
261 mWallpaperPreferences.setHomeWallpaperCollectionId(collectionId); in saveStaticWallpaperMetadata()
273 mWallpaperPreferences.setLockWallpaperCollectionId(collectionId); in saveStaticWallpaperMetadata()
[all …]
DWallpaperPreferences.kt61 fun setHomeWallpaperCollectionId(collectionId: String?) in getWallpaperPresentationMode()
135 fun setLockWallpaperCollectionId(collectionId: String?) in getWallpaperPresentationMode()
326 collectionId: String?, in getWallpaperPresentationMode()
378 collectionId: String?, in getWallpaperPresentationMode()
DDefaultLiveWallpaperInfoFactory.java36 boolean shouldShowTitle, @Nullable String collectionId) { in getLiveWallpaperInfo() argument
37 return new LiveWallpaperInfo(info, shouldShowTitle, collectionId); in getLiveWallpaperInfo()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt153 collectionId = "testCollection", in staticWallpaperModel_withStaticWallpaper_shouldEmitNonNullValue()
181 collectionId = "testCollection", in staticWallpaperModel_withLiveWallpaper_shouldNotEmit()
199 collectionId = "testCollection", in lowResBitmap_withStaticWallpaper_shouldEmitNonNullValue()
216 collectionId = "testCollection", in fullResWallpaperViewModel_withStaticWallpaperAndNullCropHints_shouldEmitNonNullValue()
236 collectionId = "testCollection", in fullResWallpaperViewModel_withStaticWallpaperAndCropHints_shouldEmitNonNullValue()
266 collectionId = "testCollection", in subsamplingScaleImageViewModel_withStaticWallpaperAndCropHints_shouldEmitNonNullValue()
303 collectionId = "testCollection", in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
338 collectionId = "testCollection", in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
378 collectionId = "testCollection", in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
420 collectionId = "testCollection", in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/category/data/
DDefaultWallpaperCategoryClientTest.kt89 assertThat(expectedCategoryModel.commonCategoryData.collectionId) in getMyPhotosCategory()
90 .isEqualTo(result.commonCategoryData.collectionId) in getMyPhotosCategory()
109 assertThat(categoryModel?.commonCategoryData?.collectionId) in getValidOnDeviceCategory()
130 assertThat(categoryModel[0].commonCategoryData.collectionId) in getSystemCategories()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/
DDefaultWallpaperPreferencesTest.kt40 collectionId = "cultural_events", in setHomeStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
84 collectionId = "living_universe", in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
120 collectionId = "cultural_events", in setLockStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
164 collectionId = "living_universe", in setLockLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/
DWallpaperId.kt25 val collectionId: String, constant in com.android.wallpaper.picker.data.WallpaperId
29 get() = "$componentName-$uniqueId-$collectionId"
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/category/
DDefaultCategoryFactory.kt53 collectionId = category.collectionId, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java355 public void show(String collectionId) { in show() argument
356 Category category = findCategoryForCollectionId(collectionId); in show()
364 public Category findCategoryForCollectionId(String collectionId) { in findCategoryForCollectionId() argument
365 return mCategoryProvider.getCategory(collectionId); in findCategoryForCollectionId()

123