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

Commit 7b6afb12 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Enable long-press spacebar on 7 inch tablet

This change also eliminate useless attribute longPressSpaceKeyTimeout
of LatinKeyboardView.

Bug: 6449356
Change-Id: Ib4dace4b9510c0eb96bdddacf8e0dbaa14fcfbbf
parent 22d196cb
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@
    <bool name="config_auto_correction_spacebar_led_enabled">false</bool>
    <!-- The language is never displayed if == 0, always displayed if < 0 -->
    <integer name="config_delay_before_fadeout_language_on_spacebar">1200</integer>
    <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
    <integer name="config_long_press_space_key_timeout">0</integer>
    <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
    <string name="config_default_keyboard_theme_index" translatable="false">5</string>
    <integer name="config_max_more_keys_column">5</integer>
+0 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@
    <bool name="config_default_popup_preview">false</bool>
    <bool name="config_default_sound_enabled">true</bool>
    <bool name="config_auto_correction_spacebar_led_enabled">false</bool>
    <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
    <integer name="config_long_press_space_key_timeout">0</integer>
    <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
    <string name="config_default_keyboard_theme_index" translatable="false">5</string>
    <integer name="config_max_more_keys_column">5</integer>
+0 −2
Original line number Diff line number Diff line
@@ -154,8 +154,6 @@
        <attr name="longPressKeyTimeout" format="integer" />
        <!-- Long press timeout of shift key in millisecond. -->
        <attr name="longPressShiftKeyTimeout" format="integer" />
        <!-- Long press timeout of space key in millisecond. -->
        <attr name="longPressSpaceKeyTimeout" format="integer" />
        <!-- Ignore special key timeout while typing in millisecond. -->
        <attr name="ignoreAltCodeKeyTimeout" format="integer" />
        <!-- More keys keyboard will shown at touched point. -->
+0 −3
Original line number Diff line number Diff line
@@ -63,9 +63,6 @@
    <integer name="config_long_press_key_timeout">400</integer>
    <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 -->
    <integer name="config_long_press_shift_key_timeout">1200</integer>
    <!-- Long pressing space will invoke IME switcher if > 0, never invoke IME switcher if == 0 -->
    <integer name="config_long_press_space_key_timeout">
            @integer/config_long_press_key_timeout</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
         false -->
+0 −1
Original line number Diff line number Diff line
@@ -75,7 +75,6 @@
        <item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
        <item name="longPressKeyTimeout">@integer/config_long_press_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="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
        <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
        <item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
Loading