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
22    <!-- Size of the generic status lines keyguard's status view  -->
23    <dimen name="kg_status_line_font_size">14sp</dimen>
24
25    <!-- Maximum width of the sliding KeyguardSecurityContainer -->
26    <dimen name="keyguard_security_width">420dp</dimen>
27
28    <!-- Height of the sliding KeyguardSecurityContainer
29         (includes 2x keyguard_security_view_top_margin) -->
30    <dimen name="keyguard_security_height">420dp</dimen>
31
32    <!-- pin/password field max height -->
33    <dimen name="keyguard_password_height">80dp</dimen>
34
35    <!-- Margin around the various security views -->
36    <dimen name="keyguard_security_view_top_margin">8dp</dimen>
37
38    <!-- Minimum bottom margin under the security view -->
39    <dimen name="keyguard_security_view_bottom_margin">60dp</dimen>
40
41    <!-- Margin above the ambient indication container -->
42    <dimen name="ambient_indication_container_margin_top">0dp</dimen>
43
44    <dimen name="keyguard_eca_top_margin">18dp</dimen>
45    <dimen name="keyguard_eca_bottom_margin">12dp</dimen>
46
47    <!-- Slice header -->
48    <dimen name="widget_title_font_size">20dp</dimen>
49    <dimen name="widget_title_line_height">24dp</dimen>
50    <dimen name="header_icon_size">16dp</dimen>
51    <!-- Slice subtitle -->
52    <dimen name="widget_label_font_size">16dp</dimen>
53    <dimen name="widget_label_line_height">20dp</dimen>
54    <!-- Clock without header -->
55    <dimen name="widget_big_font_size">54dp</dimen>
56    <dimen name="bottom_text_spacing_digital">0dp</dimen>
57    <!-- Clock with header -->
58    <dimen name="widget_small_font_size">@dimen/widget_title_font_size</dimen>
59    <dimen name="widget_vertical_padding">5dp</dimen>
60    <dimen name="widget_vertical_padding_with_header">25dp</dimen>
61    <dimen name="widget_vertical_padding_clock">12dp</dimen>
62    <!-- Subtitle paddings -->
63    <dimen name="widget_horizontal_padding">8dp</dimen>
64    <dimen name="widget_icon_size">18dp</dimen>
65    <dimen name="widget_icon_padding">8dp</dimen>
66    <!-- Notification shelf padding when dark -->
67
68    <!-- The y translation to apply at the start in appear animations. -->
69
70    <!-- The size of the dots in the PIN unlock method. -->
71    <dimen name="password_dot_size">9dp</dimen>
72
73    <!-- The size of the shape in the PIN unlock method. -->
74    <dimen name="password_shape_size">30dp</dimen>
75
76    <!-- The size of PIN text in the PIN unlock method. -->
77    <integer name="scaled_password_text_size">40</integer>
78
79    <!-- The padding between chars of the password view. -->
80    <dimen name="password_char_padding">8dp</dimen>
81
82    <!-- The vertical margin between the date and the owner info. -->
83
84    <!-- The translation for disappearing security views after having solved them. -->
85    <dimen name="disappear_y_translation">-50dp</dimen>
86
87    <!-- Dimens for animation for the Bouncer PIN view -->
88    <dimen name="pin_view_trans_y_entry">120dp</dimen>
89    <dimen name="pin_view_trans_y_entry_offset">10dp</dimen>
90
91    <!-- Spacing around each button used for PIN view -->
92    <dimen name="num_pad_key_width">72dp</dimen>
93    <dimen name="num_pad_entry_row_margin_bottom">12dp</dimen>
94    <dimen name="num_pad_row_margin_bottom">6dp</dimen>
95    <dimen name="num_pad_key_margin_end">12dp</dimen>
96
97    <!-- additional offset for clock switch area items -->
98    <dimen name="below_clock_padding_start">32dp</dimen>
99    <dimen name="below_clock_padding_end">16dp</dimen>
100    <dimen name="below_clock_padding_start_icons">28dp</dimen>
101
102    <!-- Proportion of the screen height to use to set the maximum height of the bouncer to when
103         the device is in the DEVICE_POSTURE_HALF_OPENED posture, for the PIN/pattern entry. 0 will
104         allow it to use the whole screen space, 0.6 will allow it to use just under half of the
105         screen. -->
106    <item name="half_opened_bouncer_height_ratio" type="dimen" format="float">0.0</item>
107
108    <!-- The actual amount of translation that is applied to the security when it animates from one
109         side of the screen to the other in one-handed or user switcher mode. Note that it will
110         always translate from the side of the screen to the other (it will "jump" closer to the
111         destination while the opacity is zero), but this controls how much motion will actually be
112         applied to it while animating. Larger values will cause it to move "faster" while
113         fading out/in. -->
114    <dimen name="security_shift_animation_translation">120dp</dimen>
115
116
117    <dimen name="bouncer_user_switcher_header_text_size">20sp</dimen>
118    <dimen name="bouncer_user_switcher_item_text_size">20sp</dimen>
119    <dimen name="bouncer_user_switcher_item_line_height">24sp</dimen>
120    <dimen name="bouncer_user_switcher_item_icon_size">28dp</dimen>
121    <dimen name="bouncer_user_switcher_item_icon_padding">12dp</dimen>
122    <dimen name="bouncer_user_switcher_width">248dp</dimen>
123    <dimen name="bouncer_user_switcher_popup_header_height">12dp</dimen>
124    <dimen name="bouncer_user_switcher_popup_divider_height">4dp</dimen>
125    <dimen name="bouncer_user_switcher_popup_items_divider_height">2dp</dimen>
126    <dimen name="bouncer_user_switcher_item_padding_vertical">10dp</dimen>
127    <dimen name="bouncer_user_switcher_item_padding_horizontal">12dp</dimen>
128    <dimen name="bouncer_user_switcher_header_padding_end">44dp</dimen>
129    <dimen name="bouncer_user_switcher_y_trans">80dp</dimen>
130
131    <!-- 2 * the margin + size should equal the plus_margin -->
132    <dimen name="user_switcher_icon_large_margin">16dp</dimen>
133    <dimen name="bouncer_user_switcher_icon_size">190dp</dimen>
134    <dimen name="bouncer_user_switcher_icon_size_plus_margin">222dp</dimen>
135
136    <dimen name="user_switcher_fullscreen_horizontal_gap">64dp</dimen>
137    <dimen name="user_switcher_icon_selected_width">8dp</dimen>
138    <dimen name="user_switcher_fullscreen_button_text_size">14sp</dimen>
139    <dimen name="user_switcher_fullscreen_button_padding">12dp</dimen>
140
141    <!-- Translation y for appear animation -->
142    <dimen name="keyguard_host_view_translation_y">80dp</dimen>
143
144    <!-- Attributes for placeholder dots in 6 digit PIN view -->
145    <dimen name="default_dot_diameter">34dp</dimen>
146    <dimen name="default_dot_spacing">0dp</dimen>
147
148    <!-- Weather clock smartspace scaling to apply for the weather clock -->
149    <item name="weather_clock_smartspace_scale" type="dimen" format="float">1.0</item>
150    <dimen name="weather_clock_smartspace_translateX">0dp</dimen>
151    <dimen name="weather_clock_smartspace_translateY">0dp</dimen>
152
153</resources>
154