dimens.xml revision ca71f48e033fad9975cff1777c27fe1fe06f9fb4
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/assets/res/any/dimens.xml
4**
5** Copyright 2006, 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<resources>
21    <!-- Size of lockscreen outerring on unsecure unlock LockScreen -->
22    <dimen name="keyguard_lockscreen_outerring_diameter">270dp</dimen>
23
24    <!-- The bottom margin for the GlowPadView container -->
25    <dimen name="glowpadcontainer_bottom_margin">-80dp</dimen>
26
27    <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
28    <dimen name="glowpadview_target_placement_radius">135dip</dimen>
29
30    <!-- Default glow radius for GlowPadView -->
31    <dimen name="glowpadview_glow_radius">75dip</dimen>
32
33    <!-- Default distance beyond which GlowPadView snaps to the matching target -->
34    <dimen name="glowpadview_snap_margin">40dip</dimen>
35
36    <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
37    <dimen name="glowpadview_inner_radius">15dip</dimen>
38
39    <!-- Size of status line font on Unsecure unlock LockScreen. -->
40    <dimen name="keyguard_lockscreen_status_line_font_size">14dip</dimen>
41
42    <!-- Size of right margin on Unsecure unlock LockScreen -->
43    <dimen name="keyguard_lockscreen_status_line_font_right_margin">42dip</dimen>
44
45    <!-- Size of top margin on Clock font to edge on unlock LockScreen -->
46    <dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22dip</dimen>
47
48    <!-- Size of top margin on Clock font to edge on unlock LockScreen -->
49    <dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12dip</dimen>
50
51    <!-- Padding on left margin of PIN text entry field to center it when del button is showing -->
52    <dimen name="keyguard_lockscreen_pin_margin_left">40dip</dimen>
53
54    <!-- Height of FaceUnlock view in keyguard -->
55    <dimen name="face_unlock_height">330dip</dimen>
56
57    <!-- Keyguard dimensions -->
58    <!-- TEMP -->
59    <dimen name="kg_security_panel_height">600dp</dimen>
60
61    <!-- Height of security view in keyguard. -->
62    <dimen name="kg_security_view_height">480dp</dimen>
63
64    <!-- Width of widget view in keyguard. -->
65    <dimen name="kg_widget_view_width">0dp</dimen>
66
67    <!-- Height of widget view in keyguard. -->
68    <dimen name="kg_widget_view_height">0dp</dimen>
69
70    <!-- Size of the clock font in keyguard's status view -->
71    <dimen name="kg_status_clock_font_size">75dp</dimen>
72
73    <!-- Size of the generic status lines keyguard's status view  -->
74    <dimen name="kg_status_line_font_size">12dp</dimen>
75
76    <!-- Size of margin on the right of keyguard's status view -->
77    <dimen name="kg_status_line_font_right_margin">16dp</dimen>
78
79    <!-- Top margin for the clock view -->
80    <dimen name="kg_clock_top_margin">-16dp</dimen>
81
82    <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard -->
83    <dimen name="kg_key_horizontal_gap">0dp</dimen>
84
85    <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard -->
86    <dimen name="kg_key_vertical_gap">0dp</dimen>
87
88    <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard -->
89    <dimen name="kg_pin_key_height">60dp</dimen>
90
91    <!-- Space reserved at the bottom of secure views (pin/pattern/password/SIM pin/SIM puk) -->
92    <dimen name="kg_secure_padding_height">46dp</dimen>
93
94    <!-- The height of the runway lights strip -->
95    <dimen name="kg_runway_lights_height">7dp</dimen>
96
97    <!-- The height of the runway lights strip -->
98    <dimen name="kg_runway_lights_vertical_padding">2dp</dimen>
99
100    <!-- Horizontal padding for the widget pager -->
101    <dimen name="kg_widget_pager_horizontal_padding">16dp</dimen>
102
103    <!-- Top padding for the widget pager -->
104    <dimen name="kg_widget_pager_top_padding">0dp</dimen>
105
106    <!-- Bottom padding for the widget pager -->
107    <dimen name="kg_widget_pager_bottom_padding">64dp</dimen>
108
109    <!-- Top margin for the runway lights. We add a negative margin in large
110        devices to account for the widget pager padding -->
111    <dimen name="kg_runway_lights_top_margin">0dp</dimen>
112
113    <!-- Touch slop for the global toggle accessibility gesture -->
114    <dimen name="accessibility_touch_slop">80dip</dimen>
115
116    <!-- Width of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
117    <dimen name="keyguard_security_width">320dp</dimen>
118
119    <!-- Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
120    <dimen name="keyguard_security_height">400dp</dimen>
121
122    <!-- Margin around the various security views -->
123    <dimen name="keyguard_security_view_margin">8dp</dimen>
124
125    <!-- Margin around the various security views -->
126    <dimen name="keyguard_muliuser_selector_margin">8dp</dimen>
127
128    <!-- Stroke width of the frame for the circular avatars. -->
129    <dimen name="keyguard_avatar_frame_stroke_width">2dp</dimen>
130
131    <!-- Shadow radius under the frame for the circular avatars. -->
132    <dimen name="keyguard_avatar_frame_shadow_radius">1dp</dimen>
133
134    <!-- Size of the avator on hte multiuser lockscreen. -->
135    <dimen name="keyguard_avatar_size">66dp</dimen>
136
137    <!-- Size of the text under the avator on the multiuser lockscreen. -->
138    <dimen name="keyguard_avatar_name_size">10sp</dimen>
139
140    <!-- Size of the region along the edge of the screen that will accept
141         swipes to scroll the widget area. -->
142    <dimen name="kg_edge_swipe_region_size">24dp</dimen>
143
144    <!-- If the height if keyguard drops below this threshold (most likely
145    due to the appearance of the IME), then drop the multiuser selector. -->
146    <dimen name="kg_squashed_layout_threshold">600dp</dimen>
147
148    <!-- The height of widgets which do not support vertical resizing. This is only
149    used on tablets; on phones, this size is determined by the space left by the
150    security mode. -->
151    <dimen name="kg_small_widget_height">160dp</dimen>
152
153    <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text.
154         Should be 0 on devices with plenty of room (e.g. tablets) -->
155    <dimen name="eca_overlap">-10dip</dimen>
156
157    <!-- Default clock parameters -->
158    <dimen name="bottom_text_spacing_digital">-8dp</dimen>
159    <dimen name="label_font_size">14dp</dimen>
160    <dimen name="widget_label_font_size">14dp</dimen>
161    <dimen name="widget_big_font_size">80dp</dimen>
162    <dimen name="big_font_size">120dp</dimen>
163
164</resources>
165