blob: 61779d4b5452f8afada397725618ed507965edd7 [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. Takaoka2be87252011-09-08 10:27:36 +090022 <bool name="config_use_fullscreen_mode">false</bool>
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090023 <bool name="config_enable_show_voice_key_option">true</bool>
Tadashi G. Takaokace875662013-01-22 13:29:30 +090024 <bool name="config_enable_show_option_of_key_preview_popup">true</bool>
Tadashi G. Takaoka7dde8052012-01-18 20:14:16 +090025 <!-- TODO: Disable the following configuration for production. -->
26 <bool name="config_enable_usability_study_mode_option">true</bool>
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090027 <!-- Whether or not Popup on key press is enabled by default -->
Tadashi G. Takaokace875662013-01-22 13:29:30 +090028 <bool name="config_default_key_preview_popup">true</bool>
Jean Chalard80f2ccc2012-04-05 20:49:37 +090029 <!-- 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 +090030 at input history to suggest a hopefully helpful suggestions for the next word? -->
Jean Chalard80f2ccc2012-04-05 20:49:37 +090031 <bool name="config_default_next_word_prediction">true</bool>
Jean Chalardf0d99b82011-02-08 11:13:06 +090032 <bool name="config_default_sound_enabled">false</bool>
Ken Wakasa37af28d2011-09-20 20:16:11 +090033 <bool name="config_default_vibration_enabled">true</bool>
Tadashi G. Takaokab1215382013-05-13 20:04:59 +090034 <integer name="config_max_vibration_duration">100</integer> <!-- milliseconds -->
Ken Wakasa9b2192b2011-04-29 17:06:17 +090035 <integer name="config_delay_update_suggestions">100</integer>
36 <integer name="config_delay_update_old_suggestions">300</integer>
37 <integer name="config_delay_update_shift_state">100</integer>
Tadashi G. Takaoka31c94ce2012-03-16 14:05:20 +090038 <integer name="config_language_on_spacebar_final_alpha">128</integer>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090039 <integer name="config_more_keys_keyboard_fadein_anim_time">0</integer>
40 <integer name="config_more_keys_keyboard_fadeout_anim_time">100</integer>
satok74103ee2010-10-29 18:05:07 +090041 <integer name="config_keyboard_grid_width">32</integer>
42 <integer name="config_keyboard_grid_height">16</integer>
Ken Wakasa2b6a1fe2012-12-05 12:35:41 +090043 <integer name="config_double_space_period_timeout">1100</integer>
Tadashi G. Takaokadb86a6f2013-11-11 20:39:03 +090044 <!-- This configuration is an index of {@link KeyboardSwitcher#KEYBOARD_THEMES[]}. -->
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090045 <string name="config_default_keyboard_theme_index" translatable="false">2</string>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090046 <integer name="config_max_more_keys_column">5</integer>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +090047
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090048 <!--
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090049 Configuration for MainKeyboardView
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090050 -->
Tadashi G. Takaoka2a046372012-03-21 20:11:46 +090051 <dimen name="config_key_hysteresis_distance">8.0dp</dimen>
Tadashi G. Takaokaf731eb12012-10-06 23:22:36 +090052 <dimen name="config_key_hysteresis_distance_for_sliding_modifier">8.0dp</dimen>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090053 <integer name="config_touch_noise_threshold_time">40</integer>
Tadashi G. Takaoka2a046372012-03-21 20:11:46 +090054 <dimen name="config_touch_noise_threshold_distance">12.6dp</dimen>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +090055 <integer name="config_key_preview_linger_timeout">70</integer>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090056 <bool name="config_sliding_key_input_enabled">true</bool>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +090057 <!-- Sliding key input preview parameters -->
58 <dimen name="config_sliding_key_input_preview_width">8.0dp</dimen>
Tadashi G. Takaoka2deb8982013-04-23 11:40:25 +090059 <!-- Percentages of sliding key input preview body and shadow, in proportion to the width.
60 A negative value of the shadow ratio disables drawing shadow. -->
61 <!-- TODO: May use the shadow to alleviate rugged trail drawing. -->
62 <integer name="config_sliding_key_input_preview_body_ratio">100</integer>
63 <integer name="config_sliding_key_input_preview_shadow_ratio">-1</integer>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090064 <integer name="config_key_repeat_start_timeout">400</integer>
65 <integer name="config_key_repeat_interval">50</integer>
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +090066 <integer name="config_default_longpress_key_timeout">300</integer> <!-- milliseconds -->
67 <integer name="config_longpress_timeout_step">10</integer> <!-- milliseconds -->
68 <integer name="config_min_longpress_timeout">100</integer> <!-- milliseconds -->
69 <integer name="config_max_longpress_timeout">700</integer> <!-- milliseconds -->
Tadashi G. Takaoka98b5c982011-07-17 14:37:30 -070070 <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 -->
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +090071 <integer name="config_longpress_shift_lock_timeout">1200</integer> <!-- milliseconds -->
72 <integer name="config_ignore_alt_code_key_timeout">350</integer> <!-- milliseconds -->
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090073 <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if
74 false -->
75 <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool>
Jean Chalardbb612932013-04-23 12:19:31 +090076 <bool name="config_block_potentially_offensive">true</bool>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +090077 <integer name="config_gesture_floating_preview_text_linger_timeout">200</integer>
Ken Wakasacb3bba32013-05-13 13:12:12 +090078 <integer name="config_gesture_trail_fadeout_start_delay">100</integer>
79 <integer name="config_gesture_trail_fadeout_duration">800</integer>
80 <integer name="config_gesture_trail_update_interval">20</integer>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090081 <!-- Static threshold for gesture after fast typing (msec) -->
Tadashi G. Takaokab0952882012-10-10 18:37:46 +090082 <integer name="config_gesture_static_time_threshold_after_fast_typing">500</integer>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090083 <!-- Static threshold for starting gesture detection (keyWidth%/sec) -->
84 <fraction name="config_gesture_detect_fast_move_speed_threshold">150%</fraction>
85 <!-- Dynamic threshold for gesture after fast typing (msec) -->
86 <integer name="config_gesture_dynamic_threshold_decay_duration">450</integer>
87 <!-- Time based threshold values for gesture detection (msec) -->
88 <integer name="config_gesture_dynamic_time_threshold_from">300</integer>
89 <integer name="config_gesture_dynamic_time_threshold_to">20</integer>
90 <!-- Distance based threshold values for gesture detection (keyWidth%/sec) -->
91 <fraction name="config_gesture_dynamic_distance_threshold_from">600%</fraction>
Tadashi G. Takaoka7a17c1f2012-10-09 14:31:13 +090092 <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090093 <!-- Parameter for gesture sampling (keyWidth%/sec) -->
94 <fraction name="config_gesture_sampling_minimum_distance">16.6666%</fraction>
95 <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) -->
96 <integer name="config_gesture_recognition_minimum_time">100</integer>
Satoshi Kataoka6ae8dd42012-11-22 20:15:40 +090097 <integer name="config_gesture_recognition_update_time">100</integer>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090098 <fraction name="config_gesture_recognition_speed_threshold">550%</fraction>
Tadashi G. Takaoka3623b972012-10-05 14:37:22 +090099 <!-- Suppress showing key preview duration after batch input in millisecond -->
100 <integer name="config_suppress_key_preview_after_batch_input_duration">1000</integer>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +0900101 <!--
102 Configuration for auto correction
103 -->
Eric Fischerf73e76d2011-01-06 18:21:11 -0800104 <string-array name="auto_correction_threshold_values" translatable="false">
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +0900105 <!-- Off, When auto correction setting is Off, this value is not used. -->
Ken Wakasafba1bd02013-10-04 19:04:16 +0900106 <item>floatMaxValue</item>
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +0900107 <!-- Modest : Suggestion whose normalized score is greater than this value
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +0900108 will be subject to auto-correction. -->
Jean Chalard9416c812012-05-15 19:24:47 +0900109 <item>0.185</item>
satok07a62cf2011-06-24 20:30:31 +0900110 <!-- Aggressive -->
Jean Chalard9416c812012-05-15 19:24:47 +0900111 <item>0.067</item>
satok07a62cf2011-06-24 20:30:31 +0900112 <!-- Very Aggressive : Suggestion whose normalized score is greater than this value
Satoshi Kataoka70f27622013-04-24 14:43:29 +0900113 will be subject to auto-correction. "floatNegativeInfinity" is a special marker
114 string for Float.NEGATIVE_INFINITY -->
115 <item>floatNegativeInfinity</item>
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +0900116 </string-array>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900117 <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare
118 a word to be "recommended" -->
Jean Chalarda409f002011-11-10 02:52:46 +0900119 <string name="spellchecker_recommended_threshold_value" translatable="false">0.11</string>
Ken Wakasa2057f3b2011-09-12 18:24:54 +0900120 <!-- Screen metrics for logging.
121 0 = "mdpi phone screen"
122 1 = "hdpi phone screen"
123 2 = "mdpi 11 inch tablet screen"
124 3 = "xhdpi phone screen?"
125 4 = ?
126 -->
satok16e9edf2011-04-15 16:55:07 +0900127 <integer name="log_screen_metrics">0</integer>
Jean Chalard0cc05442013-03-15 19:00:51 +0900128
129 <!-- Settings for the dictionary pack -->
130 <bool name="allow_over_metered">false</bool>
131 <bool name="allow_over_roaming">false</bool>
132 <bool name="dict_downloads_visible_in_download_UI">false</bool>
133 <bool name="metadata_downloads_visible_in_download_UI">false</bool>
134 <bool name="display_notification_for_auto_update">false</bool>
135 <bool name="display_notification_for_user_requested_update">false</bool>
136
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +0900137</resources>