diff options
author | 2010-09-07 15:37:59 +0900 | |
---|---|---|
committer | 2010-09-07 17:44:31 +0900 | |
commit | 83e63ace2a1bd5b3c27d26d914456c2b0def17c5 (patch) | |
tree | 89cb9f8a4be8d7c89cd828c6ad287bc6def0cd2a /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | |
parent | 26aff8c62f61f18b1b9a40ce647984284a41c895 (diff) | |
download | latinime-83e63ace2a1bd5b3c27d26d914456c2b0def17c5.tar.gz latinime-83e63ace2a1bd5b3c27d26d914456c2b0def17c5.tar.xz latinime-83e63ace2a1bd5b3c27d26d914456c2b0def17c5.zip |
Dismiss mini keyboard when finger is released outside mini keyboard
Bug: 2978975
Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java index a0366c273..8f1ec6591 100644 --- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java +++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java @@ -124,6 +124,11 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx void onText(CharSequence text); /** + * Called when user released a finger outside any key. + */ + void onCancel(); + + /** * Called when the user quickly moves the finger from right to * left. */ @@ -1005,6 +1010,10 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx dismissPopupKeyboard(); } + public void onCancel() { + dismissPopupKeyboard(); + } + public void swipeLeft() { } public void swipeRight() { |