aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SettingsValues.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-01-23 08:37:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-23 08:37:36 +0000
commit9dc85a673e6eb7c7f0c829e90e3f9fd744af3022 (patch)
tree6f5c55bb91233e6a992d89eba7705cb608a7ebf5 /java/src/com/android/inputmethod/latin/SettingsValues.java
parentf1074c508e70b3489dc85c036f7ed49d3196ba47 (diff)
parentcc5e4a444524f73a112d7223d7940d41cf60d1f4 (diff)
downloadlatinime-9dc85a673e6eb7c7f0c829e90e3f9fd744af3022.tar.gz
latinime-9dc85a673e6eb7c7f0c829e90e3f9fd744af3022.tar.xz
latinime-9dc85a673e6eb7c7f0c829e90e3f9fd744af3022.zip
Merge "Configurable key long press timeout"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SettingsValues.java')
-rw-r--r--java/src/com/android/inputmethod/latin/SettingsValues.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/SettingsValues.java b/java/src/com/android/inputmethod/latin/SettingsValues.java
index d6556d617..29e79e4cc 100644
--- a/java/src/com/android/inputmethod/latin/SettingsValues.java
+++ b/java/src/com/android/inputmethod/latin/SettingsValues.java
@@ -59,6 +59,7 @@ public final class SettingsValues {
public final boolean mGestureInputEnabled;
public final boolean mGesturePreviewTrailEnabled;
public final boolean mGestureFloatingPreviewTextEnabled;
+ public final int mKeyLongpressTimeout;
// From the input box
public final InputAttributes mInputAttributes;
@@ -121,6 +122,7 @@ public final class SettingsValues {
mBigramPredictionEnabled = readBigramPredictionEnabled(prefs, res);
// Compute other readable settings
+ mKeyLongpressTimeout = Settings.readKeyLongpressTimeout(prefs, res);
mKeypressVibrationDuration = Settings.readKeypressVibrationDuration(prefs, res);
mKeypressSoundVolume = Settings.readKeypressSoundVolume(prefs, res);
mKeyPreviewPopupDismissDelay = Settings.readKeyPreviewPopupDismissDelay(prefs, res);