Name Description Size Coverage
AppIcon.kt Enum that represents app launcher icons available for the user to set as an alternative launcher icon. It is based off <activity-alias> entries declared in the AndroidManifest, with addition of title and subtitle for representing the icon name in the UI. The aliasSuffix is the ending part of the <activity-alias>. They are used to construct full component names for switching the launcher icon at runtime. Example: - "AppSolidLight" → android:name="${applicationId}.AppSolidLight" @property aliasSuffix A suffix portion of the `android:name` attribute in the manifest. @property iconForegroundId The foreground drawable resource used in icon previews. @property iconBackground The background layer used in icon previews, which can be a solid color or drawable. @property titleId A string resource describing the icon in the icon picker screen. @property subtitleId An optional string resource used as a secondary label. 8132 -
AppIconAction.kt Actions related to the app icon selection screen. 2254 -
AppIconMiddleware.kt A middleware for handling side-effects in response to [AppIconAction]s. @param updateAppIcon An interface that updates the main activity alias with the newly selected one. @param updateSearchWidgets An interface that updates the Firefox search widgets with the app icon. 2279 -
AppIconReducer.kt Function for reducing a new app icon state based on the received action. 2178 -
AppIconRepository.kt An interface for accessing available and selected app icon options, as well as persisting the selected one. 4500 -
AppIconState.kt Represents the state of the app icon picker screen. @property currentAppIcon The icon currently being used by the application. @property userSelectedAppIcon The icon the user has selected in the picker, if any. @property groupedIconOptions A map of all available app icons. @property snackbarState The current snackbar state. @property warningDialogState The current warning dialog state. 1836 -
AppIconStore.kt A Store for handling [AppIconState] and dispatching [AppIconAction]. @param initialState The initial state of the Store. @param reducer Reducer to handle state updates based on dispatched actions. @param middleware A list of Middleware to handle side-effects in response to dispatched actions. 1038 -
AppIconTelemetryMiddleware.kt A middleware for handling the app icon selector feature telemetry. 1835 -
IconGroupTitle.kt Type that represents an icon group title in the icon picker UI. @property titleId A string resource describing the group title. 488 -
ui -