Loading core/java/android/provider/Settings.java +10 −0 Original line number Diff line number Diff line Loading @@ -9019,6 +9019,16 @@ public final class Settings { public static final String ACCESSIBILITY_DISPLAY_DALTONIZER = "accessibility_display_daltonizer"; /** * Integer property that determines the saturation level of color correction. Default value * is defined in Settings config.xml. * [0-10] inclusive where 0 would look as if color space adustment is not applied at all. * * @hide */ public static final String ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL = "accessibility_display_daltonizer_saturation_level"; /** * Setting that specifies whether automatic click when the mouse pointer stops moving is * enabled. Loading core/proto/android/providers/settings/secure.proto +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ message SecureSettingsProto { optional SettingProto accessibility_pinch_to_zoom_anywhere_enabled = 55 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto accessibility_single_finger_panning_enabled = 56 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto accessibility_floating_menu_targets = 57 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto display_daltonizer_saturation_level = 58 [ (android.privacy).dest = DEST_AUTOMATIC ]; } optional Accessibility accessibility = 2; Loading packages/SettingsProvider/src/android/provider/settings/backup/SecureSettings.java +2 −1 Original line number Diff line number Diff line Loading @@ -272,6 +272,7 @@ public class SecureSettings { Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS, Settings.Secure.AUDIO_DEVICE_INVENTORY, Settings.Secure.SCREEN_RESOLUTION_MODE, Settings.Secure.ACCESSIBILITY_FLOATING_MENU_TARGETS Settings.Secure.ACCESSIBILITY_FLOATING_MENU_TARGETS, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL }; } packages/SettingsProvider/src/android/provider/settings/validators/SecureSettingsValidators.java +2 −0 Original line number Diff line number Diff line Loading @@ -430,5 +430,7 @@ public class SecureSettingsValidators { VALIDATORS.put(Secure.AUDIO_DEVICE_INVENTORY, ANY_STRING_VALIDATOR); VALIDATORS.put(Secure.SCREEN_RESOLUTION_MODE, new InclusiveIntegerRangeValidator( Secure.RESOLUTION_MODE_UNKNOWN, Secure.RESOLUTION_MODE_FULL)); VALIDATORS.put(Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL, new InclusiveIntegerRangeValidator(0, 10)); } } packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java +3 −0 Original line number Diff line number Diff line Loading @@ -1759,6 +1759,9 @@ class SettingsProtoDumpUtil { dumpSetting(s, p, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, SecureSettingsProto.Accessibility.DISPLAY_DALTONIZER); dumpSetting(s, p, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL, SecureSettingsProto.Accessibility.DISPLAY_DALTONIZER_SATURATION_LEVEL); dumpSetting(s, p, Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, SecureSettingsProto.Accessibility.DISPLAY_INVERSION_ENABLED); Loading Loading
core/java/android/provider/Settings.java +10 −0 Original line number Diff line number Diff line Loading @@ -9019,6 +9019,16 @@ public final class Settings { public static final String ACCESSIBILITY_DISPLAY_DALTONIZER = "accessibility_display_daltonizer"; /** * Integer property that determines the saturation level of color correction. Default value * is defined in Settings config.xml. * [0-10] inclusive where 0 would look as if color space adustment is not applied at all. * * @hide */ public static final String ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL = "accessibility_display_daltonizer_saturation_level"; /** * Setting that specifies whether automatic click when the mouse pointer stops moving is * enabled. Loading
core/proto/android/providers/settings/secure.proto +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ message SecureSettingsProto { optional SettingProto accessibility_pinch_to_zoom_anywhere_enabled = 55 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto accessibility_single_finger_panning_enabled = 56 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto accessibility_floating_menu_targets = 57 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto display_daltonizer_saturation_level = 58 [ (android.privacy).dest = DEST_AUTOMATIC ]; } optional Accessibility accessibility = 2; Loading
packages/SettingsProvider/src/android/provider/settings/backup/SecureSettings.java +2 −1 Original line number Diff line number Diff line Loading @@ -272,6 +272,7 @@ public class SecureSettings { Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS, Settings.Secure.AUDIO_DEVICE_INVENTORY, Settings.Secure.SCREEN_RESOLUTION_MODE, Settings.Secure.ACCESSIBILITY_FLOATING_MENU_TARGETS Settings.Secure.ACCESSIBILITY_FLOATING_MENU_TARGETS, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL }; }
packages/SettingsProvider/src/android/provider/settings/validators/SecureSettingsValidators.java +2 −0 Original line number Diff line number Diff line Loading @@ -430,5 +430,7 @@ public class SecureSettingsValidators { VALIDATORS.put(Secure.AUDIO_DEVICE_INVENTORY, ANY_STRING_VALIDATOR); VALIDATORS.put(Secure.SCREEN_RESOLUTION_MODE, new InclusiveIntegerRangeValidator( Secure.RESOLUTION_MODE_UNKNOWN, Secure.RESOLUTION_MODE_FULL)); VALIDATORS.put(Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL, new InclusiveIntegerRangeValidator(0, 10)); } }
packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java +3 −0 Original line number Diff line number Diff line Loading @@ -1759,6 +1759,9 @@ class SettingsProtoDumpUtil { dumpSetting(s, p, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, SecureSettingsProto.Accessibility.DISPLAY_DALTONIZER); dumpSetting(s, p, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_SATURATION_LEVEL, SecureSettingsProto.Accessibility.DISPLAY_DALTONIZER_SATURATION_LEVEL); dumpSetting(s, p, Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, SecureSettingsProto.Accessibility.DISPLAY_INVERSION_ENABLED); Loading