From 9d5601e9013c5ec9a7ac75db16f4a0a8218b02bf Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 31 Aug 2011 15:26:32 +0900 Subject: [PATCH] Rename PopupCharactersParser to MoreKeySpecParser Also renames PopupPanel to MoreKeysPanel Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926 --- ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 ...chars.xml => donottranslate-more-keys.xml} | 0 java/res/values-sw600dp/config.xml | 4 +- java/res/values-sw768dp/config.xml | 4 +- ...chars.xml => donottranslate-more-keys.xml} | 0 java/res/values/attrs.xml | 16 +-- java/res/values/config.xml | 4 +- ...chars.xml => donottranslate-more-keys.xml} | 0 java/res/values/styles.xml | 6 +- java/res/xml-sw600dp/kbd_key_styles.xml | 8 +- java/res/xml-sw600dp/kbd_qwerty_row1.xml | 20 +-- java/res/xml-sw600dp/kbd_qwerty_row2.xml | 12 +- java/res/xml-sw600dp/kbd_qwerty_row3.xml | 8 +- java/res/xml-sw600dp/kbd_qwerty_row4.xml | 2 +- .../res/xml-sw600dp/kbd_row3_comma_period.xml | 4 +- java/res/xml-sw600dp/kbd_row3_smiley.xml | 4 +- .../xml-sw600dp/kbd_row4_apostrophe_dash.xml | 6 +- java/res/xml-sw600dp/kbd_rows_arabic.xml | 20 +-- java/res/xml-sw600dp/kbd_rows_azerty.xml | 44 +++---- java/res/xml-sw600dp/kbd_rows_hebrew.xml | 18 +-- java/res/xml-sw600dp/kbd_rows_qwertz.xml | 32 ++--- java/res/xml-sw600dp/kbd_rows_russian.xml | 6 +- .../res/xml-sw600dp/kbd_rows_scandinavian.xml | 44 +++---- java/res/xml-sw600dp/kbd_rows_spanish.xml | 12 +- java/res/xml-sw600dp/kbd_rows_symbols.xml | 52 ++++---- .../xml-sw600dp/kbd_rows_symbols_shift.xml | 12 +- java/res/xml-sw768dp/kbd_key_styles.xml | 6 +- java/res/xml-sw768dp/kbd_qwerty_row1.xml | 20 +-- java/res/xml-sw768dp/kbd_qwerty_row2.xml | 12 +- java/res/xml-sw768dp/kbd_qwerty_row3.xml | 8 +- java/res/xml-sw768dp/kbd_qwerty_row4.xml | 4 +- .../res/xml-sw768dp/kbd_row3_comma_period.xml | 4 +- .../xml-sw768dp/kbd_row4_apostrophe_dash.xml | 6 +- java/res/xml-sw768dp/kbd_rows_arabic.xml | 16 +-- java/res/xml-sw768dp/kbd_rows_azerty.xml | 46 +++---- java/res/xml-sw768dp/kbd_rows_hebrew.xml | 14 +- java/res/xml-sw768dp/kbd_rows_qwertz.xml | 32 ++--- java/res/xml-sw768dp/kbd_rows_russian.xml | 2 +- .../res/xml-sw768dp/kbd_rows_scandinavian.xml | 44 +++---- java/res/xml-sw768dp/kbd_rows_spanish.xml | 12 +- java/res/xml-sw768dp/kbd_rows_symbols.xml | 52 ++++---- .../xml-sw768dp/kbd_rows_symbols_shift.xml | 12 +- java/res/xml/kbd_currency_key_styles.xml | 12 +- java/res/xml/kbd_key_styles.xml | 16 +-- java/res/xml/kbd_qwerty_row1.xml | 20 +-- java/res/xml/kbd_qwerty_row2.xml | 12 +- java/res/xml/kbd_qwerty_row3.xml | 8 +- java/res/xml/kbd_rows_arabic.xml | 36 ++--- java/res/xml/kbd_rows_azerty.xml | 42 +++--- java/res/xml/kbd_rows_hebrew.xml | 14 +- java/res/xml/kbd_rows_qwertz.xml | 28 ++-- java/res/xml/kbd_rows_russian.xml | 24 ++-- java/res/xml/kbd_rows_scandinavian.xml | 36 ++--- java/res/xml/kbd_rows_serbian.xml | 20 +-- java/res/xml/kbd_rows_spanish.xml | 12 +- java/res/xml/kbd_rows_symbols.xml | 46 +++---- java/res/xml/kbd_rows_symbols_shift.xml | 16 +-- java/res/xml/kbd_symbols_shift_row4.xml | 4 +- .../com/android/inputmethod/keyboard/Key.java | 50 +++---- .../inputmethod/keyboard/Keyboard.java | 6 +- .../inputmethod/keyboard/KeyboardView.java | 10 +- .../keyboard/LatinKeyboardView.java | 104 ++++++++------- .../inputmethod/keyboard/MiniKeyboard.java | 22 ++-- .../keyboard/MiniKeyboardView.java | 8 +- .../{PopupPanel.java => MoreKeysPanel.java} | 33 +++-- .../inputmethod/keyboard/PointerTracker.java | 22 ++-- .../keyboard/internal/KeyStyles.java | 4 +- .../keyboard/internal/KeyboardBuilder.java | 10 +- .../keyboard/internal/KeyboardParams.java | 2 +- ...tersParser.java => MoreKeySpecParser.java} | 124 +++++++++--------- ...Tests.java => MoreKeySpecParserTests.java} | 18 +-- 93 files changed, 697 insertions(+), 690 deletions(-) rename java/res/values-ar/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-ca/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-cs/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-da/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-de-rZZ/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-de/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-en/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-es/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-fi/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-fr/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-hr/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-hu/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-it/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-lt/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-lv/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-nb/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-nl/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-pl/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-pt/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-rm/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-ro/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-ru/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-sk/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-sv/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values-tr/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/res/values/{donottranslate-altchars.xml => donottranslate-more-keys.xml} (100%) rename java/src/com/android/inputmethod/keyboard/{PopupPanel.java => MoreKeysPanel.java} (59%) rename java/src/com/android/inputmethod/keyboard/internal/{PopupCharactersParser.java => MoreKeySpecParser.java} (57%) rename tests/src/com/android/inputmethod/keyboard/internal/{PopupCharactersParserTests.java => MoreKeySpecParserTests.java} (94%) diff --git a/java/res/values-ar/donottranslate-altchars.xml b/java/res/values-ar/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-ar/donottranslate-altchars.xml rename to java/res/values-ar/donottranslate-more-keys.xml diff --git a/java/res/values-ca/donottranslate-altchars.xml b/java/res/values-ca/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-ca/donottranslate-altchars.xml rename to java/res/values-ca/donottranslate-more-keys.xml diff --git a/java/res/values-cs/donottranslate-altchars.xml b/java/res/values-cs/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-cs/donottranslate-altchars.xml rename to java/res/values-cs/donottranslate-more-keys.xml diff --git a/java/res/values-da/donottranslate-altchars.xml b/java/res/values-da/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-da/donottranslate-altchars.xml rename to java/res/values-da/donottranslate-more-keys.xml diff --git a/java/res/values-de-rZZ/donottranslate-altchars.xml b/java/res/values-de-rZZ/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-de-rZZ/donottranslate-altchars.xml rename to java/res/values-de-rZZ/donottranslate-more-keys.xml diff --git a/java/res/values-de/donottranslate-altchars.xml b/java/res/values-de/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-de/donottranslate-altchars.xml rename to java/res/values-de/donottranslate-more-keys.xml diff --git a/java/res/values-en/donottranslate-altchars.xml b/java/res/values-en/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-en/donottranslate-altchars.xml rename to java/res/values-en/donottranslate-more-keys.xml diff --git a/java/res/values-es/donottranslate-altchars.xml b/java/res/values-es/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-es/donottranslate-altchars.xml rename to java/res/values-es/donottranslate-more-keys.xml diff --git a/java/res/values-fi/donottranslate-altchars.xml b/java/res/values-fi/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-fi/donottranslate-altchars.xml rename to java/res/values-fi/donottranslate-more-keys.xml diff --git a/java/res/values-fr/donottranslate-altchars.xml b/java/res/values-fr/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-fr/donottranslate-altchars.xml rename to java/res/values-fr/donottranslate-more-keys.xml diff --git a/java/res/values-hr/donottranslate-altchars.xml b/java/res/values-hr/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-hr/donottranslate-altchars.xml rename to java/res/values-hr/donottranslate-more-keys.xml diff --git a/java/res/values-hu/donottranslate-altchars.xml b/java/res/values-hu/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-hu/donottranslate-altchars.xml rename to java/res/values-hu/donottranslate-more-keys.xml diff --git a/java/res/values-it/donottranslate-altchars.xml b/java/res/values-it/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-it/donottranslate-altchars.xml rename to java/res/values-it/donottranslate-more-keys.xml diff --git a/java/res/values-lt/donottranslate-altchars.xml b/java/res/values-lt/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-lt/donottranslate-altchars.xml rename to java/res/values-lt/donottranslate-more-keys.xml diff --git a/java/res/values-lv/donottranslate-altchars.xml b/java/res/values-lv/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-lv/donottranslate-altchars.xml rename to java/res/values-lv/donottranslate-more-keys.xml diff --git a/java/res/values-nb/donottranslate-altchars.xml b/java/res/values-nb/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-nb/donottranslate-altchars.xml rename to java/res/values-nb/donottranslate-more-keys.xml diff --git a/java/res/values-nl/donottranslate-altchars.xml b/java/res/values-nl/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-nl/donottranslate-altchars.xml rename to java/res/values-nl/donottranslate-more-keys.xml diff --git a/java/res/values-pl/donottranslate-altchars.xml b/java/res/values-pl/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-pl/donottranslate-altchars.xml rename to java/res/values-pl/donottranslate-more-keys.xml diff --git a/java/res/values-pt/donottranslate-altchars.xml b/java/res/values-pt/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-pt/donottranslate-altchars.xml rename to java/res/values-pt/donottranslate-more-keys.xml diff --git a/java/res/values-rm/donottranslate-altchars.xml b/java/res/values-rm/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-rm/donottranslate-altchars.xml rename to java/res/values-rm/donottranslate-more-keys.xml diff --git a/java/res/values-ro/donottranslate-altchars.xml b/java/res/values-ro/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-ro/donottranslate-altchars.xml rename to java/res/values-ro/donottranslate-more-keys.xml diff --git a/java/res/values-ru/donottranslate-altchars.xml b/java/res/values-ru/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-ru/donottranslate-altchars.xml rename to java/res/values-ru/donottranslate-more-keys.xml diff --git a/java/res/values-sk/donottranslate-altchars.xml b/java/res/values-sk/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-sk/donottranslate-altchars.xml rename to java/res/values-sk/donottranslate-more-keys.xml diff --git a/java/res/values-sv/donottranslate-altchars.xml b/java/res/values-sv/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-sv/donottranslate-altchars.xml rename to java/res/values-sv/donottranslate-more-keys.xml diff --git a/java/res/values-sw600dp/config.xml b/java/res/values-sw600dp/config.xml index 17aeff7cc..1854a8696 100644 --- a/java/res/values-sw600dp/config.xml +++ b/java/res/values-sw600dp/config.xml @@ -25,7 +25,7 @@ false false false - false + false false true @@ -39,5 +39,5 @@ 5 medium - 5 + 5 diff --git a/java/res/values-sw768dp/config.xml b/java/res/values-sw768dp/config.xml index 8b4ff367e..a438fe964 100644 --- a/java/res/values-sw768dp/config.xml +++ b/java/res/values-sw768dp/config.xml @@ -25,7 +25,7 @@ false false false - false + false false true @@ -37,7 +37,7 @@ 5 medium - 5 + 5 2 diff --git a/java/res/values-tr/donottranslate-altchars.xml b/java/res/values-tr/donottranslate-more-keys.xml similarity index 100% rename from java/res/values-tr/donottranslate-altchars.xml rename to java/res/values-tr/donottranslate-more-keys.xml diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 734004f5a..fdeca258f 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -95,8 +95,8 @@ - - + + @@ -153,8 +153,8 @@ - - + + @@ -178,10 +178,10 @@ - - - - + + + + diff --git a/java/res/values/config.xml b/java/res/values/config.xml index 28cbc9549..923e37d85 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -27,7 +27,7 @@ true false true - true + true true 5 small - 5 + 5 diff --git a/java/res/values/donottranslate-altchars.xml b/java/res/values/donottranslate-more-keys.xml similarity index 100% rename from java/res/values/donottranslate-altchars.xml rename to java/res/values/donottranslate-more-keys.xml diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index eb5b749dd..ddc0634f4 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -21,12 +21,12 @@ @dimen/keyboardHeight @fraction/maxKeyboardHeight @fraction/minKeyboardHeight - @xml/kbd_mini_keyboard_template + @xml/kbd_mini_keyboard_template @fraction/keyboard_top_padding @fraction/keyboard_bottom_padding @fraction/key_horizontal_gap @fraction/key_bottom_gap - @integer/config_max_mini_keyboard_column + @integer/config_max_more_keys_column