Unified service and shortcut state summary on a11y settings page.

Bug: 210026562
Test: manual
Test: atest

Change-Id: I4d5ff6b10d6bfd2fe6b3de1849d00a9d084bf269
This commit is contained in:
Chun-Ku Lin
2023-05-15 18:12:55 +00:00
parent 53c0788cc9
commit b8084ecfcd
25 changed files with 839 additions and 189 deletions

View File

@@ -12129,4 +12129,39 @@
<!-- Warning message when we try to dock an app not supporting multiple instances split into multiple sides [CHAR LIMIT=NONE] -->
<string name="dock_multi_instances_not_supported_text">"This app can only be opened in 1 window"</string>
<!-- The accessibility features state summary, indicating whether the service is turned on, whether the shortcut is turned on. The last part of the summary is the short summary of the feature. -->
<string name="accessibility_feature_full_state_summary"><xliff:g example="Service on" id="state">%1$s</xliff:g> / <xliff:g example="Shortcut on" id="shortcut_state">%2$s</xliff:g> / <xliff:g example="Speak items on screen" id="service_summary">%3$s</xliff:g></string>
<!-- Label representing that a generic Accessibility Service is turned on. -->
<string name="generic_accessibility_service_on">Service on</string>
<!-- Label representing that a generic Accessibility Service is turned off. -->
<string name="generic_accessibility_service_off">Service off</string>
<!-- Label representing that an accessibility feature's shortcut is turned off -->
<string name="generic_accessibility_feature_shortcut_off">Shortcut off</string>
<!-- Summary for the disabled state of the accessibility shortcut. This is shown as a summary for "[Service] shortcut", where "off" refers to the state of "shortcut". -->
<string name="accessibility_shortcut_state_off">Off</string>
<!-- Representing daltonizer (color filter) feature is turned on -->
<string name="daltonizer_state_on">On</string>
<!-- Representing daltonizer (color filter) feature is turned off -->
<string name="daltonizer_state_off">Off</string>
<!-- Representing color inversion feature is turned on -->
<string name="color_inversion_state_on">On</string>
<!-- Representing color inversion feature is turned off -->
<string name="color_inversion_state_off">Off</string>
<!-- The color inversion feature summary displayed as a subtext as an item in a list. -->
<string name="color_inversion_feature_summary">Turns light screens dark and dark screens light</string>
<!-- Short summary explains what magnification feature is. -->
<string name="magnification_feature_summary">Quickly zoom in on the screen to make content larger</string>
<!-- Summary of the AutoClick feature disabled state. -->
<string name="autoclick_disabled">Off</string>
<!-- Summary of the show captions preference disabled state. -->
<string name="show_captions_disabled">Off</string>
<!-- Summary of the show captions preference enabled state. -->
<string name="show_captions_enabled">On</string>
<!-- Summary of the Live Caption disabled state. -->
<string name="live_caption_disabled">Off</string>
<!-- Summary of the Live Caption enabled state. -->
<string name="live_caption_enabled">On</string>
</resources>

View File

@@ -34,7 +34,7 @@
android:persistent="false"
android:title="@string/one_handed_title"
settings:searchable="false"
settings:controller="com.android.settings.gestures.OneHandedEnablePreferenceController"/>
settings:controller="com.android.settings.accessibility.OneHandedPreferenceController"/>
<SwitchPreference
android:key="toggle_power_button_ends_call_preference"