diff options
| author | Tadashi G. Takaoka <takaoka@google.com> | 2012-05-18 16:53:44 +0900 |
|---|---|---|
| committer | Tadashi G. Takaoka <takaoka@google.com> | 2012-05-18 16:58:34 +0900 |
| commit | 4c9e6a15d174f85dfd28fbf89341549fbb986acf (patch) | |
| tree | 8aecccf3d3904a4068ce4f1cc020b2b84324546b /java/src/com/android/inputmethod/keyboard/Key.java | |
| parent | 468ac35822034caddc3ba98e70f914b7f88dfff4 (diff) | |
Make KeyDrawParams and KeyPreviewDrawParams to top level class
This is a follow up of Ide48c361.
Bug: 6509415
Change-Id: Ib45c476924bc4b6b2ca65e0cae91d719109a9cb1
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, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/Key.java b/java/src/com/android/inputmethod/keyboard/Key.java index 6ad791b33..829c54d6d 100644 --- a/java/src/com/android/inputmethod/keyboard/Key.java +++ b/java/src/com/android/inputmethod/keyboard/Key.java @@ -31,6 +31,7 @@ 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; @@ -493,7 +494,7 @@ public class Key { } } - public int selectTextSize(KeyboardView.KeyDrawParams params) { + public int selectTextSize(KeyDrawParams params) { switch (mLabelFlags & LABEL_FLAGS_FOLLOW_KEY_TEXT_RATIO_MASK) { case LABEL_FLAGS_FOLLOW_KEY_LARGE_LETTER_RATIO: return params.mKeyLargeLetterSize; |
