Loading res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -4910,6 +4910,8 @@ <string name="input_setting_keys_dialog_option_400">0.4 seconds</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.6 seconds</string> <!-- Option title for the input setting keys threshold dialog for custom option. [CHAR LIMIT=35] --> <string name="input_setting_keys_dialog_option_custom"><xliff:g id="threshold" example="0.7">%.1f</xliff:g> seconds</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] --> src/com/android/settings/inputmethod/KeyboardAccessibilityKeysDialogFragment.java +1 −4 Original line number Diff line number Diff line Loading @@ -40,7 +40,6 @@ import com.google.android.material.slider.Slider; import org.jspecify.annotations.Nullable; import java.util.Locale; import java.util.concurrent.TimeUnit; public abstract class KeyboardAccessibilityKeysDialogFragment extends DialogFragment { Loading Loading @@ -182,9 +181,7 @@ public abstract class KeyboardAccessibilityKeysDialogFragment extends DialogFrag } private String progressToThresholdInSecond(float progress) { return String.format(Locale.getDefault(), "%.1f %s", progress, TimeUnit.SECONDS.name().toLowerCase( Locale.getDefault())); return getString(R.string.input_setting_keys_dialog_option_custom, progress); } private void initStateBasedOnThreshold(RadioGroup cannedValueRadioGroup, Loading Loading
res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -4910,6 +4910,8 @@ <string name="input_setting_keys_dialog_option_400">0.4 seconds</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.6 seconds</string> <!-- Option title for the input setting keys threshold dialog for custom option. [CHAR LIMIT=35] --> <string name="input_setting_keys_dialog_option_custom"><xliff:g id="threshold" example="0.7">%.1f</xliff:g> seconds</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] -->
src/com/android/settings/inputmethod/KeyboardAccessibilityKeysDialogFragment.java +1 −4 Original line number Diff line number Diff line Loading @@ -40,7 +40,6 @@ import com.google.android.material.slider.Slider; import org.jspecify.annotations.Nullable; import java.util.Locale; import java.util.concurrent.TimeUnit; public abstract class KeyboardAccessibilityKeysDialogFragment extends DialogFragment { Loading Loading @@ -182,9 +181,7 @@ public abstract class KeyboardAccessibilityKeysDialogFragment extends DialogFrag } private String progressToThresholdInSecond(float progress) { return String.format(Locale.getDefault(), "%.1f %s", progress, TimeUnit.SECONDS.name().toLowerCase( Locale.getDefault())); return getString(R.string.input_setting_keys_dialog_option_custom, progress); } private void initStateBasedOnThreshold(RadioGroup cannedValueRadioGroup, Loading