Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcd74ba9 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Optimize drawing key text shadow layer"

parents 9e39c603 41f9f1ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@
        <!-- Size of the text for spacebar language label, in the proportion of key height. -->
        <attr name="languageOnSpacebarTextRatio" format="fraction" />
        <attr name="languageOnSpacebarTextColor" format="color" />
        <attr name="languageOnSpacebarTextShadowRadius" format="float" />
        <attr name="languageOnSpacebarTextShadowColor" format="color" />
        <!-- Background image for the spacebar. -->
        <attr name="spacebarBackground" format="reference" />
+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
    <color name="suggested_word_color_ics">#B233B5E5</color>
    <color name="highlight_translucent_color_ics">#9933B5E5</color>
    <color name="key_text_color_holo">@android:color/white</color>
    <color name="key_text_shadow_color_holo">@android:color/transparent</color>
    <color name="key_text_inactivated_color_holo">#66E0E4E5</color>
    <color name="key_hint_letter_color_holo">#80000000</color>
    <color name="key_hint_label_color_holo">#A0FFFFFF</color>
+3 −2
Original line number Diff line number Diff line
@@ -56,8 +56,8 @@
        <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item>
        <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item>
        <item name="keyPreviewTextColor">@color/key_text_color_holo</item>
        <item name="keyTextShadowColor">@color/key_text_shadow_color_holo</item>
        <item name="keyTextShadowRadius">0.0</item>
        <!-- A negative value to disable key text shadow layer. -->
        <item name="keyTextShadowRadius">-1.0</item>
    </style>
    <style
        name="MainKeyboardView.ICS"
@@ -71,6 +71,7 @@
        <item name="autoCorrectionSpacebarLedEnabled">false</item>
        <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
        <item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item>
        <item name="languageOnSpacebarTextShadowRadius">1.0</item>
        <item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item>
        <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_ics</item>
    </style>
+3 −2
Original line number Diff line number Diff line
@@ -56,8 +56,8 @@
        <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item>
        <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item>
        <item name="keyPreviewTextColor">@color/key_text_color_holo</item>
        <item name="keyTextShadowColor">@color/key_text_shadow_color_holo</item>
        <item name="keyTextShadowRadius">0.0</item>
        <!-- A negative value to disable key text shadow layer. -->
        <item name="keyTextShadowRadius">-1.0</item>
    </style>
    <style
        name="MainKeyboardView.KLP"
@@ -71,6 +71,7 @@
        <item name="autoCorrectionSpacebarLedEnabled">false</item>
        <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
        <item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item>
        <item name="languageOnSpacebarTextShadowRadius">1.0</item>
        <item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item>
        <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_klp</item>
    </style>
+3 −2
Original line number Diff line number Diff line
@@ -56,8 +56,8 @@
        <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item>
        <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item>
        <item name="keyPreviewTextColor">@color/key_text_color_holo</item>
        <item name="keyTextShadowColor">@color/key_text_shadow_color_holo</item>
        <item name="keyTextShadowRadius">0.0</item>
        <!-- A negative value to disable key text shadow layer. -->
        <item name="keyTextShadowRadius">-1.0</item>
    </style>
    <style
        name="MainKeyboardView.LMP"
@@ -71,6 +71,7 @@
        <item name="autoCorrectionSpacebarLedEnabled">false</item>
        <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
        <item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item>
        <item name="languageOnSpacebarTextShadowRadius">1.0</item>
        <item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item>
        <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_lmp</item>
    </style>
Loading