[Physical Keyboard] Add slow keys dialog
demo: https://screenshot.googleplex.com/7CPpfHvAixe9Awr.png Add dialog for Slow keys, which have same set up with Bounce keys. Move dialog logic to InputSettingPreferenceController, to reuse it from slow keys controller. Bug: 346949547 Test: atest SettingsRoboTests Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled Change-Id: Ia4d74fcf3f20ed68cb252503e88d99ea79eae291
This commit is contained in:
committed by
Shaowei Shen
parent
9936dae2be
commit
7aefcf71b6
@@ -4525,12 +4525,17 @@
|
||||
<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>
|
||||
<!-- Option title for the input setting keys threshold dialog for 200 millisecond. [CHAR LIMIT=35] -->
|
||||
<string name="input_setting_keys_dialog_option_200">0.2s</string>
|
||||
<!-- Option title for the input setting keys threshold dialog for 400 millisecond. [CHAR LIMIT=35] -->
|
||||
<string name="input_setting_keys_dialog_option_400">0.4s</string>
|
||||
<!-- Option title for the input setting keys threshold dialog for 600 millisecond. [CHAR LIMIT=35] -->
|
||||
<string name="input_setting_keys_dialog_option_600">0.6s</string>
|
||||
<!-- Option title for the input setting keys threshold dialog for custom value. [CHAR LIMIT=35] -->
|
||||
<string name="input_setting_keys_custom_title">Custom</string>
|
||||
<!-- Option subtitle for the input setting keys threshold dialog for custom value. [CHAR LIMIT=35] -->
|
||||
<string name="input_setting_keys_custom_value">custom value</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] -->
|
||||
|
Reference in New Issue
Block a user