Tune maximum keypress duration to 100 milliseconds

Bug: 8556975
Change-Id: If7839c5764f7a269243a9570c0b7782b6f7ee73b
main
Tadashi G. Takaoka 2013-05-13 20:04:59 +09:00
parent e8336aa80c
commit b121538e0c
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
<bool name="config_default_next_word_prediction">true</bool>
<bool name="config_default_sound_enabled">false</bool>
<bool name="config_default_vibration_enabled">true</bool>
<integer name="config_max_vibration_duration">250</integer> <!-- milliseconds -->
<integer name="config_max_vibration_duration">100</integer> <!-- milliseconds -->
<integer name="config_delay_update_suggestions">100</integer>
<integer name="config_delay_update_old_suggestions">300</integer>
<integer name="config_delay_update_shift_state">100</integer>

View File

@ -59,7 +59,7 @@ public final class SeekBarDialogPreference extends DialogPreference
public void setInterface(final ValueProxy proxy) {
mValueProxy = proxy;
setSummary(getValueText(proxy.readValue(getKey())));
setSummary(getValueText(clipValue(proxy.readValue(getKey()))));
}
private String getValueText(final int value) {