diff options
| author | Ken Wakasa <kwakasa@google.com> | 2014-08-07 11:38:01 +0000 |
|---|---|---|
| committer | Ken Wakasa <kwakasa@google.com> | 2014-08-07 11:38:36 +0000 |
| commit | 787e9a37b41c67e8683e854538b2743a2bc8fdcd (patch) | |
| tree | 9746a1f868d59435985e3539790938b4368c0944 /java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java | |
| parent | 5f57fe4ad035f3deb53a58616efea843546266b4 (diff) | |
Revert "Add Key label off center attribute"
This reverts commit ba49920e8046ca592d6c914b2e3f7394bf9c281c.
Due to unit test breakage.
Bug: 14419121
Change-Id: I6f4fc30b86227e59c883d202551b162dc91b4166
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java')
| -rw-r--r-- | java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java b/java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java index 69cf2e389..133462ac7 100644 --- a/java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyVisualAttributes.java @@ -48,8 +48,6 @@ public final class KeyVisualAttributes { public final int mPreviewTextColor; public final float mHintLabelVerticalAdjustment; - public final float mLabelOffCenterRatio; - public final float mHintLabelOffCenterRatio; private static final int[] VISUAL_ATTRIBUTE_IDS = { R.styleable.Keyboard_Key_keyTypeface, @@ -71,8 +69,6 @@ public final class KeyVisualAttributes { R.styleable.Keyboard_Key_keyShiftedLetterHintActivatedColor, R.styleable.Keyboard_Key_keyPreviewTextColor, R.styleable.Keyboard_Key_keyHintLabelVerticalAdjustment, - R.styleable.Keyboard_Key_keyLabelOffCenterRatio, - R.styleable.Keyboard_Key_keyHintLabelOffCenterRatio }; private static final SparseIntArray sVisualAttributeIds = new SparseIntArray(); private static final int ATTR_DEFINED = 1; @@ -139,9 +135,5 @@ public final class KeyVisualAttributes { mHintLabelVerticalAdjustment = ResourceUtils.getFraction(keyAttr, R.styleable.Keyboard_Key_keyHintLabelVerticalAdjustment, 0.0f); - mLabelOffCenterRatio = ResourceUtils.getFraction(keyAttr, - R.styleable.Keyboard_Key_keyLabelOffCenterRatio, 0.0f); - mHintLabelOffCenterRatio = ResourceUtils.getFraction(keyAttr, - R.styleable.Keyboard_Key_keyHintLabelOffCenterRatio, 0.0f); } } |
