Loading java/res/values/attrs.xml +5 −0 Original line number Diff line number Diff line Loading @@ -434,4 +434,9 @@ <!-- Enable proximity characters correction. Disabled by default. --> <attr name="enableProximityCharsCorrection" format="boolean" /> </declare-styleable> <declare-styleable name="SeekBarDialogPreference"> <attr name="valueFormatText" format="reference" /> <attr name="maxValue" format="integer" /> </declare-styleable> </resources> java/res/values/config.xml +1 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,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_delay_update_suggestions">100</integer> <integer name="config_delay_update_old_suggestions">300</integer> <integer name="config_delay_update_shift_state">100</integer> Loading java/res/values/strings.xml +2 −2 Original line number Diff line number Diff line Loading @@ -76,8 +76,8 @@ <!-- Description for delay for dismissing a popup on screen: default value of the delay [CHAR LIMIT=15] --> <string name="key_preview_popup_dismiss_default_delay">Default</string> <!-- Units abbreviation for the keypress vibration duration (milliseconds) [CHAR LIMIT=10] --> <string name="settings_keypress_vibration_duration"><xliff:g id="milliseconds">%s</xliff:g>ms</string> <!-- Units abbreviation for the duration (milliseconds) [CHAR LIMIT=10] --> <string name="abbreviation_unit_milliseconds"><xliff:g id="milliseconds">%s</xliff:g>ms</string> <!-- Option name for enabling or disabling the use of names of people in Contacts for suggestion and correction [CHAR LIMIT=25] --> <string name="use_contacts_dict">Suggest Contact names</string> Loading java/res/xml/prefs.xml +8 −4 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" android:title="@string/english_ime_settings" android:key="english_ime_settings"> <PreferenceCategory Loading Loading @@ -144,12 +145,15 @@ <ListPreference android:key="pref_key_preview_popup_dismiss_delay" android:title="@string/key_preview_popup_dismiss_delay" /> <PreferenceScreen <com.android.inputmethod.latin.SeekBarDialogPreference android:key="pref_vibration_duration_settings" android:title="@string/prefs_keypress_vibration_duration_settings"/> <PreferenceScreen android:title="@string/prefs_keypress_vibration_duration_settings" latin:valueFormatText="@string/abbreviation_unit_milliseconds" latin:maxValue="@integer/config_max_vibration_duration" /> <com.android.inputmethod.latin.SeekBarDialogPreference android:key="pref_keypress_sound_volume" android:title="@string/prefs_keypress_sound_volume_settings" /> android:title="@string/prefs_keypress_sound_volume_settings" latin:maxValue="100" /> <!-- percent --> </PreferenceScreen> <PreferenceScreen android:key="debug_settings" Loading java/src/com/android/inputmethod/latin/AudioAndHapticFeedbackManager.java +0 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,6 @@ import android.view.View; * complexity of settings and the like. */ public final class AudioAndHapticFeedbackManager { public static final int MAX_KEYPRESS_VIBRATION_DURATION = 250; // millisecond private AudioManager mAudioManager; private Vibrator mVibrator; Loading Loading
java/res/values/attrs.xml +5 −0 Original line number Diff line number Diff line Loading @@ -434,4 +434,9 @@ <!-- Enable proximity characters correction. Disabled by default. --> <attr name="enableProximityCharsCorrection" format="boolean" /> </declare-styleable> <declare-styleable name="SeekBarDialogPreference"> <attr name="valueFormatText" format="reference" /> <attr name="maxValue" format="integer" /> </declare-styleable> </resources>
java/res/values/config.xml +1 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,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_delay_update_suggestions">100</integer> <integer name="config_delay_update_old_suggestions">300</integer> <integer name="config_delay_update_shift_state">100</integer> Loading
java/res/values/strings.xml +2 −2 Original line number Diff line number Diff line Loading @@ -76,8 +76,8 @@ <!-- Description for delay for dismissing a popup on screen: default value of the delay [CHAR LIMIT=15] --> <string name="key_preview_popup_dismiss_default_delay">Default</string> <!-- Units abbreviation for the keypress vibration duration (milliseconds) [CHAR LIMIT=10] --> <string name="settings_keypress_vibration_duration"><xliff:g id="milliseconds">%s</xliff:g>ms</string> <!-- Units abbreviation for the duration (milliseconds) [CHAR LIMIT=10] --> <string name="abbreviation_unit_milliseconds"><xliff:g id="milliseconds">%s</xliff:g>ms</string> <!-- Option name for enabling or disabling the use of names of people in Contacts for suggestion and correction [CHAR LIMIT=25] --> <string name="use_contacts_dict">Suggest Contact names</string> Loading
java/res/xml/prefs.xml +8 −4 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" android:title="@string/english_ime_settings" android:key="english_ime_settings"> <PreferenceCategory Loading Loading @@ -144,12 +145,15 @@ <ListPreference android:key="pref_key_preview_popup_dismiss_delay" android:title="@string/key_preview_popup_dismiss_delay" /> <PreferenceScreen <com.android.inputmethod.latin.SeekBarDialogPreference android:key="pref_vibration_duration_settings" android:title="@string/prefs_keypress_vibration_duration_settings"/> <PreferenceScreen android:title="@string/prefs_keypress_vibration_duration_settings" latin:valueFormatText="@string/abbreviation_unit_milliseconds" latin:maxValue="@integer/config_max_vibration_duration" /> <com.android.inputmethod.latin.SeekBarDialogPreference android:key="pref_keypress_sound_volume" android:title="@string/prefs_keypress_sound_volume_settings" /> android:title="@string/prefs_keypress_sound_volume_settings" latin:maxValue="100" /> <!-- percent --> </PreferenceScreen> <PreferenceScreen android:key="debug_settings" Loading
java/src/com/android/inputmethod/latin/AudioAndHapticFeedbackManager.java +0 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,6 @@ import android.view.View; * complexity of settings and the like. */ public final class AudioAndHapticFeedbackManager { public static final int MAX_KEYPRESS_VIBRATION_DURATION = 250; // millisecond private AudioManager mAudioManager; private Vibrator mVibrator; Loading