Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 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> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 21 | <!-- Size of lockscreen outerring on unsecure unlock LockScreen --> |
| 22 | <dimen name="keyguard_lockscreen_outerring_diameter">270dp</dimen> |
| 23 | |
Michael Wright | f40ec0f | 2013-09-30 18:38:36 -0700 | [diff] [blame] | 24 | <!-- The bottom margin for the GlowPadView container --> |
| 25 | <dimen name="glowpadcontainer_bottom_margin">-80dp</dimen> |
| 26 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 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 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 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 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 73 | <!-- Size of the generic status lines keyguard's status view --> |
Jorim Jaggi | e070018 | 2014-08-21 01:12:37 +0200 | [diff] [blame] | 74 | <dimen name="kg_status_line_font_size">14sp</dimen> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 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 | |
Selim Cinek | 4e8b9ed | 2014-06-20 16:37:04 -0700 | [diff] [blame] | 122 | <!-- Max Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) --> |
Jorim Jaggi | e070018 | 2014-08-21 01:12:37 +0200 | [diff] [blame] | 123 | <dimen name="keyguard_security_max_height">450dp</dimen> |
Selim Cinek | 4e8b9ed | 2014-06-20 16:37:04 -0700 | [diff] [blame] | 124 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 125 | <!-- Margin around the various security views --> |
| 126 | <dimen name="keyguard_security_view_margin">8dp</dimen> |
| 127 | |
| 128 | <!-- Margin around the various security views --> |
| 129 | <dimen name="keyguard_muliuser_selector_margin">8dp</dimen> |
| 130 | |
| 131 | <!-- Stroke width of the frame for the circular avatars. --> |
| 132 | <dimen name="keyguard_avatar_frame_stroke_width">2dp</dimen> |
| 133 | |
| 134 | <!-- Shadow radius under the frame for the circular avatars. --> |
| 135 | <dimen name="keyguard_avatar_frame_shadow_radius">1dp</dimen> |
| 136 | |
| 137 | <!-- Size of the avator on hte multiuser lockscreen. --> |
| 138 | <dimen name="keyguard_avatar_size">66dp</dimen> |
| 139 | |
| 140 | <!-- Size of the text under the avator on the multiuser lockscreen. --> |
| 141 | <dimen name="keyguard_avatar_name_size">10sp</dimen> |
| 142 | |
| 143 | <!-- Size of the region along the edge of the screen that will accept |
| 144 | swipes to scroll the widget area. --> |
| 145 | <dimen name="kg_edge_swipe_region_size">24dp</dimen> |
| 146 | |
| 147 | <!-- If the height if keyguard drops below this threshold (most likely |
| 148 | due to the appearance of the IME), then drop the multiuser selector. --> |
| 149 | <dimen name="kg_squashed_layout_threshold">600dp</dimen> |
| 150 | |
| 151 | <!-- The height of widgets which do not support vertical resizing. This is only |
| 152 | used on tablets; on phones, this size is determined by the space left by the |
| 153 | security mode. --> |
| 154 | <dimen name="kg_small_widget_height">160dp</dimen> |
Jim Miller | 94a52da | 2013-10-13 14:11:04 -0700 | [diff] [blame] | 155 | |
Jim Miller | ca71f48 | 2013-10-22 15:25:44 -0700 | [diff] [blame] | 156 | <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text. |
| 157 | Should be 0 on devices with plenty of room (e.g. tablets) --> |
| 158 | <dimen name="eca_overlap">-10dip</dimen> |
| 159 | |
Jim Miller | b0da1e7 | 2013-10-01 16:55:19 -0700 | [diff] [blame] | 160 | <!-- Default clock parameters --> |
Jorim Jaggi | 220bf5c | 2014-06-14 22:43:12 +0200 | [diff] [blame] | 161 | <dimen name="bottom_text_spacing_digital">-10dp</dimen> |
Jim Miller | b0da1e7 | 2013-10-01 16:55:19 -0700 | [diff] [blame] | 162 | <dimen name="label_font_size">14dp</dimen> |
Jorim Jaggi | 220bf5c | 2014-06-14 22:43:12 +0200 | [diff] [blame] | 163 | <dimen name="widget_label_font_size">16sp</dimen> |
Jorim Jaggi | d7c1fae | 2014-08-13 18:27:47 +0200 | [diff] [blame] | 164 | <dimen name="widget_big_font_size">88dp</dimen> |
Jim Miller | b0da1e7 | 2013-10-01 16:55:19 -0700 | [diff] [blame] | 165 | <dimen name="big_font_size">120dp</dimen> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 166 | |
Jorim Jaggi | 15a77f7 | 2014-05-28 16:20:03 +0200 | [diff] [blame] | 167 | <!-- The y translation to apply at the start in appear animations. --> |
Selim Cinek | 3018197 | 2014-05-30 03:33:06 +0200 | [diff] [blame] | 168 | <dimen name="appear_y_translation_start">32dp</dimen> |
Jorim Jaggi | 93afa1d | 2014-06-03 20:56:32 +0200 | [diff] [blame] | 169 | |
Selim Cinek | 4e8b9ed | 2014-06-20 16:37:04 -0700 | [diff] [blame] | 170 | <!-- The size of the dots in the PIN unlock method. --> |
| 171 | <dimen name="password_dot_size">9dp</dimen> |
| 172 | |
| 173 | <!-- The padding between chars of the password view. --> |
| 174 | <dimen name="password_char_padding">8dp</dimen> |
| 175 | |
Jorim Jaggi | 93afa1d | 2014-06-03 20:56:32 +0200 | [diff] [blame] | 176 | <!-- The vertical margin between the date and the owner info. --> |
Jorim Jaggi | ae52c56 | 2014-11-06 18:17:26 +0100 | [diff] [blame] | 177 | <dimen name="date_owner_info_margin">6dp</dimen> |
Jorim Jaggi | 76a1623 | 2014-08-08 17:00:47 +0200 | [diff] [blame] | 178 | |
| 179 | <!-- The translation for disappearing security views after having solved them. --> |
| 180 | <dimen name="disappear_y_translation">-32dp</dimen> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 181 | </resources> |