aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/CandidateView.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-09-01 17:01:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-01 17:01:25 -0700
commitec1f2486b078f8d2820853feb31389140e7ffbf7 (patch)
treeb536b04385bf724daddc2cd0f39040135c760227 /java/src/com/android/inputmethod/latin/CandidateView.java
parent568743e182d7a997714e494c801100701b5afd9f (diff)
parentc354167c84b06b572067efaddfbd3667ffdadb98 (diff)
downloadlatinime-ec1f2486b078f8d2820853feb31389140e7ffbf7.tar.gz
latinime-ec1f2486b078f8d2820853feb31389140e7ffbf7.tar.xz
latinime-ec1f2486b078f8d2820853feb31389140e7ffbf7.zip
am c354167c: am b00a1d0c: Correction improvements - use the new InputConnection APIs for underlining and fetching the selected text.
Merge commit 'c354167c84b06b572067efaddfbd3667ffdadb98' * commit 'c354167c84b06b572067efaddfbd3667ffdadb98': Correction improvements - use the new InputConnection APIs for underlining and
Diffstat (limited to '')
-rwxr-xr-xjava/src/com/android/inputmethod/latin/CandidateView.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/CandidateView.java b/java/src/com/android/inputmethod/latin/CandidateView.java
index 7fcc3d532..4995727da 100755
--- a/java/src/com/android/inputmethod/latin/CandidateView.java
+++ b/java/src/com/android/inputmethod/latin/CandidateView.java
@@ -107,7 +107,6 @@ public class CandidateView extends View {
}
break;
}
-
}
};
@@ -333,6 +332,10 @@ public class CandidateView extends View {
requestLayout();
}
+ public boolean isShowingAddToDictionaryHint() {
+ return mShowingAddToDictionary;
+ }
+
public void showAddToDictionaryHint(CharSequence word) {
ArrayList<CharSequence> suggestions = new ArrayList<CharSequence>();
suggestions.add(word);