diff options
author | 2014-06-26 05:08:34 +0000 | |
---|---|---|
committer | 2014-06-26 05:08:34 +0000 | |
commit | 007185857baa00813f4514e1b4f042ad5bdcdac2 (patch) | |
tree | 5c29a6a390e4fced3660d0d6b4fc78a7ba721841 /java/src/com/android/inputmethod/latin/Constants.java | |
parent | 8000869191aca365db727a84fc35ce41fbca25ee (diff) | |
parent | 92827b0712f8afecb4800a4137470ba64cd0c505 (diff) | |
download | latinime-007185857baa00813f4514e1b4f042ad5bdcdac2.tar.gz latinime-007185857baa00813f4514e1b4f042ad5bdcdac2.tar.xz latinime-007185857baa00813f4514e1b4f042ad5bdcdac2.zip |
am 92827b07: Merge "Make PrevWordsInfo have multiple words\' information."
* commit '92827b0712f8afecb4800a4137470ba64cd0c505':
Make PrevWordsInfo have multiple words' information.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Constants.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Constants.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/Constants.java b/java/src/com/android/inputmethod/latin/Constants.java index f9339361a..b4e115c7d 100644 --- a/java/src/com/android/inputmethod/latin/Constants.java +++ b/java/src/com/android/inputmethod/latin/Constants.java @@ -166,6 +166,10 @@ public final class Constants { // Must be equal to MAX_WORD_LENGTH in native/jni/src/defines.h public static final int DICTIONARY_MAX_WORD_LENGTH = 48; + // (MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1)-gram is supported in Java side. Needs to modify + // MAX_PREV_WORD_COUNT_FOR_N_GRAM in native/jni/src/defines.h for suggestions. + public static final int MAX_PREV_WORD_COUNT_FOR_N_GRAM = 2; + // Key events coming any faster than this are long-presses. public static final int LONG_PRESS_MILLISECONDS = 200; // TODO: Set this value appropriately. |