aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-09-07 22:37:39 +0900
committersatok <satok@google.com>2010-09-07 22:37:39 +0900
commiteca96373907ccd704412c3ee6e46260717861dde (patch)
tree51eaaf4bd30fd52c42b2f7c1fee02eff470b099e /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
parent73540126a8ad99cc368d707a02cc02df3d8d3b1c (diff)
parentc7e1642610301f8a325270a10fdc8e7ecbd48acf (diff)
downloadlatinime-eca96373907ccd704412c3ee6e46260717861dde.tar.gz
latinime-eca96373907ccd704412c3ee6e46260717861dde.tar.xz
latinime-eca96373907ccd704412c3ee6e46260717861dde.zip
Merge remote branch 'goog/master' into merge4
Conflicts: java/res/values/strings.xml Change-Id: Iee1abd3c11e07f681b9f7a280c3621a0c33ffc90
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() {