From 4b37b2b3f637879e78375bdf0a09503057223999 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 11 Nov 2013 18:49:28 +0900 Subject: [PATCH] Rename KLP/JB/ICS common resource name suffixes to _holo Bug: 11622614 Change-Id: I53b5ff8b6627a38aef352855ad024213a450b40f --- ...ics.xml => emoji_tab_label_color_holo.xml} | 8 +-- ..._color_ics.xml => key_text_color_holo.xml} | 22 +++---- java/res/values-land/dimens.xml | 12 ++-- java/res/values-sw540dp-land/dimens.xml | 8 +-- java/res/values-sw540dp/dimens.xml | 12 ++-- .../touch-position-correction.xml | 2 +- java/res/values-sw768dp-land/dimens.xml | 10 +-- java/res/values-sw768dp/dimens.xml | 12 ++-- java/res/values/colors.xml | 22 +++---- java/res/values/dimens.xml | 12 ++-- java/res/values/keyboard-icons-holo.xml | 45 +++++++++++++ java/res/values/themes-common.xml | 2 +- java/res/values/themes-ics.xml | 63 ++++++------------- java/res/values/touch-position-correction.xml | 2 +- .../keyboard/EmojiLayoutParams.java | 8 +-- 15 files changed, 131 insertions(+), 109 deletions(-) rename java/res/color/{emoji_tab_label_color_ics.xml => emoji_tab_label_color_holo.xml} (79%) rename java/res/color/{key_text_color_ics.xml => key_text_color_holo.xml} (68%) create mode 100644 java/res/values/keyboard-icons-holo.xml diff --git a/java/res/color/emoji_tab_label_color_ics.xml b/java/res/color/emoji_tab_label_color_holo.xml similarity index 79% rename from java/res/color/emoji_tab_label_color_ics.xml rename to java/res/color/emoji_tab_label_color_holo.xml index 36e1d3020..373e9314b 100644 --- a/java/res/color/emoji_tab_label_color_ics.xml +++ b/java/res/color/emoji_tab_label_color_holo.xml @@ -21,13 +21,13 @@ + android:color="@color/key_text_color_holo" /> + android:color="@color/key_text_color_holo" /> + android:color="@color/key_text_color_holo" /> + android:color="@color/key_text_inactivated_color_holo" /> diff --git a/java/res/color/key_text_color_ics.xml b/java/res/color/key_text_color_holo.xml similarity index 68% rename from java/res/color/key_text_color_ics.xml rename to java/res/color/key_text_color_holo.xml index c6f111ad2..d034a945f 100644 --- a/java/res/color/key_text_color_ics.xml +++ b/java/res/color/key_text_color_holo.xml @@ -17,32 +17,32 @@ + android:color="@color/key_text_color_functional_holo" /> + android:color="@color/key_text_color_functional_holo" /> + android:color="@color/key_text_color_normal_holo" /> + android:color="@color/key_text_color_normal_holo" /> + android:color="@color/key_text_color_normal_holo" /> + android:color="@color/key_text_color_normal_holo" /> + android:color="@color/key_text_color_normal_holo" /> + android:color="@color/key_text_color_normal_holo" /> + android:color="@color/key_text_color_normal_holo" /> - + android:color="@color/key_text_color_normal_holo" /> + diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml index b874d4881..c97e68f11 100644 --- a/java/res/values-land/dimens.xml +++ b/java/res/values-land/dimens.xml @@ -31,10 +31,10 @@ 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 @@ -54,9 +54,9 @@ 78% 48% - 1.6dp + 1.6dp - -22.4dp + -22.4dp 36dp 36dp diff --git a/java/res/values-sw540dp-land/dimens.xml b/java/res/values-sw540dp-land/dimens.xml index d79e8ca35..002493798 100644 --- a/java/res/values-sw540dp-land/dimens.xml +++ b/java/res/values-sw540dp-land/dimens.xml @@ -29,10 +29,10 @@ 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 diff --git a/java/res/values-sw540dp/dimens.xml b/java/res/values-sw540dp/dimens.xml index b2f4ae043..801b7acb5 100644 --- a/java/res/values-sw540dp/dimens.xml +++ b/java/res/values-sw540dp/dimens.xml @@ -32,10 +32,10 @@ 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 @@ -66,9 +66,9 @@ 52% 27% - 8.0dp + 8.0dp - -31.5dp + -31.5dp 44dp 44dp diff --git a/java/res/values-sw540dp/touch-position-correction.xml b/java/res/values-sw540dp/touch-position-correction.xml index df07c1295..932b8fc72 100644 --- a/java/res/values-sw540dp/touch-position-correction.xml +++ b/java/res/values-sw540dp/touch-position-correction.xml @@ -48,7 +48,7 @@ - -31.5dp + -31.5dp 44dp 44dp diff --git a/java/res/values/colors.xml b/java/res/values/colors.xml index 94fadb964..60a8c2909 100644 --- a/java/res/values/colors.xml +++ b/java/res/values/colors.xml @@ -39,15 +39,15 @@ #D833B5E5 #B233B5E5 #9933B5E5 - @android:color/transparent - #66E0E4E5 - #80000000 - #A0FFFFFF - #66E0E4E5 - @android:color/white - #FFC0C0C0 - #80000000 - #C0000000 + @android:color/transparent + #66E0E4E5 + #80000000 + #A0FFFFFF + #66E0E4E5 + @android:color/white + #FFC0C0C0 + #80000000 + #C0000000 #FFF0F0F0 #D8F0F0F0 @@ -66,6 +66,6 @@ #00000000 #30FFFFFF - @android:color/white - @android:color/white + @android:color/white + @android:color/white diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index 18cb262e2..4588b10eb 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -37,10 +37,10 @@ 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 @@ -71,9 +71,9 @@ 64% 41% - 8.0dp + 8.0dp - -26.4dp + -26.4dp 40dp 12dp diff --git a/java/res/values/keyboard-icons-holo.xml b/java/res/values/keyboard-icons-holo.xml new file mode 100644 index 000000000..b49e1d10b --- /dev/null +++ b/java/res/values/keyboard-icons-holo.xml @@ -0,0 +1,45 @@ + + + + + + diff --git a/java/res/values/themes-common.xml b/java/res/values/themes-common.xml index 37607711d..787bd6e35 100644 --- a/java/res/values/themes-common.xml +++ b/java/res/values/themes-common.xml @@ -110,7 +110,7 @@ name="EmojiPalettesView" parent="KeyboardView" > - @color/emoji_tab_label_color_ics + @color/emoji_tab_label_color_holo - @@ -104,7 +81,7 @@ parent="KeyboardView.ICS" > @drawable/btn_keyboard_key_functional_ics - @color/emoji_tab_label_color_ics + @color/emoji_tab_label_color_holo