From c3afe2c244c14ed0f8a355fe608b3402e3656330 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Sun, 31 Jul 2011 18:34:54 -0700 Subject: [PATCH] Replace the notion of "voice" with "shortcut" as many as possible Bug: 4340933 Change-Id: I98b4eca5167cc3767a0868fae8f6436164adbe4d --- java/res/values/attrs.xml | 4 +-- java/res/xml-sw600dp/kbd_qwerty_f2.xml | 8 +++--- java/res/xml-sw768dp/kbd_number.xml | 2 +- java/res/xml-sw768dp/kbd_phone.xml | 2 +- java/res/xml-sw768dp/kbd_phone_shift.xml | 2 +- java/res/xml-sw768dp/kbd_qwerty_row4.xml | 2 +- java/res/xml-sw768dp/kbd_rows_symbols.xml | 2 +- .../xml-sw768dp/kbd_rows_symbols_shift.xml | 2 +- java/res/xml/kbd_key_styles.xml | 9 ++++--- java/res/xml/kbd_qwerty_f1.xml | 8 +++--- java/res/xml/kbd_symbols_f1.xml | 8 +++--- .../inputmethod/keyboard/KeyboardId.java | 25 ++++++++++--------- .../keyboard/KeyboardSwitcher.java | 4 +-- .../keyboard/internal/KeyboardParser.java | 15 +++++------ 14 files changed, 48 insertions(+), 45 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index e503d98a4..af7484fa8 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -266,8 +266,8 @@ - - + + diff --git a/java/res/xml-sw600dp/kbd_qwerty_f2.xml b/java/res/xml-sw600dp/kbd_qwerty_f2.xml index 3ea11805f..b25afc12f 100644 --- a/java/res/xml-sw600dp/kbd_qwerty_f2.xml +++ b/java/res/xml-sw600dp/kbd_qwerty_f2.xml @@ -34,13 +34,13 @@ > - + @@ -51,13 +51,13 @@ > - + - + - + @@ -90,12 +90,12 @@ - + diff --git a/java/res/xml/kbd_symbols_f1.xml b/java/res/xml/kbd_symbols_f1.xml index cebb4f0b2..8c9bea5e2 100644 --- a/java/res/xml/kbd_symbols_f1.xml +++ b/java/res/xml/kbd_symbols_f1.xml @@ -27,13 +27,13 @@ > - + - + %s", TAG_CASE, @@ -524,8 +524,9 @@ public class KeyboardParser { a.getInt(R.styleable.Keyboard_Case_f2KeyMode, -1)), "f2KeyMode"), booleanAttr(a, R.styleable.Keyboard_Case_clobberSettingsKey, "clobberSettingsKey"), - booleanAttr(a, R.styleable.Keyboard_Case_voiceKeyEnabled, "voiceKeyEnabled"), - booleanAttr(a, R.styleable.Keyboard_Case_hasVoiceKey, "hasVoiceKey"), + booleanAttr( + a, R.styleable.Keyboard_Case_shortcutKeyEnabled, "shortcutKeyEnabled"), + booleanAttr(a, R.styleable.Keyboard_Case_hasShortcutKey, "hasShortcutKey"), textAttr(EditorInfoCompatUtils.imeOptionsName( a.getInt(R.styleable.Keyboard_Case_imeAction, -1)), "imeAction"), textAttr(a.getString(R.styleable.Keyboard_Case_localeCode), "localeCode"),