aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2012-05-29 19:07:22 +0900
committerSatoshi Kataoka <satok@google.com>2012-05-29 20:39:39 +0900
commitc88f61215c5b9ca6e0cc3f776e3b7da19eec9cae (patch)
treefb9ed8983cdbcbd8f25659e33f6b6088fa4c52fd /java/src/com/android/inputmethod/latin/ExpandableDictionary.java
parent51705efc96c1c555cf9e0f557ea8cdc1c1c97781 (diff)
downloadlatinime-c88f61215c5b9ca6e0cc3f776e3b7da19eec9cae.tar.gz
latinime-c88f61215c5b9ca6e0cc3f776e3b7da19eec9cae.tar.xz
latinime-c88f61215c5b9ca6e0cc3f776e3b7da19eec9cae.zip
Set level 1 as the initial value of the valid words
Bug: 4192129 Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ExpandableDictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/ExpandableDictionary.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
index 358cd4d4d..34a92fd30 100644
--- a/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
+++ b/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
@@ -84,8 +84,7 @@ public class ExpandableDictionary extends Dictionary {
protected interface NextWord {
public Node getWordNode();
public int getFrequency();
- /** FcValue is a bit set */
- public int getFcValue();
+ public ForgettingCurveParams getFcParams();
public int notifyTypedAgainAndGetFrequency();
}
@@ -108,8 +107,8 @@ public class ExpandableDictionary extends Dictionary {
}
@Override
- public int getFcValue() {
- return mFrequency;
+ public ForgettingCurveParams getFcParams() {
+ return null;
}
@Override
@@ -138,8 +137,8 @@ public class ExpandableDictionary extends Dictionary {
}
@Override
- public int getFcValue() {
- return mFcp.getFc();
+ public ForgettingCurveParams getFcParams() {
+ return mFcp;
}
@Override