summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyDetector.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-03-06 16:38:00 +0900
committersatok <satok@google.com>2012-03-06 16:38:00 +0900
commit691f1c174b660f3bcfe1823d16e55990b4c829da (patch)
tree0fd57aaf0ca7e295bc4c13270147f62de772bfcb /java/src/com/android/inputmethod/keyboard/KeyDetector.java
parent231ef8fa3e6cf0961c62b2bf54300722ea3c9b64 (diff)
Fix coordinates sent to native code
Change-Id: I2c8b093b59ad36ffe860c3c4d360d87251d101c4
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/KeyDetector.java')
-rw-r--r--java/src/com/android/inputmethod/keyboard/KeyDetector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyDetector.java b/java/src/com/android/inputmethod/keyboard/KeyDetector.java
index 10cf1d1f4..3638eae8d 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyDetector.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyDetector.java
@@ -65,11 +65,11 @@ public class KeyDetector {
return mKeyHysteresisDistanceSquared;
}
- protected int getTouchX(int x) {
+ public int getTouchX(int x) {
return x + mCorrectionX;
}
- protected int getTouchY(int y) {
+ public int getTouchY(int y) {
return y + mCorrectionY;
}