diff options
author | 2014-01-23 02:09:31 -0800 | |
---|---|---|
committer | 2014-01-23 02:09:31 -0800 | |
commit | b8c71e2fa3537de1ccebe77ec458e7d840ed1586 (patch) | |
tree | d7029f716eed3559169b3a2a4ea9deb924a5d116 /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | 647466f729c2f8d9cdffb8d6c198b32207f961d3 (diff) | |
parent | 3aa2043a66f7fcb5eaba3adae16abf5aa862d652 (diff) | |
download | latinime-b8c71e2fa3537de1ccebe77ec458e7d840ed1586.tar.gz latinime-b8c71e2fa3537de1ccebe77ec458e7d840ed1586.tar.xz latinime-b8c71e2fa3537de1ccebe77ec458e7d840ed1586.zip |
am 3aa2043a: Merge "[IL76] Remove a SuggestionStripView dependency"
* commit '3aa2043a66f7fcb5eaba3adae16abf5aa862d652':
[IL76] Remove a SuggestionStripView dependency
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index f9de89c80..bb34b7ba9 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -31,6 +31,9 @@ public final class SuggestedWords { public static final int INDEX_OF_AUTO_CORRECTION = 1; public static final int NOT_A_SEQUENCE_NUMBER = -1; + // The maximum number of suggestions available. + public static final int MAX_SUGGESTIONS = 18; + private static final ArrayList<SuggestedWordInfo> EMPTY_WORD_INFO_LIST = CollectionUtils.newArrayList(0); public static final SuggestedWords EMPTY = new SuggestedWords( |