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

Commit 73a46bfe authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Gray out "alt-code-while-typing" key icon while typing

Bug: 6128215
Change-Id: Ie9c13d9d38aad6e92cc465e22f3ef20c80e0a36a
parent 02e70cf9
Loading
Loading
Loading
Loading
+26 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<animator
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:valueType="intType"
    android:duration="100"
    android:valueFrom="128"
    android:valueTo="255" />
+26 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<animator
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:valueType="intType"
    android:duration="400"
    android:valueFrom="255"
    android:valueTo="128" />
+4 −1
Original line number Original line Diff line number Diff line
@@ -134,6 +134,9 @@
        <attr name="spacebarTextShadowColor" format="color" />
        <attr name="spacebarTextShadowColor" format="color" />
        <!-- Fadeout animator for spacebar language label. -->
        <!-- Fadeout animator for spacebar language label. -->
        <attr name="languageOnSpacebarFadeoutAnimator" format="reference" />
        <attr name="languageOnSpacebarFadeoutAnimator" format="reference" />
        <!-- Fadeout and fadein animator for altCodeWhileTyping keys. -->
        <attr name="altCodeKeyWhileTypingFadeoutAnimator" format="reference" />
        <attr name="altCodeKeyWhileTypingFadeinAnimator" format="reference" />
        <!-- Key detection hysteresis distance. -->
        <!-- Key detection hysteresis distance. -->
        <attr name="keyHysteresisDistance" format="dimension" />
        <attr name="keyHysteresisDistance" format="dimension" />
        <!-- Touch noise threshold time in millisecond -->
        <!-- Touch noise threshold time in millisecond -->
@@ -153,7 +156,7 @@
        <!-- Long press timeout of space key in millisecond. -->
        <!-- Long press timeout of space key in millisecond. -->
        <attr name="longPressSpaceKeyTimeout" format="integer" />
        <attr name="longPressSpaceKeyTimeout" format="integer" />
        <!-- Ignore special key timeout while typing in millisecond. -->
        <!-- Ignore special key timeout while typing in millisecond. -->
        <attr name="ignoreSpecialKeyTimeout" format="integer" />
        <attr name="ignoreAltCodeKeyTimeout" format="integer" />
        <!-- More keys keyboard will shown at touched point. -->
        <!-- More keys keyboard will shown at touched point. -->
        <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" />
        <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" />
    </declare-styleable>
    </declare-styleable>
+1 −1
Original line number Original line Diff line number Diff line
@@ -65,7 +65,7 @@
    <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
    <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
    <integer name="config_long_press_space_key_timeout">
    <integer name="config_long_press_space_key_timeout">
            @integer/config_long_press_key_timeout</integer>
            @integer/config_long_press_key_timeout</integer>
    <integer name="config_ignore_special_key_timeout">700</integer>
    <integer name="config_ignore_alt_code_key_timeout">700</integer>
    <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if
    <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if
         false -->
         false -->
    <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool>
    <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool>
+3 −1
Original line number Original line Diff line number Diff line
@@ -76,9 +76,11 @@
        <item name="longPressKeyTimeout">@integer/config_long_press_key_timeout</item>
        <item name="longPressKeyTimeout">@integer/config_long_press_key_timeout</item>
        <item name="longPressShiftKeyTimeout">@integer/config_long_press_shift_key_timeout</item>
        <item name="longPressShiftKeyTimeout">@integer/config_long_press_shift_key_timeout</item>
        <item name="longPressSpaceKeyTimeout">@integer/config_long_press_space_key_timeout</item>
        <item name="longPressSpaceKeyTimeout">@integer/config_long_press_space_key_timeout</item>
        <item name="ignoreSpecialKeyTimeout">@integer/config_ignore_special_key_timeout</item>
        <item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
        <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
        <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
        <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
        <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
        <item name="altCodeKeyWhileTypingFadeoutAnimator">@anim/alt_code_key_while_typing_fadeout</item>
        <item name="altCodeKeyWhileTypingFadeinAnimator">@anim/alt_code_key_while_typing_fadein</item>
    </style>
    </style>
    <style
    <style
        name="LatinKeyboardView"
        name="LatinKeyboardView"
Loading