aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-04-10 16:38:37 +0900
committerJean Chalard <jchalard@google.com>2013-04-12 20:49:03 +0900
commit6a114fa700d3ca73c608e1291b74bbbdd5a1a7b7 (patch)
tree5e6ab1f85370bf2a426145e40fcc2cce243772c3 /java/src/com/android/inputmethod/latin/Dictionary.java
parentd24f93971292451c7a16456fecb8eff5deaa2c37 (diff)
downloadlatinime-6a114fa700d3ca73c608e1291b74bbbdd5a1a7b7.tar.gz
latinime-6a114fa700d3ca73c608e1291b74bbbdd5a1a7b7.tar.xz
latinime-6a114fa700d3ca73c608e1291b74bbbdd5a1a7b7.zip
Restart suggestions when the cursor moves.
This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index ff3d83fad..9691fa231 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -37,6 +37,8 @@ public abstract class Dictionary {
public static final String TYPE_USER = "user";
// User history dictionary internal to LatinIME.
public static final String TYPE_USER_HISTORY = "history";
+ // Spawned by resuming suggestions. Comes from a span that was in the TextView.
+ public static final String TYPE_RESUMED = "resumed";
protected final String mDictType;
public Dictionary(final String dictType) {