am 035c68a1: am b121538e: Tune maximum keypress duration to 100 milliseconds
* commit '035c68a19a4966fe1a0f5c4d1cc7990e41455f79': Tune maximum keypress duration to 100 millisecondsmain
commit
2d86b73ffe
|
@ -31,7 +31,7 @@
|
||||||
<bool name="config_default_next_word_prediction">true</bool>
|
<bool name="config_default_next_word_prediction">true</bool>
|
||||||
<bool name="config_default_sound_enabled">false</bool>
|
<bool name="config_default_sound_enabled">false</bool>
|
||||||
<bool name="config_default_vibration_enabled">true</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_suggestions">100</integer>
|
||||||
<integer name="config_delay_update_old_suggestions">300</integer>
|
<integer name="config_delay_update_old_suggestions">300</integer>
|
||||||
<integer name="config_delay_update_shift_state">100</integer>
|
<integer name="config_delay_update_shift_state">100</integer>
|
||||||
|
|
|
@ -59,7 +59,7 @@ public final class SeekBarDialogPreference extends DialogPreference
|
||||||
|
|
||||||
public void setInterface(final ValueProxy proxy) {
|
public void setInterface(final ValueProxy proxy) {
|
||||||
mValueProxy = proxy;
|
mValueProxy = proxy;
|
||||||
setSummary(getValueText(proxy.readValue(getKey())));
|
setSummary(getValueText(clipValue(proxy.readValue(getKey()))));
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getValueText(final int value) {
|
private String getValueText(final int value) {
|
||||||
|
|
Loading…
Reference in New Issue