diff options
author | 2014-01-23 13:08:21 +0900 | |
---|---|---|
committer | 2014-01-23 16:25:48 +0900 | |
commit | a1ed211c4e80eb81ce399e0eaff88bbdf1e3199f (patch) | |
tree | 6145368f6fecb15434b4a9236d7be8b0cc39f29d /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | df8310c6e21b5bcf825d97ed5eb3816bb7ce1b28 (diff) | |
download | latinime-a1ed211c4e80eb81ce399e0eaff88bbdf1e3199f.tar.gz latinime-a1ed211c4e80eb81ce399e0eaff88bbdf1e3199f.tar.xz latinime-a1ed211c4e80eb81ce399e0eaff88bbdf1e3199f.zip |
[IL76] Remove a SuggestionStripView dependency
This constant is better located in SuggestedWords.
Or it could be in Constants, that would be fine too.
Bug: 8636060
Change-Id: I3e721bb1e2559f028dce8929eceadfe0478c5924
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( |