diff options
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/LatinKeyboard.java')
| -rw-r--r-- | java/src/com/android/inputmethod/keyboard/LatinKeyboard.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java b/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java index e612b52b5..8087f030e 100644 --- a/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java +++ b/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java @@ -280,7 +280,9 @@ public class LatinKeyboard extends Keyboard { */ @Override @SuppressWarnings("unused") // SubtypeSwitcher.USE_SPACEBAR_LANGUAGE_SWITCHER is constant - public boolean isInside(Key key, int x, int y) { + public boolean isInside(Key key, int pointX, int pointY) { + int x = pointX; + int y = pointY; final int code = key.mCodes[0]; if (code == CODE_SHIFT || code == CODE_DELETE) { y -= key.mHeight / 10; |
