/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | FakeDefaultWallpaperModelFactory.kt | 23 import com.android.wallpaper.picker.data.WallpaperModel 31 private var staticWallpaperModel: WallpaperModel? = null 32 private var liveWallpaperModel: WallpaperModel? = null 34 override fun getWallpaperModel(context: Context, wallpaperInfo: WallpaperInfo): WallpaperModel { in getWallpaperModel() 57 fun getStaticWallpaperModel(): WallpaperModel? { in getStaticWallpaperModel() 61 fun setStaticWallpaperModel(model: WallpaperModel) { in setStaticWallpaperModel() 65 fun getLiveWallpaperModel(): WallpaperModel? { in getLiveWallpaperModel() 69 fun setLiveWallpaperModel(model: WallpaperModel) { in setLiveWallpaperModel()
|
D | FakeWallpaperClient.kt | 28 import com.android.wallpaper.picker.customization.shared.model.WallpaperModel in <lambda>() 29 import com.android.wallpaper.picker.data.WallpaperModel.LiveWallpaperModel in <lambda>() 30 import com.android.wallpaper.picker.data.WallpaperModel.StaticWallpaperModel in <lambda>() 44 mutableListOf<com.android.wallpaper.picker.data.WallpaperModel>(), in <lambda>() 61 recentWallpapersByDestination: Map<WallpaperDestination, List<WallpaperModel>>, in <lambda>() 79 ): Flow<List<WallpaperModel>> { in <lambda>() 93 ): WallpaperModel { in <lambda>() 119 wallpaperModel: com.android.wallpaper.picker.data.WallpaperModel, in <lambda>() 181 WallpaperModel(wallpaperId = "zero", placeholderColor = 0, title = "title1"), in <lambda>() 182 WallpaperModel(wallpaperId = "one", placeholderColor = 1, title = "title2"), in <lambda>() [all …]
|
D | WallpaperModelUtils.kt | 36 import com.android.wallpaper.picker.data.WallpaperModel 65 ): WallpaperModel.StaticWallpaperModel { in getStaticWallpaperModel() 66 return WallpaperModel.StaticWallpaperModel( in getStaticWallpaperModel() 114 ): WallpaperModel.LiveWallpaperModel { in getLiveWallpaperModel() 115 return WallpaperModel.LiveWallpaperModel( in getLiveWallpaperModel()
|
D | FakeImageEffectsRepository.kt | 21 import com.android.wallpaper.picker.data.WallpaperModel 40 staticWallpaperModel: WallpaperModel.StaticWallpaperModel, in initializeEffect() 41 onWallpaperModelUpdated: (wallpaper: WallpaperModel) -> Unit, in initializeEffect()
|
D | FakeDefaultCategoryFactory.kt | 26 import com.android.wallpaper.picker.data.WallpaperModel 39 private val wallpaperModels = mutableListOf<WallpaperModel>() 43 fun setWallpaperModels(wallpaperModels: List<WallpaperModel>) { in setWallpaperModels()
|
D | FakeLiveWallpaperDownloader.kt | 22 import com.android.wallpaper.picker.data.WallpaperModel 37 wallpaperData: WallpaperModel.StaticWallpaperModel, in setWallpaperDownloadResult()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | WallpaperModelLoader.java | 34 public class WallpaperModelLoader implements ModelLoader<WallpaperModel, Drawable> { 37 public boolean handles(WallpaperModel wallpaperModel) { in handles() 43 public LoadData<Drawable> buildLoadData(WallpaperModel wallpaperModel, int width, int height, in buildLoadData() 53 implements ModelLoaderFactory<WallpaperModel, Drawable> { 58 public ModelLoader<WallpaperModel, Drawable> build(MultiModelLoaderFactory multiFactory) { in build() 73 private WallpaperModel mWallpaperModel; 77 public WallpaperFetcher(WallpaperModel wallpaperModel, int width, int height) { in WallpaperFetcher()
|
D | BuiltInWallpaperAsset.java | 59 private WallpaperModel mBuiltInWallpaperModel; 157 … new WallpaperModel(context.getApplicationContext(), WallpaperModel.SOURCE_BUILT_IN); in loadDrawable()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/ |
D | WallpaperPreviewActivity.kt | 36 import com.android.wallpaper.picker.data.WallpaperModel in <lambda>() 92 (wallpaper as? WallpaperModel.LiveWallpaperModel) in <lambda>() 113 if (wallpaper is WallpaperModel.StaticWallpaperModel) { in <lambda>() 119 (wallpaper as? WallpaperModel.StaticWallpaperModel)?.downloadableWallpaperData != null in <lambda>() 129 (wallpaper as? WallpaperModel.LiveWallpaperModel) in <lambda>() 137 (wallpaper as? WallpaperModel.StaticWallpaperModel)?.imageWallpaperData != null && in <lambda>() 177 (wallpaperPreviewViewModel.wallpaper.value as? WallpaperModel.LiveWallpaperModel)?.let { in <lambda>() 201 private fun WallpaperInfo.convertToWallpaperModel(): WallpaperModel { in <lambda>() 265 private fun WallpaperModel.LiveWallpaperModel.getNewCreativeWallpaperArgs() = in <lambda>() method
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/ |
D | DefaultWallpaperModelFactory.kt | 25 import com.android.wallpaper.picker.data.WallpaperModel 36 override fun getWallpaperModel(context: Context, wallpaperInfo: WallpaperInfo): WallpaperModel { in getWallpaperModel() 38 WallpaperModel.LiveWallpaperModel( in getWallpaperModel() 46 WallpaperModel.StaticWallpaperModel( in getWallpaperModel()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClient.kt | 28 import com.android.wallpaper.picker.customization.shared.model.WallpaperModel 29 import com.android.wallpaper.picker.data.WallpaperModel.LiveWallpaperModel 30 import com.android.wallpaper.picker.data.WallpaperModel.StaticWallpaperModel 41 ): Flow<List<WallpaperModel>>
|
D | WallpaperClientImpl.kt | 57 import com.android.wallpaper.picker.customization.shared.model.WallpaperModel in <lambda>() 58 import com.android.wallpaper.picker.data.WallpaperModel.LiveWallpaperModel in <lambda>() 59 import com.android.wallpaper.picker.data.WallpaperModel.StaticWallpaperModel in <lambda>() 87 private val cachedRecents: MutableMap<WallpaperDestination, List<WallpaperModel>> = in <lambda>() 107 ): Flow<List<WallpaperModel>> { in <lambda>() 452 ): List<WallpaperModel> { in <lambda>() 467 ): List<WallpaperModel> { in <lambda>() 493 WallpaperModel( in <lambda>() 507 ): WallpaperModel { in <lambda>() 517 return WallpaperModel( in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/ |
D | WallpaperModel.kt | 24 sealed class WallpaperModel { class 37 ) : WallpaperModel() 45 ) : WallpaperModel()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/data/repository/ |
D | WallpaperPreviewRepository.kt | 20 import com.android.wallpaper.picker.data.WallpaperModel 43 private val _wallpaperModel = MutableStateFlow<WallpaperModel?>(null) 44 val wallpaperModel: StateFlow<WallpaperModel?> = _wallpaperModel.asStateFlow() 46 fun setWallpaperModel(wallpaperModel: WallpaperModel) { in setWallpaperModel()
|
D | ImageEffectsRepository.kt | 21 import com.android.wallpaper.picker.data.WallpaperModel 44 staticWallpaperModel: WallpaperModel.StaticWallpaperModel, in areEffectsAvailable() 45 onWallpaperModelUpdated: (wallpaper: WallpaperModel) -> Unit in areEffectsAvailable()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | WallpaperQuickSwitchViewModelTest.kt | 24 import com.android.wallpaper.picker.customization.shared.model.WallpaperModel in <lambda>() 102 WallpaperModel( in <lambda>() 107 WallpaperModel( in <lambda>() 112 WallpaperModel( in <lambda>() 136 WallpaperModel( in <lambda>() 187 models: List<WallpaperModel> = FakeWallpaperClient.INITIAL_RECENT_WALLPAPERS, in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/domain/interactor/ |
D | WallpaperPreviewInteractor.kt | 27 import com.android.wallpaper.picker.data.WallpaperModel 28 import com.android.wallpaper.picker.data.WallpaperModel.StaticWallpaperModel 42 val wallpaperModel: StateFlow<WallpaperModel?> = wallpaperPreviewRepository.wallpaperModel 75 wallpaperModel: WallpaperModel.LiveWallpaperModel, in setLiveWallpaper()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/ |
D | WallpaperRepository.kt | 30 import com.android.wallpaper.picker.customization.shared.model.WallpaperModel in <lambda>() 31 import com.android.wallpaper.picker.data.WallpaperModel.LiveWallpaperModel in <lambda>() 32 import com.android.wallpaper.picker.data.WallpaperModel.StaticWallpaperModel in <lambda>() 74 previews: List<WallpaperModel>?, in <lambda>() 100 ): Flow<List<WallpaperModel>> { in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperInteractor.kt | 25 import com.android.wallpaper.picker.customization.shared.model.WallpaperModel in <lambda>() 41 fun wallpaperUpdateEvents(screen: Screen): Flow<WallpaperModel?> { in wallpaperUpdateEvents() 86 ): Flow<List<WallpaperModel>> { in previews()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/shared/model/ |
D | LiveWallpaperDownloadResultModel.kt | 19 import com.android.wallpaper.picker.data.WallpaperModel 23 val wallpaperModel: WallpaperModel.LiveWallpaperModel?
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/category/ |
D | CollectionCategoryData.kt | 20 import com.android.wallpaper.picker.data.WallpaperModel 24 val wallpaperModels: MutableList<WallpaperModel>,
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | FullWallpaperPreviewViewModel.kt | 19 import com.android.wallpaper.picker.data.WallpaperModel 25 val wallpaper: WallpaperModel,
|
D | WallpaperPreviewViewModel.kt | 29 import com.android.wallpaper.picker.data.WallpaperModel in <lambda>() 30 import com.android.wallpaper.picker.data.WallpaperModel.LiveWallpaperModel in <lambda>() 31 import com.android.wallpaper.picker.data.WallpaperModel.StaticWallpaperModel in <lambda>() 91 val wallpaper: StateFlow<WallpaperModel?> = interactor.wallpaperModel in <lambda>() 212 val smallWallpaper: Flow<Pair<WallpaperModel, WhichPreview>> = in <lambda>() 458 private fun WallpaperModel.isDownloadableWallpaper(): Boolean { in <lambda>() method
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/data/util/ |
D | LiveWallpaperDownloader.kt | 22 import com.android.wallpaper.picker.data.WallpaperModel 37 wallpaperData: WallpaperModel.StaticWallpaperModel,
|
D | DefaultLiveWallpaperDownloader.kt | 22 import com.android.wallpaper.picker.data.WallpaperModel 32 wallpaperData: WallpaperModel.StaticWallpaperModel, in initiateDownloadableService()
|