diff options
| author | Tadashi Takaoka <takaoka@google.com> | 2012-05-18 01:02:53 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-18 01:02:53 -0700 |
| commit | aee147e2167b9d5147ec9fc315723bdf2a70eb2c (patch) | |
| tree | f7221de053ef2c370b5a0fd2342a260ad7fe051d /java/src/com/android/inputmethod/keyboard/Key.java | |
| parent | 4c9e6a15d174f85dfd28fbf89341549fbb986acf (diff) | |
Revert "Make KeyDrawParams and KeyPreviewDrawParams to top level class"
This reverts commit 4c9e6a15d174f85dfd28fbf89341549fbb986acf
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/Key.java')
| -rw-r--r-- | java/src/com/android/inputmethod/keyboard/Key.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/Key.java b/java/src/com/android/inputmethod/keyboard/Key.java index 829c54d6d..6ad791b33 100644 --- a/java/src/com/android/inputmethod/keyboard/Key.java +++ b/java/src/com/android/inputmethod/keyboard/Key.java @@ -31,7 +31,6 @@ import android.text.TextUtils; import android.util.Log; import android.util.Xml; -import com.android.inputmethod.keyboard.internal.KeyDrawParams; import com.android.inputmethod.keyboard.internal.KeySpecParser; import com.android.inputmethod.keyboard.internal.KeySpecParser.MoreKeySpec; import com.android.inputmethod.keyboard.internal.KeyStyles.KeyStyle; @@ -494,7 +493,7 @@ public class Key { } } - public int selectTextSize(KeyDrawParams params) { + public int selectTextSize(KeyboardView.KeyDrawParams params) { switch (mLabelFlags & LABEL_FLAGS_FOLLOW_KEY_TEXT_RATIO_MASK) { case LABEL_FLAGS_FOLLOW_KEY_LARGE_LETTER_RATIO: return params.mKeyLargeLetterSize; |
