aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorTom Ouyang <ouyang@google.com>2012-12-10 12:38:29 -0800
committerTom Ouyang <ouyang@google.com>2012-12-13 21:45:51 -0800
commitac69ab400d1ea4f90b4ca24486d62212decf1069 (patch)
tree31b71f2e13bafebba8bf85a883b9e314b55af76a /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parentbe68b41ccb1a16201c3b91f1576a731f7715aaf6 (diff)
downloadlatinime-ac69ab400d1ea4f90b4ca24486d62212decf1069.tar.gz
latinime-ac69ab400d1ea4f90b4ca24486d62212decf1069.tar.xz
latinime-ac69ab400d1ea4f90b4ca24486d62212decf1069.zip
Refactor more keys menu framework (part 3)
Make it possible to re-enter gesture input even after triggering the long-press menu. This is useful for new users who may pause at the start of a word. Works for both single and bi-manual gestures. Bug: 7595193 Change-Id: Ieaecfd5385ed6c10ae9347b99c2e35a0de5e895d
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 1888912ac..d7b514e8a 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -684,6 +684,11 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
public void onShowMoreKeysPanel(MoreKeysPanel panel) {
mKeyboardView.onShowMoreKeysPanel(panel);
}
+
+ @Override
+ public void onCancelMoreKeysPanel() {
+ dismissMoreSuggestions();
+ }
};
boolean dismissMoreSuggestions() {