diff options
author | 2012-07-12 15:21:11 +0900 | |
---|---|---|
committer | 2012-07-12 19:21:44 +0900 | |
commit | c7387a4fd065ad6782b0705e56f9556ac9cf127f (patch) | |
tree | 0d3d4dc69f8b211345bc67e0c46218af11e806ac /java/src | |
parent | 6931df9c17aaeb04288f937cabf956c1b9eb0cc9 (diff) | |
download | latinime-c7387a4fd065ad6782b0705e56f9556ac9cf127f.tar.gz latinime-c7387a4fd065ad6782b0705e56f9556ac9cf127f.tar.xz latinime-c7387a4fd065ad6782b0705e56f9556ac9cf127f.zip |
Add values for suggestion types (A120)
Also, use it in getBigrams.
Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index f079c2112..88fc006df 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -125,6 +125,7 @@ public class SuggestedWords { public static final int KIND_HARDCODED = 5; // Hardcoded suggestion, e.g. punctuation public static final int KIND_APP_DEFINED = 6; // Suggested by the application public static final int KIND_SHORTCUT = 7; // A shortcut + public static final int KIND_PREDICTION = 8; // A prediction (== a suggestion with no input) public final String mWord; public final int mScore; public final int mKind; // one of the KIND_* constants above |