blob: 8d947b32756873b1c9841db3c65f53eedccf1969 [file] [log] [blame]
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +09001<?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>
Tadashi G. Takaoka4731b672012-07-30 13:35:06 +090022 <!-- Device form factor. This value must be aligned with {@link KeyboardId.DEVICE_FORM_FACTOR_PHONE} -->
23 <integer name="config_device_form_factor">0</integer>
Tadashi G. Takaoka2be87252011-09-08 10:27:36 +090024 <bool name="config_use_fullscreen_mode">false</bool>
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090025 <bool name="config_enable_show_voice_key_option">true</bool>
Jean Chalard6c381b32011-01-18 15:20:35 +090026 <bool name="config_enable_show_popup_on_keypress_option">true</bool>
Tadashi G. Takaoka7dde8052012-01-18 20:14:16 +090027 <!-- TODO: Disable the following configuration for production. -->
28 <bool name="config_enable_usability_study_mode_option">true</bool>
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090029 <!-- Whether or not Popup on key press is enabled by default -->
30 <bool name="config_default_popup_preview">true</bool>
Jean Chalard80f2ccc2012-04-05 20:49:37 +090031 <!-- Default value for next word prediction: after entering a word and a space only, should we look
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090032 at input history to suggest a hopefully helpful suggestions for the next word? -->
Jean Chalard80f2ccc2012-04-05 20:49:37 +090033 <bool name="config_default_next_word_prediction">true</bool>
Jean Chalardf0d99b82011-02-08 11:13:06 +090034 <bool name="config_default_sound_enabled">false</bool>
Ken Wakasa37af28d2011-09-20 20:16:11 +090035 <bool name="config_default_vibration_enabled">true</bool>
Ken Wakasa9b2192b2011-04-29 17:06:17 +090036 <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>
Tadashi G. Takaoka31c94ce2012-03-16 14:05:20 +090039 <integer name="config_language_on_spacebar_final_alpha">128</integer>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090040 <integer name="config_more_keys_keyboard_fadein_anim_time">0</integer>
41 <integer name="config_more_keys_keyboard_fadeout_anim_time">100</integer>
satok74103ee2010-10-29 18:05:07 +090042 <integer name="config_keyboard_grid_width">32</integer>
43 <integer name="config_keyboard_grid_height">16</integer>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090044 <integer name="config_double_spaces_turn_into_period_timeout">1100</integer>
45 <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +090046 <string name="config_default_keyboard_theme_index" translatable="false">5</string>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090047 <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>
Tadashi G. Takaoka27e48442012-08-07 11:48:10 +090052 <integer name="config_gesture_floating_preview_text_linger_timeout">200</integer>
Tadashi G. Takaoka333a3002012-08-20 12:57:34 +090053 <integer name="config_gesture_preview_trail_fadeout_start_delay">100</integer>
Tadashi G. Takaoka1c2f3322012-08-27 14:43:39 +090054 <integer name="config_gesture_preview_trail_fadeout_duration">800</integer>
Tadashi G. Takaoka333a3002012-08-20 12:57:34 +090055 <integer name="config_gesture_preview_trail_update_interval">20</integer>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090056 <!--
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090057 Configuration for MainKeyboardView
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090058 -->
Tadashi G. Takaoka2a046372012-03-21 20:11:46 +090059 <dimen name="config_key_hysteresis_distance">8.0dp</dimen>
Tadashi G. Takaokaf731eb12012-10-06 23:22:36 +090060 <dimen name="config_key_hysteresis_distance_for_sliding_modifier">8.0dp</dimen>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090061 <integer name="config_touch_noise_threshold_time">40</integer>
Tadashi G. Takaoka2a046372012-03-21 20:11:46 +090062 <dimen name="config_touch_noise_threshold_distance">12.6dp</dimen>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090063 <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>
Tadashi G. Takaoka5e029302010-10-08 12:51:15 +090066 <integer name="config_long_press_key_timeout">400</integer>
Tadashi G. Takaoka98b5c982011-07-17 14:37:30 -070067 <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 -->
Ken Wakasa276845c2010-10-26 19:04:48 +090068 <integer name="config_long_press_shift_key_timeout">1200</integer>
Tadashi G. Takaokac50686b2012-06-18 17:38:33 -070069 <integer name="config_ignore_alt_code_key_timeout">350</integer>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090070 <!-- 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>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090073 <!-- Static threshold for gesture after fast typing (msec) -->
Tadashi G. Takaokab0952882012-10-10 18:37:46 +090074 <integer name="config_gesture_static_time_threshold_after_fast_typing">500</integer>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090075 <!-- 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>
Tadashi G. Takaoka7a17c1f2012-10-09 14:31:13 +090084 <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090085 <!-- 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>
Satoshi Kataoka6ae8dd42012-11-22 20:15:40 +090089 <integer name="config_gesture_recognition_update_time">100</integer>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090090 <fraction name="config_gesture_recognition_speed_threshold">550%</fraction>
Tadashi G. Takaoka3623b972012-10-05 14:37:22 +090091 <!-- Suppress showing key preview duration after batch input in millisecond -->
92 <integer name="config_suppress_key_preview_after_batch_input_duration">1000</integer>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090093 <!--
94 Configuration for auto correction
95 -->
Eric Fischerf73e76d2011-01-06 18:21:11 -080096 <string-array name="auto_correction_threshold_values" translatable="false">
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090097 <!-- Off, When auto correction setting is Off, this value is not used. -->
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +090098 <item></item>
99 <!-- Modest : Suggestion whose normalized score is greater than this value
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +0900100 will be subject to auto-correction. -->
Jean Chalard9416c812012-05-15 19:24:47 +0900101 <item>0.185</item>
satok07a62cf2011-06-24 20:30:31 +0900102 <!-- Aggressive -->
Jean Chalard9416c812012-05-15 19:24:47 +0900103 <item>0.067</item>
satok07a62cf2011-06-24 20:30:31 +0900104 <!-- Very Aggressive : Suggestion whose normalized score is greater than this value
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +0900105 will be subject to auto-correction. -->
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +0900106 <item>0</item>
107 </string-array>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900108 <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare
109 a word to be "recommended" -->
Jean Chalarda409f002011-11-10 02:52:46 +0900110 <string name="spellchecker_recommended_threshold_value" translatable="false">0.11</string>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900111 <!-- Threshold of the normalized score of any dictionary lookup to be offered as a suggestion
112 by the spell checker -->
Jean Chalard4609c022011-09-29 16:04:36 +0900113 <string name="spellchecker_suggestion_threshold_value" translatable="false">0.03</string>
Ken Wakasa2057f3b2011-09-12 18:24:54 +0900114 <!-- Screen metrics for logging.
115 0 = "mdpi phone screen"
116 1 = "hdpi phone screen"
117 2 = "mdpi 11 inch tablet screen"
118 3 = "xhdpi phone screen?"
119 4 = ?
120 -->
satok16e9edf2011-04-15 16:55:07 +0900121 <integer name="log_screen_metrics">0</integer>
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +0900122</resources>