diff options
author | 2012-01-26 12:49:43 +0900 | |
---|---|---|
committer | 2012-01-26 13:07:51 +0900 | |
commit | 6e082cb30dbe1a8cc314b474dc1377b85fdb25c2 (patch) | |
tree | 01437bf12b07f29c34d05ef88e5b466da984086d /java/src/com/android/inputmethod/latin/ExpandableDictionary.java | |
parent | 61b31a646ea5c65f55891354dfd0485cbbcbc997 (diff) | |
download | latinime-6e082cb30dbe1a8cc314b474dc1377b85fdb25c2.tar.gz latinime-6e082cb30dbe1a8cc314b474dc1377b85fdb25c2.tar.xz latinime-6e082cb30dbe1a8cc314b474dc1377b85fdb25c2.zip |
Convert an internal enum into an int of same underlying value.
Goes together with Id4f4e066
Bug: 5922118
Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ExpandableDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/ExpandableDictionary.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableDictionary.java index 7eec8e2ca..8e8adc1c2 100644 --- a/java/src/com/android/inputmethod/latin/ExpandableDictionary.java +++ b/java/src/com/android/inputmethod/latin/ExpandableDictionary.java @@ -301,7 +301,7 @@ public class ExpandableDictionary extends Dictionary { finalFreq = computeSkippedWordFinalFreq(freq, snr, mInputLength); } if (!callback.addWord(word, 0, depth + 1, finalFreq, mDicTypeId, - DataType.UNIGRAM)) { + Dictionary.UNIGRAM)) { return; } } @@ -342,7 +342,7 @@ public class ExpandableDictionary extends Dictionary { snr * addedAttenuation, mInputLength); } callback.addWord(word, 0, depth + 1, finalFreq, mDicTypeId, - DataType.UNIGRAM); + Dictionary.UNIGRAM); } } if (children != null) { @@ -506,7 +506,7 @@ public class ExpandableDictionary extends Dictionary { } while (node != null); callback.addWord(mLookedUpString, index, MAX_WORD_LENGTH - index, freq, mDicTypeId, - DataType.BIGRAM); + Dictionary.BIGRAM); } } |