PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/ime/latinime/res/values/dimens.xml

http://eyes-free.googlecode.com/
XML | 50 lines | 22 code | 1 blank | 27 comment | 0 complexity | c8f45935c5e82f645525dea3752255a2 MD5 | raw file
 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>
22    <!-- key_height + key_bottom_gap = popup_key_height -->
23    <dimen name="key_height">54dp</dimen>
24    <dimen name="key_bottom_gap">4dp</dimen>
25    <dimen name="popup_key_height">58dp</dimen>
26    <dimen name="keyboard_bottom_padding">0.06in</dimen>
27    <dimen name="bubble_pointer_offset">22dip</dimen>
28    <dimen name="candidate_strip_height">42dip</dimen>
29    <dimen name="candidate_strip_fading_edge_length">63dip</dimen>
30    <dimen name="spacebar_vertical_correction">4dip</dimen>
31    <!-- If the screen height in landscape is larger than the below value, then the keyboard
32         will not go into extract (fullscreen) mode. -->
33    <dimen name="max_height_for_fullscreen">2.5in</dimen>
34    <dimen name="key_text_size">0.13in</dimen>
35    <dimen name="key_label_text_size">0.083in</dimen>
36    <dimen name="key_preview_text_size_large">40sp</dimen>
37    <dimen name="key_preview_offset">0.000in</dimen>
38    <!-- key_preview_text_size_large x 2 -->
39    <dimen name="key_preview_height">80sp</dimen>
40    <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
41    <!-- popup_key_height x 1.7 -->
42    <dimen name="mini_keyboard_slide_allowance">0.553in</dimen>
43    <!-- popup_key_height x 1.0 -->
44    <dimen name="mini_keyboard_vertical_correction">-0.325in</dimen>
45    <dimen name="key_hysteresis_distance">0.05in</dimen>
46    <!-- We use "inch", not "dip" because this value tries dealing with physical distance related
47         to user's finger. -->
48    <dimen name="keyboard_vertical_correction">-0.05in</dimen>
49    <dimen name="candidate_min_touchable_width">0.3in</dimen>
50</resources>