summaryrefslogtreecommitdiff
path: root/packages/SystemUI/res-keyguard/values/dimens.xml
blob: 7e3c87b24f07b5d09eb5674618e53f532d30b2bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/assets/res/any/dimens.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources>

    <!-- Size of the generic status lines keyguard's status view  -->
    <dimen name="kg_status_line_font_size">14sp</dimen>

    <!-- Maximum width of the sliding KeyguardSecurityContainer -->
    <dimen name="keyguard_security_width">420dp</dimen>

    <!-- Height of the sliding KeyguardSecurityContainer
         (includes 2x keyguard_security_view_top_margin) -->
    <dimen name="keyguard_security_height">420dp</dimen>

    <!-- Max Height of the sliding KeyguardSecurityContainer
         (includes 2x keyguard_security_view_top_margin) -->
    <dimen name="keyguard_security_max_height">450dp</dimen>

    <!-- pin/password field max height -->
    <dimen name="keyguard_password_height">80dp</dimen>

    <!-- Margin around the various security views -->
    <dimen name="keyguard_security_view_top_margin">8dp</dimen>
    <dimen name="keyguard_security_view_lateral_margin">20dp</dimen>

    <dimen name="keyguard_eca_top_margin">18dp</dimen>
    <dimen name="keyguard_eca_bottom_margin">12dp</dimen>

    <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text.
         Should be 0 on devices with plenty of room (e.g. tablets) -->
    <dimen name="eca_overlap">-10dip</dimen>

    <!-- Slice header -->
    <dimen name="widget_title_font_size">20dp</dimen>
    <dimen name="widget_title_line_height">24dp</dimen>
    <dimen name="header_icon_size">16dp</dimen>
    <!-- Slice subtitle -->
    <dimen name="widget_label_font_size">16dp</dimen>
    <dimen name="widget_label_line_height">20dp</dimen>
    <!-- Clock without header -->
    <dimen name="widget_big_font_size">54dp</dimen>
    <dimen name="bottom_text_spacing_digital">0dp</dimen>
    <dimen name="title_clock_padding">4dp</dimen>
    <!-- Clock with header -->
    <dimen name="widget_small_font_size">@dimen/widget_title_font_size</dimen>
    <dimen name="widget_vertical_padding">5dp</dimen>
    <dimen name="widget_vertical_padding_with_header">25dp</dimen>
    <dimen name="widget_vertical_padding_clock">12dp</dimen>
    <!-- Subtitle paddings -->
    <dimen name="widget_horizontal_padding">8dp</dimen>
    <dimen name="widget_icon_size">18dp</dimen>
    <dimen name="widget_icon_padding">8dp</dimen>
    <!-- Notification shelf padding when dark -->
    <dimen name="widget_bottom_separator_padding">-6dp</dimen>

    <!-- The y translation to apply at the start in appear animations. -->
    <dimen name="appear_y_translation_start">32dp</dimen>

    <!-- The size of the dots in the PIN unlock method. -->
    <dimen name="password_dot_size">9dp</dimen>
    <!-- The size of PIN text in the PIN unlock method. -->
    <integer name="scaled_password_text_size">40</integer>

    <!-- The padding between chars of the password view. -->
    <dimen name="password_char_padding">8dp</dimen>

    <!-- The vertical margin between the date and the owner info. -->
    <dimen name="date_owner_info_margin">4dp</dimen>

    <!-- The translation for disappearing security views after having solved them. -->
    <dimen name="disappear_y_translation">-32dp</dimen>

    <!-- Spacing around each button used for PIN view -->
    <dimen name="num_pad_key_width">72dp</dimen>
    <dimen name="num_pad_entry_row_margin_bottom">16dp</dimen>
    <dimen name="num_pad_row_margin_bottom">6dp</dimen>
    <dimen name="num_pad_key_margin_end">12dp</dimen>

    <!-- additional offset for clock switch area items -->
    <dimen name="clock_padding_start">28dp</dimen>
    <dimen name="below_clock_padding_start">32dp</dimen>
    <dimen name="below_clock_padding_end">16dp</dimen>
    <dimen name="below_clock_padding_start_icons">28dp</dimen>
</resources>