• 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    <bool name="config_use_fullscreen_mode">false</bool>
23    <bool name="config_enable_show_voice_key_option">true</bool>
24    <bool name="config_enable_show_popup_on_keypress_option">true</bool>
25    <bool name="config_enable_next_word_suggestions_option">true</bool>
26    <bool name="config_enable_usability_study_mode_option">false</bool>
27    <!-- Whether or not Popup on key press is enabled by default -->
28    <bool name="config_default_popup_preview">true</bool>
29    <!-- Default value for next word suggestion: while showing suggestions for a word should we weigh
30         in the previous word? -->
31    <bool name="config_default_next_word_suggestions">true</bool>
32    <!-- Default value for next word prediction: after entering a word and a space only, should we look
33         at input history to suggest a hopefully helpful suggestions for the next word? -->
34    <bool name="config_default_next_word_prediction">true</bool>
35    <bool name="config_default_sound_enabled">false</bool>
36    <bool name="config_default_vibration_enabled">true</bool>
37    <integer name="config_delay_update_suggestions">100</integer>
38    <integer name="config_delay_update_old_suggestions">300</integer>
39    <integer name="config_delay_update_shift_state">100</integer>
40    <integer name="config_language_on_spacebar_final_alpha">128</integer>
41    <integer name="config_more_keys_keyboard_fadein_anim_time">0</integer>
42    <integer name="config_more_keys_keyboard_fadeout_anim_time">100</integer>
43    <integer name="config_keyboard_grid_width">32</integer>
44    <integer name="config_keyboard_grid_height">16</integer>
45    <integer name="config_double_spaces_turn_into_period_timeout">1100</integer>
46    <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
47    <string name="config_default_keyboard_theme_index" translatable="false">5</string>
48    <integer name="config_max_more_keys_column">5</integer>
49    <!--
50         Configuration for KeyboardView
51    -->
52    <integer name="config_key_preview_linger_timeout">70</integer>
53    <!--
54         Configuration for LatinKeyboardView
55    -->
56    <dimen name="config_key_hysteresis_distance">8.0dp</dimen>
57    <integer name="config_touch_noise_threshold_time">40</integer>
58    <dimen name="config_touch_noise_threshold_distance">12.6dp</dimen>
59    <bool name="config_sliding_key_input_enabled">true</bool>
60    <integer name="config_key_repeat_start_timeout">400</integer>
61    <integer name="config_key_repeat_interval">50</integer>
62    <integer name="config_long_press_key_timeout">400</integer>
63    <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 -->
64    <integer name="config_long_press_shift_key_timeout">1200</integer>
65    <integer name="config_ignore_alt_code_key_timeout">350</integer>
66    <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if
67         false -->
68    <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool>
69    <!--
70        Configuration for auto correction
71     -->
72    <string-array name="auto_correction_threshold_values" translatable="false">
73        <!-- Off, When auto correction setting is Off, this value is not used. -->
74        <item></item>
75        <!-- Modest : Suggestion whose normalized score is greater than this value
76             will be subject to auto-correction. -->
77        <item>0.185</item>
78        <!-- Aggressive -->
79        <item>0.067</item>
80        <!-- Very Aggressive : Suggestion whose normalized score is greater than this value
81             will be subject to auto-correction. -->
82        <item>0</item>
83    </string-array>
84    <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare
85         a word to be "recommended" -->
86    <string name="spellchecker_recommended_threshold_value" translatable="false">0.11</string>
87    <!-- Threshold of the normalized score of any dictionary lookup to be offered as a suggestion
88         by the spell checker -->
89    <string name="spellchecker_suggestion_threshold_value" translatable="false">0.03</string>
90    <!--  Screen metrics for logging.
91            0 = "mdpi phone screen"
92            1 = "hdpi phone screen"
93            2 = "mdpi 11 inch tablet screen"
94            3 = "xhdpi phone screen?"
95            4 = ?
96    -->
97    <integer name="log_screen_metrics">0</integer>
98</resources>
99