aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-25 19:33:34 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-25 19:33:34 -0800
commit8d2f6026091741d1d746d550799cd552ed6805ea (patch)
treea5de4ba67550b4ab4d5d9ba8458ced02abbf6b8b /java/src/com/android/inputmethod/latin/inputlogic
parentf54be4fec2de6de316dbec7bbbb4709cbff7c915 (diff)
parent52a2682b99fc57dea974b21f3d606ed53a802e60 (diff)
downloadlatinime-8d2f6026091741d1d746d550799cd552ed6805ea.tar.gz
latinime-8d2f6026091741d1d746d550799cd552ed6805ea.tar.xz
latinime-8d2f6026091741d1d746d550799cd552ed6805ea.zip
am 52a2682b: [IL35] Preparative cleanup
* commit '52a2682b99fc57dea974b21f3d606ed53a802e60': [IL35] Preparative cleanup
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index 61d4bab13..4a4abd7d2 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -303,6 +303,8 @@ public final class InputLogic {
final KeyboardSwitcher keyboardSwitcher, final LatinIME.UIHandler handler,
final LatinIME.InputUpdater inputUpdater) {
inputUpdater.onStartBatchInput();
+ handler.showGesturePreviewAndSuggestionStrip(
+ SuggestedWords.EMPTY, false /* dismissGestureFloatingPreviewText */);
handler.cancelUpdateSuggestionStrip();
mConnection.beginBatchEdit();
if (mWordComposer.isComposingWord()) {
@@ -403,9 +405,12 @@ public final class InputLogic {
inputUpdater.onEndBatchInput(batchPointers);
}
- // TODO: remove this argument
- public void onCancelBatchInput(final LatinIME.InputUpdater inputUpdater) {
+ // TODO: remove these arguments
+ public void onCancelBatchInput(final LatinIME.UIHandler handler,
+ final LatinIME.InputUpdater inputUpdater) {
inputUpdater.onCancelBatchInput();
+ handler.showGesturePreviewAndSuggestionStrip(
+ SuggestedWords.EMPTY, true /* dismissGestureFloatingPreviewText */);
}
/**