/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | WallpaperCategory.java | 46 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()
|
D | Category.java | 45 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()
|
D | ThirdPartyLiveWallpaperCategory.java | 39 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()
|
D | ImageCategory.java | 43 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()
|
D | CreativeCategory.java | 101 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()
|
D | PlaceholderCategory.java | 34 public PlaceholderCategory(String title, String collectionId, int priority) { in PlaceholderCategory() argument 35 super(title, collectionId, priority); in PlaceholderCategory()
|
D | WallpaperMetadata.java | 38 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/ |
D | TestWallpaperPreferences.kt | 129 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()
|
D | WallpaperModelUtils.kt | 56 collectionId: String, in getStaticWallpaperModel() 76 collectionId, in getStaticWallpaperModel() 102 collectionId: String, in getLiveWallpaperModel() 122 collectionId, in getLiveWallpaperModel()
|
D | TestWallpaperPersister.java | 104 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
|
D | TestWallpaperCategory.java | 34 public TestWallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in TestWallpaperCategory() argument 36 super(title, collectionId, wallpapers, priority); in TestWallpaperCategory()
|
D | FakeDefaultWallpaperModelFactory.kt | 40 collectionId = "testCollectionId", in getWallpaperModel() 49 collectionId = "testCollection", in getWallpaperModel()
|
D | TestCurrentWallpaperInfoFactory.java | 65 String actionUrl, String collectionId) { in createTestWallpaperInfo() argument 70 wallpaper.setCollectionId(collectionId); in createTestWallpaperInfo()
|
D | TestCategoryProvider.java | 79 public Category getCategory(String collectionId) { in getCategory() argument 83 if (category.getCollectionId().equals(collectionId)) { in getCategory()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperPersister.java | 79 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
|
D | DefaultWallpaperPreferences.kt | 259 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 …]
|
D | DefaultWallpaperPersister.java | 212 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 …]
|
D | WallpaperPreferences.kt | 61 fun setHomeWallpaperCollectionId(collectionId: String?) in getWallpaperPresentationMode() 135 fun setLockWallpaperCollectionId(collectionId: String?) in getWallpaperPresentationMode() 326 collectionId: String?, in getWallpaperPresentationMode() 378 collectionId: String?, in getWallpaperPresentationMode()
|
D | DefaultLiveWallpaperInfoFactory.java | 36 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/ |
D | StaticWallpaperPreviewViewModelTest.kt | 153 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/ |
D | DefaultWallpaperCategoryClientTest.kt | 89 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/ |
D | DefaultWallpaperPreferencesTest.kt | 40 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/ |
D | WallpaperId.kt | 25 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/ |
D | DefaultCategoryFactory.kt | 53 collectionId = category.collectionId, in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPickerDelegate.java | 355 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()
|