blob: 06df0e763498f627211b3b25ecbe705bffee66b7 [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>
Dianne Hackborn7d049322011-06-14 15:00:32 -070019 <!-- Amount to offset bottom of notification peek window from top of status bar. -->
20 <dimen name="peek_window_y_offset">-12dp</dimen>
Jim Miller5fda69c2011-02-16 15:17:11 -080021
Daniel Sandler8956dbb2011-04-22 07:55:02 -040022 <!-- thickness (height) of the navigation bar on phones that require it -->
Daniel Sandler36412a72011-08-04 09:35:13 -040023 <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
Winson Chung559e6d32014-11-05 13:41:12 -080024 <!-- Minimum swipe distance to catch the swipe gestures to invoke assist or switch tasks. -->
25 <dimen name="navigation_bar_min_swipe_distance">48dp</dimen>
Matthew Ngb9c84282018-12-06 17:15:27 -080026 <!-- The distance from a side of device of the navigation bar to start an edge swipe -->
Matthew Ng2a36de12018-12-13 13:43:46 -080027 <dimen name="navigation_bar_edge_swipe_threshold">48dp</dimen>
Daniel Sandler41006aa2011-06-29 15:10:49 -040028
29 <!-- thickness (height) of the dead zone at the top of the navigation bar,
30 reducing false presses on navbar buttons; approx 2mm -->
31 <dimen name="navigation_bar_deadzone_size">12dp</dimen>
Daniel Sandlerc26185b2012-08-29 15:49:53 -040032 <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
33 <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
Daniel Sandlerd42497e2011-06-04 00:32:50 -040034
Daniel Sandler26c84b12011-07-27 00:09:40 -040035 <!-- Height of notification icons in the status bar -->
36 <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
37
Anthony Chen55e8e1e2016-01-08 10:31:46 -080038 <!-- Height of the battery icon in the status bar. -->
Evan Laird206b5f32018-05-22 15:49:25 -040039 <dimen name="status_bar_battery_icon_height">13.0dp</dimen>
Anthony Chen55e8e1e2016-01-08 10:31:46 -080040
41 <!-- Width of the battery icon in the status bar. -->
Evan Laird206b5f32018-05-22 15:49:25 -040042 <dimen name="status_bar_battery_icon_width">8.5dp</dimen>
Anthony Chen55e8e1e2016-01-08 10:31:46 -080043
44 <!-- The font size for the clock in the status bar. -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +020045 <dimen name="status_bar_clock_size">14sp</dimen>
46
Anthony Chen55e8e1e2016-01-08 10:31:46 -080047 <!-- The starting padding for the clock in the status bar. -->
48 <dimen name="status_bar_clock_starting_padding">7dp</dimen>
49
50 <!-- The end padding for the clock in the status bar. -->
51 <dimen name="status_bar_clock_end_padding">0dp</dimen>
52
Evan Laird2cf56822017-12-18 11:22:39 -050053 <!-- Starting padding for a left-aligned status bar clock -->
54 <dimen name="status_bar_left_clock_starting_padding">0dp</dimen>
55
56 <!-- End padding for left-aligned status bar clock -->
57 <dimen name="status_bar_left_clock_end_padding">7dp</dimen>
58
Anthony Chen55e8e1e2016-01-08 10:31:46 -080059 <!-- Spacing after the wifi signals that is present if there are any icons following it. -->
Evan Laird747459a2018-06-15 16:24:40 -040060 <dimen name="status_bar_wifi_signal_spacer_width">2.5dp</dimen>
Anthony Chen55e8e1e2016-01-08 10:31:46 -080061
62 <!-- Spacing before the airplane mode icon if there are any icons preceding it. -->
63 <dimen name="status_bar_airplane_spacer_width">4dp</dimen>
64
65 <!-- The amount to scale each of the status bar icons by. A value of 1 means no scaling. -->
66 <item name="status_bar_icon_scale_factor" format="float" type="dimen">1.0</item>
67
Adrian Roos6f6e1592017-05-02 16:22:53 -070068 <dimen name="group_overflow_number_size">@*android:dimen/notification_text_size</dimen>
69 <dimen name="group_overflow_number_size_dark">16sp</dimen>
70 <dimen name="group_overflow_number_padding">@*android:dimen/notification_content_margin_end</dimen>
71 <dimen name="group_overflow_number_extra_padding_dark">@*android:dimen/notification_extra_margin_ambient</dimen>
72
Selim Cineka981d082016-08-03 14:45:31 -070073 <!-- max height of a notification such that the content can still fade out when closing -->
74 <dimen name="max_notification_fadeout_height">100dp</dimen>
75
Anthony Chen1c59e9f2016-04-11 11:05:48 -070076 <!-- End margin for the RSSI status icon of a device connected via bluetooth. -->
77 <dimen name="status_bar_connected_device_signal_margin_end">16dp</dimen>
78
79 <!-- The size of a bluetooth indicator icon that displays next to the RSSI status icon. -->
80 <dimen name="status_bar_connected_device_bt_indicator_size">17dp</dimen>
81
Selim Cinek816c8e42015-11-19 12:00:45 -080082 <!-- Height of a small notification in the status bar-->
Selim Cinekafeed292017-12-12 17:32:44 -080083 <dimen name="notification_min_height">106dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040084
Selim Cinek87ed69b2017-02-09 15:59:43 -080085 <!-- Increased height of a small notification in the status bar -->
Selim Cinekafeed292017-12-12 17:32:44 -080086 <dimen name="notification_min_height_increased">146dp</dimen>
Selim Cinek7d1009b2017-01-25 15:28:28 -080087
Selim Cinek816c8e42015-11-19 12:00:45 -080088 <!-- Height of a small notification in the status bar which was used before android N -->
89 <dimen name="notification_min_height_legacy">64dp</dimen>
90
Selim Cinek9b49f6d2017-11-13 18:19:35 -080091 <!-- Height of a small notification in the status bar which was used before android P -->
92 <dimen name="notification_min_height_before_p">92dp</dimen>
93
Chris Wrenca7b7d02012-05-10 15:01:37 -040094 <!-- Height of a large notification in the status bar -->
Selim Cinekafeed292017-12-12 17:32:44 -080095 <dimen name="notification_max_height">294dp</dimen>
Daniel Sandler6a858c32012-03-12 14:38:58 -040096
Adrian Roos0aac04f2016-12-08 15:59:29 -080097 <!-- Height of an ambient notification on ambient display -->
98 <dimen name="notification_ambient_height">400dp</dimen>
99
Selim Cinek77019c72015-12-09 10:18:02 -0800100 <!-- Height of a heads up notification in the status bar for legacy custom views -->
101 <dimen name="notification_max_heads_up_height_legacy">128dp</dimen>
102
Selim Cinek9b49f6d2017-11-13 18:19:35 -0800103 <!-- Height of a heads up notification in the status bar for custom views before andoid P -->
104 <dimen name="notification_max_heads_up_height_before_p">148dp</dimen>
105
Selim Cinek77019c72015-12-09 10:18:02 -0800106 <!-- Height of a heads up notification in the status bar -->
Selim Cinekafeed292017-12-12 17:32:44 -0800107 <dimen name="notification_max_heads_up_height">162dp</dimen>
Chris Wren8fd39ec2014-02-27 17:43:26 -0500108
Selim Cinek87ed69b2017-02-09 15:59:43 -0800109 <!-- Height of a heads up notification in the status bar -->
110 <dimen name="notification_max_heads_up_height_increased">188dp</dimen>
111
Selim Cinek515b2032017-11-15 10:20:19 -0800112 <!-- Side padding on the lockscreen on the side of notifications -->
Selim Cinekb95fd182017-12-21 13:03:32 -0800113 <dimen name="notification_side_paddings">4dp</dimen>
Selim Cinek9b49f6d2017-11-13 18:19:35 -0800114
Selim Cinekaa9db1f2018-02-27 17:35:47 -0800115 <!-- padding between the heads up and the statusbar -->
116 <dimen name="heads_up_status_bar_padding">8dp</dimen>
117
Selim Cinek99e9adf2018-03-15 09:17:47 -0700118 <!-- heads up elevation that is added if the view is pinned -->
119 <dimen name="heads_up_pinned_elevation">16dp</dimen>
120
Selim Cineke62255c2017-09-28 18:23:23 -0700121 <!-- Height of a messaging notifications with actions at least. Not that this is an upper bound
122 and the notification won't use this much, but is measured with wrap_content -->
123 <dimen name="notification_messaging_actions_min_height">196dp</dimen>
124
Selim Cinek727903c2016-12-06 17:28:10 -0800125 <!-- a threshold in dp per second that is considered fast scrolling -->
126 <dimen name="scroll_fast_threshold">1500dp</dimen>
127
Selim Cinek281c2022016-10-13 19:14:43 -0700128 <!-- Height of a the shelf with the notification icons -->
129 <dimen name="notification_shelf_height">32dp</dimen>
130
Selim Cinek51d21972017-07-19 17:39:20 -0700131 <!-- Minimum height of a notification to be interactable -->
132 <dimen name="notification_min_interaction_height">40dp</dimen>
133
Selim Cinek0e8d77e2016-11-29 10:35:42 -0800134 <!-- the padding of the shelf icon container -->
Selim Cinekb95fd182017-12-21 13:03:32 -0800135 <dimen name="shelf_icon_container_padding">13dp</dimen>
Selim Cinek0e8d77e2016-11-29 10:35:42 -0800136
Selim Cinek281c2022016-10-13 19:14:43 -0700137 <!-- The padding of a notification icon on top to the start of the notification. Used for custom
138 views where the distance can't be measured -->
139 <dimen name="notification_icon_appear_padding">15dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200140
Lucas Dupinb561eda2018-04-09 17:25:04 -0700141 <!-- Vertical translation of the shelf during animation that happens after the
142 notification panel collapses -->
Lucas Dupin60661a62018-04-12 10:50:13 -0700143 <dimen name="shelf_appear_translation">42dp</dimen>
Lucas Dupinb561eda2018-04-09 17:25:04 -0700144
Lucas Dupin3d7ccaf2018-04-02 21:19:23 -0700145 <!-- Vertical translation of pulsing notification animations -->
146 <dimen name="pulsing_notification_appear_translation">10dp</dimen>
147
Selim Cinek0242fbb2016-10-19 13:38:32 -0700148 <!-- The amount the content shifts upwards when transforming into the icon -->
Selim Cinek875a3a12016-11-18 17:52:16 -0800149 <dimen name="notification_icon_transform_content_shift">32dp</dimen>
Chris Wren66757212012-05-14 10:05:42 -0400150
Selim Cinek378053a2016-12-07 15:41:28 -0800151 <!-- The padding on the bottom of the notifications on the keyguard -->
152 <dimen name="keyguard_indication_bottom_padding">12sp</dimen>
153
Selim Cinek860b6da2015-12-16 19:02:19 -0800154 <!-- Minimum layouted height of a notification in the statusbar-->
155 <dimen name="min_notification_layout_height">48dp</dimen>
156
Mady Mellor761cde12017-01-10 11:36:39 -0800157 <!-- Size of the space to place a notification menu item -->
158 <dimen name="notification_menu_icon_size">64dp</dimen>
Mady Mellorf0625802016-02-11 18:03:48 -0800159
Mady Mellor761cde12017-01-10 11:36:39 -0800160 <!-- The space around a notification menu item -->
161 <dimen name="notification_menu_icon_padding">20dp</dimen>
Mady Mellor4b80b102016-01-22 08:03:58 -0800162
Rohan Shah75bb1282018-04-30 13:50:13 -0700163 <!-- The vertical space around the buttons in the inline settings -->
164 <dimen name="notification_guts_button_spacing">6dp</dimen>
165
Rohan Shahc032ac92018-05-03 16:58:37 -0700166 <!-- Extra horizontal space for properly aligning guts buttons with the notification content -->
167 <dimen name="notification_guts_button_side_margin">8dp</dimen>
168
Rohan Shah75bb1282018-04-30 13:50:13 -0700169 <!-- The vertical padding a notification guts button has to fulfill the 48dp touch target -->
170 <dimen name="notification_guts_button_vertical_padding">14dp</dimen>
171
172 <!-- The horizontal padding for notification guts buttons-->
Rohan Shahc032ac92018-05-03 16:58:37 -0700173 <dimen name="notification_guts_button_horizontal_padding">8dp</dimen>
Rohan Shah75bb1282018-04-30 13:50:13 -0700174
175 <!-- The horizontal space around the buttons in the inline settings -->
176 <dimen name="notification_guts_button_horizontal_spacing">8dp</dimen>
Julia Reynolds437cdb12018-01-03 12:27:24 -0500177
178 <!-- The height of the header in inline settings -->
179 <dimen name="notification_guts_header_height">24dp</dimen>
180
Mady Mellor04d7a0f2017-01-25 13:16:03 -0800181 <!-- The minimum height for the snackbar shown after the snooze option has been chosen. -->
Mady Mellore09fb702017-03-30 13:23:29 -0700182 <dimen name="snooze_snackbar_min_height">56dp</dimen>
Mady Mellor04d7a0f2017-01-25 13:16:03 -0800183
184 <!-- The text size of options in the snooze menu. -->
185 <dimen name="snooze_option_text_size">14sp</dimen>
186
187 <!-- The padding around options int the snooze menu. -->
188 <dimen name="snooze_option_padding">8dp</dimen>
189
Daniel Sandler26c84b12011-07-27 00:09:40 -0400190 <!-- size at which Notification icons will be drawn in the status bar -->
Evan Laird39ea8102018-05-18 19:49:07 -0400191 <dimen name="status_bar_icon_drawing_size">15dp</dimen>
Daniel Sandler26c84b12011-07-27 00:09:40 -0400192
Adrian Roos138f0342017-04-28 09:11:28 -0700193 <!-- size at which Notification icons will be drawn on Ambient Display -->
194 <dimen name="status_bar_icon_drawing_size_dark">@*android:dimen/notification_header_icon_size_ambient</dimen>
195
Daniel Sandler26c84b12011-07-27 00:09:40 -0400196 <!-- opacity at which Notification icons will be drawn in the status bar -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200197 <item type="dimen" name="status_bar_icon_drawing_alpha">90%</item>
Daniel Sandler7c3e39d2011-07-29 16:30:49 -0400198
199 <!-- gap on either side of status bar notification icons -->
200 <dimen name="status_bar_icon_padding">0dp</dimen>
Peter Ng6ccd7a52011-08-22 16:58:43 -0700201
Selim Cinek48ff9b42016-11-09 19:31:51 -0800202 <!-- the padding on the start of the statusbar -->
203 <dimen name="status_bar_padding_start">6dp</dimen>
204
Amin Shaikh9cac3382018-04-11 17:10:07 -0400205 <!-- the padding on the end of the statusbar -->
Evan Laird17a96ba2018-05-23 18:21:56 -0400206 <dimen name="status_bar_padding_end">6dp</dimen>
Amin Shaikh9cac3382018-04-11 17:10:07 -0400207
Selim Cinek49014f82016-11-04 14:55:30 -0700208 <!-- the radius of the overflow dot in the status bar -->
Evan Lairdbaccb462018-06-01 16:29:02 -0400209 <dimen name="overflow_dot_radius">2dp</dimen>
Selim Cinek49014f82016-11-04 14:55:30 -0700210
211 <!-- the padding between dots in the icon overflow -->
212 <dimen name="overflow_icon_dot_padding">3dp</dimen>
213
Winson Chunga63bb842011-10-17 10:26:28 -0700214 <!-- The padding on the global screenshot background image -->
Winson Chung22ca0952011-10-20 19:44:32 -0700215 <dimen name="global_screenshot_bg_padding">20dp</dimen>
Winson Chunga63bb842011-10-17 10:26:28 -0700216
Jorim Jaggica8c6262014-10-27 16:53:18 +0100217 <!-- The width of the view containing navigation buttons -->
218 <dimen name="navigation_key_width">70dp</dimen>
Andrew Flynn1d9af302012-03-07 15:48:51 -0800219
Matthew Ngf1f8a432018-11-08 18:03:29 -0800220 <!-- The width/height of the icon of a navigation button -->
221 <dimen name="navigation_icon_size">32dp</dimen>
222
Jason Monka2081822016-01-18 14:41:03 -0500223 <dimen name="navigation_key_padding">0dp</dimen>
224
Jason Monkf1ff2092014-04-29 16:50:53 -0400225 <!-- The width of the view containing the menu/ime navigation bar icons -->
Jorim Jaggica8c6262014-10-27 16:53:18 +0100226 <dimen name="navigation_extra_key_width">36dp</dimen>
227
228 <!-- The padding on the side of the navigation bar. Must be greater than or equal to
229 navigation_extra_key_width -->
230 <dimen name="navigation_side_padding">36dp</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700231
Michael Jurka53f109bf2012-06-13 17:38:14 -0700232 <!-- Default distance beyond which snaps to the matching target -->
233 <dimen name="navbar_search_snap_margin">40dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700234
235 <!-- Diameter of outer shape drawable shown in navbar search-->
Jim Miller20830422012-05-15 20:46:03 -0700236 <dimen name="navbar_search_outerring_diameter">340dp</dimen>
Jim Miller354619c2012-04-27 17:33:44 -0700237
Jim Miller955a0162012-06-11 21:06:13 -0700238 <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
239 <dimen name="navbar_search_outerring_radius">170dp</dimen>
240
Jim Miller354619c2012-04-27 17:33:44 -0700241 <!-- Height of search panel including navigation bar height -->
242 <dimen name="navbar_search_panel_height">230dip</dimen>
Jim Millere898ac52012-04-06 17:10:57 -0700243
Matthew Ngca4592b2018-08-06 14:12:37 -0700244 <!-- Move the back button drawable for 3 button layout upwards in ime mode and in portrait -->
245 <dimen name="navbar_back_button_ime_offset">2dp</dimen>
246
Daniel Sandler1fac1fd2012-04-30 12:07:30 -0400247 <!-- Height of the draggable handle at the bottom of the phone notification panel -->
Daniel Sandler13522a22012-09-27 14:46:58 -0400248 <dimen name="close_handle_height">36dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400249
Daniel Sandler13522a22012-09-27 14:46:58 -0400250 <!-- Amount of close_handle that will NOT overlap the notification list -->
251 <dimen name="close_handle_underlap">32dp</dimen>
Daniel Sandlerfc753d22012-05-08 13:56:44 -0400252
Anthony Chen54daefe2017-04-07 17:19:54 -0700253 <!-- Height of the status bar header bar in the car setting. -->
254 <dimen name="car_status_bar_header_height">128dp</dimen>
255
256 <!-- The bottom padding of the status bar header. -->
257 <dimen name="status_bar_header_padding_bottom">48dp</dimen>
258
Evan Laird39254d42018-01-18 16:05:30 -0500259 <!-- The height of the container that holds the battery and time in the quick settings header.
260 -->
261 <dimen name="qs_header_system_icons_area_height">48dp</dimen>
Anthony Chen54daefe2017-04-07 17:19:54 -0700262
Evan Laird84b98952018-07-02 17:43:59 -0400263 <!-- How far the quick-quick settings panel extends below the status bar -->
264 <dimen name="qs_quick_header_panel_height">128dp</dimen>
265
Anthony Chen54daefe2017-04-07 17:19:54 -0700266 <!-- The height of the container that holds the system icons in the quick settings header in the
267 car setting. -->
268 <dimen name="car_qs_header_system_icons_area_height">54dp</dimen>
269
270 <!-- The height of the quick settings footer that holds the user switcher, settings icon,
271 etc. -->
Amin Shaikh4f3f5522018-02-13 17:55:14 -0500272 <dimen name="qs_footer_height">56dp</dimen>
Anthony Chen54daefe2017-04-07 17:19:54 -0700273
Selim Cinekd7768f42017-11-22 06:43:44 -0800274 <!-- The padding between the notifications and the quick settings container -->
Selim Cinekb95fd182017-12-21 13:03:32 -0800275 <dimen name="qs_notification_padding">@dimen/notification_side_paddings</dimen>
Selim Cinekd7768f42017-11-22 06:43:44 -0800276
Jorim Jaggid7daab72014-05-06 22:22:20 +0200277 <!-- Height of the status bar header bar when expanded -->
Jason Monke5b770e2017-03-03 21:49:29 -0500278 <dimen name="status_bar_header_height_expanded">124dp</dimen>
Daniel Sandler21b274e2012-05-02 15:07:51 -0400279
Jorim Jaggi9054d942014-05-09 22:47:28 +0200280 <!-- Height of the status bar header bar when on Keyguard -->
281 <dimen name="status_bar_header_height_keyguard">40dp</dimen>
282
Selim Cinek6ebba592016-05-31 15:28:28 -0700283 <!-- Margin start of the system icons super container -->
284 <dimen name="system_icons_super_container_margin_start">16dp</dimen>
285
Daniel Nishif79cd872016-06-27 11:44:01 -0700286 <!-- Margin end of the system icons super container when the avatar is missing. -->
287 <dimen name="system_icons_super_container_avatarless_margin_end">6dp</dimen>
288
John Spurlock7e6809a2014-08-06 16:03:14 -0400289 <!-- Width for the notification panel and related windows -->
290 <dimen name="match_parent">-1px</dimen>
Anthony Chen9fe1ee72017-04-07 13:53:37 -0700291
292 <!-- The top margin of the panel that holds the list of notifications. -->
293 <dimen name="notification_panel_margin_top">0dp</dimen>
294
295 <!-- The bottom margin of the panel that holds the list of notifications. -->
296 <dimen name="notification_panel_margin_bottom">0dp</dimen>
297
John Spurlock7e6809a2014-08-06 16:03:14 -0400298 <dimen name="notification_panel_width">@dimen/match_parent</dimen>
299
shawnlin511623c2018-05-28 16:29:08 +0800300 <dimen name="brightness_mirror_height">48dp</dimen>
Amin Shaikh6adcacc52018-02-21 15:52:36 -0500301
Anthony Chen04d1ea72017-04-21 14:30:11 -0700302 <!-- The width of the panel that holds the quick settings. -->
303 <dimen name="qs_panel_width">@dimen/notification_panel_width</dimen>
304
Julia Reynoldsc72d0f62018-04-12 15:38:54 -0400305 <dimen name="volume_dialog_panel_transparent_padding_right">8dp</dimen>
306
307 <dimen name="volume_dialog_panel_transparent_padding">20dp</dimen>
Julia Reynoldsac55e012018-03-27 11:17:30 -0400308
Beverly6cb4caf2018-05-08 11:16:02 -0400309 <dimen name="volume_dialog_stream_padding">8dp</dimen>
310
Julia Reynolds7c62c312018-02-01 17:29:33 -0500311 <!-- the amount the volume panel should be offset at the end from the view next to it (or
Julia Reynoldsee571932018-02-21 11:41:33 -0500312 the screen edge, in portrait-->
313 <dimen name="volume_dialog_base_margin">8dp</dimen>
Julia Reynolds7c62c312018-02-01 17:29:33 -0500314
Julia Reynoldsee571932018-02-21 11:41:33 -0500315 <dimen name="volume_dialog_panel_width">64dp</dimen>
Jason Monk98ad83c2017-06-13 14:03:45 -0400316
Julia Reynoldsac55e012018-03-27 11:17:30 -0400317 <dimen name="volume_dialog_slider_height">116dp</dimen>
Julia Reynoldsee571932018-02-21 11:41:33 -0500318
319 <dimen name="volume_dialog_row_height">252dp</dimen>
320
321 <dimen name="volume_dialog_ringer_size">64dp</dimen>
322
323 <dimen name="volume_dialog_tap_target_size">48dp</dimen>
324
325 <dimen name="volume_dialog_spacer">4dp</dimen>
326
Julia Reynoldsac55e012018-03-27 11:17:30 -0400327 <dimen name="volume_dialog_slider_margin_top">14dp</dimen>
Julia Reynoldsa4386752018-03-12 14:07:04 -0400328
329 <dimen name="volume_dialog_slider_margin_bottom">-2dp</dimen>
330
331 <dimen name="volume_dialog_row_margin_bottom">8dp</dimen>
332
333 <dimen name="volume_dialog_settings_icon_size">16dp</dimen>
Julia Reynoldsf5e41822018-01-23 13:55:18 -0500334
Julia Reynoldsac55e012018-03-27 11:17:30 -0400335 <dimen name="volume_dialog_elevation">9dp</dimen>
336
John Spurlock50728832014-04-17 19:05:28 -0400337 <!-- Gravity for the notification panel -->
Selim Cinek9e87cba2017-02-17 13:01:01 -0800338 <integer name="notification_panel_layout_gravity">0x31</integer><!-- center_horizontal|top -->
Chris Wrenb8ea2f52012-08-24 11:50:55 -0400339
Daniel Sandler3d32a242012-06-05 13:44:14 -0400340 <!-- Height of the carrier/wifi name label -->
341 <dimen name="carrier_label_height">24dp</dimen>
Chris Wrenb4e2c48b2012-06-15 16:51:54 -0400342
Daniel Sandler4377d142012-09-11 15:18:47 -0400343 <!-- The distance you can pull a notification before it pops open -->
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200344 <dimen name="one_finger_pop_limit">0dp</dimen>
Winson Chungd63c59782012-09-05 17:34:41 -0700345
Daniel Sandlere680f542012-09-28 12:22:27 -0400346 <!-- Minimum fraction of the screen that should be taken up by the notification panel.
347 Not used at this screen size. -->
348 <item type="dimen" name="notification_panel_min_height_frac">0%</item>
Daniel Sandler4377d142012-09-11 15:18:47 -0400349
Jorim Jaggi7f2d87c2014-04-29 22:47:53 +0200350 <dimen name="blinds_pop_threshold">0dp</dimen>
Daniel Sandler4377d142012-09-11 15:18:47 -0400351
352 <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
353 <dimen name="pull_span_min">25dp</dimen>
Daniel Sandler3679bf52012-10-16 21:30:28 -0400354
Jason Monk209e03e2017-04-11 13:57:45 -0400355 <dimen name="qs_tile_height">106dp</dimen>
Amin Shaikh50d2d1e2018-04-25 14:48:13 -0400356 <dimen name="qs_tile_layout_margin_side">6dp</dimen>
Amin Shaikhd620def2018-02-27 16:52:53 -0500357 <dimen name="qs_tile_margin_horizontal">18dp</dimen>
358 <dimen name="qs_tile_margin_vertical">24dp</dimen>
Amin Shaikh9a6fa082018-03-29 17:27:26 -0400359 <dimen name="qs_tile_margin_top_bottom">12dp</dimen>
Amin Shaikh061b36e2018-08-28 16:33:21 -0400360 <dimen name="qs_tile_margin_top_bottom_negative">-12dp</dimen>
361 <!-- The height of the qs customize header. Should be (28dp - qs_tile_margin_top_bottom). -->
362 <dimen name="qs_customize_header_min_height">40dp</dimen>
Amin Shaikh6adcacc52018-02-21 15:52:36 -0500363 <dimen name="qs_tile_margin_top">18dp</dimen>
Fabian Kozynski487e4592018-12-06 14:05:11 -0500364 <dimen name="qs_tile_background_size">40dp</dimen>
Jason Monkc133d262015-10-27 12:32:45 -0400365 <dimen name="qs_quick_tile_size">48dp</dimen>
Amin Shaikh6a298d62018-06-18 16:44:14 -0400366 <!-- Maximum width of quick quick settings panel. Defaults to MATCH_PARENT-->
367 <dimen name="qs_quick_layout_width">-1px</dimen>
Jason Monkc133d262015-10-27 12:32:45 -0400368 <dimen name="qs_quick_tile_padding">12dp</dimen>
Jason Monk98196b02016-03-14 10:33:02 -0400369 <dimen name="qs_header_gear_translation">16dp</dimen>
Fabian Kozynski71f80072018-09-05 12:39:50 -0400370 <dimen name="qs_header_tile_margin_horizontal">4dp</dimen>
Jason Monk61133972016-03-17 13:10:09 -0400371 <dimen name="qs_page_indicator_width">16dp</dimen>
372 <dimen name="qs_page_indicator_height">8dp</dimen>
John Spurlockc97010c2015-06-15 15:45:38 -0400373 <dimen name="qs_tile_icon_size">24dp</dimen>
John Spurlock4bf31982014-05-21 13:04:22 -0400374 <dimen name="qs_tile_text_size">12sp</dimen>
Fabian Kozynskie0abce02018-10-30 09:14:07 -0400375 <dimen name="qs_carrier_info_text_size">14sp</dimen>
John Spurlock4bf31982014-05-21 13:04:22 -0400376 <dimen name="qs_tile_divider_height">1dp</dimen>
377 <dimen name="qs_panel_padding">16dp</dimen>
John Spurlock39076ed2014-06-30 20:47:20 -0400378 <dimen name="qs_dual_tile_height">112dp</dimen>
379 <dimen name="qs_dual_tile_padding_vertical">8dp</dimen>
380 <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen>
Jorim Jaggic8316df2014-09-01 17:13:36 +0200381 <dimen name="qs_tile_padding_top">14dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200382 <dimen name="qs_tile_padding_top_large_text">4dp</dimen>
John Spurlock92d9b192014-06-29 12:54:24 -0400383 <dimen name="qs_tile_padding_below_icon">12dp</dimen>
384 <dimen name="qs_tile_padding_bottom">16dp</dimen>
385 <dimen name="qs_tile_spacing">4dp</dimen>
Jason Monke5b770e2017-03-03 21:49:29 -0500386 <dimen name="qs_panel_padding_bottom">0dp</dimen>
Rohan Shahd3cf7562018-02-23 11:12:28 -0800387 <dimen name="qs_panel_padding_top">30dp</dimen>
Muyuan Li0e9f5382016-04-27 15:51:15 -0700388 <dimen name="qs_detail_header_height">56dp</dimen>
389 <dimen name="qs_detail_header_padding">0dp</dimen>
Muyuan Li0e9f5382016-04-27 15:51:15 -0700390 <dimen name="qs_detail_image_width">56dp</dimen>
391 <dimen name="qs_detail_image_height">56dp</dimen>
392 <dimen name="qs_detail_image_padding">16dp</dimen>
John Spurlock7f8f22a2014-07-02 18:54:17 -0400393 <dimen name="qs_detail_item_height">48dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200394 <dimen name="qs_detail_header_text_size">20sp</dimen>
395 <dimen name="qs_detail_button_text_size">14sp</dimen>
396 <dimen name="qs_detail_item_primary_text_size">16sp</dimen>
397 <dimen name="qs_detail_item_secondary_text_size">14sp</dimen>
398 <dimen name="qs_detail_empty_text_size">14sp</dimen>
Jason Monk6573ef22016-04-06 12:37:18 -0400399 <dimen name="qs_detail_margin_top">28dp</dimen>
Muyuan Li0e9f5382016-04-27 15:51:15 -0700400 <dimen name="qs_detail_back_margin_end">16dp</dimen>
Jason Monk416addc2016-07-14 10:20:53 -0400401 <dimen name="qs_detail_header_text_padding">16dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200402 <dimen name="qs_data_usage_text_size">14sp</dimen>
403 <dimen name="qs_data_usage_usage_text_size">36sp</dimen>
Jason Monkb53b6c52016-02-24 17:25:49 -0500404 <dimen name="qs_battery_padding">2dp</dimen>
Muyuan Lia94a03d2016-06-03 13:13:08 -0700405 <dimen name="qs_detail_padding_start">16dp</dimen>
Jason Monk6573ef22016-04-06 12:37:18 -0400406 <dimen name="qs_detail_items_padding_top">4dp</dimen>
Muyuan Li72a63872016-05-14 11:35:41 -0700407 <dimen name="qs_detail_item_icon_size">24dp</dimen>
jackqdyulei98b7fdb2017-09-06 16:38:23 -0700408 <dimen name="qs_detail_item_icon_width">32dp</dimen>
Muyuan Li72a63872016-05-14 11:35:41 -0700409 <dimen name="qs_detail_item_icon_marginStart">0dp</dimen>
410 <dimen name="qs_detail_item_icon_marginEnd">20dp</dimen>
Rohan Shahd3cf7562018-02-23 11:12:28 -0800411 <dimen name="qs_header_tooltip_height">18dp</dimen>
412 <dimen name="qs_header_alarm_icon_size">18dp</dimen>
413 <dimen name="qs_header_alarm_text_margin_start">6dp</dimen>
phweiss4f70f102017-04-12 19:32:55 +0200414 <dimen name="qs_footer_padding_start">16dp</dimen>
Amin Shaikh06c2e8f2018-04-10 10:56:46 -0400415 <dimen name="qs_footer_padding_end">16dp</dimen>
phweiss4f70f102017-04-12 19:32:55 +0200416 <dimen name="qs_footer_icon_size">16dp</dimen>
Rohan Shah3090e792018-04-12 00:01:00 -0400417 <dimen name="qs_paged_tile_layout_padding_bottom">24dp</dimen>
Muyuan Li72a63872016-05-14 11:35:41 -0700418
Jason Monk231b0522018-01-04 10:49:55 -0500419 <dimen name="qs_notif_collapsed_space">64dp</dimen>
420
Muyuan Li72a63872016-05-14 11:35:41 -0700421 <!-- Desired qs icon overlay size. -->
422 <dimen name="qs_detail_icon_overlay_size">24dp</dimen>
Chris Wren0f2aa682013-08-02 12:03:02 -0400423
John Spurlockfbc1fdf82015-05-08 18:16:54 -0400424 <dimen name="segmented_button_spacing">0dp</dimen>
John Spurlockbb4a7022014-11-08 12:40:19 -0500425 <dimen name="borderless_button_radius">2dp</dimen>
John Spurlockae641c92014-06-30 18:11:40 -0400426
Sudheer Shanka1c7cda82015-12-31 14:46:02 +0000427 <dimen name="restricted_padlock_pading">4dp</dimen>
428
Jorim Jaggif62f2bb2014-05-25 22:28:41 +0200429 <!-- How far the expanded QS panel peeks from the header in collapsed state. -->
Jason Monkdc35dcb2015-12-04 16:36:15 -0500430 <dimen name="qs_peek_height">0dp</dimen>
Jorim Jaggif62f2bb2014-05-25 22:28:41 +0200431
phweiss9e450e12016-12-02 14:31:04 +0100432 <!-- How large the icons in the quick settings footer dialog are -->
433 <dimen name="qs_footer_dialog_icon_size">24sp</dimen>
434 <!-- Left and right margin of the icons -->
435 <dimen name="qs_footer_dialog_icon_margin">8sp</dimen>
phweiss0330f882017-04-19 20:14:51 +0200436 <!-- Padding between subtitles and the following text in the QSFooter dialog -->
437 <dimen name="qs_footer_dialog_subtitle_padding">20dp</dimen>
phweiss9e450e12016-12-02 14:31:04 +0100438
Amin Shaikh6adcacc52018-02-21 15:52:36 -0500439 <dimen name="seek_bar_height">3dp</dimen>
440 <dimen name="seek_bar_corner_radius">3dp</dimen>
441
John Spurlock3e077012014-11-29 13:22:21 -0500442 <!-- Zen mode panel: condition item button padding -->
John Spurlock86005342014-05-23 11:58:00 -0400443 <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen>
John Spurlock86005342014-05-23 11:58:00 -0400444
John Spurlock3e077012014-11-29 13:22:21 -0500445 <!-- Zen mode panel: spacing between condition items -->
446 <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen>
447
448 <!-- Zen mode panel: spacing between two-line condition upper and lower lines -->
449 <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen>
450
451 <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding -->
452 <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen>
453
Daniel Sandler8475a742013-09-26 00:24:57 -0400454 <!-- used by DessertCase -->
455 <dimen name="dessert_case_cell_size">192dp</dimen>
John Spurlock74d24802013-12-02 17:14:51 -0500456
457 <!-- Default glow radius for GlowPadView -->
458 <dimen name="glowpadview_glow_radius">75dip</dimen>
459
460 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
461 <dimen name="glowpadview_inner_radius">15dip</dimen>
Winson Chung37c8d8e2014-03-24 14:53:07 -0700462
Selim Cinek67b22602014-03-10 15:40:16 +0100463 <!-- Z distance between notifications if they are in the stack -->
Selim Cinek277a8aa2016-01-22 12:12:37 -0800464 <dimen name="z_distance_between_notifications">0.5dp</dimen>
Selim Cinek67b22602014-03-10 15:40:16 +0100465
Selim Cinekcacc6042016-01-21 16:16:41 -0800466 <!-- The height of the divider between the individual notifications. -->
467 <dimen name="notification_divider_height">0.5dp</dimen>
Jorim Jaggife40f7d2014-04-28 15:20:04 +0200468
Anthony Chen9fe1ee72017-04-07 13:53:37 -0700469 <!-- The corner radius of the shadow behind the notification. -->
470 <dimen name="notification_shadow_radius">0dp</dimen>
471
Anthony Chen6bf88a02017-04-10 14:41:44 -0700472 <!-- The alpha of the dividing line between child notifications of a notification group. -->
473 <item name="notification_divider_alpha" format="float" type="dimen">0.5</item>
474
475 <!-- The height of the divider between the individual notifications in a notification
476 group. -->
477 <dimen name="notification_children_container_divider_height">@dimen/notification_divider_height</dimen>
478
Anthony Chen6bf88a02017-04-10 14:41:44 -0700479 <!-- The top margin for the notification children container in its non-expanded form. -->
480 <dimen name="notification_children_container_margin_top">@*android:dimen/notification_content_margin_top</dimen>
481
Mady Mellorb0a82462016-04-30 17:31:02 -0700482 <!-- The height of a notification header -->
483 <dimen name="notification_header_height">53dp</dimen>
484
Selim Cinek61633a82016-01-25 15:54:10 -0800485 <!-- The height of the divider between the individual notifications when the notification wants it to be increased. This is currently the case for notification groups -->
486 <dimen name="notification_divider_height_increased">6dp</dimen>
487
Gus Prevase2d6f042018-10-17 15:25:30 -0400488 <!-- The height of the gap between adjacent notification sections. -->
489 <dimen name="notification_section_divider_height">@dimen/notification_side_paddings</dimen>
490
Selim Cinek1408eb52014-06-02 14:45:38 +0200491 <!-- The minimum amount of top overscroll to go to the quick settings. -->
492 <dimen name="min_top_overscroll_to_qs">36dp</dimen>
493
Selim Cinek1e119db2014-06-11 20:03:14 +0200494 <!-- The height of the speed bump view. -->
495 <dimen name="speed_bump_height">16dp</dimen>
Selim Cinekc27437b2014-05-14 10:23:33 +0200496
Selim Cinek19c8c702014-08-25 22:09:19 +0200497 <!-- Lockscreen unlocking falsing threshold. -->
Selim Cinek5386fb32014-09-03 16:37:36 +0200498 <dimen name="unlock_falsing_threshold">80dp</dimen>
Selim Cinek19c8c702014-08-25 22:09:19 +0200499
500 <!-- Lockscreen falsing threshold for quick settings. -->
Selim Cinekff3bf4b2015-05-29 05:39:08 -0700501 <dimen name="qs_falsing_threshold">60dp</dimen>
Selim Cinek19c8c702014-08-25 22:09:19 +0200502
503 <!-- Falsing threshold used when dismissing notifications from the lockscreen. -->
Selim Cinek5386fb32014-09-03 16:37:36 +0200504 <dimen name="swipe_helper_falsing_threshold">70dp</dimen>
John Spurlock73203eb2014-04-15 16:14:46 -0400505
Jorim Jaggiecbab362014-04-23 16:13:15 +0200506 <!-- Minimum distance the user has to drag down to go to the full shade. -->
507 <dimen name="keyguard_drag_down_min_distance">100dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200508
Lucas Dupin41ff6952018-02-18 19:39:32 -0800509 <!-- The margin between the clock and the notifications on Keyguard.-->
Lucas Dupind285cf02018-01-18 09:18:23 -0800510 <dimen name="keyguard_clock_notifications_margin">30dp</dimen>
Lucas Dupinbc9aac12018-03-04 20:18:15 -0800511 <!-- Minimum margin between clock and status bar -->
512 <dimen name="keyguard_clock_top_margin">36dp</dimen>
Jorim Jaggi069cd032014-05-15 03:09:01 +0200513
Anthony Chen3cb3ad92016-12-01 10:58:47 -0800514 <item name="scrim_behind_alpha" format="float" type="dimen">0.62</item>
515
Selim Cinek4c6969a2014-05-26 19:22:17 +0200516 <!-- The minimum amount the user needs to swipe to go to the camera / phone. -->
Selim Cinek1dc40652014-11-12 17:53:52 +0100517 <dimen name="keyguard_min_swipe_amount">110dp</dimen>
Selim Cinek4c6969a2014-05-26 19:22:17 +0200518
Selim Cinekbaa23272014-07-08 18:01:07 +0200519 <!-- The minimum background radius when swiping to a side for the camera / phone affordances. -->
520 <dimen name="keyguard_affordance_min_background_radius">30dp</dimen>
521
Selim Cinek6746c282015-04-21 19:58:31 -0700522 <!-- The size of the touch targets on the keyguard for the affordances. -->
Selim Cinek60d30d62015-06-01 18:06:00 +0200523 <dimen name="keyguard_affordance_touch_target_size">120dp</dimen>
Selim Cinek6746c282015-04-21 19:58:31 -0700524
Selim Cinekbaa23272014-07-08 18:01:07 +0200525 <!-- The grow amount for the camera and phone circles when hinting -->
526 <dimen name="hint_grow_amount_sideways">60dp</dimen>
527
Jorim Jaggi457cc352014-06-02 22:47:42 +0200528 <!-- Distance between notifications and header when they are considered to be colliding. -->
Jorim Jaggi3afddce2014-08-14 20:44:43 +0200529 <dimen name="header_notifications_collide_distance">48dp</dimen>
Jorim Jaggi457cc352014-06-02 22:47:42 +0200530
Jorim Jaggi8dd95e02014-06-03 16:19:33 +0200531 <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the
532 device. -->
533 <dimen name="unlock_move_distance">75dp</dimen>
534
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200535 <!-- Move distance for the unlock hint animation on the lockscreen -->
Jorim Jaggi90129582014-06-02 14:44:49 +0200536 <dimen name="hint_move_distance">75dp</dimen>
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200537
Jorim Jaggib3f0a2f2014-06-02 19:29:39 +0200538 <!-- The width of the region on the left/right edge of the screen for performing the camera/
539 phone hints. -->
540 <dimen name="edge_tap_area_width">48dp</dimen>
Jorim Jaggi80f5e3c2014-06-10 22:03:48 +0200541
Selim Cinek7b836392015-12-04 20:02:59 -0800542 <!-- The padding between notification children when collapsed -->
543 <dimen name="notification_children_padding">4dp</dimen>
544
545 <!-- The padding on top of the first notification to the children container -->
546 <dimen name="notification_children_container_top_padding">8dp</dimen>
Selim Cinekb5605e52015-02-20 18:21:41 +0100547
Jorim Jaggi129e7ac2014-06-10 22:03:48 +0200548 <!-- end margin for multi user switch in expanded quick settings -->
549 <dimen name="multi_user_switch_expanded_margin">8dp</dimen>
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700550
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200551 <!-- end margin for multi user switch in collapsed quick settings -->
552 <dimen name="multi_user_switch_collapsed_margin">13dp</dimen>
553
554 <!-- end margin for multi user switch in collapsed quick settings -->
555 <dimen name="multi_user_switch_keyguard_margin">3dp</dimen>
556
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700557 <!-- end margin for system icons if multi user switch is hidden -->
558 <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen>
559
560 <!-- The thickness of the colored border around the current user. -->
561 <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen>
562
John Spurlock5e9049a2014-07-08 23:40:46 -0400563 <dimen name="data_usage_graph_marker_width">4dp</dimen>
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200564
565 <!-- The padding bottom of the clock group when QS is expanded. -->
566 <dimen name="clock_expanded_bottom_margin">20dp</dimen>
567
Jorim Jaggic7dea6e2014-07-26 14:36:57 +0200568 <!-- The padding bottom of the clock group when QS is collapsed. -->
569 <dimen name="clock_collapsed_bottom_margin">10dp</dimen>
570
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200571 <!-- The padding bottom of the clock group when QS is collapsed for large text -->
572 <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen>
573
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200574 <!-- The width of the multi user switch on keyguard and collapsed QS header. -->
575 <dimen name="multi_user_switch_width_collapsed">34dp</dimen>
576
577 <!-- The width of the multi user switch in expanded QS header. -->
578 <dimen name="multi_user_switch_width_expanded">48dp</dimen>
579
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200580 <!-- The width of user avatar when on Keyguard -->
581 <dimen name="multi_user_switch_width_keyguard">34dp</dimen>
582
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200583 <!-- The width of user avatar when collapsed -->
584 <dimen name="multi_user_avatar_collapsed_size">22dp</dimen>
585
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200586 <!-- The width of user avatar when on Keyguard -->
587 <dimen name="multi_user_avatar_keyguard_size">22dp</dimen>
588
Adrian Roos2b154a92014-11-17 15:18:39 +0100589 <!-- The width of user avatar when expanded -->
Amin Shaikh4f3f5522018-02-13 17:55:14 -0500590 <dimen name="multi_user_avatar_expanded_size">18dp</dimen>
Adrian Roos2b154a92014-11-17 15:18:39 +0100591
Jorim Jaggi3f48f462014-07-08 16:53:29 +0200592 <!-- The font size of the time when collapsed in QS -->
593 <dimen name="qs_time_collapsed_size">14sp</dimen>
Jorim Jaggi362dd6d2014-07-09 19:04:07 +0200594
595 <!-- The font size of the time when expanded in QS -->
Jason Monk32508852017-01-18 09:17:13 -0500596 <dimen name="qs_time_expanded_size">14sp</dimen>
Jorim Jaggid4aafe92014-07-10 21:00:57 +0200597
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200598 <!-- The font size of the "emergency calls only" label in QS -->
599 <dimen name="qs_emergency_calls_only_text_size">12sp</dimen>
600
601 <!-- The font size of the date in QS -->
602 <dimen name="qs_date_collapsed_size">14sp</dimen>
Jason Monkf25e6a12016-07-13 14:45:52 -0400603 <!-- Amount the date/time move when emergency calls only is present -->
604 <dimen name="qs_date_time_translation">8dp</dimen>
Jorim Jaggie17c4b42014-08-26 17:27:31 +0200605
Dan Sandlerdf14c202017-02-21 14:51:11 -0500606 <!-- Padding before battery level text in status bar, QS, and Keyguard -->
607 <dimen name="battery_level_padding_start">4dp</dimen>
Dan Sandler4d75c072014-07-17 16:01:28 -0400608
Dan Sandlereceda3d2014-07-21 15:35:01 -0400609 <!-- The top padding of the clear all button -->
Jorim Jaggi2ae259d2014-08-04 23:35:47 +0200610 <dimen name="clear_all_padding_top">12dp</dimen>
Dan Sandlereceda3d2014-07-21 15:35:01 -0400611
Dan Sandler4d75c072014-07-17 16:01:28 -0400612 <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or
613 quick settings header -->
614 <dimen name="max_avatar_size">48dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200615
Evan Roskyaa7f51f2016-03-16 13:15:53 -0700616 <!-- Size of user icon + frame in the qs/keyguard user picker (incl. frame) -->
617 <dimen name="framed_avatar_size">54dp</dimen>
618
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200619 <!-- Margin on the left side of the carrier text on Keyguard -->
620 <dimen name="keyguard_carrier_text_margin">16dp</dimen>
621
622 <!-- Margin on the left side of the battery % in the header. -->
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200623 <dimen name="header_battery_margin_expanded">6dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +0200624
625 <!-- Margin on the left side of the battery % when on Keyguard. -->
626 <dimen name="header_battery_margin_keyguard">6dp</dimen>
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200627
Jorim Jaggi5172dc22014-09-02 14:59:06 +0200628 <!-- Margin on the right side of the system icon group on Keyguard. -->
629 <dimen name="system_icons_keyguard_padding_end">4dp</dimen>
630
Jorim Jaggi60d07c52014-07-31 15:38:21 +0200631 <!-- Additional translation (downwards) for appearing notifications when going to the full shade
632 from Keyguard. -->
633 <dimen name="go_to_full_shade_appearing_translation">200dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200634
Selim Cinek92d892c2014-09-11 15:11:00 +0200635 <!-- The diameter of the search panel circle. -->
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700636 <dimen name="assist_orb_size">144dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200637
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700638 <!-- The margin to the edge of the screen from where the orb starts to appear -->
639 <dimen name="assist_orb_base_margin">22dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200640
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700641 <!-- The amount the orb translates when appearing -->
642 <dimen name="assist_orb_travel_distance">26dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200643
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700644 <!-- The elevation of the orb -->
645 <dimen name="assist_orb_elevation">12dp</dimen>
Selim Cinek92d892c2014-09-11 15:11:00 +0200646
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700647 <!-- The height of the scrim behind the orb. -->
648 <dimen name="assist_orb_scrim_height">250dp</dimen>
Jorim Jaggif4797922014-08-04 22:49:41 +0200649
Jorim Jaggi2fdeeab2015-04-01 15:13:03 -0700650 <!-- The height of the scrim behind the search panel circle. Should be navigation_bar_height
651 + 8dp. -->
652 <dimen name="assist_orb_navbar_scrim_height">56dp</dimen>
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200653
Adrian Roos72cc3702014-09-18 17:25:09 +0200654 <!-- The width/height of the phone/camera/unlock icon view on keyguard. -->
Jorim Jaggi9cf1f372014-08-05 19:17:42 +0200655 <dimen name="keyguard_affordance_height">56dp</dimen>
656 <dimen name="keyguard_affordance_width">56dp</dimen>
Jorim Jaggie210cc82014-08-12 23:44:59 +0200657
658 <dimen name="keyguard_indication_margin_bottom">65dp</dimen>
659
660 <!-- The text size for battery level -->
661 <dimen name="battery_level_text_size">12sp</dimen>
Adrian Roos2e3ccbb2014-08-19 22:23:37 +0200662
663 <!-- TrustDrawable: Minimum inner radius of the breathing animation -->
664 <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen>
665 <!-- TrustDrawable: Maximum inner radius of the breathing animation -->
666 <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen>
667 <!-- TrustDrawable: Inner radius at the end of the exit animation -->
668 <dimen name="trust_circle_inner_radius_exit">38dp</dimen>
669 <!-- TrustDrawable: Inner radius at the beginning of the enter animation -->
670 <dimen name="trust_circle_inner_radius_enter">18dp</dimen>
671 <!-- TrustDrawable: Thickness of the circle -->
672 <dimen name="trust_circle_thickness">2dp</dimen>
673
Adrian Roos9f0b0022016-11-09 15:56:50 -0800674 <!-- How much two taps can be apart to still be recognized as a double tap on the lockscreen -->
675 <dimen name="double_tap_slop">32dp</dimen>
676
Jorim Jaggia0221f32014-09-03 16:29:39 +0200677 <dimen name="battery_margin_bottom">0dp</dimen>
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200678
Anthony Chene87032c2016-02-09 07:42:25 -0800679 <!-- Padding at the end of the view that displays the mobile signal icons. If the view is
680 empty, then this padding will not be added to that view. -->
681 <dimen name="mobile_signal_group_end_padding">0dp</dimen>
682
683 <!-- Padding between the mobile data type and the strength indicator. -->
684 <dimen name="mobile_data_icon_start_padding">0dp</dimen>
685
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200686 <!-- Extra padding between the mobile data type icon and the strength indicator when the data
687 type icon is wide. -->
688 <dimen name="wide_type_icon_start_padding">2dp</dimen>
689
Amin Shaikhd8f546f2018-03-08 11:20:41 -0500690 <!-- Padding between the mobile signal indicator and the start icon when the roaming icon
691 is displayed in the upper left corner. -->
692 <dimen name="roaming_icon_start_padding">2dp</dimen>
693
Jason Monkb5746272014-11-12 16:50:31 -0500694 <!-- Extra padding between multiple phone signal icons. -->
695 <dimen name="secondary_telephony_padding">2dp</dimen>
696
Jorim Jaggic737b9b2014-09-08 23:57:20 +0200697 <!-- Extra padding between the mobile data type icon and the strength indicator when the data
698 type icon is wide for the tile in quick settings. -->
699 <dimen name="wide_type_icon_start_padding_qs">3dp</dimen>
Jorim Jaggi072707d2014-09-15 17:20:08 +0200700
Rohan Shah28191fc2018-01-16 14:28:55 -0800701 <dimen name="signal_indicator_to_icon_frame_spacing">3dp</dimen>
702
Jorim Jaggi072707d2014-09-15 17:20:08 +0200703 <!-- The maximum width of the navigation bar ripples. -->
704 <dimen name="key_button_ripple_max_width">95dp</dimen>
Xiyuan Xia1b30f792016-01-06 08:50:30 -0800705
Jorim Jaggicb557032014-09-16 23:09:24 +0200706 <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card
707 and the shadow. -->
708 <dimen name="fake_shadow_inset">1dp</dimen>
709
710 <dimen name="fake_shadow_size">8dp</dimen>
Jorim Jaggi6d035f12014-10-17 18:43:43 +0200711
Anthony Chen55e8e1e2016-01-08 10:31:46 -0800712 <!-- Starting margin before the signal cluster -->
713 <dimen name="signal_cluster_margin_start">2.5dp</dimen>
714
Jorim Jaggi6d035f12014-10-17 18:43:43 +0200715 <!-- Padding between signal cluster and battery icon -->
Amin Shaikh6e436792018-03-22 14:33:08 -0400716 <dimen name="signal_cluster_battery_padding">6dp</dimen>
Jorim Jaggi6d035f12014-10-17 18:43:43 +0200717
718 <!-- Padding for signal cluster and battery icon when there are not icons in signal cluster -->
719 <dimen name="no_signal_cluster_battery_padding">3dp</dimen>
Jason Monk18f99d92014-09-11 13:36:42 -0400720
721 <!-- Screen pinning request width -->
722 <dimen name="screen_pinning_request_width">@dimen/match_parent</dimen>
723 <!-- Screen pinning request nav button circle heights -->
724 <dimen name="screen_pinning_request_button_height">66dp</dimen>
725 <!-- Screen pinning request nav button circle widths -->
726 <dimen name="screen_pinning_request_button_width">84dp</dimen>
727 <!-- Screen pinning request padding on top of inner circle -->
728 <dimen name="screen_pinning_request_inner_padding">14dp</dimen>
Jason Monke763a262017-03-28 16:25:08 -0400729 <!-- Screen pinning request seascape negative padding -->
730 <dimen name="screen_pinning_request_seascape_padding_negative">-18dp</dimen>
731 <!-- Screen pinning request seascape button offset -->
732 <dimen name="screen_pinning_request_seascape_button_offset">-4dp</dimen>
Jason Monk18f99d92014-09-11 13:36:42 -0400733 <!-- Screen pinning request padding on top of icons -->
734 <dimen name="screen_pinning_request_nav_icon_padding">18dp</dimen>
735 <!-- Screen pinning request padding on side of icons
736 (makes the width match the nav bar)-->
737 <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen>
738 <!-- Screen pinning request side views to match nav bar
739 navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width
740 - navigation_key_width) -->
741 <dimen name="screen_pinning_request_side_width">34dp</dimen>
742 <!-- Screen pinning request controls padding on bigger screens -->
743 <dimen name="screen_pinning_request_frame_padding">0dp</dimen>
744 <!-- Screen pinning inner nav bar circle size -->
745 <dimen name="screen_pinning_nav_highlight_size">56dp</dimen>
746 <!-- Screen pinning inner nav bar outer circle size -->
747 <dimen name="screen_pinning_nav_highlight_outer_size">84dp</dimen>
748
Jorim Jaggi27c9b742015-04-09 10:34:49 -0700749 <!-- Padding to be used on the bottom of the fingerprint icon on Keyguard so it better aligns
750 with the other icons. -->
Jorim Jaggi29cf9ae2015-07-17 12:00:34 -0700751 <dimen name="fingerprint_icon_additional_padding">4dp</dimen>
Jorim Jaggi6d4a27f2015-04-20 16:01:53 -0700752
753 <!-- Minimum margin of the notification panel on the side, when being positioned dynamically -->
754 <dimen name="notification_panel_min_side_margin">48dp</dimen>
John Spurlockd9c75db2015-04-28 11:19:13 -0400755
756 <!-- Vertical spacing between multiple volume slider rows -->
757 <dimen name="volume_slider_interspacing">8dp</dimen>
758
759 <!-- Volume dialog vertical offset from the top of the screen -->
760 <dimen name="volume_offset_top">0dp</dimen>
761
762 <!-- Standard image button size for volume dialog buttons -->
763 <dimen name="volume_button_size">48dp</dimen>
Kenny Guy63bf8ac2015-06-18 15:09:09 +0100764
John Spurlock22def3d2015-06-17 11:56:12 -0400765 <!-- Volume dialog root view bottom margin, at rest -->
766 <dimen name="volume_dialog_margin_bottom">4dp</dimen>
Julia Reynolds027c7492017-02-15 15:41:14 -0500767 <dimen name="volume_dialog_padding_top">8dp</dimen>
Julia Reynolds5f83c852016-06-15 12:53:31 -0400768 <dimen name="volume_dialog_padding_end">40dp</dimen>
769
770 <dimen name="volume_row_padding_bottom">9.4dp</dimen>
771 <dimen name="volume_row_padding_start">4dp</dimen>
772 <dimen name="volume_row_header_padding_start">16dp</dimen>
773 <dimen name="volume_row_height">64dp</dimen>
774 <dimen name="volume_row_slider_height">48dp</dimen>
775 <dimen name="volume_row_slider_padding_start">12dp</dimen>
776
777 <dimen name="volume_expander_margin_end">2dp</dimen>
778 <dimen name="volume_expander_margin_top">6dp</dimen>
John Spurlock22def3d2015-06-17 11:56:12 -0400779
Adrian Roos4f43dc02015-06-17 16:43:38 -0700780 <!-- Thickness of the assist disclosure beams -->
Jorim Jaggieea8be52015-07-14 12:44:12 -0700781 <dimen name="assist_disclosure_thickness">2.5dp</dimen>
Adrian Roos4f43dc02015-06-17 16:43:38 -0700782
783 <!-- Thickness of the shadows of the assist disclosure beams -->
784 <dimen name="assist_disclosure_shadow_thickness">1.5dp</dimen>
Jason Monk2681dcb2015-09-09 13:50:34 -0400785
786 <dimen name="fab_size">56dp</dimen>
787 <dimen name="fab_margin">16dp</dimen>
788 <dimen name="fab_elevation">12dp</dimen>
789 <dimen name="fab_press_translation_z">9dp</dimen>
Jason Monkc34befb2015-10-07 16:40:02 -0400790
Jorim Jaggi1fcbab62015-11-04 16:39:50 +0100791 <!-- How high we lift the divider when touching -->
Jorim Jaggi79b39f02015-12-17 20:04:31 -0800792 <dimen name="docked_stack_divider_lift_elevation">4dp</dimen>
Jorim Jaggi1fcbab62015-11-04 16:39:50 +0100793
Jorim Jaggi79b39f02015-12-17 20:04:31 -0800794 <dimen name="docked_divider_handle_width">16dp</dimen>
Jorim Jaggi1fcbab62015-11-04 16:39:50 +0100795 <dimen name="docked_divider_handle_height">2dp</dimen>
Jason Monkeae7c312016-02-04 13:00:48 -0500796
Jason Monk96ab6362016-02-11 11:33:09 -0500797 <dimen name="battery_detail_graph_space_top">27dp</dimen>
798 <dimen name="battery_detail_graph_space_bottom">27dp</dimen>
Andrei Stingaceanu844927d2016-02-16 14:31:58 +0000799
800 <!-- Keyboard shortcuts helper -->
801 <dimen name="ksh_layout_width">@dimen/match_parent</dimen>
Andrei Stingaceanud1519102016-03-31 15:53:33 +0100802 <dimen name="ksh_item_text_size">14sp</dimen>
803 <dimen name="ksh_item_padding">4dp</dimen>
804 <dimen name="ksh_item_margin_start">4dp</dimen>
Winson59924fe2016-03-17 14:13:18 -0700805
Tracy Zhou559d97c2018-04-07 23:54:46 -0700806 <!-- The size of corner radius of the arrow in the onboarding toast. -->
807 <dimen name="recents_onboarding_toast_arrow_corner_radius">2dp</dimen>
Tracy Zhou54974452018-05-25 00:04:57 -0700808 <!-- The start margin of quick scrub onboarding toast. -->
809 <dimen name="recents_quick_scrub_onboarding_margin_start">8dp</dimen>
Tracy Zhou559d97c2018-04-07 23:54:46 -0700810
Mady Mellor60421c92017-03-29 15:27:37 -0700811 <!-- The height of the gradient indicating the dismiss edge when moving a PIP. -->
Mady Mellord3e90ea2017-05-09 13:20:56 -0700812 <dimen name="pip_dismiss_gradient_height">176dp</dimen>
Mady Mellor60421c92017-03-29 15:27:37 -0700813
814 <!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. -->
Mady Mellorb91efb82017-04-13 17:20:15 -0700815 <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen>
Manu Cornetc7338032016-12-13 17:32:20 +0000816
Mady Mellora7f69742017-02-03 11:00:20 -0800817 <!-- The shortest-edge size of the expanded PiP. -->
818 <dimen name="pip_expanded_shortest_edge_size">160dp</dimen>
819
Winson Chung136d1ec82017-07-18 11:16:30 -0700820 <!-- The additional offset to apply to the IME animation to account for the input field. -->
821 <dimen name="pip_ime_offset">48dp</dimen>
822
Mady Mellora7f69742017-02-03 11:00:20 -0800823 <!-- The padding between actions in the PiP in landscape Note that the PiP does not reflect
824 the configuration of the device, so we can't use -land resources. -->
825 <dimen name="pip_between_action_padding_land">8dp</dimen>
826
Winson Chunge7a3d222017-03-09 13:26:45 -0800827 <!-- The height of the PiP actions container in which the actions are vertically centered. -->
828 <dimen name="pip_action_size">48dp</dimen>
829
830 <!-- The padding around a PiP actions. -->
831 <dimen name="pip_action_padding">12dp</dimen>
832
833 <!-- The bottom margin of the expand container when there are actions.
834 Equal to pip_action_size - pip_action_padding. -->
Winson Chung9a352b62017-05-11 15:24:13 -0700835 <dimen name="pip_expand_container_edge_margin">30dp</dimen>
Winson Chunge7a3d222017-03-09 13:26:45 -0800836
Jason Monke5b770e2017-03-03 21:49:29 -0500837 <dimen name="default_gear_space">18dp</dimen>
838 <dimen name="cell_overlay_padding">18dp</dimen>
839
Jason Monk4e04e492017-07-11 11:07:08 -0400840 <dimen name="global_actions_panel_width">120dp</dimen>
Jason Monk16fbd9d2017-04-27 14:28:49 -0400841
Jason Monk4e04e492017-07-11 11:07:08 -0400842 <dimen name="global_actions_top_padding">120dp</dimen>
Jason Monk16fbd9d2017-04-27 14:28:49 -0400843
Wesley.CW Wang3004fcb2018-06-15 16:24:57 +0800844 <dimen name="global_actions_padding">12dp</dimen>
845
846 <dimen name="global_actions_translate">9dp</dimen>
847
Lucas Dupin039951e2018-06-27 11:44:57 -0700848 <!-- The maximum offset in either direction that elements are moved horizontally to prevent
849 burn-in on AOD. -->
Adrian Roos4fc6de82017-06-01 16:09:15 -0700850 <dimen name="burn_in_prevention_offset_x">8dp</dimen>
851
Lucas Dupin039951e2018-06-27 11:44:57 -0700852 <!-- The maximum offset in either direction that elements are moved vertically to prevent
853 burn-in on AOD. -->
Adrian Roos4fc6de82017-06-01 16:09:15 -0700854 <dimen name="burn_in_prevention_offset_y">50dp</dimen>
855
Lucas Dupin7da4f262018-09-20 13:41:46 -0700856 <!-- The maximum offset in either direction that icons move to prevent burn-in on AOD. -->
Lucas Dupin23a8d3b2018-10-08 20:57:35 -0700857 <dimen name="default_burn_in_prevention_offset">15dp</dimen>
Lucas Dupin039951e2018-06-27 11:44:57 -0700858
Alison Cichowlas3be52db2018-03-06 19:48:06 -0500859 <dimen name="corner_size">8dp</dimen>
Jason Monk16fbd9d2017-04-27 14:28:49 -0400860 <dimen name="top_padding">0dp</dimen>
861 <dimen name="bottom_padding">48dp</dimen>
Alison Cichowlase1bdc392018-04-19 18:19:58 -0400862 <dimen name="edge_margin">8dp</dimen>
Jason Monkd4afe152017-05-01 15:37:43 -0400863
Jason Monkd9c6ced2017-08-30 17:35:27 -0400864 <dimen name="rounded_corner_content_padding">0dp</dimen>
865 <dimen name="nav_content_padding">0dp</dimen>
Winson Chung661d5f92018-05-21 18:41:39 -0700866 <dimen name="nav_quick_scrub_track_edge_padding">24dp</dimen>
Winson Chung4baf1242018-05-24 14:21:57 -0700867 <dimen name="nav_quick_scrub_track_thickness">10dp</dimen>
Jason Monkd4afe152017-05-01 15:37:43 -0400868
Matthew Ngeb5ce832018-05-15 17:50:37 -0700869 <!-- Navigation bar shadow params. -->
870 <dimen name="nav_key_button_shadow_offset_x">0dp</dimen>
871 <dimen name="nav_key_button_shadow_offset_y">1dp</dimen>
872 <dimen name="nav_key_button_shadow_radius">0.5dp</dimen>
Jason Monk3c9ac1e2017-08-31 10:50:05 -0400873
Milo Sredkov6d23a052018-04-30 10:57:05 +0100874 <!-- Smart reply button. Total height 48dp, visible height 32dp. -->
Petr Cermaked7429c2017-12-18 19:38:04 +0000875 <dimen name="smart_reply_button_spacing">8dp</dimen>
Milo Sredkov6d23a052018-04-30 10:57:05 +0100876 <dimen name="smart_reply_button_padding_vertical">14dp</dimen>
877 <!-- Note: The following two paddings need to be different until b/78876518 is fixed. -->
878 <dimen name="smart_reply_button_padding_horizontal_single_line">20dp</dimen>
879 <dimen name="smart_reply_button_padding_horizontal_double_line">19dp</dimen>
880 <dimen name="smart_reply_button_min_height">48dp</dimen>
Kenny Guy14d035c2018-05-02 19:10:36 +0100881 <dimen name="smart_reply_button_stroke_width">1dp</dimen>
Petr Cermaked7429c2017-12-18 19:38:04 +0000882 <dimen name="smart_reply_button_font_size">14sp</dimen>
Petr Cermak102431d2018-01-29 10:36:07 +0000883 <dimen name="smart_reply_button_line_spacing_extra">6sp</dimen> <!-- Total line height 20sp. -->
Gustav Senntonc726f472018-12-04 11:57:06 +0000884 <dimen name="smart_action_button_icon_size">24dp</dimen>
Gustav Senntoneab53682018-11-01 16:30:23 +0000885 <dimen name="smart_action_button_icon_padding">10dp</dimen>
Kevin Chyn42653e82018-01-19 14:15:46 -0800886
Milo Sredkove7cf4982018-04-09 15:08:26 +0100887 <!-- A reasonable upper bound for the height of the smart reply button. The measuring code
888 needs to start with a guess for the maximum size. Currently two-line smart reply buttons
889 add about 88dp of height to the notifications. -->
890 <dimen name="smart_reply_button_max_height">100dp</dimen>
891
Selim Cinekbee4e072018-05-21 22:06:43 -0700892 <!-- The extra height that we allow a notification with a remote input history to be taller than
893 the regular notification, when we have remote input history texts present. -->
894 <dimen name="remote_input_history_extra_height">60dp</dimen>
895
Kevin Chyn0be1f332018-09-18 18:15:16 -0700896 <!-- Biometric Dialog values -->
897 <dimen name="biometric_dialog_biometric_icon_size">64dp</dimen>
898 <dimen name="biometric_dialog_corner_size">4dp</dimen>
Kevin Chyn6cf54e82018-09-18 19:13:27 -0700899 <dimen name="biometric_dialog_animation_translation_offset">350dp</dimen>
Kevin Chynbb269142018-11-07 19:31:51 -0800900 <dimen name="biometric_dialog_border_padding">4dp</dimen>
Beverlyae79ab92017-12-11 09:20:02 -0500901
Beverlyac32c9a2018-01-31 16:10:41 -0500902 <!-- Wireless Charging Animation values -->
903 <dimen name="wireless_charging_dots_radius_start">0dp</dimen>
904 <dimen name="wireless_charging_dots_radius_end">4dp</dimen>
905 <dimen name="wireless_charging_circle_radius_start">28dp</dimen>
Beverly3f129922018-03-21 10:10:33 -0400906 <dimen name="wireless_charging_circle_radius_end">84dp</dimen>
Beverlyac32c9a2018-01-31 16:10:41 -0500907 <integer name="wireless_charging_angle_offset">20</integer>
908 <integer name="wireless_charging_scale_dots_duration">83</integer>
Beverly3f129922018-03-21 10:10:33 -0400909 <integer name="wireless_charging_num_dots">16</integer>
910 <!-- Starting text size in sp of batteryLevel for wireless charging animation -->
911 <item name="wireless_charging_anim_battery_level_text_size_start" format="float" type="dimen">0</item>
912 <!-- Ending text size in sp of batteryLevel for wireless charging animation -->
913 <item name="wireless_charging_anim_battery_level_text_size_end" format="float" type="dimen">24</item>
Beverlyac32c9a2018-01-31 16:10:41 -0500914 <!-- time until battery info is at full opacity-->
915 <integer name="wireless_charging_anim_opacity_offset">80</integer>
916 <!-- duration batteryLevel opacity goes from 0 to 1 duration -->
917 <integer name="wireless_charging_battery_level_text_opacity_duration">117</integer>
918 <!-- battery text scale animation duration -->
919 <integer name="wireless_charging_battery_level_text_scale_animation_duration">367</integer>
920 <!--time until wireless charging animation starts to fade-->
921 <integer name="wireless_charging_fade_offset">920</integer>
922 <!-- duration wireless charging animation takes to full fade to 0 opacity -->
923 <integer name="wireless_charging_fade_duration">200</integer>
Beverly8c785892018-01-31 17:25:52 -0500924
925 <!-- Wired charging on AOD, text animation duration -->
Beverly85499d92018-02-14 15:55:16 -0500926 <integer name="wired_charging_keyguard_text_animation_duration_down">500</integer>
Beverly8c785892018-01-31 17:25:52 -0500927 <!-- Wired charging on AOD, text animation duration -->
Beverly85499d92018-02-14 15:55:16 -0500928 <integer name="wired_charging_keyguard_text_animation_duration_up">300</integer>
Beverly8c785892018-01-31 17:25:52 -0500929 <!-- Wired charging on AOD, text animation distance -->
Beverly85499d92018-02-14 15:55:16 -0500930 <integer name="wired_charging_keyguard_text_animation_distance">-30</integer>
Alex Chauff7653d2018-02-01 17:18:08 +0000931
932 <!-- Logout button -->
933 <dimen name="logout_button_layout_height">32dp</dimen>
934 <dimen name="logout_button_padding_horizontal">16dp</dimen>
935 <dimen name="logout_button_margin_bottom">12dp</dimen>
936 <dimen name="logout_button_corner_radius">2dp</dimen>
Beverly85499d92018-02-14 15:55:16 -0500937
Evan Laird17a96ba2018-05-23 18:21:56 -0400938 <!-- How much into a DisplayCutout's bounds we can go, on each side -->
939 <dimen name="display_cutout_margin_consumption">0px</dimen>
940
Jorim Jaggi71aaa402018-06-06 17:22:56 +0200941 <!-- How much we expand the touchable region of the status bar below the notch to catch touches
942 that just start below the notch. -->
943 <dimen name="display_cutout_touchable_region_size">12dp</dimen>
Fabian Kozynski12638242018-10-12 15:33:41 -0400944
Fabian Kozynskief124492018-11-02 11:02:11 -0400945 <!-- Padding below Ongoing App Ops dialog title -->
946 <dimen name="ongoing_appops_dialog_sep">16dp</dimen>
947 <!--Padding around text items in Ongoing App Ops dialog -->
948 <dimen name="ongoing_appops_dialog_text_padding">16dp</dimen>
Fabian Kozynskibb68be02018-11-19 12:58:01 -0500949 <!-- Height and width of App Opp icons in Ongoing App Ops dialog -->
950 <dimen name="ongoing_appops_dialog_icon_size">24dp</dimen>
951 <!-- Left margin of App Opp icons in Ongoing App Ops dialog -->
952 <dimen name="ongoing_appops_dialog_icon_margin">8dp</dimen>
953 <!-- Height and width of Application icons in Ongoing App Ops dialog -->
954 <dimen name="ongoing_appops_dialog_app_icon_size">32dp</dimen>
955 <!-- Height of line in Ongoing App Ops dialog-->
956 <dimen name="ongoing_appops_dialog_line_height">48dp</dimen>
957 <!-- Side margin of title in Ongoing App Ops dialog -->
958 <dimen name="ongoing_appops_dialog_title_margin_sides">24dp</dimen>
959 <!-- Bottom margin of items in Ongoing App Ops dialog -->
960 <dimen name="ongoing_appops_dialog_items_bottom_margin">24dp</dimen>
961 <!-- Top and bottom margin of title in Ongoing App Ops dialog -->
962 <dimen name="ongoing_appops_dialog_title_margin_top_bottom">18dp</dimen>
Fabian Kozynskief124492018-11-02 11:02:11 -0400963 <!-- Side margins around the Ongoing App Ops chip-->
Fabian Kozynski12638242018-10-12 15:33:41 -0400964 <dimen name="ongoing_appops_chip_margin">12dp</dimen>
Fabian Kozynskief124492018-11-02 11:02:11 -0400965 <!-- Top and bottom margins around the Ongoing App Ops chip -->
966 <dimen name="ongoing_appops_top_chip_margin">12dp</dimen>
Fabian Kozynski12638242018-10-12 15:33:41 -0400967 <!-- Start and End padding for Ongoing App Ops chip -->
968 <dimen name="ongoing_appops_chip_side_padding">6dp</dimen>
969 <!-- Padding between background of Ongoing App Ops chip and content -->
Fabian Kozynskief124492018-11-02 11:02:11 -0400970 <dimen name="ongoing_appops_chip_bg_padding">0dp</dimen>
971 <!-- Margin between icons of Ongoing App Ops chip -->
972 <dimen name="ongoing_appops_chip_icon_margin">4dp</dimen>
973 <!-- Icon size of Ongoing App Ops chip -->
974 <dimen name="ongoing_appops_chip_icon_size">18dp</dimen>
Fabian Kozynski12638242018-10-12 15:33:41 -0400975 <!-- Radius of Ongoing App Ops chip corners -->
976 <dimen name="ongoing_appops_chip_bg_corner_radius">12dp</dimen>
Fabian Kozynskief124492018-11-02 11:02:11 -0400977 <!-- Text size for Ongoing App Ops dialog title -->
Fabian Kozynskibb68be02018-11-19 12:58:01 -0500978 <dimen name="ongoing_appops_dialog_title_size">20sp</dimen>
Fabian Kozynskief124492018-11-02 11:02:11 -0400979 <!-- Text size for Ongoing App Ops dialog items -->
Fabian Kozynskibb68be02018-11-19 12:58:01 -0500980 <dimen name="ongoing_appops_dialog_item_size">16sp</dimen>
Mady Mellorc3d6f7d2018-11-07 09:36:56 -0800981
982 <!-- How much a bubble is elevated -->
983 <dimen name="bubble_elevation">8dp</dimen>
984 <!-- Padding between bubbles when displayed in expanded state -->
985 <dimen name="bubble_padding">8dp</dimen>
986 <!-- Padding around the view displayed when the bubble is expanded -->
987 <dimen name="bubble_expanded_view_padding">8dp</dimen>
988 <!-- Size of the collapsed bubble -->
989 <dimen name="bubble_size">56dp</dimen>
990 <!-- Size of an icon displayed within the bubble -->
991 <dimen name="bubble_icon_size">24dp</dimen>
992 <!-- Default height of the expanded view shown when the bubble is expanded -->
993 <dimen name="bubble_expanded_default_height">400dp</dimen>
Mady Mellordea7ecf2018-12-10 15:47:40 -0800994 <!-- Height of the triangle that points to the expanded bubble -->
995 <dimen name="bubble_pointer_height">4dp</dimen>
996 <!-- Width of the triangle that points to the expanded bubble -->
997 <dimen name="bubble_pointer_width">6dp</dimen>
Mady Mellor6dfef972018-12-10 16:57:35 -0800998 <!-- Extra padding around the dismiss target for bubbles -->
999 <dimen name="bubble_dismiss_slop">16dp</dimen>
Daniel Sandler26c84b12011-07-27 00:09:40 -04001000</resources>