The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2008, 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. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 22 | <!-- keyboardHeight = row_height*4 + key_bottom_gap*3 --> |
Ken Wakasa | 7642eb3 | 2011-05-06 19:56:07 +0900 | [diff] [blame] | 23 | <dimen name="keyboardHeight">1.285in</dimen> |
Tadashi G. Takaoka | ff483e8 | 2011-05-12 14:49:18 +0900 | [diff] [blame] | 24 | <fraction name="maxKeyboardHeight">50%p</fraction> |
| 25 | <fraction name="minKeyboardHeight">-61.8%p</fraction> |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 26 | |
Ken Wakasa | 7642eb3 | 2011-05-06 19:56:07 +0900 | [diff] [blame] | 27 | <dimen name="popup_key_height">0.330in</dimen> |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 28 | |
| 29 | <dimen name="mini_keyboard_horizontal_edges_padding">16dip</dimen> |
Tadashi G. Takaoka | 520a297 | 2011-06-25 19:38:55 +0900 | [diff] [blame] | 30 | <dimen name="mini_keyboard_key_horizontal_padding">8dip</dimen> |
| 31 | |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 32 | <dimen name="keyboard_horizontal_edges_padding">0dp</dimen> |
| 33 | <dimen name="keyboard_top_padding">0.02in</dimen> |
| 34 | <dimen name="keyboard_bottom_padding">0.06in</dimen> |
| 35 | <dimen name="key_bottom_gap">2.04mm</dimen> |
| 36 | <dimen name="key_horizontal_gap">0.70mm</dimen> |
| 37 | |
| 38 | <dimen name="key_bottom_gap_stone">2.45mm</dimen> |
| 39 | <dimen name="key_horizontal_gap_stone">0.90mm</dimen> |
| 40 | |
| 41 | <dimen name="key_bottom_gap_gb">2.12mm</dimen> |
| 42 | <dimen name="key_horizontal_gap_gb">1.02mm</dimen> |
| 43 | |
Tadashi G. Takaoka | 9116bf1 | 2011-06-21 20:10:51 +0900 | [diff] [blame] | 44 | <dimen name="keyboard_top_padding_ics">0.03in</dimen> |
| 45 | <dimen name="keyboard_bottom_padding_ics">0.06in</dimen> |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 46 | <dimen name="mini_keyboard_horizontal_edges_padding_ics">6dp</dimen> |
Tadashi G. Takaoka | e984fb5 | 2011-07-01 22:35:46 +0900 | [diff] [blame] | 47 | <dimen name="key_bottom_gap_ics">2.00mm</dimen> |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 48 | <dimen name="key_horizontal_gap_ics">0.90mm</dimen> |
Tadashi G. Takaoka | 520a297 | 2011-06-25 19:38:55 +0900 | [diff] [blame] | 49 | |
Tadashi G. Takaoka | cd7b7d3 | 2010-10-12 15:02:44 +0900 | [diff] [blame] | 50 | <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. --> |
Tadashi G. Takaoka | 59b7bd0 | 2010-11-05 18:41:12 +0900 | [diff] [blame] | 51 | <!-- popup_key_height x 1.2 --> |
Ken Wakasa | 7642eb3 | 2011-05-06 19:56:07 +0900 | [diff] [blame] | 52 | <dimen name="mini_keyboard_slide_allowance">0.396in</dimen> |
Tadashi G. Takaoka | 3e99aa0 | 2010-11-10 14:58:15 -0800 | [diff] [blame] | 53 | <!-- popup_key_height x -1.0 --> |
Ken Wakasa | 7642eb3 | 2011-05-06 19:56:07 +0900 | [diff] [blame] | 54 | <dimen name="mini_keyboard_vertical_correction">-0.330in</dimen> |
Tadashi G. Takaoka | cd7b7d3 | 2010-10-12 15:02:44 +0900 | [diff] [blame] | 55 | <!-- We use "inch", not "dip" because this value tries dealing with physical distance related |
| 56 | to user's finger. --> |
| 57 | <dimen name="keyboard_vertical_correction">-0.05in</dimen> |
| 58 | |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 59 | <fraction name="key_letter_ratio">55%</fraction> |
| 60 | <fraction name="key_large_letter_ratio">65%</fraction> |
| 61 | <fraction name="key_label_ratio">34%</fraction> |
| 62 | <fraction name="key_hint_letter_ratio">25%</fraction> |
| 63 | <fraction name="key_hint_label_ratio">44%</fraction> |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 64 | <fraction name="key_uppercase_letter_ratio">35%</fraction> |
Tadashi G. Takaoka | 703e725 | 2011-06-24 07:58:57 +0900 | [diff] [blame] | 65 | <fraction name="key_preview_text_ratio">82%</fraction> |
Tadashi G. Takaoka | da4bfbb | 2011-04-06 13:54:37 +0900 | [diff] [blame] | 66 | <dimen name="key_preview_height">80sp</dimen> |
Tadashi G. Takaoka | a3aeaaf | 2011-05-13 20:52:19 +0900 | [diff] [blame] | 67 | <dimen name="key_preview_offset">0.1in</dimen> |
Tadashi G. Takaoka | 520a297 | 2011-06-25 19:38:55 +0900 | [diff] [blame] | 68 | |
Tadashi G. Takaoka | d773bf3 | 2011-06-28 16:32:39 +0900 | [diff] [blame] | 69 | <dimen name="key_label_horizontal_padding">4dip</dimen> |
| 70 | <dimen name="key_hint_letter_padding">2dp</dimen> |
| 71 | <dimen name="key_uppercase_letter_padding">2dp</dimen> |
| 72 | |
Tadashi G. Takaoka | 520a297 | 2011-06-25 19:38:55 +0900 | [diff] [blame] | 73 | <dimen name="key_preview_height_ics">80sp</dimen> |
Tadashi G. Takaoka | 9116bf1 | 2011-06-21 20:10:51 +0900 | [diff] [blame] | 74 | <dimen name="key_preview_offset_ics">0.05in</dimen> |
Tadashi G. Takaoka | da4bfbb | 2011-04-06 13:54:37 +0900 | [diff] [blame] | 75 | |
Tadashi G. Takaoka | 3118277 | 2011-07-01 14:21:25 +0900 | [diff] [blame] | 76 | <dimen name="candidate_strip_height">40dip</dimen> |
Tadashi G. Takaoka | 7a3d3ae | 2011-04-13 14:12:24 +0900 | [diff] [blame] | 77 | <!-- candidate_strip_minimum_height = |
| 78 | key_preview_height_holo - key_preview_offset_holo + alpha --> |
Tadashi G. Takaoka | 1bca5b6 | 2011-06-24 07:27:55 +0900 | [diff] [blame] | 79 | <dimen name="candidate_strip_minimum_height">100sp</dimen> |
Ken Wakasa | 749b1ea | 2010-09-16 20:21:30 +0900 | [diff] [blame] | 80 | <dimen name="candidate_strip_fading_edge_length">63dip</dimen> |
Tadashi G. Takaoka | e49bd1c | 2010-12-06 21:26:38 +0900 | [diff] [blame] | 81 | <dimen name="candidate_strip_padding">0dip</dimen> |
Tadashi G. Takaoka | b473198 | 2011-06-26 03:00:51 +0900 | [diff] [blame] | 82 | <dimen name="candidate_min_width">44dip</dimen> |
Tadashi G. Takaoka | 37b6b44 | 2011-05-09 19:49:13 +0900 | [diff] [blame] | 83 | <dimen name="candidate_padding">6dip</dimen> |
Tadashi G. Takaoka | e49bd1c | 2010-12-06 21:26:38 +0900 | [diff] [blame] | 84 | <dimen name="candidate_text_size">18dip</dimen> |
Tadashi G. Takaoka | 74b6897 | 2011-06-30 10:09:21 +0900 | [diff] [blame] | 85 | <integer name="candidate_count_in_strip">3</integer> |
| 86 | |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 87 | <!-- If the screen height in landscape is larger than the below value, then the keyboard |
| 88 | will not go into extract (fullscreen) mode. --> |
| 89 | <dimen name="max_height_for_fullscreen">2.5in</dimen> |
Tadashi G. Takaoka | cd7b7d3 | 2010-10-12 15:02:44 +0900 | [diff] [blame] | 90 | |
Tadashi G. Takaoka | 2b4cc0d | 2010-09-28 14:35:21 +0900 | [diff] [blame] | 91 | <dimen name="key_hysteresis_distance">0.05in</dimen> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 92 | </resources> |