Tadashi G. Takaoka | 0ae817c | 2010-09-16 14:54:45 +0900 | [diff] [blame] | 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> |
Jean Chalard | 2da8866 | 2012-12-06 20:47:19 +0900 | [diff] [blame] | 22 | <!-- Device form factor. This value must be aligned with {@link KeyboardId.FORM_FACTOR_PHONE} --> |
Tadashi G. Takaoka | 4731b67 | 2012-07-30 13:35:06 +0900 | [diff] [blame] | 23 | <integer name="config_device_form_factor">0</integer> |
Tadashi G. Takaoka | 2be8725 | 2011-09-08 10:27:36 +0900 | [diff] [blame] | 24 | <bool name="config_use_fullscreen_mode">false</bool> |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 25 | <bool name="config_enable_show_voice_key_option">true</bool> |
Tadashi G. Takaoka | ce87566 | 2013-01-22 13:29:30 +0900 | [diff] [blame] | 26 | <bool name="config_enable_show_option_of_key_preview_popup">true</bool> |
Tadashi G. Takaoka | 7dde805 | 2012-01-18 20:14:16 +0900 | [diff] [blame] | 27 | <!-- TODO: Disable the following configuration for production. --> |
| 28 | <bool name="config_enable_usability_study_mode_option">true</bool> |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 29 | <!-- Whether or not Popup on key press is enabled by default --> |
Tadashi G. Takaoka | ce87566 | 2013-01-22 13:29:30 +0900 | [diff] [blame] | 30 | <bool name="config_default_key_preview_popup">true</bool> |
Jean Chalard | 80f2ccc | 2012-04-05 20:49:37 +0900 | [diff] [blame] | 31 | <!-- Default value for next word prediction: after entering a word and a space only, should we look |
Tadashi G. Takaoka | 913e2ae | 2011-09-01 14:54:28 +0900 | [diff] [blame] | 32 | at input history to suggest a hopefully helpful suggestions for the next word? --> |
Jean Chalard | 80f2ccc | 2012-04-05 20:49:37 +0900 | [diff] [blame] | 33 | <bool name="config_default_next_word_prediction">true</bool> |
Jean Chalard | f0d99b8 | 2011-02-08 11:13:06 +0900 | [diff] [blame] | 34 | <bool name="config_default_sound_enabled">false</bool> |
Ken Wakasa | 37af28d | 2011-09-20 20:16:11 +0900 | [diff] [blame] | 35 | <bool name="config_default_vibration_enabled">true</bool> |
Tadashi G. Takaoka | 2df0cf2 | 2013-01-18 16:47:49 +0900 | [diff] [blame] | 36 | <integer name="config_max_vibration_duration">250</integer> <!-- milliseconds --> |
Ken Wakasa | 9b2192b | 2011-04-29 17:06:17 +0900 | [diff] [blame] | 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> |
Tadashi G. Takaoka | 31c94ce | 2012-03-16 14:05:20 +0900 | [diff] [blame] | 40 | <integer name="config_language_on_spacebar_final_alpha">128</integer> |
Tadashi G. Takaoka | 2affaf9 | 2012-02-08 16:12:11 +0900 | [diff] [blame] | 41 | <integer name="config_more_keys_keyboard_fadein_anim_time">0</integer> |
| 42 | <integer name="config_more_keys_keyboard_fadeout_anim_time">100</integer> |
satok | 74103ee | 2010-10-29 18:05:07 +0900 | [diff] [blame] | 43 | <integer name="config_keyboard_grid_width">32</integer> |
| 44 | <integer name="config_keyboard_grid_height">16</integer> |
Ken Wakasa | 2b6a1fe | 2012-12-05 12:35:41 +0900 | [diff] [blame] | 45 | <integer name="config_double_space_period_timeout">1100</integer> |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 46 | <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. --> |
Tadashi G. Takaoka | 411749a | 2012-03-08 16:20:22 +0900 | [diff] [blame] | 47 | <string name="config_default_keyboard_theme_index" translatable="false">5</string> |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 48 | <integer name="config_max_more_keys_column">5</integer> |
Tadashi G. Takaoka | ff961dd | 2013-01-24 16:08:33 +0900 | [diff] [blame] | 49 | |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 50 | <!-- |
Tadashi G. Takaoka | c8e45dd | 2012-07-23 10:27:14 +0900 | [diff] [blame] | 51 | Configuration for MainKeyboardView |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 52 | --> |
Tadashi G. Takaoka | 2a04637 | 2012-03-21 20:11:46 +0900 | [diff] [blame] | 53 | <dimen name="config_key_hysteresis_distance">8.0dp</dimen> |
Tadashi G. Takaoka | f731eb1 | 2012-10-06 23:22:36 +0900 | [diff] [blame] | 54 | <dimen name="config_key_hysteresis_distance_for_sliding_modifier">8.0dp</dimen> |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 55 | <integer name="config_touch_noise_threshold_time">40</integer> |
Tadashi G. Takaoka | 2a04637 | 2012-03-21 20:11:46 +0900 | [diff] [blame] | 56 | <dimen name="config_touch_noise_threshold_distance">12.6dp</dimen> |
Tadashi G. Takaoka | ff961dd | 2013-01-24 16:08:33 +0900 | [diff] [blame] | 57 | <integer name="config_key_preview_linger_timeout">70</integer> |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 58 | <bool name="config_sliding_key_input_enabled">true</bool> |
Tadashi G. Takaoka | ff961dd | 2013-01-24 16:08:33 +0900 | [diff] [blame] | 59 | <!-- Sliding key input preview parameters --> |
| 60 | <dimen name="config_sliding_key_input_preview_width">8.0dp</dimen> |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 61 | <integer name="config_key_repeat_start_timeout">400</integer> |
| 62 | <integer name="config_key_repeat_interval">50</integer> |
Tadashi G. Takaoka | cc5e4a4 | 2013-01-18 12:19:59 +0900 | [diff] [blame] | 63 | <integer name="config_default_longpress_key_timeout">300</integer> <!-- milliseconds --> |
| 64 | <integer name="config_longpress_timeout_step">10</integer> <!-- milliseconds --> |
| 65 | <integer name="config_min_longpress_timeout">100</integer> <!-- milliseconds --> |
| 66 | <integer name="config_max_longpress_timeout">700</integer> <!-- milliseconds --> |
Tadashi G. Takaoka | 98b5c98 | 2011-07-17 14:37:30 -0700 | [diff] [blame] | 67 | <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 --> |
Tadashi G. Takaoka | cc5e4a4 | 2013-01-18 12:19:59 +0900 | [diff] [blame] | 68 | <integer name="config_longpress_shift_lock_timeout">1200</integer> <!-- milliseconds --> |
| 69 | <integer name="config_ignore_alt_code_key_timeout">350</integer> <!-- milliseconds --> |
Tadashi G. Takaoka | 2affaf9 | 2012-02-08 16:12:11 +0900 | [diff] [blame] | 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> |
Tadashi G. Takaoka | ff961dd | 2013-01-24 16:08:33 +0900 | [diff] [blame] | 73 | <integer name="config_gesture_floating_preview_text_linger_timeout">200</integer> |
| 74 | <integer name="config_gesture_preview_trail_fadeout_start_delay">100</integer> |
| 75 | <integer name="config_gesture_preview_trail_fadeout_duration">800</integer> |
| 76 | <integer name="config_gesture_preview_trail_update_interval">20</integer> |
Tadashi G. Takaoka | 80bcb99 | 2012-10-05 12:12:54 +0900 | [diff] [blame] | 77 | <!-- Static threshold for gesture after fast typing (msec) --> |
Tadashi G. Takaoka | b095288 | 2012-10-10 18:37:46 +0900 | [diff] [blame] | 78 | <integer name="config_gesture_static_time_threshold_after_fast_typing">500</integer> |
Tadashi G. Takaoka | 80bcb99 | 2012-10-05 12:12:54 +0900 | [diff] [blame] | 79 | <!-- Static threshold for starting gesture detection (keyWidth%/sec) --> |
| 80 | <fraction name="config_gesture_detect_fast_move_speed_threshold">150%</fraction> |
| 81 | <!-- Dynamic threshold for gesture after fast typing (msec) --> |
| 82 | <integer name="config_gesture_dynamic_threshold_decay_duration">450</integer> |
| 83 | <!-- Time based threshold values for gesture detection (msec) --> |
| 84 | <integer name="config_gesture_dynamic_time_threshold_from">300</integer> |
| 85 | <integer name="config_gesture_dynamic_time_threshold_to">20</integer> |
| 86 | <!-- Distance based threshold values for gesture detection (keyWidth%/sec) --> |
| 87 | <fraction name="config_gesture_dynamic_distance_threshold_from">600%</fraction> |
Tadashi G. Takaoka | 7a17c1f | 2012-10-09 14:31:13 +0900 | [diff] [blame] | 88 | <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction> |
Tadashi G. Takaoka | 80bcb99 | 2012-10-05 12:12:54 +0900 | [diff] [blame] | 89 | <!-- Parameter for gesture sampling (keyWidth%/sec) --> |
| 90 | <fraction name="config_gesture_sampling_minimum_distance">16.6666%</fraction> |
| 91 | <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) --> |
| 92 | <integer name="config_gesture_recognition_minimum_time">100</integer> |
Satoshi Kataoka | 6ae8dd4 | 2012-11-22 20:15:40 +0900 | [diff] [blame] | 93 | <integer name="config_gesture_recognition_update_time">100</integer> |
Tadashi G. Takaoka | 80bcb99 | 2012-10-05 12:12:54 +0900 | [diff] [blame] | 94 | <fraction name="config_gesture_recognition_speed_threshold">550%</fraction> |
Tadashi G. Takaoka | 3623b97 | 2012-10-05 14:37:22 +0900 | [diff] [blame] | 95 | <!-- Suppress showing key preview duration after batch input in millisecond --> |
| 96 | <integer name="config_suppress_key_preview_after_batch_input_duration">1000</integer> |
Tadashi G. Takaoka | 160f012 | 2012-01-25 20:14:39 +0900 | [diff] [blame] | 97 | <!-- |
| 98 | Configuration for auto correction |
| 99 | --> |
Eric Fischer | f73e76d | 2011-01-06 18:21:11 -0800 | [diff] [blame] | 100 | <string-array name="auto_correction_threshold_values" translatable="false"> |
Tadashi G. Takaoka | 9ecad8c | 2010-12-13 12:37:23 +0900 | [diff] [blame] | 101 | <!-- Off, When auto correction setting is Off, this value is not used. --> |
Mitsuhiro Shimoda | b1abda8 | 2010-09-28 12:23:26 +0900 | [diff] [blame] | 102 | <item></item> |
| 103 | <!-- Modest : Suggestion whose normalized score is greater than this value |
Tadashi G. Takaoka | 9ecad8c | 2010-12-13 12:37:23 +0900 | [diff] [blame] | 104 | will be subject to auto-correction. --> |
Jean Chalard | 9416c81 | 2012-05-15 19:24:47 +0900 | [diff] [blame] | 105 | <item>0.185</item> |
satok | 07a62cf | 2011-06-24 20:30:31 +0900 | [diff] [blame] | 106 | <!-- Aggressive --> |
Jean Chalard | 9416c81 | 2012-05-15 19:24:47 +0900 | [diff] [blame] | 107 | <item>0.067</item> |
satok | 07a62cf | 2011-06-24 20:30:31 +0900 | [diff] [blame] | 108 | <!-- Very Aggressive : Suggestion whose normalized score is greater than this value |
Tadashi G. Takaoka | 9ecad8c | 2010-12-13 12:37:23 +0900 | [diff] [blame] | 109 | will be subject to auto-correction. --> |
Mitsuhiro Shimoda | b1abda8 | 2010-09-28 12:23:26 +0900 | [diff] [blame] | 110 | <item>0</item> |
| 111 | </string-array> |
Tadashi G. Takaoka | 2affaf9 | 2012-02-08 16:12:11 +0900 | [diff] [blame] | 112 | <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare |
| 113 | a word to be "recommended" --> |
Jean Chalard | a409f00 | 2011-11-10 02:52:46 +0900 | [diff] [blame] | 114 | <string name="spellchecker_recommended_threshold_value" translatable="false">0.11</string> |
Tadashi G. Takaoka | 2affaf9 | 2012-02-08 16:12:11 +0900 | [diff] [blame] | 115 | <!-- Threshold of the normalized score of any dictionary lookup to be offered as a suggestion |
| 116 | by the spell checker --> |
Jean Chalard | 4609c02 | 2011-09-29 16:04:36 +0900 | [diff] [blame] | 117 | <string name="spellchecker_suggestion_threshold_value" translatable="false">0.03</string> |
Ken Wakasa | 2057f3b | 2011-09-12 18:24:54 +0900 | [diff] [blame] | 118 | <!-- Screen metrics for logging. |
| 119 | 0 = "mdpi phone screen" |
| 120 | 1 = "hdpi phone screen" |
| 121 | 2 = "mdpi 11 inch tablet screen" |
| 122 | 3 = "xhdpi phone screen?" |
| 123 | 4 = ? |
| 124 | --> |
satok | 16e9edf | 2011-04-15 16:55:07 +0900 | [diff] [blame] | 125 | <integer name="log_screen_metrics">0</integer> |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame^] | 126 | |
| 127 | <!-- Settings for the dictionary pack --> |
| 128 | <bool name="allow_over_metered">false</bool> |
| 129 | <bool name="allow_over_roaming">false</bool> |
| 130 | <bool name="dict_downloads_visible_in_download_UI">false</bool> |
| 131 | <bool name="metadata_downloads_visible_in_download_UI">false</bool> |
| 132 | <bool name="display_notification_for_auto_update">false</bool> |
| 133 | <bool name="display_notification_for_user_requested_update">false</bool> |
| 134 | |
Tadashi G. Takaoka | 0ae817c | 2010-09-16 14:54:45 +0900 | [diff] [blame] | 135 | </resources> |