blob: 086a2542d1f4c3c1b9e5000b943349ad31a1666a [file] [log] [blame]
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Hyunyoung Song016eaee2016-09-07 14:45:09 -07007
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -07008 http://www.apache.org/licenses/LICENSE-2.0
Hyunyoung Song016eaee2016-09-07 14:45:09 -07009
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -070010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<resources>
Sunny Goyalea529082017-10-31 13:33:03 -070018
19 <dimen name="click_shadow_elevation">4dp</dimen>
20
21 <!-- Dynamic Grid -->
Jon Miranda28032002017-07-13 16:18:56 -070022 <dimen name="dynamic_grid_edge_margin">8dp</dimen>
Jon Mirandae126d722021-02-25 10:45:20 -050023 <dimen name="dynamic_grid_left_right_margin">8dp</dimen>
Jon Miranda228877d2021-02-09 11:05:00 -050024 <dimen name="dynamic_grid_icon_drawable_padding">7dp</dimen>
Sunny Goyal47328fd2016-05-25 18:56:41 -070025 <!-- Minimum space between workspace and hotseat in spring loaded mode -->
26 <dimen name="dynamic_grid_min_spring_loaded_space">8dp</dimen>
27
Jon Miranda228877d2021-02-09 11:05:00 -050028 <dimen name="dynamic_grid_cell_border_spacing">16dp</dimen>
Jon Miranda30d0aa22017-07-25 15:55:29 -070029 <dimen name="dynamic_grid_cell_layout_padding">5.5dp</dimen>
Jon Miranda09660722017-06-14 14:20:14 -070030 <dimen name="dynamic_grid_cell_padding_x">8dp</dimen>
31
Sunny Goyald5190522017-04-24 03:06:54 -070032 <!-- Hotseat -->
33 <dimen name="dynamic_grid_hotseat_top_padding">8dp</dimen>
Jon Miranda09660722017-06-14 14:20:14 -070034 <dimen name="dynamic_grid_hotseat_bottom_padding">2dp</dimen>
Pratyush9afe1ea2021-10-13 11:13:27 +000035 <dimen name="dynamic_grid_hotseat_bottom_tall_padding">0dp</dimen>
36
37 <!-- Qsb -->
38 <!-- Used for adjusting the position of QSB when placed in hotseat. This is a ratio and a higher
39 number signifies that the QSB is close to the hotseat icons and a lower number signifies that
40 it is close to the bottom of the screen -->
41 <item name="qsb_center_factor" format="float" type="dimen">0.325</item>
42
Jon Miranda7e183c32018-06-20 11:05:27 -070043 <!-- Extra bottom padding for non-tall devices. -->
44 <dimen name="dynamic_grid_hotseat_bottom_non_tall_padding">0dp</dimen>
Sunny Goyal415f1732018-11-29 10:33:47 -080045 <dimen name="dynamic_grid_hotseat_extra_vertical_size">34dp</dimen>
Sunny Goyal228153d2018-01-04 15:35:22 -080046 <dimen name="dynamic_grid_hotseat_side_padding">0dp</dimen>
Jon Miranda18751b62017-07-31 17:25:27 -070047
Jon Mirandae126d722021-02-25 10:45:20 -050048 <!-- Scalable Grid -->
Jon Miranda8bdb2222021-06-23 18:10:10 -070049 <dimen name="scalable_grid_qsb_bottom_margin">42dp</dimen>
Jon Mirandae126d722021-02-25 10:45:20 -050050
Tony Wickham5edf9e22020-03-27 20:06:52 -070051 <!-- Workspace page indicator -->
52 <dimen name="workspace_page_indicator_height">24dp</dimen>
53 <dimen name="workspace_page_indicator_line_height">1dp</dimen>
54 <dimen name="workspace_page_indicator_overlap_workspace">0dp</dimen>
55
Sunny Goyal47328fd2016-05-25 18:56:41 -070056<!-- Drop target bar -->
Yogisha Dixit58c5e652021-06-16 14:18:22 +010057 <dimen name="dynamic_grid_drop_target_size">52dp</dimen>
Sunny Goyald1b3f5c2018-01-18 17:14:05 -080058 <dimen name="drop_target_vertical_gap">20dp</dimen>
Sunny Goyal47328fd2016-05-25 18:56:41 -070059
Sunny Goyalba776d52015-05-18 20:52:57 -070060<!-- App Widget resize frame -->
Sunny Goyalba776d52015-05-18 20:52:57 -070061 <dimen name="widget_handle_margin">13dp</dimen>
62 <dimen name="resize_frame_background_padding">24dp</dimen>
Yogisha Dixitb4c268e2021-03-03 18:05:44 +000063 <dimen name="resize_frame_margin">22dp</dimen>
Steven Ng4b346102021-09-14 19:17:09 +010064 <dimen name="resize_frame_invalid_drag_across_two_panel_opacity_margin">24dp</dimen>
Adam Cohen59400422014-03-05 18:07:04 -080065
Yogisha Dixit73c8a362021-03-21 20:10:06 +000066 <!-- App widget reconfigure button -->
67 <dimen name="widget_reconfigure_button_corner_radius">14dp</dimen>
68 <dimen name="widget_reconfigure_button_padding">6dp</dimen>
69 <dimen name="widget_reconfigure_button_margin">32dp</dimen>
70 <dimen name="widget_reconfigure_button_size">36dp</dimen>
Alina Zaidiecdf6572021-06-07 10:27:23 +010071 <dimen name="widget_reconfigure_tip_top_margin">16dp</dimen>
Yogisha Dixit73c8a362021-03-21 20:10:06 +000072
Sunny Goyal1a8f6fb2017-06-14 15:35:16 -070073<!-- Fast scroll -->
74 <dimen name="fastscroll_track_min_width">6dp</dimen>
75 <dimen name="fastscroll_track_max_width">8dp</dimen>
76 <dimen name="fastscroll_thumb_padding">1dp</dimen>
77 <dimen name="fastscroll_thumb_height">52dp</dimen>
78 <dimen name="fastscroll_thumb_touch_inset">-24dp</dimen>
79
80 <dimen name="fastscroll_popup_width">75dp</dimen>
81 <dimen name="fastscroll_popup_height">62dp</dimen>
82 <dimen name="fastscroll_popup_padding">13dp</dimen>
83 <dimen name="fastscroll_popup_text_size">32dp</dimen>
84 <dimen name="fastscroll_popup_margin">19dp</dimen>
Winson Chungb1777442015-06-16 13:35:04 -070085
Sunny Goyal89d5c5a2017-06-23 16:12:50 -070086 <!--
87 Fast scroller draws the content horizontally centered. The end of the track should be
88 aligned at the end of the container.
89 fastscroll_end_margin = - (fastscroll_width - fastscroll_track_min_width) / 2
90 -->
91 <dimen name="fastscroll_width">58dp</dimen>
92 <dimen name="fastscroll_end_margin">-26dp</dimen>
93
94 <!-- All Apps -->
Hyunyoung Song222a59e2021-05-06 23:15:42 -070095 <dimen name="all_apps_open_vertical_translate">320dp</dimen>
Jon Mirandaaca21452016-09-26 14:01:56 -070096 <dimen name="all_apps_search_bar_field_height">48dp</dimen>
Sunny Goyaldbd6bb32018-03-01 14:55:22 -080097 <dimen name="all_apps_search_bar_bottom_padding">30dp</dimen>
Winsonfee206f2015-08-19 17:26:21 -070098 <dimen name="all_apps_empty_search_message_top_offset">40dp</dimen>
99 <dimen name="all_apps_empty_search_bg_top_offset">144dp</dimen>
100 <dimen name="all_apps_background_canvas_width">700dp</dimen>
101 <dimen name="all_apps_background_canvas_height">475dp</dimen>
Samuel Fufa76b33402021-05-18 16:15:46 -0500102 <dimen name="all_apps_header_pill_height">48dp</dimen>
Steven Ng50f1ff12021-06-21 18:39:03 +0100103 <dimen name="all_apps_header_pill_corner_radius">12dp</dimen>
Samuel Fufaacebd1f2021-05-06 10:02:03 -0500104 <dimen name="all_apps_header_tab_height">48dp</dimen>
Mario Bertschler510a64d2017-11-15 11:53:32 -0800105 <dimen name="all_apps_tabs_indicator_height">2dp</dimen>
Mario Bertschler2153e1c2017-11-14 11:32:00 -0800106 <dimen name="all_apps_header_top_padding">36dp</dimen>
Hyunyoung Song54a44d42021-06-14 16:33:05 -0700107 <dimen name="all_apps_header_bottom_padding">6dp</dimen>
Tony Mak6ffe4e02017-11-24 16:40:03 +0800108 <dimen name="all_apps_work_profile_tab_footer_top_padding">16dp</dimen>
109 <dimen name="all_apps_work_profile_tab_footer_bottom_padding">20dp</dimen>
Steven Ng50f1ff12021-06-21 18:39:03 +0100110 <dimen name="all_apps_tabs_button_horizontal_padding">4dp</dimen>
Samuel Fufa76b33402021-05-18 16:15:46 -0500111 <dimen name="all_apps_tabs_vertical_padding">6dp</dimen>
Samuel Fufad85735d2021-06-14 13:37:08 -0500112 <dimen name="all_apps_divider_height">2dp</dimen>
113 <dimen name="all_apps_divider_width">128dp</dimen>
sfufa@google.com7a620d32021-10-13 13:01:18 -0700114 <dimen name="all_apps_content_fade_in_offset">150dp</dimen>
Samuel Fufa9f7f9d92020-03-31 03:54:50 -0700115 <dimen name="all_apps_tip_bottom_margin">8dp</dimen>
Hyunyoung Songafe8fad2021-11-09 16:11:58 -0800116 <dimen name="all_apps_height_extra">6dp</dimen>
117
Samuel Fufa9f7f9d92020-03-31 03:54:50 -0700118 <!-- The size of corner radius of the arrow in the arrow toast. -->
119 <dimen name="arrow_toast_corner_radius">2dp</dimen>
ybd8d9152021-08-23 15:19:34 -0700120 <dimen name="arrow_toast_elevation">2dp</dimen>
Samuel Fufa880fc572021-05-21 12:42:32 -0500121 <dimen name="arrow_toast_arrow_width">10dp</dimen>
Samuel Fufa9f7f9d92020-03-31 03:54:50 -0700122
Peter Schillera30b51c2016-07-13 14:04:13 -0700123<!-- Search bar in All Apps -->
Peter Schiller310a9882016-06-30 13:52:36 -0700124 <dimen name="all_apps_header_max_elevation">3dp</dimen>
Sunny Goyal0ac7ede2016-01-29 13:14:14 -0800125 <dimen name="all_apps_header_scroll_to_elevation">16dp</dimen>
126 <dimen name="all_apps_header_shadow_height">6dp</dimen>
127
Peter Schillerc2a20ff2016-07-07 14:47:05 -0700128 <dimen name="all_apps_divider_margin_vertical">8dp</dimen>
Sunny Goyal0ac7ede2016-01-29 13:14:14 -0800129
Samuel Fufa45e0e262021-05-25 19:21:37 -0500130<!-- Floating action button inside work tab to toggle work profile -->
Samuel Fufa8b1461d2021-07-02 12:38:49 -0500131 <dimen name="work_fab_height">56dp</dimen>
Samuel Fufaae8462a2021-07-07 18:20:53 -0500132 <dimen name="work_fab_radius">28dp</dimen>
Samuel Fufa7f3c8512021-06-30 12:18:22 -0500133 <dimen name="work_card_padding_horizontal">24dp</dimen>
Hyunyoung Song673b4752021-07-13 01:31:02 -0700134 <dimen name="work_card_button_height">52dp</dimen>
Samuel Fufad04a92d2021-06-16 09:46:25 -0500135 <dimen name="work_fab_margin">16dp</dimen>
Samuel Fufa2e59b952020-06-09 11:37:23 -0700136 <dimen name="work_profile_footer_padding">20dp</dimen>
Samuel Fufa154ad762021-06-14 00:31:00 -0500137 <dimen name="work_edu_card_margin">16dp</dimen>
Samuel Fufaae8462a2021-07-07 18:20:53 -0500138 <dimen name="work_edu_card_radius">28dp</dimen>
Samuel Fufa2e59b952020-06-09 11:37:23 -0700139
Hyunyoung Song675b2b62021-07-07 13:51:59 -0700140 <!-- rounded button shown inside card views, and snack bars -->
141 <dimen name="padded_rounded_button_height">48dp</dimen>
Samuel Fufad04a92d2021-06-16 09:46:25 -0500142 <dimen name="rounded_button_height">32dp</dimen>
143 <dimen name="rounded_button_radius">16dp</dimen>
144 <dimen name="rounded_button_padding">8dp</dimen>
145
Samuel Fufa154ad762021-06-14 00:31:00 -0500146
147 <!-- Widget tray -->
Steven Ng11773f42021-02-25 22:54:37 +0000148 <dimen name="widget_cell_vertical_padding">8dp</dimen>
149 <dimen name="widget_cell_horizontal_padding">16dp</dimen>
Steven Ng4235fc12021-03-19 20:13:16 +0000150 <dimen name="widget_cell_font_size">14sp</dimen>
Hyunyoung Song3f471442015-04-08 19:01:34 -0700151
Steven Ng50f1ff12021-06-21 18:39:03 +0100152 <dimen name="widget_tabs_button_horizontal_padding">4dp</dimen>
Sunny Goyal77acf122021-08-12 17:19:16 -0700153 <dimen name="widget_tabs_horizontal_padding">16dp</dimen>
Steven Ng50f1ff12021-06-21 18:39:03 +0100154 <dimen name="widget_apps_tabs_vertical_padding">6dp</dimen>
155
Steven Ngc7d74102021-04-26 22:18:35 +0100156 <dimen name="recommended_widgets_table_vertical_padding">8dp</dimen>
Steven Ng08ef6942021-03-17 17:19:52 +0000157
Steven Nga0d49dc2021-05-27 18:10:10 +0100158 <!-- Bottom margin for the search and recommended widgets container without work profile -->
159 <dimen name="search_and_recommended_widgets_container_bottom_margin">16dp</dimen>
160 <!-- Bottom margin for the search and recommended widgets container with work profile -->
161 <dimen name="search_and_recommended_widgets_container_small_bottom_margin">10dp</dimen>
162
Steven Ng08ef6942021-03-17 17:19:52 +0000163 <dimen name="widget_list_top_bottom_corner_radius">28dp</dimen>
164 <dimen name="widget_list_content_corner_radius">4dp</dimen>
165
Steven Ng53d13642021-03-10 22:40:55 +0000166 <dimen name="widget_list_header_view_vertical_padding">20dp</dimen>
Stevie Kideckelded80072021-06-21 14:47:04 +0000167 <dimen name="widget_list_entry_spacing">2dp</dimen>
Steven Ng50f1ff12021-06-21 18:39:03 +0100168 <dimen name="widget_list_horizontal_margin">16dp</dimen>
Steven Ng53d13642021-03-10 22:40:55 +0000169
Sunny Goyal92bbfa12017-02-07 15:06:32 -0800170 <dimen name="widget_preview_shadow_blur">0.5dp</dimen>
171 <dimen name="widget_preview_key_shadow_distance">1dp</dimen>
172 <dimen name="widget_preview_corner_radius">2dp</dimen>
173 <dimen name="widget_preview_cell_divider_width">0.5dp</dimen>
Sunny Goyal7d87cb12017-02-13 10:44:43 -0800174 <dimen name="widget_preview_shortcut_padding">8dp</dimen>
Sunny Goyal92bbfa12017-02-07 15:06:32 -0800175
Hyunyoung Songf17a1c92015-04-27 17:01:32 -0700176 <dimen name="widget_section_height">56dp</dimen>
Sunny Goyal0e08f162015-05-12 11:32:39 -0700177 <dimen name="widget_section_icon_size">40dp</dimen>
178 <dimen name="widget_section_vertical_padding">8dp</dimen>
179 <dimen name="widget_section_horizontal_padding">16dp</dimen>
Hyunyoung Song3f471442015-04-08 19:01:34 -0700180
Hyunyoung Songf17a1c92015-04-27 17:01:32 -0700181 <dimen name="widget_row_padding">8dp</dimen>
Hyunyoung Song4b69f2c2015-05-11 14:55:07 -0700182 <dimen name="widget_row_divider">2dp</dimen>
Michael Jurkadac85912012-05-18 15:04:49 -0700183
Alina Zaidif2c79de2021-05-27 14:55:21 +0100184 <dimen name="widget_picker_education_tip_max_width">308dp</dimen>
Alina Zaidi120d6472021-04-09 09:58:53 +0100185 <dimen name="widget_picker_education_tip_min_margin">4dp</dimen>
186
Michael Jurkadac85912012-05-18 15:04:49 -0700187 <!-- Padding applied to shortcut previews -->
188 <dimen name="shortcut_preview_padding_left">0dp</dimen>
189 <dimen name="shortcut_preview_padding_right">0dp</dimen>
190 <dimen name="shortcut_preview_padding_top">0dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -0700191
Alina Zaidi6d97d892021-03-22 10:06:25 +0000192<!-- Pin widget dialog -->
193 <dimen name="pin_widget_button_padding_horizontal">8dp</dimen>
194 <dimen name="pin_widget_button_padding_vertical">4dp</dimen>
195 <dimen name="pin_widget_button_inset_horizontal">4dp</dimen>
196 <dimen name="pin_widget_button_inset_vertical">6dp</dimen>
197
Winson Chung5f4e0fd2015-05-22 11:12:27 -0700198<!-- Dragging -->
199 <!-- Drag padding to add to the bottom of drop targets -->
200 <dimen name="drop_target_drag_padding">14dp</dimen>
Alina Zaidi1b5efa32021-06-30 16:54:14 +0100201 <dimen name="drop_target_text_size">16sp</dimen>
Sunny Goyal8b6ac002017-05-16 16:16:25 -0700202 <dimen name="drop_target_shadow_elevation">2dp</dimen>
Alina Zaidi1b5efa32021-06-30 16:54:14 +0100203 <dimen name="drop_target_bar_margin_horizontal">4dp</dimen>
Steven Nga1dcbce2021-07-23 17:06:10 +0100204 <dimen name="drop_target_button_drawable_padding">8dp</dimen>
Winson Chung5f4e0fd2015-05-22 11:12:27 -0700205
Tony Wickham855b1b52016-03-28 16:56:30 -0700206 <!-- the distance an icon must be dragged before button drop targets accept it -->
207 <dimen name="drag_distanceThreshold">30dp</dimen>
208
Winson Chung5f4e0fd2015-05-22 11:12:27 -0700209 <!-- Elevation for the drag view. It should be larger than elevation of all other drag sources
210 and drop targets like all-apps and folders -->
211 <dimen name="drag_elevation">30dp</dimen>
212
Sunny Goyal756cd262015-08-20 12:33:21 -0700213 <dimen name="drag_flingToDeleteMinVelocity">-1500dp</dimen>
214
Adam Cohenf7ca3b42021-02-22 11:03:58 -0800215 <dimen name="spring_loaded_panel_border">2dp</dimen>
Sunny Goyala4647b62021-02-02 13:45:34 -0800216 <dimen name="keyboard_drag_stroke_width">4dp</dimen>
Tony Wickham95cdb3a2016-02-18 14:37:07 -0800217
Adam Cohen76fc0852011-06-17 13:26:23 -0700218<!-- Folders -->
Sunny Goyalc64cfdd2016-05-18 14:12:02 -0700219 <dimen name="page_indicator_dot_size">8dp</dimen>
Sunny Goyalffe83f12014-08-14 17:39:34 -0700220
Jonathan Miranda9ad87462017-07-26 17:41:02 +0000221 <dimen name="folder_cell_x_padding">9dp</dimen>
222 <dimen name="folder_cell_y_padding">6dp</dimen>
Jon Mirandae126d722021-02-25 10:45:20 -0500223 <!-- label text size = workspace text size multiplied by this scale -->
224 <dimen name="folder_label_text_scale">1.14</dimen>
225 <dimen name="folder_label_height">48dp</dimen>
226
227 <dimen name="folder_content_padding_left_right">8dp</dimen>
228 <dimen name="folder_content_padding_top">16dp</dimen>
Sunny Goyalbaec6ff2016-09-14 11:26:21 -0700229
Sunny Goyalffe83f12014-08-14 17:39:34 -0700230<!-- Sizes for managed profile badges -->
231 <dimen name="profile_badge_size">24dp</dimen>
Hyunyoung Song41e33692015-06-15 12:26:54 -0700232 <dimen name="profile_badge_margin">5dp</dimen>
Hyunyoung Song6babf2e2015-05-14 17:08:45 -0700233 <dimen name="profile_badge_minimum_top">2dp</dimen>
Sunny Goyal4fe5a372015-05-14 19:55:10 -0700234
235<!-- Shadows and outlines -->
236 <dimen name="blur_size_thin_outline">1dp</dimen>
237 <dimen name="blur_size_medium_outline">2dp</dimen>
238 <dimen name="blur_size_click_shadow">4dp</dimen>
239 <dimen name="click_shadow_high_shift">2dp</dimen>
240
Sunny Goyalac366432015-08-14 17:10:14 -0700241<!-- Pending widget -->
242 <dimen name="pending_widget_min_padding">8dp</dimen>
243 <dimen name="pending_widget_elevation">2dp</dimen>
244
Tony Wickham1bce7fd2016-04-28 17:39:03 -0700245<!-- Deep shortcuts -->
Jon Miranda35c54772021-05-07 15:29:54 -0700246 <dimen name="deep_shortcuts_elevation">2dp</dimen>
247 <dimen name="bg_popup_padding">2dp</dimen>
Jon Mirandae888b082021-03-23 12:00:38 -0400248 <dimen name="bg_popup_item_width">216dp</dimen>
Tony Wickhamce445162017-04-10 14:05:34 -0700249 <dimen name="bg_popup_item_height">56dp</dimen>
ybd8d9152021-08-23 15:19:34 -0700250 <dimen name="bg_popup_item_vertical_padding">12dp</dimen>
Tony Wickham10236d62016-09-28 12:49:25 -0700251 <dimen name="pre_drag_view_scale">6dp</dimen>
Tony Wickham598e1842016-08-04 15:38:26 -0700252 <!-- an icon with shortcuts must be dragged this far before the container is removed. -->
Tony Wickhame04a07f2016-08-09 16:27:57 -0700253 <dimen name="deep_shortcuts_start_drag_threshold">16dp</dimen>
Jon Mirandac7931672021-03-18 11:08:49 -0400254 <dimen name="deep_shortcut_icon_size">32dp</dimen>
255 <dimen name="popup_margin">2dp</dimen>
256 <dimen name="popup_single_item_radius">100dp</dimen>
Jon Miranda116e94e2021-03-19 17:21:22 -0400257 <dimen name="popup_smaller_radius">4dp</dimen>
Jon Mirandac7931672021-03-18 11:08:49 -0400258 <dimen name="deep_shortcut_drawable_padding">12dp</dimen>
Tony780c9262016-07-25 17:17:11 -0700259 <dimen name="deep_shortcut_drag_handle_size">16dp</dimen>
Tony0b8a6fe2017-05-09 19:23:47 -0500260 <dimen name="popup_padding_start">10dp</dimen>
Tony Wickhamce445162017-04-10 14:05:34 -0700261 <dimen name="popup_padding_end">16dp</dimen>
Sunny Goyal00ac9202017-11-09 15:24:06 -0800262 <dimen name="popup_vertical_padding">4dp</dimen>
Zak Cohen452005a2021-02-24 16:34:46 -0800263 <dimen name="popup_arrow_width">12dp</dimen>
264 <dimen name="popup_arrow_height">10dp</dimen>
265 <dimen name="popup_arrow_vertical_offset">-1dp</dimen>
Tony Wickhamce445162017-04-10 14:05:34 -0700266 <!-- popup_padding_start + deep_shortcut_icon_size / 2 -->
Jon Mirandac7931672021-03-18 11:08:49 -0400267 <dimen name="popup_arrow_horizontal_center_offset">26dp</dimen>
Tony58292672017-04-14 11:03:10 -0700268 <dimen name="popup_arrow_corner_radius">2dp</dimen>
Tony0b8a6fe2017-05-09 19:23:47 -0500269 <!-- popup_padding_start + icon_size + 10dp -->
Jon Mirandac7931672021-03-18 11:08:49 -0400270 <dimen name="deep_shortcuts_text_padding_start">52dp</dimen>
Tony Wickhamce445162017-04-10 14:05:34 -0700271 <dimen name="system_shortcut_icon_size">24dp</dimen>
Jon Mirandac7931672021-03-18 11:08:49 -0400272 <!-- popup_arrow_horizontal_center_offset - system_shortcut_icon_size / 2 -->
Tony0b8a6fe2017-05-09 19:23:47 -0500273 <dimen name="system_shortcut_margin_start">16dp</dimen>
Jon Mirandac7931672021-03-18 11:08:49 -0400274 <dimen name="system_shortcut_header_height">56dp</dimen>
Tony Wickhamce445162017-04-10 14:05:34 -0700275 <dimen name="system_shortcut_header_icon_touch_size">48dp</dimen>
276 <!-- (touch_size - icon_size) / 2 -->
277 <dimen name="system_shortcut_header_icon_padding">12dp</dimen>
Tony Wickham1bce7fd2016-04-28 17:39:03 -0700278
Tony Wickham9438ed42017-01-20 09:38:25 -0800279<!-- Notifications -->
Jon Mirandac385e3a2018-01-19 11:01:00 -0800280 <dimen name="bg_round_rect_radius">8dp</dimen>
Jon Mirandaf3bbd982021-08-13 13:53:14 -0700281 <dimen name="notification_max_trans">8dp</dimen>
282 <dimen name="notification_space">8dp</dimen>
Jon Miranda313b2c22021-06-17 12:35:43 -0700283 <dimen name="notification_padding">16dp</dimen>
284 <dimen name="notification_padding_top">18dp</dimen>
285 <dimen name="notification_header_text_size">14sp</dimen>
Tony Wickhamce445162017-04-10 14:05:34 -0700286 <dimen name="notification_header_count_text_size">12sp</dimen>
Jon Miranda313b2c22021-06-17 12:35:43 -0700287 <dimen name="notification_main_title_size">14sp</dimen>
Tony0b8a6fe2017-05-09 19:23:47 -0500288 <dimen name="notification_main_text_size">14sp</dimen>
Jon Miranda313b2c22021-06-17 12:35:43 -0700289 <dimen name="notification_circle_icon_size">24dp</dimen>
290 <dimen name="notification_icon_size">32dp</dimen>
291 <!-- Space between edge and icon and icon and text -->
292 <dimen name="notification_icon_padding">12dp</dimen>
293 <!-- notification_icon_padding + notification_icon_size + notification_icon_padding -->
294 <dimen name="notification_main_text_padding_start">56dp</dimen>
Tony Wickham9407d4a2017-02-24 15:08:13 -0800295 <dimen name="horizontal_ellipsis_size">18dp</dimen>
Winson Chungb63b44c2017-11-10 17:54:44 -0800296
Sunny Goyal02424b22018-01-19 11:24:32 -0800297<!-- Overview -->
Sunny Goyal7c7be8c2018-03-07 19:58:07 -0800298 <dimen name="options_menu_icon_size">24dp</dimen>
Sunny Goyal2fd7a8b2018-03-30 17:10:13 -0700299 <dimen name="options_menu_thumb_size">32dp</dimen>
Tony Wickham6a71a5b2018-08-21 11:40:23 -0700300
301<!-- Snackbar -->
302 <dimen name="snackbar_height">48dp</dimen>
303 <dimen name="snackbar_content_height">32dp</dimen>
304 <dimen name="snackbar_padding">8dp</dimen>
Tony Wickham08c7cd52018-09-06 15:44:17 -0700305 <dimen name="snackbar_min_margin_left_right">6dp</dimen>
306 <dimen name="snackbar_max_margin_left_right">72dp</dimen>
307 <dimen name="snackbar_margin_bottom">30dp</dimen>
308 <dimen name="snackbar_elevation">3dp</dimen>
309 <dimen name="snackbar_min_text_size">12sp</dimen>
310 <dimen name="snackbar_max_text_size">14sp</dimen>
Alex Chaudc730722021-12-03 16:19:30 +0000311 <dimen name="snackbar_max_width">504dp</dimen>
Miranda Kephart1a359a22019-02-11 13:07:04 -0500312
alexmang457ae092020-07-18 14:34:12 -0700313<!-- Developer Options -->
314 <dimen name="developer_options_filter_margins">10dp</dimen>
315
Hyunyoung Song2aec9c42019-04-05 16:22:55 -0700316<!-- Theming related -->
317 <dimen name="default_dialog_corner_radius">8dp</dimen>
Alina Zaidif2c79de2021-05-27 14:55:21 +0100318 <dimen name="dialogCornerRadius">@dimen/default_dialog_corner_radius</dimen>
Hyunyoung Song2aec9c42019-04-05 16:22:55 -0700319
Samuel Fufa4bbed192020-01-16 11:39:31 -0800320 <!-- Onboarding bottomsheet related -->
321 <dimen name="bottom_sheet_edu_padding">24dp</dimen>
322
Tony Wickham15883892021-02-12 11:24:40 -0800323<!-- Taskbar related (placeholders to compile in Launcher3 without Quickstep) -->
324 <dimen name="taskbar_size">0dp</dimen>
Sunny Goyal57b22792021-05-25 14:35:01 -0700325 <dimen name="qsb_widget_height">0dp</dimen>
326 <dimen name="taskbar_icon_size">44dp</dimen>
327 <!-- Note that this applies to both sides of all icons, so visible space is double this. -->
328 <dimen name="taskbar_icon_spacing">8dp</dimen>
Tony Wickham15883892021-02-12 11:24:40 -0800329
Pierre Barbier de Reuille298526e2021-03-18 08:49:47 +0000330 <!-- Size of the maximum radius for the enforced rounded rectangles. -->
331 <dimen name="enforced_rounded_corner_max_radius">16dp</dimen>
332
Sebastian Franco3b862022021-11-01 20:02:50 -0600333<!-- Base Swipe Detector, speed in dp/s -->
334 <dimen name="base_swift_detector_fling_release_velocity">1dp</dimen>
335
Vinit Nayak9e6a6422021-09-17 16:38:31 -0700336<!-- Overview placeholder to compile in Launcher3 without Quickstep -->
Zak Cohen334efeb2021-03-19 16:42:07 -0700337 <dimen name="task_thumbnail_icon_size">0dp</dimen>
Alex Chauac9df382021-08-02 19:08:41 +0100338 <dimen name="task_thumbnail_icon_drawable_size">0dp</dimen>
339 <dimen name="task_thumbnail_icon_drawable_size_grid">0dp</dimen>
Zak Cohen334efeb2021-03-19 16:42:07 -0700340 <dimen name="overview_task_margin">0dp</dimen>
Alex Chaueaa6d682021-08-17 12:56:15 +0100341 <dimen name="overview_task_margin_focused">0dp</dimen>
Alex Chau5fd9d492021-07-22 17:27:11 +0100342 <dimen name="overview_task_margin_grid">0dp</dimen>
Alex Chau1bf0fe12021-11-30 15:32:45 +0000343 <dimen name="overview_actions_button_spacing">0dp</dimen>
344 <dimen name="overview_actions_button_spacing_grid">0dp</dimen>
Alex Chau5fd9d492021-07-22 17:27:11 +0100345 <dimen name="overview_actions_margin_gesture">0dp</dimen>
346 <dimen name="overview_actions_top_margin_gesture_grid_portrait">0dp</dimen>
347 <dimen name="overview_actions_bottom_margin_gesture_grid_portrait">0dp</dimen>
348 <dimen name="overview_actions_top_margin_gesture_grid_landscape">0dp</dimen>
349 <dimen name="overview_actions_bottom_margin_gesture_grid_landscape">0dp</dimen>
350 <dimen name="overview_actions_margin_three_button">0dp</dimen>
Alex Chau56bd2572021-11-03 18:48:18 +0000351 <dimen name="overview_grid_side_margin_portrait">0dp</dimen>
352 <dimen name="overview_grid_side_margin_landscape">0dp</dimen>
Alex Chau4f7952e2021-12-06 13:04:57 +0000353 <dimen name="overview_grid_row_spacing">0dp</dimen>
354 <dimen name="overview_page_spacing">0dp</dimen>
355 <dimen name="overview_page_spacing_grid_portrait">0dp</dimen>
356 <dimen name="overview_page_spacing_grid_landscape">0dp</dimen>
Vinit Nayak79037582021-06-24 15:23:21 -0700357 <dimen name="split_placeholder_size">110dp</dimen>
Vinit Nayak9e6a6422021-09-17 16:38:31 -0700358 <dimen name="task_menu_width_grid">200dp</dimen>
359
Zak Cohen334efeb2021-03-19 16:42:07 -0700360
Adam Cohenf7ca3b42021-02-22 11:03:58 -0800361<!-- Workspace grid visualization parameters -->
Adam Cohen0c4d2782021-04-29 15:56:13 -0700362 <dimen name="grid_visualization_rounding_radius">22dp</dimen>
Adam Cohenf7ca3b42021-02-22 11:03:58 -0800363 <dimen name="grid_visualization_cell_spacing">6dp</dimen>
364
Hyunyoung Songe3d32b52021-06-03 21:20:18 -0700365<!-- Search results related parameters -->
366 <dimen name="search_row_icon_size">48dp</dimen>
367 <dimen name="search_row_small_icon_size">32dp</dimen>
Hyunyoung Song673b4752021-07-13 01:31:02 -0700368 <dimen name="padded_rounded_button_padding">8dp</dimen>
ybd8d9152021-08-23 15:19:34 -0700369
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -0700370</resources>