diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ab31b8c1ec1..023c102c0ef 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1004,6 +1004,51 @@ android:resource="@id/accessibility_settings" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + critical + + + Standard + Hue only + Value only + + + + + 0 + 1 + 2 + + + + + @string/daltonizer_mode_deuteranomaly + @string/daltonizer_mode_protanomaly + @string/daltonizer_mode_tritanomaly + @string/daltonizer_mode_deuteranopia + @string/daltonizer_mode_protanopia + @string/daltonizer_mode_tritanopia + + + + + 12 + 11 + 13 + 15 + 14 + 16 + + + + + @string/daltonizer_mode_disabled + @string/daltonizer_mode_monochromacy + @string/daltonizer_mode_deuteranomaly + @string/daltonizer_mode_protanomaly + @string/daltonizer_mode_tritanomaly + @string/daltonizer_mode_deuteranopia + @string/daltonizer_mode_protanopia + @string/daltonizer_mode_tritanopia + + + + + -1 + 0 + 2 + 1 + 3 + 5 + 4 + 6 + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 9c5d0398b21..c70405e3224 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3278,6 +3278,8 @@ Services System + + Display Captions @@ -3308,6 +3310,42 @@ Speak passwords Touch & hold delay + + Contrast enhancement + + Color inversion + + Color space correction + + + Show in Quick Settings + + Brightness + + Contrast + + Inversion mode + + Correction mode + + Overridden by %1$s + + + Disabled + + Monochromacy + + Deuteranomaly (red-green) + + Protanomaly (red-green) + + Tritanomaly (blue-yellow) + + Deuteranopia (green) + + Protanopia (red) + + Tritanopia (blue) Settings @@ -4310,6 +4348,9 @@ Always use GPU for screen compositing + + Simulate color space + Enable OpenGL traces diff --git a/res/xml/accessibility_contrast_settings.xml b/res/xml/accessibility_contrast_settings.xml new file mode 100644 index 00000000000..6d08932ef2b --- /dev/null +++ b/res/xml/accessibility_contrast_settings.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + diff --git a/res/xml/accessibility_daltonizer_settings.xml b/res/xml/accessibility_daltonizer_settings.xml new file mode 100644 index 00000000000..2e8ad34774c --- /dev/null +++ b/res/xml/accessibility_daltonizer_settings.xml @@ -0,0 +1,33 @@ + + + + + + + + + + diff --git a/res/xml/accessibility_inversion_settings.xml b/res/xml/accessibility_inversion_settings.xml new file mode 100644 index 00000000000..a20c4db4543 --- /dev/null +++ b/res/xml/accessibility_inversion_settings.xml @@ -0,0 +1,33 @@ + + + + + + + + + + diff --git a/res/xml/accessibility_settings.xml b/res/xml/accessibility_settings.xml index 7b599b859e2..49f2e56a8e7 100644 --- a/res/xml/accessibility_settings.xml +++ b/res/xml/accessibility_settings.xml @@ -74,4 +74,21 @@ + + + + + + diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml index e8dbc03ebf5..f15cd140d5f 100644 --- a/res/xml/development_prefs.xml +++ b/res/xml/development_prefs.xml @@ -212,6 +212,14 @@ android:title="@string/disable_overlays" android:summary="@string/disable_overlays_summary"/> + +