Loading core/java/android/provider/Settings.java +23 −0 Original line number Diff line number Diff line Loading @@ -10111,6 +10111,29 @@ public final class Settings { * category, formatted as a serialized {@link org.json.JSONObject}. If there is no * corresponding package included for a category, then all overlay packages in that * category must be disabled. * * A few category keys have special meaning and are used for Material You theming. * * A {@code FabricatedOverlay} containing Material You tonal palettes will be generated * in case {@code android.theme.customization.system_palette} contains a * {@link android.annotation.ColorInt}. * * The strategy used for generating the tonal palettes can be defined with the * {@code android.theme.customization.theme_style} key, with one of the following options: * <ul> * <li> TONAL_SPOT = Default Material You theme since Android S.</li> * <li> VIBRANT = Theme where accent 2 and 3 are analogous to accent 1.</li> * <li> EXPRESSIVE = Highly chromatic theme.</li> * <li> SPRITZ = Desaturated theme, almost greyscale.</li> * </ul> * * Example of valid fabricated theme specification: * <pre> * { * "android.theme.customization.system_palette":"B1611C", * "android.theme.customization.theme_style":"EXPRESSIVE" * } * </pre> * @hide */ @SystemApi Loading Loading
core/java/android/provider/Settings.java +23 −0 Original line number Diff line number Diff line Loading @@ -10111,6 +10111,29 @@ public final class Settings { * category, formatted as a serialized {@link org.json.JSONObject}. If there is no * corresponding package included for a category, then all overlay packages in that * category must be disabled. * * A few category keys have special meaning and are used for Material You theming. * * A {@code FabricatedOverlay} containing Material You tonal palettes will be generated * in case {@code android.theme.customization.system_palette} contains a * {@link android.annotation.ColorInt}. * * The strategy used for generating the tonal palettes can be defined with the * {@code android.theme.customization.theme_style} key, with one of the following options: * <ul> * <li> TONAL_SPOT = Default Material You theme since Android S.</li> * <li> VIBRANT = Theme where accent 2 and 3 are analogous to accent 1.</li> * <li> EXPRESSIVE = Highly chromatic theme.</li> * <li> SPRITZ = Desaturated theme, almost greyscale.</li> * </ul> * * Example of valid fabricated theme specification: * <pre> * { * "android.theme.customization.system_palette":"B1611C", * "android.theme.customization.theme_style":"EXPRESSIVE" * } * </pre> * @hide */ @SystemApi Loading