[Physical Keyboard][A11y Page] Add Bounce keys dialog
1.Add dialog for adjust bounce key to different values. demo video: b/346949547#comment24. 2.Update summary text. 3.When receive update from content uri, update toggle state directly. 4.Rename Controller to more suitable name. Bug: 346949547 Test: atest SettingsRoboTests Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled Change-Id: I94d8d1a77528b13f59b2d67dfa30e17dd177e385
This commit is contained in:
@@ -4520,11 +4520,21 @@
|
||||
<!-- Title for the 'Bounce keys' preference switch. [CHAR LIMIT=35] -->
|
||||
<string name="bounce_keys">Bounce keys</string>
|
||||
<!-- Summary text for the 'Bounce keys' preference sub-screen. [CHAR LIMIT=300] -->
|
||||
<string name="bounce_keys_summary">The keyboard ignores quickly repeated presses of the same key within <xliff:g id="bounce_keys_threshold" example="500">%1$d</xliff:g> ms</string>
|
||||
<string name="bounce_keys_summary">The keyboard ignores quickly repeated presses of the same key </string>
|
||||
<!-- Title for the 'Bounce keys' threshold dialog. [CHAR LIMIT=35] -->
|
||||
<string name="bounce_keys_dialog_title">Bounce key threshold</string>
|
||||
<!-- Subtitle for the 'Bounce keys' threshold dialog. [CHAR LIMIT=300] -->
|
||||
<string name="bounce_keys_dialog_subtitle">Choose the duration of time your keyboard ignores repeated key presses</string>
|
||||
<!-- Option title for the 'Bounce keys' threshold dialog for 200 millisecond. [CHAR LIMIT=35] -->
|
||||
<string name="bounce_keys_dialog_option_200">0.2s</string>
|
||||
<!-- Option title for the 'Bounce keys' threshold dialog for 400 millisecond. [CHAR LIMIT=35] -->
|
||||
<string name="bounce_keys_dialog_option_400">0.4s</string>
|
||||
<!-- Option title for the 'Bounce keys' threshold dialog for 600 millisecond. [CHAR LIMIT=35] -->
|
||||
<string name="bounce_keys_dialog_option_600">0.6s</string>
|
||||
<!-- Title for the 'Slow keys' preference switch. [CHAR LIMIT=35] -->
|
||||
<string name="slow_keys">Slow keys</string>
|
||||
<!-- Summary text for the 'Slow keys' preference sub-screen. [CHAR LIMIT=300] -->
|
||||
<string name="slow_keys_summary">Adjusts the time it takes for a key press to activate to <xliff:g id="slow_keys_threshold" example="500">%1$d</xliff:g> ms</string>
|
||||
<string name="slow_keys_summary">Adjusts the time it takes for a key press to activate</string>
|
||||
<!-- Title for the 'Sticky keys' preference switch. [CHAR LIMIT=35] -->
|
||||
<string name="sticky_keys">Sticky keys</string>
|
||||
<!-- Summary text for the 'Sticky keys' preference sub-screen. [CHAR LIMIT=300] -->
|
||||
@@ -4532,7 +4542,7 @@
|
||||
<!-- Title for a toggle switch for 'mouse' keys, an accessibility setting that allows the mouse pointer to be controlled using certain keys on a physical keyboard if keyboard is connected. [CHAR LIMIT=35] -->
|
||||
<string name="mouse_keys">Mouse keys</string>
|
||||
<!-- Summary text for the accessibility setting 'Mouse keys' preference sub-screen. [CHAR LIMIT=100] -->
|
||||
<string name="mouse_keys_summary">Use the physical keyboard to control the mouse.</string>
|
||||
<string name="mouse_keys_summary">Use your keyboard to control the pointer</string>
|
||||
<!-- Title for the button to trigger the 'keyboard shortcuts helper' dialog. [CHAR LIMIT=35] -->
|
||||
<string name="keyboard_shortcuts_helper">Keyboard shortcuts</string>
|
||||
<!-- Summary text for the 'keyboard shortcuts helper' dialog. [CHAR LIMIT=100] -->
|
||||
|
Reference in New Issue
Block a user