blob: cc14292984d85316f027475831fff773ae321d4c [file] [log] [blame]
Joe Onorato503007d2010-04-16 09:20:55 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (c) 2006, The Android Open Source Project
4 *
Jim Miller5fda69c2011-02-16 15:17:11 -08005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Joe Onorato503007d2010-04-16 09:20:55 -07008 *
Jim Miller5fda69c2011-02-16 15:17:11 -08009 * http://www.apache.org/licenses/LICENSE-2.0
Joe Onorato503007d2010-04-16 09:20:55 -070010 *
Jim Miller5fda69c2011-02-16 15:17:11 -080011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
Joe Onorato503007d2010-04-16 09:20:55 -070015 * limitations under the License.
16*/
17-->
18<resources>
19 <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. -->
20 <dimen name="status_bar_edge_ignore">5dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080021
22 <!-- Recent Applications parameters -->
Jim Miller5fda69c2011-02-16 15:17:11 -080023 <!-- Upper width limit for application icon -->
Peter Ng2d136a82011-10-12 15:49:39 -070024 <dimen name="status_bar_recents_app_icon_max_width">48dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080025 <!-- Upper height limit for application icon -->
Peter Ng2d136a82011-10-12 15:49:39 -070026 <dimen name="status_bar_recents_app_icon_max_height">48dp</dimen>
Michael Jurka3b1fc472011-06-13 10:54:40 -070027
Peter Ng622a9762011-08-29 10:56:53 -070028 <!-- Size of application thumbnail -->
29 <dimen name="status_bar_recents_thumbnail_width">164dp</dimen>
Michael Jurka9316e7e2011-10-04 13:44:05 -070030 <dimen name="status_bar_recents_thumbnail_height">145dp</dimen>
Michael Jurkacb2522c2012-04-13 09:32:47 -070031 <dimen name="status_bar_recents_thumbnail_bg_padding">4dp</dimen>
Peter Ng622a9762011-08-29 10:56:53 -070032
Jim Miller9f0f0e02011-05-17 20:06:29 -070033 <!-- Size of application label text -->
Peter Ng2d136a82011-10-12 15:49:39 -070034 <dimen name="status_bar_recents_app_label_text_size">14dip</dimen>
Jim Miller9f0f0e02011-05-17 20:06:29 -070035 <!-- Size of application description text -->
Peter Ng2d136a82011-10-12 15:49:39 -070036 <dimen name="status_bar_recents_app_description_text_size">14dip</dimen>
Michael Jurka55a25fa2012-04-02 07:09:10 -070037 <!-- Size of fading edge for text -->
38 <dimen name="status_bar_recents_text_fading_edge_length">20dip</dimen>
39 <!-- Size of fading edge for scrolling -->
40 <dimen name="status_bar_recents_scroll_fading_edge_length">10dip</dimen>
Jim Miller9f0f0e02011-05-17 20:06:29 -070041 <!-- Margin between recents container and glow on the right -->
42 <dimen name="status_bar_recents_right_glow_margin">100dip</dimen>
Daniel Sandlerf6a34122012-08-06 14:31:13 -040043 <!-- How far the thumbnail for a recent app appears from left edge -->
44 <dimen name="status_bar_recents_thumbnail_left_margin">20dp</dimen>
45 <!-- Padding for text descriptions -->
46 <dimen name="status_bar_recents_text_description_padding">8dp</dimen>
47 <!-- Width of application label text -->
48 <dimen name="status_bar_recents_app_label_width">88dip</dimen>
49 <!-- Left margin of application label text -->
50 <dimen name="status_bar_recents_app_label_left_margin">0dip</dimen>
51 <!-- Padding between recents items -->
52 <dimen name="status_bar_recents_item_padding">0dip</dimen>
Michael Jurka9bdaada2012-10-01 13:58:29 +020053 <!-- When recents first appears, how far the icon and label of the primary activity
54 travel -->
Michael Jurka071316e2012-10-10 00:00:21 +020055 <dimen name="status_bar_recents_app_icon_translate_distance">35dip</dimen>
Michael Jurka9bdaada2012-10-01 13:58:29 +020056
Daniel Sandlerf6a34122012-08-06 14:31:13 -040057 <!-- Where to place the app icon over the thumbnail -->
58 <dimen name="status_bar_recents_app_icon_left_margin">0dp</dimen>
59 <dimen name="status_bar_recents_app_icon_top_margin">8dp</dimen>
60
Dianne Hackborn7d049322011-06-14 15:00:32 -070061 <!-- Amount to offset bottom of notification peek window from top of status bar. -->
62 <dimen name="peek_window_y_offset">-12dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080063
Daniel Sandler8956dbb2011-04-22 07:55:02 -040064 <!-- thickness (height) of the navigation bar on phones that require it -->
Daniel Sandler36412a72011-08-04 09:35:13 -040065 <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
Daniel Sandler41006aa2011-06-29 15:10:49 -040066
67 <!-- thickness (height) of the dead zone at the top of the navigation bar,
68 reducing false presses on navbar buttons; approx 2mm -->
69 <dimen name="navigation_bar_deadzone_size">12dp</dimen>
Daniel Sandlerc26185b2012-08-29 15:49:53 -040070 <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
71 <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
Daniel Sandlerd42497e2011-06-04 00:32:50 -040072
Daniel Sandler26c84b12011-07-27 00:09:40 -040073 <!-- Height of notification icons in the status bar -->
74 <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
75
Chris Wren66757212012-05-14 10:05:42 -040076 <!-- Height of a small notification in the status bar -->
77 <dimen name="notification_min_height">64dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040078
Chris Wrenca7b7d02012-05-10 15:01:37 -040079 <!-- Height of a large notification in the status bar -->
80 <dimen name="notification_max_height">256dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040081
Chris Wren8fd39ec2014-02-27 17:43:26 -050082 <!-- Height of a medium notification in the status bar -->
83 <dimen name="notification_mid_height">128dp</dimen>
84
Jorim Jaggi069cd032014-05-15 03:09:01 +020085 <!-- Height of a the summary ("more card") notification on keyguard. -->
Jorim Jaggib741f052014-06-03 19:57:26 +020086 <dimen name="notification_summary_height">44dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +020087
Daniel Sandler26c84b12011-07-27 00:09:40 -040088 <!-- size at which Notification icons will be drawn in the status bar -->
89 <dimen name="status_bar_icon_drawing_size">18dip</dimen>
90
91 <!-- opacity at which Notification icons will be drawn in the status bar -->
John Spurlock21efa9a2013-09-06 18:26:55 -040092 <item type="dimen" name="status_bar_icon_drawing_alpha">75%</item>
Daniel Sandler7c3e39d2011-07-29 16:30:49 -040093
94 <!-- gap on either side of status bar notification icons -->
95 <dimen name="status_bar_icon_padding">0dp</dimen>
Peter Ng6ccd7a52011-08-22 16:58:43 -070096
Daniel Sandlere95658c2012-05-10 00:33:54 -040097 <!-- half the distance between notifications in the panel -->
Jorim Jaggic5dc0d02014-04-15 15:42:55 +020098 <dimen name="notification_divider_height">2dp</dimen>
Daniel Sandlerdc940ea2011-08-25 14:35:53 -070099
Winson Chunga63bb842011-10-17 10:26:28 -0700100 <!-- The padding on the global screenshot background image -->
Winson Chung22ca0952011-10-20 19:44:32 -0700101 <dimen name="global_screenshot_bg_padding">20dp</dimen>
Winson Chunga63bb842011-10-17 10:26:28 -0700102
Andrew Flynn1d9af302012-03-07 15:48:51 -0800103 <!-- The width of the view containing non-menu status bar icons -->
104 <dimen name="navigation_key_width">80dip</dimen>
105
Jason Monkf1ff2092014-04-29 16:50:53 -0400106 <!-- The width of the view containing the menu/ime navigation bar icons -->
107 <dimen name="navigation_extra_key_width">40dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700108
Michael Jurka53f109bf2012-06-13 17:38:14 -0700109 <!-- Default distance beyond which snaps to the matching target -->
110 <dimen name="navbar_search_snap_margin">40dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700111
112 <!-- Diameter of outer shape drawable shown in navbar search-->
Jim Miller20830422012-05-15 20:46:03 -0700113 <dimen name="navbar_search_outerring_diameter">340dp</dimen>
Jim Miller354619c2012-04-27 17:33:44 -0700114
Jim Miller955a0162012-06-11 21:06:13 -0700115 <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
116 <dimen name="navbar_search_outerring_radius">170dp</dimen>
117
Jim Miller354619c2012-04-27 17:33:44 -0700118 <!-- Height of search panel including navigation bar height -->
119 <dimen name="navbar_search_panel_height">230dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700120
Daniel Sandler1fac1fd2012-04-30 12:07:30 -0400121 <!-- Height of the draggable handle at the bottom of the phone notification panel -->
Daniel Sandler13522a22012-09-27 14:46:58 -0400122 <dimen name="close_handle_height">36dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400123
Daniel Sandler13522a22012-09-27 14:46:58 -0400124 <!-- Amount of close_handle that will NOT overlap the notification list -->
125 <dimen name="close_handle_underlap">32dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400126
Jorim Jaggid7daab72014-05-06 22:22:20 +0200127 <!-- Height of the status bar header bar -->
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200128 <dimen name="status_bar_header_height">60dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400129
Jorim Jaggid7daab72014-05-06 22:22:20 +0200130 <!-- Height of the status bar header bar when expanded -->
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200131 <dimen name="status_bar_header_height_expanded">116dp</dimen>
Daniel Sandler21b274e2012-05-02 15:07:51 -0400132
Jorim Jaggi9054d942014-05-09 22:47:28 +0200133 <!-- Height of the status bar header bar when on Keyguard -->
134 <dimen name="status_bar_header_height_keyguard">40dp</dimen>
135
John Spurlock7e6809a2014-08-06 16:03:14 -0400136 <!-- Width for the notification panel and related windows -->
137 <dimen name="match_parent">-1px</dimen>
138 <dimen name="standard_notification_panel_width">416dp</dimen><!-- includes notification_side_padding on each side -->
139 <dimen name="notification_panel_width">@dimen/match_parent</dimen>
140
John Spurlock50728832014-04-17 19:05:28 -0400141 <!-- Gravity for the notification panel -->
John Spurlock7e6809a2014-08-06 16:03:14 -0400142 <integer name="standard_notification_panel_layout_gravity">0x31</integer><!-- top|center_horizontal -->
143 <integer name="notification_panel_layout_gravity">0x37</integer><!-- fill_horizontal|top -->
Chris Wrenb8ea2f52012-08-24 11:50:55 -0400144
Daniel Sandler3d32a242012-06-05 13:44:14 -0400145 <!-- Height of the carrier/wifi name label -->
146 <dimen name="carrier_label_height">24dp</dimen>
Chris Wrenb4e2c48b2012-06-15 16:51:54 -0400147
Daniel Sandler4377d1492012-09-11 15:18:47 -0400148 <!-- The distance you can pull a notification before it pops open -->
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200149 <dimen name="one_finger_pop_limit">0dp</dimen>
Winson Chungd63c59782012-09-05 17:34:41 -0700150
Daniel Sandlere680f542012-09-28 12:22:27 -0400151 <!-- Minimum fraction of the screen that should be taken up by the notification panel.
152 Not used at this screen size. -->
153 <item type="dimen" name="notification_panel_min_height_frac">0%</item>
Daniel Sandler4377d1492012-09-11 15:18:47 -0400154
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200155 <dimen name="blinds_pop_threshold">0dp</dimen>
Daniel Sandler4377d1492012-09-11 15:18:47 -0400156
157 <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
158 <dimen name="pull_span_min">25dp</dimen>
Daniel Sandler3679bf52012-10-16 21:30:28 -0400159
John Spurlock92d9b192014-06-29 12:54:24 -0400160 <dimen name="qs_tile_height">88dp</dimen>
John Spurlock4bf31982014-05-21 13:04:22 -0400161 <dimen name="qs_tile_icon_size">28dp</dimen>
162 <dimen name="qs_tile_text_size">12sp</dimen>
163 <dimen name="qs_tile_divider_height">1dp</dimen>
164 <dimen name="qs_panel_padding">16dp</dimen>
John Spurlock39076ed2014-06-30 20:47:20 -0400165 <dimen name="qs_dual_tile_height">112dp</dimen>
166 <dimen name="qs_dual_tile_padding_vertical">8dp</dimen>
167 <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen>
John Spurlock92d9b192014-06-29 12:54:24 -0400168 <dimen name="qs_tile_padding_top">16dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200169 <dimen name="qs_tile_padding_top_large_text">4dp</dimen>
John Spurlock92d9b192014-06-29 12:54:24 -0400170 <dimen name="qs_tile_padding_below_icon">12dp</dimen>
171 <dimen name="qs_tile_padding_bottom">16dp</dimen>
172 <dimen name="qs_tile_spacing">4dp</dimen>
173 <dimen name="qs_panel_padding_bottom">8dp</dimen>
John Spurlock7f8f22a2014-07-02 18:54:17 -0400174 <dimen name="qs_detail_item_height">48dp</dimen>
John Spurlockae641c92014-06-30 18:11:40 -0400175 <dimen name="qs_detail_item_height_twoline">72dp</dimen>
Adrian Rooscd542b82014-08-12 22:25:35 +0200176 <dimen name="qs_brightness_padding_top">6dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200177 <dimen name="qs_detail_header_text_size">20sp</dimen>
178 <dimen name="qs_detail_button_text_size">14sp</dimen>
179 <dimen name="qs_detail_item_primary_text_size">16sp</dimen>
180 <dimen name="qs_detail_item_secondary_text_size">14sp</dimen>
181 <dimen name="qs_detail_empty_text_size">14sp</dimen>
182 <dimen name="qs_data_usage_text_size">14sp</dimen>
183 <dimen name="qs_data_usage_usage_text_size">36sp</dimen>
Chris Wren0f2aa682013-08-02 12:03:02 -0400184
John Spurlockae641c92014-06-30 18:11:40 -0400185 <dimen name="segmented_button_spacing">4dp</dimen>
186 <dimen name="segmented_button_radius">2dp</dimen>
187
Jorim Jaggif62f2bb2014-05-25 22:28:41 +0200188 <!-- How far the expanded QS panel peeks from the header in collapsed state. -->
189 <dimen name="qs_peek_height">8dp</dimen>
190
John Spurlock86005342014-05-23 11:58:00 -0400191 <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen>
John Spurlock86005342014-05-23 11:58:00 -0400192
Daniel Sandler8475a742013-09-26 00:24:57 -0400193 <!-- used by DessertCase -->
194 <dimen name="dessert_case_cell_size">192dp</dimen>
John Spurlock74d24802013-12-02 17:14:51 -0500195
196 <!-- Default glow radius for GlowPadView -->
197 <dimen name="glowpadview_glow_radius">75dip</dimen>
198
199 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
200 <dimen name="glowpadview_inner_radius">15dip</dimen>
Winson Chung37c8d8e2014-03-24 14:53:07 -0700201
Winson Chung5e3e5d82014-04-02 15:44:55 -0700202 <!-- The size of the application icon in the recents task view. -->
Winson Chung06795632014-06-17 15:53:44 -0700203 <dimen name="recents_task_view_application_icon_size">48dp</dimen>
Winson Chung5e3e5d82014-04-02 15:44:55 -0700204
205 <!-- The size of the activity icon in the recents task view. -->
206 <dimen name="recents_task_view_activity_icon_size">60dp</dimen>
John Spurlockeeb397b2014-03-25 17:45:56 -0400207
Winson Chung14926462014-04-14 18:57:14 -0700208 <!-- The radius of the rounded corners on a task view. -->
209 <dimen name="recents_task_view_rounded_corners_radius">2dp</dimen>
210
Winson Chung96e3bc12014-05-06 16:44:12 -0700211 <!-- The min translation in the Z index for the last task. -->
Winson Chungabedcab2014-08-15 12:27:37 -0700212 <dimen name="recents_task_view_z_min">25dp</dimen>
Winson Chung96e3bc12014-05-06 16:44:12 -0700213
Winson Chung012ef362014-07-31 18:36:25 -0700214 <!-- The max translation in the Z index for the last task. -->
Winson Chungabedcab2014-08-15 12:27:37 -0700215 <dimen name="recents_task_view_z_max">100dp</dimen>
Winson Chung602de032014-05-27 12:19:28 -0700216
Winson Chung9f49df92014-05-07 18:08:34 -0700217 <!-- The amount to translate when animating the removal of a task. -->
Winson Chung54e297a2014-05-09 17:15:32 -0700218 <dimen name="recents_task_view_remove_anim_translation_x">100dp</dimen>
Winson Chung9f49df92014-05-07 18:08:34 -0700219
Winson Chungcd23c842014-05-29 18:30:51 -0700220 <!-- The amount of highlight to make on each task view. -->
Winson Chung2915b9d2014-07-28 11:01:57 -0700221 <dimen name="recents_task_view_highlight">1.5dp</dimen>
Winson Chungcd23c842014-05-29 18:30:51 -0700222
Winson Chung1f24c7e2014-07-11 17:06:48 -0700223 <!-- The height of the lock-to-app button. -->
224 <dimen name="recents_task_view_lock_to_app_button_height">48dp</dimen>
225
Winson Chung1907cd42014-07-23 18:20:13 -0700226 <!-- The amount to offset when animating into an affiliate group. -->
227 <dimen name="recents_task_view_affiliate_group_enter_offset">64dp</dimen>
228
Winson Chung60a729c2014-08-12 16:33:32 -0700229 <!-- The alpha to apply to a task thumbnail. -->
230 <item name="recents_task_view_thumbnail_alpha" format="float" type="dimen">0.9</item>
231
Winson Chunga433fa92014-07-08 21:50:31 -0700232 <!-- The height of a task view bar. -->
233 <dimen name="recents_task_bar_height">56dp</dimen>
234
Winson Chungecd9b302014-04-16 17:07:18 -0700235 <!-- The height of the search bar space. -->
Winson Chungf7bca432014-04-30 17:11:13 -0700236 <dimen name="recents_search_bar_space_height">64dp</dimen>
Winson Chungecd9b302014-04-16 17:07:18 -0700237
Winson Chungcd23c842014-05-29 18:30:51 -0700238 <!-- The side padding for the task stack as a percentage of the width. -->
239 <item name="recents_stack_width_padding_percentage" format="float" type="dimen">0.04444</item>
240
241 <!-- The top offset for the task stack. -->
242 <dimen name="recents_stack_top_padding">16dp</dimen>
243
Winson Chung2f2ca082014-04-03 18:05:29 -0700244 <!-- Used to calculate the translation animation duration, the expected amount of movement
245 in dps over one second of time. -->
246 <dimen name="recents_animation_movement_in_dps_per_second">800dp</dimen>
247
Winson Chungec396d62014-08-06 17:08:00 -0700248 <!-- The min alpha to apply to a task affiliation group color. -->
249 <item name="recents_task_affiliation_color_min_alpha_percentage" format="float" type="dimen">0.6</item>
250
Selim Cinek67b22602014-03-10 15:40:16 +0100251 <!-- Space reserved for the cards behind the top card in the top stack -->
Selim Cinek343e6e22014-04-11 21:23:30 +0200252 <dimen name="top_stack_peek_amount">12dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100253
254 <!-- Space reserved for the cards behind the top card in the bottom stack -->
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200255 <dimen name="bottom_stack_peek_amount">12dp</dimen>
256
Jorim Jaggi2c5baca2014-07-11 01:30:10 +0200257 <!-- bottom_stack_peek_amount + notification_min_height
258 + notification_collapse_second_card_padding -->
259 <dimen name="min_stack_height">84dp</dimen>
Jorim Jaggi54045422014-07-03 18:30:40 +0200260
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200261 <!-- The height of the area before the bottom stack in which the notifications slow down -->
262 <dimen name="bottom_stack_slow_down_length">12dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100263
Selim Cinekad3e5af2014-07-04 12:24:11 +0200264 <!-- The height of the area before the top stack in which the notifications slow down -->
265 <dimen name="top_stack_slow_down_length">12dp</dimen>
266
Selim Cinek67b22602014-03-10 15:40:16 +0100267 <!-- The side padding of the notifications-->
268 <dimen name="notification_side_padding">8dp</dimen>
269
270 <!-- Z distance between notifications if they are in the stack -->
Selim Cinek72b6f4d2014-05-23 14:59:51 +0200271 <dimen name="z_distance_between_notifications">1dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100272
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200273 <!-- The padding between the individual notification cards when dimmed. -->
274 <dimen name="notification_padding_dimmed">0dp</dimen>
275
Jorim Jaggife40f7d2014-04-28 15:20:04 +0200276 <!-- The padding between the individual notification cards. -->
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200277 <dimen name="notification_padding">4dp</dimen>
Jorim Jaggife40f7d2014-04-28 15:20:04 +0200278
Selim Cinek1408eb52014-06-02 14:45:38 +0200279 <!-- The minimum amount of top overscroll to go to the quick settings. -->
280 <dimen name="min_top_overscroll_to_qs">36dp</dimen>
281
Selim Cinekd83771e2014-07-04 16:45:31 +0200282 <!-- The padding to the second card when the notifications collapse. -->
283 <dimen name="notification_collapse_second_card_padding">8dp</dimen>
284
Selim Cinek1e119db2014-06-11 20:03:14 +0200285 <!-- The height of the speed bump view. -->
286 <dimen name="speed_bump_height">16dp</dimen>
Selim Cinekc27437b2014-05-14 10:23:33 +0200287
Jorim Jaggi97b63c42014-05-02 23:03:34 +0200288 <!-- Lockscreen affordance drag distance for camera and phone. -->
289 <dimen name="affordance_drag_distance">100dp</dimen>
John Spurlock73203eb2014-04-15 16:14:46 -0400290
Jorim Jaggi8c1a44b2014-04-29 19:04:02 +0200291 <dimen name="notifications_top_padding">8dp</dimen>
Jorim Jaggiecbab362014-04-23 16:13:15 +0200292
293 <!-- Minimum distance the user has to drag down to go to the full shade. -->
294 <dimen name="keyguard_drag_down_min_distance">100dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200295
296 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
297 max value is used when no notifications are displaying, and the min value is when the
298 highest possible number of notifications are showing. -->
Jorim Jaggi220bf5c2014-06-14 22:43:12 +0200299 <fraction name="keyguard_clock_y_fraction_max">32.5%</fraction>
300 <fraction name="keyguard_clock_y_fraction_min">19.8%</fraction>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200301
302 <!-- The margin between the clock and the notifications on Keyguard. See
303 keyguard_clock_height_fraction_* for the difference between min and max.-->
Jorim Jaggi220bf5c2014-06-14 22:43:12 +0200304 <dimen name="keyguard_clock_notifications_margin_min">24dp</dimen>
Jorim Jaggi75c95042014-05-16 19:09:59 +0200305 <dimen name="keyguard_clock_notifications_margin_max">36dp</dimen>
Adrian Roos5d9cc662014-05-28 17:08:13 +0200306 <dimen name="heads_up_window_height">250dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200307
Selim Cinek4c6969a2014-05-26 19:22:17 +0200308 <!-- The minimum amount the user needs to swipe to go to the camera / phone. -->
309 <dimen name="keyguard_min_swipe_amount">75dp</dimen>
310
Selim Cinekbaa23272014-07-08 18:01:07 +0200311 <!-- The minimum background radius when swiping to a side for the camera / phone affordances. -->
312 <dimen name="keyguard_affordance_min_background_radius">30dp</dimen>
313
314 <!-- The grow amount for the camera and phone circles when hinting -->
315 <dimen name="hint_grow_amount_sideways">60dp</dimen>
316
317 <!-- The chevron padding to the circle when hinting -->
318 <dimen name="hint_chevron_circle_padding">16dp</dimen>
319
John Spurlock86005342014-05-23 11:58:00 -0400320 <!-- Volume panel dialog y offset -->
John Spurlockae641c92014-06-30 18:11:40 -0400321 <dimen name="volume_panel_top">0dp</dimen>
John Spurlock86005342014-05-23 11:58:00 -0400322
323 <!-- Volume panel dialog width -->
John Spurlockae641c92014-06-30 18:11:40 -0400324 <dimen name="volume_panel_width">344dp</dimen>
John Spurlock2078caf2014-05-29 22:20:14 -0400325
326 <!-- Volume panel z depth -->
327 <dimen name="volume_panel_z">3dp</dimen>
Jorim Jaggi90129582014-06-02 14:44:49 +0200328
Jorim Jaggi457cc352014-06-02 22:47:42 +0200329 <!-- Distance between notifications and header when they are considered to be colliding. -->
Jorim Jaggi3afddce2014-08-14 20:44:43 +0200330 <dimen name="header_notifications_collide_distance">48dp</dimen>
Jorim Jaggi457cc352014-06-02 22:47:42 +0200331
Jorim Jaggi8dd95e02014-06-03 16:19:33 +0200332 <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the
333 device. -->
334 <dimen name="unlock_move_distance">75dp</dimen>
335
Selim Cinekf54090e2014-06-17 17:24:51 -0700336 <!-- Distance after which the scrim starts fading in when dragging down the quick settings -->
337 <dimen name="notification_scrim_wait_distance">100dp</dimen>
338
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200339 <!-- Move distance for the unlock hint animation on the lockscreen -->
Jorim Jaggi90129582014-06-02 14:44:49 +0200340 <dimen name="hint_move_distance">75dp</dimen>
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200341
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200342 <!-- The width of the region on the left/right edge of the screen for performing the camera/
343 phone hints. -->
344 <dimen name="edge_tap_area_width">48dp</dimen>
Jorim Jaggi80f5e3c2014-06-10 22:03:48 +0200345
Selim Cinek697178b2014-07-02 19:40:30 +0200346 <!-- radius of the corners of the material rounded rect background -->
347 <dimen name="notification_material_rounded_rect_radius">2dp</dimen>
348
Jorim Jaggi129e7ac2014-06-10 22:03:48 +0200349 <!-- end margin for multi user switch in expanded quick settings -->
350 <dimen name="multi_user_switch_expanded_margin">8dp</dimen>
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700351
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200352 <!-- end margin for multi user switch in collapsed quick settings -->
353 <dimen name="multi_user_switch_collapsed_margin">13dp</dimen>
354
355 <!-- end margin for multi user switch in collapsed quick settings -->
356 <dimen name="multi_user_switch_keyguard_margin">3dp</dimen>
357
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700358 <!-- end margin for system icons if multi user switch is hidden -->
359 <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen>
360
361 <!-- The thickness of the colored border around the current user. -->
362 <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen>
363
John Spurlock5e9049a2014-07-08 23:40:46 -0400364 <dimen name="data_usage_graph_marker_width">4dp</dimen>
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200365
366 <!-- The padding bottom of the clock group when QS is expanded. -->
367 <dimen name="clock_expanded_bottom_margin">20dp</dimen>
368
Jorim Jaggic7dea6e2014-07-26 14:36:57 +0200369 <!-- The padding bottom of the clock group when QS is collapsed. -->
370 <dimen name="clock_collapsed_bottom_margin">10dp</dimen>
371
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200372 <!-- The padding bottom of the clock group when QS is collapsed for large text -->
373 <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen>
374
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200375 <!-- The width of the multi user switch on keyguard and collapsed QS header. -->
376 <dimen name="multi_user_switch_width_collapsed">34dp</dimen>
377
378 <!-- The width of the multi user switch in expanded QS header. -->
379 <dimen name="multi_user_switch_width_expanded">48dp</dimen>
380
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200381 <!-- The width of user avatar when on Keyguard -->
382 <dimen name="multi_user_switch_width_keyguard">34dp</dimen>
383
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200384 <!-- The width of user avatar when collapsed -->
385 <dimen name="multi_user_avatar_collapsed_size">22dp</dimen>
386
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200387 <!-- The width of user avatar when on Keyguard -->
388 <dimen name="multi_user_avatar_keyguard_size">22dp</dimen>
389
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200390 <!-- The font size of the time when collapsed in QS -->
391 <dimen name="qs_time_collapsed_size">14sp</dimen>
Jorim Jaggi362dd6d2014-07-09 19:04:07 +0200392
393 <!-- The font size of the time when expanded in QS -->
394 <dimen name="qs_time_expanded_size">20sp</dimen>
Jorim Jaggid4aafe92014-07-10 21:00:57 +0200395
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200396 <!-- The font size of the "emergency calls only" label in QS -->
397 <dimen name="qs_emergency_calls_only_text_size">12sp</dimen>
398
399 <!-- The font size of the date in QS -->
400 <dimen name="qs_date_collapsed_size">14sp</dimen>
401
Jorim Jaggid4aafe92014-07-10 21:00:57 +0200402 <!-- Battery level padding end when in expanded QS (but not on Keyguard) -->
403 <dimen name="battery_level_padding_end">4dp</dimen>
Dan Sandler4d75c072014-07-17 16:01:28 -0400404
Dan Sandlereceda3d2014-07-21 15:35:01 -0400405 <!-- The top padding of the clear all button -->
Jorim Jaggi2ae259d2014-08-04 23:35:47 +0200406 <dimen name="clear_all_padding_top">12dp</dimen>
Dan Sandlereceda3d2014-07-21 15:35:01 -0400407
Dan Sandler4d75c072014-07-17 16:01:28 -0400408 <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or
409 quick settings header -->
410 <dimen name="max_avatar_size">48dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200411
412 <!-- Margin on the left side of the carrier text on Keyguard -->
413 <dimen name="keyguard_carrier_text_margin">16dp</dimen>
414
415 <!-- Margin on the left side of the battery % in the header. -->
416 <dimen name="header_battery_margin_expanded">8dp</dimen>
417
418 <!-- Margin on the left side of the battery % when on Keyguard. -->
419 <dimen name="header_battery_margin_keyguard">6dp</dimen>
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200420
421 <!-- Additional translation (downwards) for appearing notifications when going to the full shade
422 from Keyguard. -->
423 <dimen name="go_to_full_shade_appearing_translation">200dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200424
425 <!-- The height of the search panel card. -->
426 <dimen name="search_panel_card_height">300dp</dimen>
427
428 <!-- The height of the scrim behind the search panel card. -->
429 <dimen name="search_panel_scrim_height">250dp</dimen>
430
431 <!-- How much from the bottom of the screen the card should peek in when activating the search
432 panel -->
433 <dimen name="search_card_peek_height">100dp</dimen>
434
435 <!-- How far the user needs to drag up to invoke search. -->
Jorim Jaggi118aece2014-08-25 15:25:38 +0200436 <dimen name="search_panel_threshold">100dp</dimen>
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200437
438 <!-- The width/height of the phone/camera/unlock icon on keyguard. -->
439 <dimen name="keyguard_affordance_height">56dp</dimen>
440 <dimen name="keyguard_affordance_width">56dp</dimen>
Jorim Jaggie210cc82014-08-12 23:44:59 +0200441
442 <dimen name="keyguard_indication_margin_bottom">65dp</dimen>
443
444 <!-- The text size for battery level -->
445 <dimen name="battery_level_text_size">12sp</dimen>
Adrian Roos2e3ccbb2014-08-19 22:23:37 +0200446
447 <!-- TrustDrawable: Minimum inner radius of the breathing animation -->
448 <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen>
449 <!-- TrustDrawable: Maximum inner radius of the breathing animation -->
450 <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen>
451 <!-- TrustDrawable: Inner radius at the end of the exit animation -->
452 <dimen name="trust_circle_inner_radius_exit">38dp</dimen>
453 <!-- TrustDrawable: Inner radius at the beginning of the enter animation -->
454 <dimen name="trust_circle_inner_radius_enter">18dp</dimen>
455 <!-- TrustDrawable: Thickness of the circle -->
456 <dimen name="trust_circle_thickness">2dp</dimen>
457
Daniel Sandler26c84b12011-07-27 00:09:40 -0400458</resources>