blob: 869b03a8a7b50de7ac68de76b7ed22055d05a5f1 [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>
Jim Miller5fda69c2011-02-16 15:17:11 -080019 <!-- Recent Applications parameters -->
Jim Miller5fda69c2011-02-16 15:17:11 -080020 <!-- Upper width limit for application icon -->
Peter Ng2d136a82011-10-12 15:49:39 -070021 <dimen name="status_bar_recents_app_icon_max_width">48dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080022 <!-- Upper height limit for application icon -->
Peter Ng2d136a82011-10-12 15:49:39 -070023 <dimen name="status_bar_recents_app_icon_max_height">48dp</dimen>
Michael Jurka3b1fc472011-06-13 10:54:40 -070024
Peter Ng622a9762011-08-29 10:56:53 -070025 <!-- Size of application thumbnail -->
26 <dimen name="status_bar_recents_thumbnail_width">164dp</dimen>
Michael Jurka9316e7e2011-10-04 13:44:05 -070027 <dimen name="status_bar_recents_thumbnail_height">145dp</dimen>
Michael Jurkacb2522c2012-04-13 09:32:47 -070028 <dimen name="status_bar_recents_thumbnail_bg_padding">4dp</dimen>
Peter Ng622a9762011-08-29 10:56:53 -070029
Jim Miller9f0f0e02011-05-17 20:06:29 -070030 <!-- Size of application label text -->
Peter Ng2d136a82011-10-12 15:49:39 -070031 <dimen name="status_bar_recents_app_label_text_size">14dip</dimen>
Jim Miller9f0f0e02011-05-17 20:06:29 -070032 <!-- Size of application description text -->
Peter Ng2d136a82011-10-12 15:49:39 -070033 <dimen name="status_bar_recents_app_description_text_size">14dip</dimen>
Michael Jurka55a25fa2012-04-02 07:09:10 -070034 <!-- Size of fading edge for text -->
35 <dimen name="status_bar_recents_text_fading_edge_length">20dip</dimen>
36 <!-- Size of fading edge for scrolling -->
37 <dimen name="status_bar_recents_scroll_fading_edge_length">10dip</dimen>
Jim Miller9f0f0e02011-05-17 20:06:29 -070038 <!-- Margin between recents container and glow on the right -->
39 <dimen name="status_bar_recents_right_glow_margin">100dip</dimen>
Daniel Sandlerf6a34122012-08-06 14:31:13 -040040 <!-- How far the thumbnail for a recent app appears from left edge -->
41 <dimen name="status_bar_recents_thumbnail_left_margin">20dp</dimen>
42 <!-- Padding for text descriptions -->
43 <dimen name="status_bar_recents_text_description_padding">8dp</dimen>
44 <!-- Width of application label text -->
45 <dimen name="status_bar_recents_app_label_width">88dip</dimen>
46 <!-- Left margin of application label text -->
47 <dimen name="status_bar_recents_app_label_left_margin">0dip</dimen>
48 <!-- Padding between recents items -->
49 <dimen name="status_bar_recents_item_padding">0dip</dimen>
Michael Jurka9bdaada2012-10-01 13:58:29 +020050 <!-- When recents first appears, how far the icon and label of the primary activity
51 travel -->
Michael Jurka071316e2012-10-10 00:00:21 +020052 <dimen name="status_bar_recents_app_icon_translate_distance">35dip</dimen>
Michael Jurka9bdaada2012-10-01 13:58:29 +020053
Daniel Sandlerf6a34122012-08-06 14:31:13 -040054 <!-- Where to place the app icon over the thumbnail -->
55 <dimen name="status_bar_recents_app_icon_left_margin">0dp</dimen>
56 <dimen name="status_bar_recents_app_icon_top_margin">8dp</dimen>
57
Dianne Hackborn7d049322011-06-14 15:00:32 -070058 <!-- Amount to offset bottom of notification peek window from top of status bar. -->
59 <dimen name="peek_window_y_offset">-12dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080060
Daniel Sandler8956dbb2011-04-22 07:55:02 -040061 <!-- thickness (height) of the navigation bar on phones that require it -->
Daniel Sandler36412a72011-08-04 09:35:13 -040062 <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
Winson Chung559e6d32014-11-05 13:41:12 -080063 <!-- Minimum swipe distance to catch the swipe gestures to invoke assist or switch tasks. -->
64 <dimen name="navigation_bar_min_swipe_distance">48dp</dimen>
Daniel Sandler41006aa2011-06-29 15:10:49 -040065
66 <!-- thickness (height) of the dead zone at the top of the navigation bar,
67 reducing false presses on navbar buttons; approx 2mm -->
68 <dimen name="navigation_bar_deadzone_size">12dp</dimen>
Daniel Sandlerc26185b2012-08-29 15:49:53 -040069 <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
70 <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
Daniel Sandlerd42497e2011-06-04 00:32:50 -040071
Daniel Sandler26c84b12011-07-27 00:09:40 -040072 <!-- Height of notification icons in the status bar -->
73 <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
74
Jorim Jaggi5172dc22014-09-02 14:59:06 +020075 <!-- The font size for the clock -->
76 <dimen name="status_bar_clock_size">14sp</dimen>
77
Chris Wren66757212012-05-14 10:05:42 -040078 <!-- Height of a small notification in the status bar -->
79 <dimen name="notification_min_height">64dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040080
Chris Wrenca7b7d02012-05-10 15:01:37 -040081 <!-- Height of a large notification in the status bar -->
82 <dimen name="notification_max_height">256dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040083
Chris Wren8fd39ec2014-02-27 17:43:26 -050084 <!-- Height of a medium notification in the status bar -->
85 <dimen name="notification_mid_height">128dp</dimen>
86
Jorim Jaggi069cd032014-05-15 03:09:01 +020087 <!-- Height of a the summary ("more card") notification on keyguard. -->
Jorim Jaggib741f052014-06-03 19:57:26 +020088 <dimen name="notification_summary_height">44dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +020089
Daniel Sandler26c84b12011-07-27 00:09:40 -040090 <!-- size at which Notification icons will be drawn in the status bar -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +020091 <dimen name="status_bar_icon_drawing_size">17dip</dimen>
Daniel Sandler26c84b12011-07-27 00:09:40 -040092
93 <!-- opacity at which Notification icons will be drawn in the status bar -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +020094 <item type="dimen" name="status_bar_icon_drawing_alpha">90%</item>
Daniel Sandler7c3e39d2011-07-29 16:30:49 -040095
96 <!-- gap on either side of status bar notification icons -->
97 <dimen name="status_bar_icon_padding">0dp</dimen>
Peter Ng6ccd7a52011-08-22 16:58:43 -070098
Daniel Sandlere95658c2012-05-10 00:33:54 -040099 <!-- half the distance between notifications in the panel -->
Jorim Jaggic5dc0d02014-04-15 15:42:55 +0200100 <dimen name="notification_divider_height">2dp</dimen>
Daniel Sandlerdc940ea2011-08-25 14:35:53 -0700101
Winson Chunga63bb842011-10-17 10:26:28 -0700102 <!-- The padding on the global screenshot background image -->
Winson Chung22ca0952011-10-20 19:44:32 -0700103 <dimen name="global_screenshot_bg_padding">20dp</dimen>
Winson Chunga63bb842011-10-17 10:26:28 -0700104
Jorim Jaggica8c6262014-10-27 16:53:18 +0100105 <!-- The width of the view containing navigation buttons -->
106 <dimen name="navigation_key_width">70dp</dimen>
Andrew Flynn1d9af302012-03-07 15:48:51 -0800107
Jason Monkf1ff2092014-04-29 16:50:53 -0400108 <!-- The width of the view containing the menu/ime navigation bar icons -->
Jorim Jaggica8c6262014-10-27 16:53:18 +0100109 <dimen name="navigation_extra_key_width">36dp</dimen>
110
111 <!-- The padding on the side of the navigation bar. Must be greater than or equal to
112 navigation_extra_key_width -->
113 <dimen name="navigation_side_padding">36dp</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700114
Michael Jurka53f109bf2012-06-13 17:38:14 -0700115 <!-- Default distance beyond which snaps to the matching target -->
116 <dimen name="navbar_search_snap_margin">40dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700117
118 <!-- Diameter of outer shape drawable shown in navbar search-->
Jim Miller20830422012-05-15 20:46:03 -0700119 <dimen name="navbar_search_outerring_diameter">340dp</dimen>
Jim Miller354619c2012-04-27 17:33:44 -0700120
Jim Miller955a0162012-06-11 21:06:13 -0700121 <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
122 <dimen name="navbar_search_outerring_radius">170dp</dimen>
123
Jim Miller354619c2012-04-27 17:33:44 -0700124 <!-- Height of search panel including navigation bar height -->
125 <dimen name="navbar_search_panel_height">230dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700126
Daniel Sandler1fac1fd2012-04-30 12:07:30 -0400127 <!-- Height of the draggable handle at the bottom of the phone notification panel -->
Daniel Sandler13522a22012-09-27 14:46:58 -0400128 <dimen name="close_handle_height">36dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400129
Daniel Sandler13522a22012-09-27 14:46:58 -0400130 <!-- Amount of close_handle that will NOT overlap the notification list -->
131 <dimen name="close_handle_underlap">32dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400132
Jorim Jaggid7daab72014-05-06 22:22:20 +0200133 <!-- Height of the status bar header bar -->
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200134 <dimen name="status_bar_header_height">60dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400135
Jorim Jaggid7daab72014-05-06 22:22:20 +0200136 <!-- Height of the status bar header bar when expanded -->
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200137 <dimen name="status_bar_header_height_expanded">116dp</dimen>
Daniel Sandler21b274e2012-05-02 15:07:51 -0400138
Jorim Jaggi9054d942014-05-09 22:47:28 +0200139 <!-- Height of the status bar header bar when on Keyguard -->
140 <dimen name="status_bar_header_height_keyguard">40dp</dimen>
141
John Spurlock7e6809a2014-08-06 16:03:14 -0400142 <!-- Width for the notification panel and related windows -->
143 <dimen name="match_parent">-1px</dimen>
144 <dimen name="standard_notification_panel_width">416dp</dimen><!-- includes notification_side_padding on each side -->
145 <dimen name="notification_panel_width">@dimen/match_parent</dimen>
146
John Spurlock50728832014-04-17 19:05:28 -0400147 <!-- Gravity for the notification panel -->
John Spurlock7e6809a2014-08-06 16:03:14 -0400148 <integer name="standard_notification_panel_layout_gravity">0x31</integer><!-- top|center_horizontal -->
149 <integer name="notification_panel_layout_gravity">0x37</integer><!-- fill_horizontal|top -->
Chris Wrenb8ea2f52012-08-24 11:50:55 -0400150
Daniel Sandler3d32a242012-06-05 13:44:14 -0400151 <!-- Height of the carrier/wifi name label -->
152 <dimen name="carrier_label_height">24dp</dimen>
Chris Wrenb4e2c48b2012-06-15 16:51:54 -0400153
Daniel Sandler4377d142012-09-11 15:18:47 -0400154 <!-- The distance you can pull a notification before it pops open -->
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200155 <dimen name="one_finger_pop_limit">0dp</dimen>
Winson Chungd63c59782012-09-05 17:34:41 -0700156
Daniel Sandlere680f542012-09-28 12:22:27 -0400157 <!-- Minimum fraction of the screen that should be taken up by the notification panel.
158 Not used at this screen size. -->
159 <item type="dimen" name="notification_panel_min_height_frac">0%</item>
Daniel Sandler4377d142012-09-11 15:18:47 -0400160
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200161 <dimen name="blinds_pop_threshold">0dp</dimen>
Daniel Sandler4377d142012-09-11 15:18:47 -0400162
163 <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
164 <dimen name="pull_span_min">25dp</dimen>
Daniel Sandler3679bf52012-10-16 21:30:28 -0400165
John Spurlock92d9b192014-06-29 12:54:24 -0400166 <dimen name="qs_tile_height">88dp</dimen>
John Spurlockc97010c2015-06-15 15:45:38 -0400167 <dimen name="qs_tile_icon_size">24dp</dimen>
John Spurlock4bf31982014-05-21 13:04:22 -0400168 <dimen name="qs_tile_text_size">12sp</dimen>
169 <dimen name="qs_tile_divider_height">1dp</dimen>
170 <dimen name="qs_panel_padding">16dp</dimen>
John Spurlock39076ed2014-06-30 20:47:20 -0400171 <dimen name="qs_dual_tile_height">112dp</dimen>
172 <dimen name="qs_dual_tile_padding_vertical">8dp</dimen>
173 <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen>
Jorim Jaggic8316df2014-09-01 17:13:36 +0200174 <dimen name="qs_tile_padding_top">14dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200175 <dimen name="qs_tile_padding_top_large_text">4dp</dimen>
John Spurlock92d9b192014-06-29 12:54:24 -0400176 <dimen name="qs_tile_padding_below_icon">12dp</dimen>
177 <dimen name="qs_tile_padding_bottom">16dp</dimen>
178 <dimen name="qs_tile_spacing">4dp</dimen>
179 <dimen name="qs_panel_padding_bottom">8dp</dimen>
John Spurlock7f8f22a2014-07-02 18:54:17 -0400180 <dimen name="qs_detail_item_height">48dp</dimen>
Adrian Rooscd542b82014-08-12 22:25:35 +0200181 <dimen name="qs_brightness_padding_top">6dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200182 <dimen name="qs_detail_header_text_size">20sp</dimen>
183 <dimen name="qs_detail_button_text_size">14sp</dimen>
184 <dimen name="qs_detail_item_primary_text_size">16sp</dimen>
185 <dimen name="qs_detail_item_secondary_text_size">14sp</dimen>
186 <dimen name="qs_detail_empty_text_size">14sp</dimen>
187 <dimen name="qs_data_usage_text_size">14sp</dimen>
188 <dimen name="qs_data_usage_usage_text_size">36sp</dimen>
Chris Wren0f2aa682013-08-02 12:03:02 -0400189
John Spurlockfbc1fdf82015-05-08 18:16:54 -0400190 <dimen name="segmented_button_spacing">0dp</dimen>
John Spurlockbb4a7022014-11-08 12:40:19 -0500191 <dimen name="borderless_button_radius">2dp</dimen>
John Spurlockae641c92014-06-30 18:11:40 -0400192
Jorim Jaggif62f2bb2014-05-25 22:28:41 +0200193 <!-- How far the expanded QS panel peeks from the header in collapsed state. -->
194 <dimen name="qs_peek_height">8dp</dimen>
195
John Spurlock3e077012014-11-29 13:22:21 -0500196 <!-- Zen mode panel: condition item button padding -->
John Spurlock86005342014-05-23 11:58:00 -0400197 <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen>
John Spurlock86005342014-05-23 11:58:00 -0400198
John Spurlock3e077012014-11-29 13:22:21 -0500199 <!-- Zen mode panel: spacing between condition items -->
200 <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen>
201
202 <!-- Zen mode panel: spacing between two-line condition upper and lower lines -->
203 <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen>
204
205 <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding -->
206 <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen>
207
Daniel Sandler8475a742013-09-26 00:24:57 -0400208 <!-- used by DessertCase -->
209 <dimen name="dessert_case_cell_size">192dp</dimen>
John Spurlock74d24802013-12-02 17:14:51 -0500210
211 <!-- Default glow radius for GlowPadView -->
212 <dimen name="glowpadview_glow_radius">75dip</dimen>
213
214 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
215 <dimen name="glowpadview_inner_radius">15dip</dimen>
Winson Chung37c8d8e2014-03-24 14:53:07 -0700216
Winson Chung5e3e5d82014-04-02 15:44:55 -0700217 <!-- The size of the application icon in the recents task view. -->
Winson Chung06795632014-06-17 15:53:44 -0700218 <dimen name="recents_task_view_application_icon_size">48dp</dimen>
Winson Chung5e3e5d82014-04-02 15:44:55 -0700219
Winson Chung14926462014-04-14 18:57:14 -0700220 <!-- The radius of the rounded corners on a task view. -->
221 <dimen name="recents_task_view_rounded_corners_radius">2dp</dimen>
222
Winson Chung96e3bc12014-05-06 16:44:12 -0700223 <!-- The min translation in the Z index for the last task. -->
Winson Chungebfc6982014-08-26 12:25:34 -0700224 <dimen name="recents_task_view_z_min">20dp</dimen>
Winson Chung96e3bc12014-05-06 16:44:12 -0700225
Winson Chung012ef362014-07-31 18:36:25 -0700226 <!-- The max translation in the Z index for the last task. -->
Winson Chungebfc6982014-08-26 12:25:34 -0700227 <dimen name="recents_task_view_z_max">80dp</dimen>
Winson Chung602de032014-05-27 12:19:28 -0700228
Winson Chung9f49df92014-05-07 18:08:34 -0700229 <!-- The amount to translate when animating the removal of a task. -->
Winson Chung54e297a2014-05-09 17:15:32 -0700230 <dimen name="recents_task_view_remove_anim_translation_x">100dp</dimen>
Winson Chung9f49df92014-05-07 18:08:34 -0700231
Winson Chungcd23c842014-05-29 18:30:51 -0700232 <!-- The amount of highlight to make on each task view. -->
Winson Chung2915b9d2014-07-28 11:01:57 -0700233 <dimen name="recents_task_view_highlight">1.5dp</dimen>
Winson Chungcd23c842014-05-29 18:30:51 -0700234
Winson Chung1907cd42014-07-23 18:20:13 -0700235 <!-- The amount to offset when animating into an affiliate group. -->
236 <dimen name="recents_task_view_affiliate_group_enter_offset">64dp</dimen>
237
Winson Chung60a729c2014-08-12 16:33:32 -0700238 <!-- The alpha to apply to a task thumbnail. -->
239 <item name="recents_task_view_thumbnail_alpha" format="float" type="dimen">0.9</item>
240
Winson Chunga433fa92014-07-08 21:50:31 -0700241 <!-- The height of a task view bar. -->
242 <dimen name="recents_task_bar_height">56dp</dimen>
243
Winson Chungecd9b302014-04-16 17:07:18 -0700244 <!-- The height of the search bar space. -->
Winson Chungf7bca432014-04-30 17:11:13 -0700245 <dimen name="recents_search_bar_space_height">64dp</dimen>
Winson Chungecd9b302014-04-16 17:07:18 -0700246
Winson Chungcd23c842014-05-29 18:30:51 -0700247 <!-- The side padding for the task stack as a percentage of the width. -->
Winson Chung353c0b92014-10-16 17:43:23 -0700248 <item name="recents_stack_width_padding_percentage" format="float" type="dimen">0.03333</item>
Winson Chungcd23c842014-05-29 18:30:51 -0700249
Winson Chungebfc6982014-08-26 12:25:34 -0700250 <!-- The overscroll percentage allowed on the stack. -->
251 <item name="recents_stack_overscroll_percentage" format="float" type="dimen">0.0875</item>
252
Winson Chungcd23c842014-05-29 18:30:51 -0700253 <!-- The top offset for the task stack. -->
254 <dimen name="recents_stack_top_padding">16dp</dimen>
255
Winson Chung6ac8bd62015-01-07 16:38:35 -0800256 <!-- The dimesnsions of the dismiss all recents button. -->
257 <dimen name="recents_dismiss_all_button_size">48dp</dimen>
Winson Chung2f2ca082014-04-03 18:05:29 -0700258
Winson Chungec396d62014-08-06 17:08:00 -0700259 <!-- The min alpha to apply to a task affiliation group color. -->
260 <item name="recents_task_affiliation_color_min_alpha_percentage" format="float" type="dimen">0.6</item>
261
Winson Chungc041d882014-11-14 17:34:03 -0800262 <!-- The size of the lock-to-app button. -->
263 <dimen name="recents_lock_to_app_size">56dp</dimen>
264
265 <!-- The size of the lock-to-app button icon. -->
266 <dimen name="recents_lock_to_app_icon_size">28dp</dimen>
267
Selim Cinek67b22602014-03-10 15:40:16 +0100268 <!-- Space reserved for the cards behind the top card in the top stack -->
Selim Cinek343e6e22014-04-11 21:23:30 +0200269 <dimen name="top_stack_peek_amount">12dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100270
271 <!-- Space reserved for the cards behind the top card in the bottom stack -->
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200272 <dimen name="bottom_stack_peek_amount">12dp</dimen>
273
Jorim Jaggi2c5baca2014-07-11 01:30:10 +0200274 <!-- bottom_stack_peek_amount + notification_min_height
275 + notification_collapse_second_card_padding -->
276 <dimen name="min_stack_height">84dp</dimen>
Jorim Jaggi54045422014-07-03 18:30:40 +0200277
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200278 <!-- The height of the area before the bottom stack in which the notifications slow down -->
279 <dimen name="bottom_stack_slow_down_length">12dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100280
Selim Cinekad3e5af2014-07-04 12:24:11 +0200281 <!-- The height of the area before the top stack in which the notifications slow down -->
282 <dimen name="top_stack_slow_down_length">12dp</dimen>
283
Selim Cinek67b22602014-03-10 15:40:16 +0100284 <!-- The side padding of the notifications-->
285 <dimen name="notification_side_padding">8dp</dimen>
286
287 <!-- Z distance between notifications if they are in the stack -->
Selim Cinek72b6f4d2014-05-23 14:59:51 +0200288 <dimen name="z_distance_between_notifications">1dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100289
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200290 <!-- The padding between the individual notification cards when dimmed. -->
291 <dimen name="notification_padding_dimmed">0dp</dimen>
292
Jorim Jaggife40f7d2014-04-28 15:20:04 +0200293 <!-- The padding between the individual notification cards. -->
Selim Cinek34c0a8d2014-05-12 00:01:43 +0200294 <dimen name="notification_padding">4dp</dimen>
Jorim Jaggife40f7d2014-04-28 15:20:04 +0200295
Selim Cinek1408eb52014-06-02 14:45:38 +0200296 <!-- The minimum amount of top overscroll to go to the quick settings. -->
297 <dimen name="min_top_overscroll_to_qs">36dp</dimen>
298
Selim Cinekd83771e2014-07-04 16:45:31 +0200299 <!-- The padding to the second card when the notifications collapse. -->
300 <dimen name="notification_collapse_second_card_padding">8dp</dimen>
301
Selim Cinek1e119db2014-06-11 20:03:14 +0200302 <!-- The height of the speed bump view. -->
303 <dimen name="speed_bump_height">16dp</dimen>
Selim Cinekc27437b2014-05-14 10:23:33 +0200304
Selim Cinek19c8c702014-08-25 22:09:19 +0200305 <!-- Lockscreen unlocking falsing threshold. -->
Selim Cinek5386fb32014-09-03 16:37:36 +0200306 <dimen name="unlock_falsing_threshold">80dp</dimen>
Selim Cinek19c8c702014-08-25 22:09:19 +0200307
308 <!-- Lockscreen falsing threshold for quick settings. -->
Selim Cinekff3bf4b2015-05-29 05:39:08 -0700309 <dimen name="qs_falsing_threshold">60dp</dimen>
Selim Cinek19c8c702014-08-25 22:09:19 +0200310
311 <!-- Falsing threshold used when dismissing notifications from the lockscreen. -->
Selim Cinek5386fb32014-09-03 16:37:36 +0200312 <dimen name="swipe_helper_falsing_threshold">70dp</dimen>
John Spurlock73203eb2014-04-15 16:14:46 -0400313
Jorim Jaggi8c1a44b2014-04-29 19:04:02 +0200314 <dimen name="notifications_top_padding">8dp</dimen>
Jorim Jaggiecbab362014-04-23 16:13:15 +0200315
316 <!-- Minimum distance the user has to drag down to go to the full shade. -->
317 <dimen name="keyguard_drag_down_min_distance">100dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200318
319 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
320 max value is used when no notifications are displaying, and the min value is when the
321 highest possible number of notifications are showing. -->
Jorim Jaggi220bf5c2014-06-14 22:43:12 +0200322 <fraction name="keyguard_clock_y_fraction_max">32.5%</fraction>
323 <fraction name="keyguard_clock_y_fraction_min">19.8%</fraction>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200324
325 <!-- The margin between the clock and the notifications on Keyguard. See
326 keyguard_clock_height_fraction_* for the difference between min and max.-->
Jorim Jaggi220bf5c2014-06-14 22:43:12 +0200327 <dimen name="keyguard_clock_notifications_margin_min">24dp</dimen>
Jorim Jaggi75c95042014-05-16 19:09:59 +0200328 <dimen name="keyguard_clock_notifications_margin_max">36dp</dimen>
Selim Cinekaac93252015-04-14 20:04:12 -0700329 <dimen name="heads_up_scrim_height">250dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200330
Selim Cinek4c6969a2014-05-26 19:22:17 +0200331 <!-- The minimum amount the user needs to swipe to go to the camera / phone. -->
Selim Cinek1dc40652014-11-12 17:53:52 +0100332 <dimen name="keyguard_min_swipe_amount">110dp</dimen>
Selim Cinek4c6969a2014-05-26 19:22:17 +0200333
Selim Cinekbaa23272014-07-08 18:01:07 +0200334 <!-- The minimum background radius when swiping to a side for the camera / phone affordances. -->
335 <dimen name="keyguard_affordance_min_background_radius">30dp</dimen>
336
Selim Cinek6746c282015-04-21 19:58:31 -0700337 <!-- The size of the touch targets on the keyguard for the affordances. -->
Selim Cinek60d30d62015-06-01 18:06:00 +0200338 <dimen name="keyguard_affordance_touch_target_size">120dp</dimen>
Selim Cinek6746c282015-04-21 19:58:31 -0700339
Selim Cinekbaa23272014-07-08 18:01:07 +0200340 <!-- The grow amount for the camera and phone circles when hinting -->
341 <dimen name="hint_grow_amount_sideways">60dp</dimen>
342
Jorim Jaggi457cc352014-06-02 22:47:42 +0200343 <!-- Distance between notifications and header when they are considered to be colliding. -->
Jorim Jaggi3afddce2014-08-14 20:44:43 +0200344 <dimen name="header_notifications_collide_distance">48dp</dimen>
Jorim Jaggi457cc352014-06-02 22:47:42 +0200345
Jorim Jaggi8dd95e02014-06-03 16:19:33 +0200346 <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the
347 device. -->
348 <dimen name="unlock_move_distance">75dp</dimen>
349
Selim Cinekf54090e2014-06-17 17:24:51 -0700350 <!-- Distance after which the scrim starts fading in when dragging down the quick settings -->
351 <dimen name="notification_scrim_wait_distance">100dp</dimen>
352
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200353 <!-- Move distance for the unlock hint animation on the lockscreen -->
Jorim Jaggi90129582014-06-02 14:44:49 +0200354 <dimen name="hint_move_distance">75dp</dimen>
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200355
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200356 <!-- The width of the region on the left/right edge of the screen for performing the camera/
357 phone hints. -->
358 <dimen name="edge_tap_area_width">48dp</dimen>
Jorim Jaggi80f5e3c2014-06-10 22:03:48 +0200359
Selim Cinek697178b2014-07-02 19:40:30 +0200360 <!-- radius of the corners of the material rounded rect background -->
361 <dimen name="notification_material_rounded_rect_radius">2dp</dimen>
362
Selim Cinekface7c12014-10-06 16:54:46 -0700363 <!-- radius of the corners of the material rounded rect background but negative-->
364 <dimen name="notification_material_rounded_rect_radius_negative">-2dp</dimen>
365
Selim Cinekb5605e52015-02-20 18:21:41 +0100366 <!-- height of the bottom decor below the notification if present (eg. an expand action) -->
367 <dimen name="notification_bottom_decor_height">48dp</dimen>
368
369 <!-- The padding between notification children -->
370 <dimen name="notification_children_padding">2dp</dimen>
371
372 <!-- The height of the divider between the notfication children -->
373 <dimen name="notification_children_divider_height">1dp</dimen>
374
375 <!-- The vertical distance from which the notification appear when children are expanded -->
376 <dimen name="notification_appear_distance">140dp</dimen>
377
Jorim Jaggi129e7ac2014-06-10 22:03:48 +0200378 <!-- end margin for multi user switch in expanded quick settings -->
379 <dimen name="multi_user_switch_expanded_margin">8dp</dimen>
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700380
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200381 <!-- end margin for multi user switch in collapsed quick settings -->
382 <dimen name="multi_user_switch_collapsed_margin">13dp</dimen>
383
384 <!-- end margin for multi user switch in collapsed quick settings -->
385 <dimen name="multi_user_switch_keyguard_margin">3dp</dimen>
386
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700387 <!-- end margin for system icons if multi user switch is hidden -->
388 <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen>
389
390 <!-- The thickness of the colored border around the current user. -->
391 <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen>
392
John Spurlock5e9049a2014-07-08 23:40:46 -0400393 <dimen name="data_usage_graph_marker_width">4dp</dimen>
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200394
395 <!-- The padding bottom of the clock group when QS is expanded. -->
396 <dimen name="clock_expanded_bottom_margin">20dp</dimen>
397
Jorim Jaggic7dea6e2014-07-26 14:36:57 +0200398 <!-- The padding bottom of the clock group when QS is collapsed. -->
399 <dimen name="clock_collapsed_bottom_margin">10dp</dimen>
400
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200401 <!-- The padding bottom of the clock group when QS is collapsed for large text -->
402 <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen>
403
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200404 <!-- The width of the multi user switch on keyguard and collapsed QS header. -->
405 <dimen name="multi_user_switch_width_collapsed">34dp</dimen>
406
407 <!-- The width of the multi user switch in expanded QS header. -->
408 <dimen name="multi_user_switch_width_expanded">48dp</dimen>
409
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200410 <!-- The width of user avatar when on Keyguard -->
411 <dimen name="multi_user_switch_width_keyguard">34dp</dimen>
412
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200413 <!-- The width of user avatar when collapsed -->
414 <dimen name="multi_user_avatar_collapsed_size">22dp</dimen>
415
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200416 <!-- The width of user avatar when on Keyguard -->
417 <dimen name="multi_user_avatar_keyguard_size">22dp</dimen>
418
Adrian Roos2b154a92014-11-17 15:18:39 +0100419 <!-- The width of user avatar when expanded -->
420 <dimen name="multi_user_avatar_expanded_size">24dp</dimen>
421
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200422 <!-- The font size of the time when collapsed in QS -->
423 <dimen name="qs_time_collapsed_size">14sp</dimen>
Jorim Jaggi362dd6d2014-07-09 19:04:07 +0200424
425 <!-- The font size of the time when expanded in QS -->
426 <dimen name="qs_time_expanded_size">20sp</dimen>
Jorim Jaggid4aafe92014-07-10 21:00:57 +0200427
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200428 <!-- The font size of the "emergency calls only" label in QS -->
429 <dimen name="qs_emergency_calls_only_text_size">12sp</dimen>
430
431 <!-- The font size of the date in QS -->
432 <dimen name="qs_date_collapsed_size">14sp</dimen>
433
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200434 <!-- Battery level text padding end when in expanded QS and on Keyguard -->
435 <dimen name="battery_level_padding_end">2dp</dimen>
Dan Sandler4d75c072014-07-17 16:01:28 -0400436
Dan Sandlereceda3d2014-07-21 15:35:01 -0400437 <!-- The top padding of the clear all button -->
Jorim Jaggi2ae259d2014-08-04 23:35:47 +0200438 <dimen name="clear_all_padding_top">12dp</dimen>
Dan Sandlereceda3d2014-07-21 15:35:01 -0400439
Dan Sandler4d75c072014-07-17 16:01:28 -0400440 <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or
441 quick settings header -->
442 <dimen name="max_avatar_size">48dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200443
444 <!-- Margin on the left side of the carrier text on Keyguard -->
445 <dimen name="keyguard_carrier_text_margin">16dp</dimen>
446
447 <!-- Margin on the left side of the battery % in the header. -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200448 <dimen name="header_battery_margin_expanded">6dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200449
450 <!-- Margin on the left side of the battery % when on Keyguard. -->
451 <dimen name="header_battery_margin_keyguard">6dp</dimen>
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200452
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200453 <!-- Margin on the right side of the system icon group on Keyguard. -->
454 <dimen name="system_icons_keyguard_padding_end">4dp</dimen>
455
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200456 <!-- Additional translation (downwards) for appearing notifications when going to the full shade
457 from Keyguard. -->
458 <dimen name="go_to_full_shade_appearing_translation">200dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200459
Selim Cinek92d892c2014-09-11 15:11:00 +0200460 <!-- The diameter of the search panel circle. -->
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700461 <dimen name="assist_orb_size">144dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200462
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700463 <!-- The margin to the edge of the screen from where the orb starts to appear -->
464 <dimen name="assist_orb_base_margin">22dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200465
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700466 <!-- The amount the orb translates when appearing -->
467 <dimen name="assist_orb_travel_distance">26dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200468
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700469 <!-- The elevation of the orb -->
470 <dimen name="assist_orb_elevation">12dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200471
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700472 <!-- The height of the scrim behind the orb. -->
473 <dimen name="assist_orb_scrim_height">250dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200474
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700475 <!-- The height of the scrim behind the search panel circle. Should be navigation_bar_height
476 + 8dp. -->
477 <dimen name="assist_orb_navbar_scrim_height">56dp</dimen>
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200478
Adrian Roos72cc3702014-09-18 17:25:09 +0200479 <!-- The width/height of the phone/camera/unlock icon view on keyguard. -->
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200480 <dimen name="keyguard_affordance_height">56dp</dimen>
481 <dimen name="keyguard_affordance_width">56dp</dimen>
Jorim Jaggie210cc82014-08-12 23:44:59 +0200482
Adrian Roos72cc3702014-09-18 17:25:09 +0200483 <!-- The width/height of the phone/camera/unlock icon drawable on keyguard. -->
484 <dimen name="keyguard_affordance_icon_height">24dp</dimen>
485 <dimen name="keyguard_affordance_icon_width">24dp</dimen>
486
Jorim Jaggie210cc82014-08-12 23:44:59 +0200487 <dimen name="keyguard_indication_margin_bottom">65dp</dimen>
488
489 <!-- The text size for battery level -->
490 <dimen name="battery_level_text_size">12sp</dimen>
Adrian Roos2e3ccbb2014-08-19 22:23:37 +0200491
492 <!-- TrustDrawable: Minimum inner radius of the breathing animation -->
493 <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen>
494 <!-- TrustDrawable: Maximum inner radius of the breathing animation -->
495 <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen>
496 <!-- TrustDrawable: Inner radius at the end of the exit animation -->
497 <dimen name="trust_circle_inner_radius_exit">38dp</dimen>
498 <!-- TrustDrawable: Inner radius at the beginning of the enter animation -->
499 <dimen name="trust_circle_inner_radius_enter">18dp</dimen>
500 <!-- TrustDrawable: Thickness of the circle -->
501 <dimen name="trust_circle_thickness">2dp</dimen>
502
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200503 <!-- Margin on the right side of the system icon group on Keyguard. -->
504 <fraction name="battery_button_height_fraction">10.5%</fraction>
Jorim Jaggia0221f32014-09-03 16:29:39 +0200505
506 <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this
507 fraction of a pixel.-->
508 <fraction name="battery_subpixel_smoothing_left">0%</fraction>
509 <fraction name="battery_subpixel_smoothing_right">0%</fraction>
510
511 <dimen name="battery_margin_bottom">0dp</dimen>
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200512
513 <!-- Extra padding between the mobile data type icon and the strength indicator when the data
514 type icon is wide. -->
515 <dimen name="wide_type_icon_start_padding">2dp</dimen>
516
Jason Monkb5746272014-11-12 16:50:31 -0500517 <!-- Extra padding between multiple phone signal icons. -->
518 <dimen name="secondary_telephony_padding">2dp</dimen>
519
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200520 <!-- Extra padding between the mobile data type icon and the strength indicator when the data
521 type icon is wide for the tile in quick settings. -->
522 <dimen name="wide_type_icon_start_padding_qs">3dp</dimen>
Jorim Jaggi072707d2014-09-15 17:20:08 +0200523
524 <!-- The maximum width of the navigation bar ripples. -->
525 <dimen name="key_button_ripple_max_width">95dp</dimen>
Jorim Jaggicb557032014-09-16 23:09:24 +0200526
527 <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card
528 and the shadow. -->
529 <dimen name="fake_shadow_inset">1dp</dimen>
530
531 <dimen name="fake_shadow_size">8dp</dimen>
Jorim Jaggi6d035f12014-10-17 18:43:43 +0200532
533 <!-- Padding between signal cluster and battery icon -->
534 <dimen name="signal_cluster_battery_padding">7dp</dimen>
535
536 <!-- Padding for signal cluster and battery icon when there are not icons in signal cluster -->
537 <dimen name="no_signal_cluster_battery_padding">3dp</dimen>
Jason Monk18f99d92014-09-11 13:36:42 -0400538
539 <!-- Screen pinning request width -->
540 <dimen name="screen_pinning_request_width">@dimen/match_parent</dimen>
541 <!-- Screen pinning request nav button circle heights -->
542 <dimen name="screen_pinning_request_button_height">66dp</dimen>
543 <!-- Screen pinning request nav button circle widths -->
544 <dimen name="screen_pinning_request_button_width">84dp</dimen>
545 <!-- Screen pinning request padding on top of inner circle -->
546 <dimen name="screen_pinning_request_inner_padding">14dp</dimen>
547 <!-- Screen pinning request padding on top of icons -->
548 <dimen name="screen_pinning_request_nav_icon_padding">18dp</dimen>
549 <!-- Screen pinning request padding on side of icons
550 (makes the width match the nav bar)-->
551 <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen>
552 <!-- Screen pinning request side views to match nav bar
553 navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width
554 - navigation_key_width) -->
555 <dimen name="screen_pinning_request_side_width">34dp</dimen>
556 <!-- Screen pinning request controls padding on bigger screens -->
557 <dimen name="screen_pinning_request_frame_padding">0dp</dimen>
558 <!-- Screen pinning inner nav bar circle size -->
559 <dimen name="screen_pinning_nav_highlight_size">56dp</dimen>
560 <!-- Screen pinning inner nav bar outer circle size -->
561 <dimen name="screen_pinning_nav_highlight_outer_size">84dp</dimen>
562
Jorim Jaggi27c9b742015-04-09 10:34:49 -0700563 <!-- Padding to be used on the bottom of the fingerprint icon on Keyguard so it better aligns
564 with the other icons. -->
565 <dimen name="fingerprint_icon_additional_padding">12dp</dimen>
Jorim Jaggi6d4a27f2015-04-20 16:01:53 -0700566
567 <!-- Minimum margin of the notification panel on the side, when being positioned dynamically -->
568 <dimen name="notification_panel_min_side_margin">48dp</dimen>
John Spurlockd9c75db2015-04-28 11:19:13 -0400569
570 <!-- Vertical spacing between multiple volume slider rows -->
571 <dimen name="volume_slider_interspacing">8dp</dimen>
572
573 <!-- Volume dialog vertical offset from the top of the screen -->
574 <dimen name="volume_offset_top">0dp</dimen>
575
576 <!-- Standard image button size for volume dialog buttons -->
577 <dimen name="volume_button_size">48dp</dimen>
Kenny Guy63bf8ac2015-06-18 15:09:09 +0100578
579 <!-- Padding between icon and text for managed profile toast -->
580 <dimen name="managed_profile_toast_padding">4dp</dimen>
Adrian Roos4f43dc02015-06-17 16:43:38 -0700581
582 <!-- Thickness of the assist disclosure beams -->
583 <dimen name="assist_disclosure_thickness">4dp</dimen>
584
585 <!-- Thickness of the shadows of the assist disclosure beams -->
586 <dimen name="assist_disclosure_shadow_thickness">1.5dp</dimen>
Daniel Sandler26c84b12011-07-27 00:09:40 -0400587</resources>