From 8c6052bce1447076dcc61ea7d44df5d67bdf5a61 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 2 Dec 2013 18:38:03 +0900 Subject: [PATCH] Add config_ prefix to the resource names merged from dimens.xml Change-Id: I6fb11b8cb52c06b805fb17d61450d7df50e4e20d --- java/res/layout/emoji_palettes_view.xml | 2 +- java/res/layout/hint_add_to_dictionary.xml | 2 +- java/res/layout/input_view.xml | 6 +- java/res/layout/more_suggestions.xml | 6 +- java/res/layout/suggestion_word.xml | 8 +- java/res/layout/user_dictionary_add_word.xml | 2 +- .../user_dictionary_add_word_fullscreen.xml | 4 +- java/res/values-land/config.xml | 92 +++++----- java/res/values-sw540dp-land/config.xml | 72 ++++---- java/res/values-sw540dp/config.xml | 114 +++++++------ java/res/values-sw768dp-land/config.xml | 72 ++++---- java/res/values-sw768dp/config.xml | 114 +++++++------ java/res/values/attrs.xml | 6 +- java/res/values/config.xml | 158 +++++++++--------- java/res/values/themes-common.xml | 68 ++++---- java/res/values/themes-gb.xml | 16 +- java/res/values/themes-ics.xml | 16 +- java/res/values/themes-klp.xml | 16 +- .../kbd_more_keys_keyboard_template.xml | 2 +- .../kbd_more_keys_keyboard_template.xml | 2 +- java/res/xml/kbd_armenian_phonetic.xml | 6 +- java/res/xml/kbd_emoji_category1.xml | 4 +- java/res/xml/kbd_emoji_category2.xml | 4 +- java/res/xml/kbd_emoji_category3.xml | 4 +- java/res/xml/kbd_emoji_category4.xml | 4 +- java/res/xml/kbd_emoji_category5.xml | 4 +- java/res/xml/kbd_emoji_category6.xml | 4 +- java/res/xml/kbd_emoji_recents.xml | 6 +- java/res/xml/kbd_khmer.xml | 6 +- java/res/xml/kbd_lao.xml | 6 +- .../xml/kbd_more_keys_keyboard_template.xml | 2 +- java/res/xml/kbd_pcqwerty.xml | 6 +- .../res/xml/kbd_suggestions_pane_template.xml | 2 +- java/res/xml/kbd_thai.xml | 6 +- .../AccessibleKeyboardViewProxy.java | 2 +- .../keyboard/EmojiPalettesView.java | 4 +- .../keyboard/MainKeyboardView.java | 42 ++--- .../keyboard/MoreKeysKeyboard.java | 2 +- .../keyboard/MoreKeysKeyboardView.java | 2 +- .../keyboard/internal/EmojiLayoutParams.java | 10 +- .../latin/suggestions/MoreSuggestions.java | 3 +- .../suggestions/MoreSuggestionsView.java | 2 +- .../SuggestionStripLayoutHelper.java | 11 +- .../suggestions/SuggestionStripView.java | 2 +- .../latin/utils/ResourceUtils.java | 8 +- 45 files changed, 462 insertions(+), 468 deletions(-) diff --git a/java/res/layout/emoji_palettes_view.xml b/java/res/layout/emoji_palettes_view.xml index 1c6da90ba..2ce89329d 100644 --- a/java/res/layout/emoji_palettes_view.xml +++ b/java/res/layout/emoji_palettes_view.xml @@ -29,7 +29,7 @@ - - - 176.0dp - 45%p - - 44.8dp + + 176.0dp + 45%p + + 44.8dp - 1.818%p - 0.0%p - 5.941%p - 0.997%p + 1.818%p + 0.0%p + 5.941%p + 0.997%p - 2.727%p - 0.0%p - 5.368%p - 1.020%p + 2.727%p + 0.0%p + 5.368%p + 1.020%p - 8dp + 8dp - 65% - 74% - 40% - 30% - 52% - 40% - 90% - 40.000% - 0.0dp + 65% + 74% + 40% + 30% + 52% + 40% + 90% + 40.000% + 0.0dp - 3.20%p - 78% - 48% + 3.20%p + 78% + 48% - 1.6dp - - -22.4dp + 1.6dp + + -22.4dp - 36dp - 36dp - 2 - 60% + 36dp + 36dp + 2 + 60% - - 53.76dp - - -44.8dp + + 53.76dp + + -44.8dp - 23dp - 54dp - 23dp - 15dp + 23dp + 54dp + 23dp + 15dp - 10%p - 50%p - 54%p - 20 + 10%p + 50%p + 54%p + 20 diff --git a/java/res/values-sw540dp-land/config.xml b/java/res/values-sw540dp-land/config.xml index 03c23cecc..2f578879a 100644 --- a/java/res/values-sw540dp-land/config.xml +++ b/java/res/values-sw540dp-land/config.xml @@ -22,55 +22,53 @@ false - - - - 283.5dp - 45%p + + 283.5dp + 45%p - 2.444%p - 0.0%p - 5.200%p - 1.447%p + 2.444%p + 0.0%p + 5.200%p + 1.447%p - 2.727%p - 0.0%p - 4.5%p - 0.9%p + 2.727%p + 0.0%p + 4.5%p + 0.9%p - 81.9dp + 81.9dp - 18dp + 18dp - 50% - 48% - 32% - 23% - 34% - 29% - 30.0% - 4dp + 50% + 48% + 32% + 23% + 34% + 29% + 30.0% + 4dp - 3.20%p - 62% - 36% + 3.20%p + 62% + 36% - 252.0dp - 5 - 50% + 252.0dp + 5 + 50% - 26dp - 76dp - 26dp - 17dp + 26dp + 76dp + 26dp + 17dp - 10%p - 33%p - 70%p - 30 + 10%p + 33%p + 70%p + 30 diff --git a/java/res/values-sw540dp/config.xml b/java/res/values-sw540dp/config.xml index f7322d27c..b6d1104b5 100644 --- a/java/res/values-sw540dp/config.xml +++ b/java/res/values-sw540dp/config.xml @@ -34,79 +34,77 @@ false --> true - - - - 302.4dp - 46%p - -35.0%p + + 302.4dp + 46%p + -35.0%p - 63.0dp + 63.0dp - 2.291%p - 0.0%p - 4.625%p - 2.113%p + 2.291%p + 0.0%p + 4.625%p + 2.113%p - 2.335%p - 4.0%p - 4.5%p - 1.565%p + 2.335%p + 4.0%p + 4.5%p + 1.565%p - 6dp + 6dp - - 98.3dp - - -81.9dp + + 98.3dp + + -81.9dp - 6dp - 3dp - 3dp + 6dp + 3dp + 3dp - 42% - 45% - 25% - 32% - 23% - 28% - 22% - 50% - 28.0% - 94.5dp - 16.0dp + 42% + 45% + 25% + 32% + 23% + 28% + 22% + 50% + 28.0% + 94.5dp + 16.0dp - 3.20%p - 52% - 27% + 3.20%p + 52% + 27% - 8.0dp - - -31.5dp + 8.0dp + + -31.5dp - 44dp - 44dp - 6 - 90% - 94.5dp - 48.0dp - 12dp - 22dp - 33dp + 44dp + 44dp + 6 + 90% + 94.5dp + 48.0dp + 12dp + 22dp + 33dp - 28dp - 87dp - 28dp - 19dp - 3dp + 28dp + 87dp + 28dp + 19dp + 3dp - 12.5%p - 33%p - 60%p - 24 + 12.5%p + 33%p + 60%p + 24 diff --git a/java/res/values-sw768dp-land/config.xml b/java/res/values-sw768dp-land/config.xml index 3e6e77b42..716fcdd97 100644 --- a/java/res/values-sw768dp-land/config.xml +++ b/java/res/values-sw768dp-land/config.xml @@ -22,56 +22,54 @@ false - - - - 365.4dp - 45%p + + 365.4dp + 45%p - 1.896%p - 0.0%p - 3.896%p - 1.195%p + 1.896%p + 0.0%p + 3.896%p + 1.195%p - 1.896%p - 0.0%p - 3.690%p - 1.030%p + 1.896%p + 0.0%p + 3.690%p + 1.030%p - 81.9dp + 81.9dp - 18dp + 18dp - 43% - 42% - 28% - 23% - 28% - 24% - 24.00% - 107.1dp + 43% + 42% + 28% + 23% + 28% + 24% + 24.00% + 107.1dp - 2.65%p - 53% - 30% + 2.65%p + 53% + 30% - 8.0dp + 8.0dp - 252.0dp - 50% + 252.0dp + 50% - 32dp - 100dp - 32dp - 21dp + 32dp + 100dp + 32dp + 21dp - 7.69%p - 33%p - 60%p - 39 + 7.69%p + 33%p + 60%p + 39 diff --git a/java/res/values-sw768dp/config.xml b/java/res/values-sw768dp/config.xml index f76e76f2e..112775c61 100644 --- a/java/res/values-sw768dp/config.xml +++ b/java/res/values-sw768dp/config.xml @@ -34,79 +34,77 @@ false --> true - - - - 302.4dp - 46%p - -35.0%p + + 302.4dp + 46%p + -35.0%p - 2.291%p - 0.0%p - 4.687%p - 1.272%p + 2.291%p + 0.0%p + 4.687%p + 1.272%p - 2.335%p - 0.0%p - 3.312%p - 1.066%p + 2.335%p + 0.0%p + 3.312%p + 1.066%p - 63.0dp + 63.0dp - 12dp + 12dp - - 98.3dp - - -81.9dp + + 98.3dp + + -81.9dp - 6dp - 3dp - 3dp + 6dp + 3dp + 3dp - 40% - 42% - 28% - 28% - 23% - 28% - 26% - 50% - 29.03% - 94.5dp - 16.0dp + 40% + 42% + 28% + 28% + 23% + 28% + 26% + 50% + 29.03% + 94.5dp + 16.0dp - 2.95%p - 51% - 33% + 2.95%p + 51% + 33% - 8.0dp - - -31.5dp + 8.0dp + + -31.5dp - 44dp - 44dp - 6 - 90% - 94.5dp - 46dp - 8dp - 22dp - 33dp + 44dp + 44dp + 6 + 90% + 94.5dp + 46dp + 8dp + 22dp + 33dp - 26dp - 86dp - 26dp - 17dp - 3dp + 26dp + 86dp + 26dp + 17dp + 3dp - 10%p - 33%p - 68%p - 30 + 10%p + 33%p + 68%p + 30 diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 4bc948109..8191ffbcb 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -72,9 +72,9 @@ - - - + + + diff --git a/java/res/values/config.xml b/java/res/values/config.xml index 122bc4ec1..87de57ad7 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -100,114 +100,112 @@ 1000 - - - - 205.6dp - 46%p - -61.8%p + + 205.6dp + 46%p + -61.8%p - 52.8dp + 52.8dp - 8dp + 8dp - 0%p - 0%p + 0%p + 0%p - 1.556%p - 4.669%p - 6.495%p - 1.971%p + 1.556%p + 4.669%p + 6.495%p + 1.971%p - 2.335%p - 4.669%p - 6.127%p - 1.739%p + 2.335%p + 4.669%p + 6.127%p + 1.739%p - - 63.36dp - - -52.8dp - 0.0dp + + 63.36dp + + -52.8dp + 0.0dp - 55% - 65% - 34% - 40% - 25% - 44% - 35% - 82% - 33.735% - 80dp - -8.0dp + 55% + 65% + 34% + 40% + 25% + 44% + 35% + 82% + 33.735% + 80dp + -8.0dp - 4dp - 1dp - 2dp - 2dp + 4dp + 1dp + 2dp + 2dp - 3.20%p - 64% - 41% + 3.20%p + 64% + 41% - 8.0dp - - -26.4dp + 8.0dp + + -26.4dp - 40dp - 12dp - 40dp - 6dp - 32.0dp - 6 - 90% - 18% - 0dp - 44dp - 6dp - 18dp - 27dp - 3 - 36% + 40dp + 12dp + 40dp + 6dp + 32.0dp + 6 + 90% + 18% + 0dp + 44dp + 6dp + 18dp + 27dp + 3 + 36% - 9.6dp + 9.6dp - 15 + 15 - 16.0dp + 16.0dp - 6 - 10.0dp - 2.5dp + 6 + 10.0dp + 2.5dp - 100 - -1 + 100 + -1 - 24dp - 73dp - 24dp - 16dp - 2dp + 24dp + 73dp + 24dp + 16dp + 2dp - 14.2857%p - 33%p - 68%p - 21 - 3dp + 14.2857%p + 33%p + 68%p + 21 + 3dp - 8dp + 8dp - 48 + 48 - 1dp + 1dp diff --git a/java/res/values/themes-common.xml b/java/res/values/themes-common.xml index 56fac28cf..be15d52b3 100644 --- a/java/res/values/themes-common.xml +++ b/java/res/values/themes-common.xml @@ -25,43 +25,43 @@ @array/touch_position_correction_data_default 25%p @xml/kbd_more_keys_keyboard_template - @fraction/keyboard_left_padding - @fraction/keyboard_right_padding + @fraction/config_keyboard_left_padding + @fraction/config_keyboard_right_padding @integer/config_max_more_keys_column