aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-09-07 01:49:04 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-07 01:49:04 -0700
commitca43ce0588674f112de0128387d3c8affb9c0f10 (patch)
treef0cab1c50364b8c223eaf2e4e722d258b4410923 /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
parent0415ddde5987a1e30980e300eb2cc36e99734b2e (diff)
parente5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea (diff)
downloadlatinime-ca43ce0588674f112de0128387d3c8affb9c0f10.tar.gz
latinime-ca43ce0588674f112de0128387d3c8affb9c0f10.tar.xz
latinime-ca43ce0588674f112de0128387d3c8affb9c0f10.zip
am e5abf25d: am 83e63ace: Dismiss mini keyboard when finger is released outside mini keyboard
Merge commit 'e5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea' * commit 'e5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea': Dismiss mini keyboard when finger is released outside mini keyboard
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java9
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() {