• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <!-- Max Height of the sliding KeyguardSecurityContainer
33         (includes 2x keyguard_security_view_top_margin) -->
34    <dimen name="keyguard_security_max_height">450dp</dimen>
35
36    <!-- pin/password field max height -->
37    <dimen name="keyguard_password_height">80dp</dimen>
38
39    <!-- Margin around the various security views -->
40    <dimen name="keyguard_security_view_top_margin">8dp</dimen>
41    <dimen name="keyguard_security_view_lateral_margin">20dp</dimen>
42
43    <dimen name="keyguard_eca_top_margin">18dp</dimen>
44    <dimen name="keyguard_eca_bottom_margin">12dp</dimen>
45
46    <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text.
47         Should be 0 on devices with plenty of room (e.g. tablets) -->
48    <dimen name="eca_overlap">-10dip</dimen>
49
50    <!-- Slice header -->
51    <dimen name="widget_title_font_size">20dp</dimen>
52    <dimen name="widget_title_line_height">24dp</dimen>
53    <dimen name="header_icon_size">16dp</dimen>
54    <!-- Slice subtitle -->
55    <dimen name="widget_label_font_size">16dp</dimen>
56    <dimen name="widget_label_line_height">20dp</dimen>
57    <!-- Clock without header -->
58    <dimen name="widget_big_font_size">54dp</dimen>
59    <dimen name="bottom_text_spacing_digital">0dp</dimen>
60    <dimen name="title_clock_padding">4dp</dimen>
61    <!-- Clock with header -->
62    <dimen name="widget_small_font_size">@dimen/widget_title_font_size</dimen>
63    <dimen name="widget_vertical_padding">5dp</dimen>
64    <dimen name="widget_vertical_padding_with_header">25dp</dimen>
65    <dimen name="widget_vertical_padding_clock">12dp</dimen>
66    <!-- Subtitle paddings -->
67    <dimen name="widget_horizontal_padding">8dp</dimen>
68    <dimen name="widget_icon_size">18dp</dimen>
69    <dimen name="widget_icon_padding">8dp</dimen>
70    <!-- Notification shelf padding when dark -->
71    <dimen name="widget_bottom_separator_padding">-6dp</dimen>
72
73    <!-- The y translation to apply at the start in appear animations. -->
74    <dimen name="appear_y_translation_start">32dp</dimen>
75
76    <!-- The size of the dots in the PIN unlock method. -->
77    <dimen name="password_dot_size">9dp</dimen>
78    <!-- The size of PIN text in the PIN unlock method. -->
79    <integer name="scaled_password_text_size">40</integer>
80
81    <!-- The padding between chars of the password view. -->
82    <dimen name="password_char_padding">8dp</dimen>
83
84    <!-- The vertical margin between the date and the owner info. -->
85    <dimen name="date_owner_info_margin">4dp</dimen>
86
87    <!-- The translation for disappearing security views after having solved them. -->
88    <dimen name="disappear_y_translation">-32dp</dimen>
89
90    <!-- Spacing around each button used for PIN view -->
91    <dimen name="num_pad_key_width">72dp</dimen>
92    <dimen name="num_pad_entry_row_margin_bottom">16dp</dimen>
93    <dimen name="num_pad_row_margin_bottom">6dp</dimen>
94    <dimen name="num_pad_key_margin_end">12dp</dimen>
95
96    <!-- additional offset for clock switch area items -->
97    <dimen name="clock_padding_start">28dp</dimen>
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</resources>
102