• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<resources>
22    <!-- Device form factor. This value must be aligned with {@link KeyboardId.DEVICE_FORM_FACTOR_PHONE} -->
23    <integer name="config_device_form_factor">0</integer>
24    <bool name="config_use_fullscreen_mode">false</bool>
25    <bool name="config_enable_show_voice_key_option">true</bool>
26    <bool name="config_enable_show_popup_on_keypress_option">true</bool>
27    <!-- TODO: Disable the following configuration for production. -->
28    <bool name="config_enable_usability_study_mode_option">true</bool>
29    <!-- Whether or not Popup on key press is enabled by default -->
30    <bool name="config_default_popup_preview">true</bool>
31    <!-- Default value for next word prediction: after entering a word and a space only, should we look
32         at input history to suggest a hopefully helpful suggestions for the next word? -->
33    <bool name="config_default_next_word_prediction">true</bool>
34    <bool name="config_default_sound_enabled">false</bool>
35    <bool name="config_default_vibration_enabled">true</bool>
36    <integer name="config_delay_update_suggestions">100</integer>
37    <integer name="config_delay_update_old_suggestions">300</integer>
38    <integer name="config_delay_update_shift_state">100</integer>
39    <integer name="config_language_on_spacebar_final_alpha">128</integer>
40    <integer name="config_more_keys_keyboard_fadein_anim_time">0</integer>
41    <integer name="config_more_keys_keyboard_fadeout_anim_time">100</integer>
42    <integer name="config_keyboard_grid_width">32</integer>
43    <integer name="config_keyboard_grid_height">16</integer>
44    <integer name="config_double_spaces_turn_into_period_timeout">1100</integer>
45    <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
46    <string name="config_default_keyboard_theme_index" translatable="false">5</string>
47    <integer name="config_max_more_keys_column">5</integer>
48    <!--
49         Configuration for KeyboardView
50    -->
51    <integer name="config_key_preview_linger_timeout">70</integer>
52    <integer name="config_gesture_floating_preview_text_linger_timeout">200</integer>
53    <integer name="config_gesture_preview_trail_fadeout_start_delay">100</integer>
54    <integer name="config_gesture_preview_trail_fadeout_duration">800</integer>
55    <integer name="config_gesture_preview_trail_update_interval">20</integer>
56    <!--
57         Configuration for MainKeyboardView
58    -->
59    <dimen name="config_key_hysteresis_distance">8.0dp</dimen>
60    <dimen name="config_key_hysteresis_distance_for_sliding_modifier">8.0dp</dimen>
61    <integer name="config_touch_noise_threshold_time">40</integer>
62    <dimen name="config_touch_noise_threshold_distance">12.6dp</dimen>
63    <bool name="config_sliding_key_input_enabled">true</bool>
64    <integer name="config_key_repeat_start_timeout">400</integer>
65    <integer name="config_key_repeat_interval">50</integer>
66    <integer name="config_long_press_key_timeout">400</integer>
67    <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 -->
68    <integer name="config_long_press_shift_key_timeout">1200</integer>
69    <integer name="config_ignore_alt_code_key_timeout">350</integer>
70    <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if
71         false -->
72    <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool>
73    <!-- Static threshold for gesture after fast typing (msec) -->
74    <integer name="config_gesture_static_time_threshold_after_fast_typing">500</integer>
75    <!-- Static threshold for starting gesture detection (keyWidth%/sec) -->
76    <fraction name="config_gesture_detect_fast_move_speed_threshold">150%</fraction>
77    <!-- Dynamic threshold for gesture after fast typing (msec) -->
78    <integer name="config_gesture_dynamic_threshold_decay_duration">450</integer>
79    <!-- Time based threshold values for gesture detection (msec) -->
80    <integer name="config_gesture_dynamic_time_threshold_from">300</integer>
81    <integer name="config_gesture_dynamic_time_threshold_to">20</integer>
82    <!-- Distance based threshold values for gesture detection (keyWidth%/sec) -->
83    <fraction name="config_gesture_dynamic_distance_threshold_from">600%</fraction>
84    <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction>
85    <!-- Parameter for gesture sampling (keyWidth%/sec) -->
86    <fraction name="config_gesture_sampling_minimum_distance">16.6666%</fraction>
87    <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) -->
88    <integer name="config_gesture_recognition_minimum_time">100</integer>
89    <fraction name="config_gesture_recognition_speed_threshold">550%</fraction>
90    <!-- Suppress showing key preview duration after batch input in millisecond -->
91    <integer name="config_suppress_key_preview_after_batch_input_duration">1000</integer>
92    <!--
93        Configuration for auto correction
94     -->
95    <string-array name="auto_correction_threshold_values" translatable="false">
96        <!-- Off, When auto correction setting is Off, this value is not used. -->
97        <item></item>
98        <!-- Modest : Suggestion whose normalized score is greater than this value
99             will be subject to auto-correction. -->
100        <item>0.185</item>
101        <!-- Aggressive -->
102        <item>0.067</item>
103        <!-- Very Aggressive : Suggestion whose normalized score is greater than this value
104             will be subject to auto-correction. -->
105        <item>0</item>
106    </string-array>
107    <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare
108         a word to be "recommended" -->
109    <string name="spellchecker_recommended_threshold_value" translatable="false">0.11</string>
110    <!-- Threshold of the normalized score of any dictionary lookup to be offered as a suggestion
111         by the spell checker -->
112    <string name="spellchecker_suggestion_threshold_value" translatable="false">0.03</string>
113    <!--  Screen metrics for logging.
114            0 = "mdpi phone screen"
115            1 = "hdpi phone screen"
116            2 = "mdpi 11 inch tablet screen"
117            3 = "xhdpi phone screen?"
118            4 = ?
119    -->
120    <integer name="log_screen_metrics">0</integer>
121</resources>
122