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