Name Description Size Coverage
LegacyWallpaperMigration.kt Manages the migration of legacy wallpapers to the new paths @param storageRootDirectory The top level app-local storage directory. @param settings Used to update the color of the text shown above wallpapers. @param downloadWallpaper Function used to download assets for legacy drawable wallpapers. @param ioDispatcher The dispatcher to use for IO operations. 7198 -
Wallpaper.kt Type that represents wallpapers. @property name The name of the wallpaper. @property collection The name of the collection the wallpaper belongs to. @property textColor The 8 digit hex code color that should be used for text overlaying the wallpaper. @property cardColorLight The 8 digit hex code color that should be used for cards overlaying the wallpaper when the user's theme is set to Light. @property cardColorDark The 8 digit hex code color that should be used for cards overlaying the wallpaper when the user's theme is set to Dark. @property thumbnailFileState The download state of the wallpaper thumbnail. @property assetsFileState The download state of the wallpaper assets. 8234 -
WallpaperDownloader.kt Can download wallpapers from a remote host. @param storageRootDirectory The top level app-local storage directory. @param client Required for fetching files from network. @param dispatcher Dispatcher used to execute suspending functions. Default parameter should be likely be used except for when under test. 4287 -
WallpaperFileManager.kt Manages various functions related to the locally-stored wallpaper assets. @param storageRootDirectory The top level app-local storage directory. @param coroutineDispatcher Dispatcher used to execute suspending functions. Default parameter should be likely be used except for when under test. 3176 -
WallpaperMetadataFetcher.kt Utility class for downloading wallpaper metadata from the remote server. @param client The client that will be used to fetch metadata. 4879 -
WallpaperOnboarding.kt A view that shows content of a WallpaperOnboarding dialog. @param wallpapers Wallpapers to add to grid. @param currentWallpaper The currently selected wallpaper. @param loadWallpaperResource Callback to handle loading a wallpaper bitmap. Only optional in the default case. @param onCloseClicked Callback for when the close button is clicked. @param onExploreMoreButtonClicked Callback for when the bottom text button is clicked. @param onSelectWallpaper Callback for when a new wallpaper is selected. 4958 -
WallpaperState.kt Represents all state related to the Wallpapers feature. @property currentWallpaper The currently selected [Wallpaper]. @property availableWallpapers The full list of wallpapers that can be selected. 3261 -
WallpapersUseCases.kt Contains use cases related to the wallpaper feature. @param settings Used for retrieving and updating wallpaper-related settings like the currently selected wallpaper. @param filesDir Used for loading wallpaper images from disk. @param appStore Will receive dispatches of metadata updates like the currently selected wallpaper. @param client Handles downloading wallpapers and their metadata. @param storageRootDirectory The top level app-local storage directory. @param currentLocale The locale currently being used on the device. 13167 -
WallpaperTheme.kt The current [WallpaperState] for the composition, used by [WallpaperTheme] to resolve its default colors. Provide the observed wallpaper in the root Composable (e.g. around the `Homepage` Composable) via `CompositionLocalProvider(LocalWallpaperState provides wallpaperState)`. Defaults to [WallpaperState.default] so composables (and their `@Preview`s) that don't provide it resolve to the default wallpaper's colors automatically, with no store access. 1932 -