From b118d4cb58c27131f6333ada281c772edfcaa74b Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 1 Aug 2011 16:37:13 -0700 Subject: Cleanup icon drawable related code Bug: 5023981 Change-Id: I729354f32797eef354ec9af8e05f17839f0a361c --- java/src/com/android/inputmethod/keyboard/Key.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'java/src/com/android/inputmethod/keyboard/Key.java') diff --git a/java/src/com/android/inputmethod/keyboard/Key.java b/java/src/com/android/inputmethod/keyboard/Key.java index 5b34dd5db..62a9c6383 100644 --- a/java/src/com/android/inputmethod/keyboard/Key.java +++ b/java/src/com/android/inputmethod/keyboard/Key.java @@ -324,16 +324,13 @@ public class Key { mPreviewIcon = iconsSet.getIcon(style.getInt( keyAttr, R.styleable.Keyboard_Key_keyIconPreview, KeyboardIconsSet.ICON_UNDEFINED)); - Keyboard.setDefaultBounds(mPreviewIcon); mIcon = iconsSet.getIcon(style.getInt( keyAttr, R.styleable.Keyboard_Key_keyIcon, KeyboardIconsSet.ICON_UNDEFINED)); - Keyboard.setDefaultBounds(mIcon); final int shiftedIconId = style.getInt(keyAttr, R.styleable.Keyboard_Key_keyIconShifted, KeyboardIconsSet.ICON_UNDEFINED); if (shiftedIconId != KeyboardIconsSet.ICON_UNDEFINED) { final Drawable shiftedIcon = iconsSet.getIcon(shiftedIconId); - Keyboard.setDefaultBounds(shiftedIcon); mKeyboard.addShiftedIcon(this, shiftedIcon); } mHintLabel = style.getText(keyAttr, R.styleable.Keyboard_Key_keyHintLabel); -- cgit v1.2.3