diff options
author | 2010-10-01 19:40:44 +0900 | |
---|---|---|
committer | 2010-10-02 00:02:00 +0900 | |
commit | 4fc510a7890976d9968d73ceacf3983e77f489d2 (patch) | |
tree | d8ffd8fed770cf0fe13cd1dbf1b7ffdc6924223b /java/src/com/android/inputmethod/latin/KeyDetector.java | |
parent | 932a1b756d5e7e350dfb3c937a43632426f834c2 (diff) | |
download | latinime-4fc510a7890976d9968d73ceacf3983e77f489d2.tar.gz latinime-4fc510a7890976d9968d73ceacf3983e77f489d2.tar.xz latinime-4fc510a7890976d9968d73ceacf3983e77f489d2.zip |
Unbundle Keyboard.java to BaseKeyboard.java
Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/KeyDetector.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/KeyDetector.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/KeyDetector.java b/java/src/com/android/inputmethod/latin/KeyDetector.java index 76fe1200e..3902b60a3 100644 --- a/java/src/com/android/inputmethod/latin/KeyDetector.java +++ b/java/src/com/android/inputmethod/latin/KeyDetector.java @@ -16,14 +16,13 @@ package com.android.inputmethod.latin; -import android.inputmethodservice.Keyboard; -import android.inputmethodservice.Keyboard.Key; +import com.android.inputmethod.latin.BaseKeyboard.Key; import java.util.Arrays; import java.util.List; abstract class KeyDetector { - protected Keyboard mKeyboard; + protected BaseKeyboard mKeyboard; private Key[] mKeys; @@ -35,7 +34,7 @@ abstract class KeyDetector { protected int mProximityThresholdSquare; - public Key[] setKeyboard(Keyboard keyboard, float correctionX, float correctionY) { + public Key[] setKeyboard(BaseKeyboard keyboard, float correctionX, float correctionY) { if (keyboard == null) throw new NullPointerException(); mCorrectionX = (int)correctionX; |