1<?xml version="1.0" encoding="utf-8"?>
2<!--
3
4     Copyright (C) 2018 The Android Open Source Project
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10          http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17-->
18<resources>
19    <dimen name="bottom_navbar_font_text_size">12sp</dimen>
20
21    <dimen name="tip_dot_size">8dp</dimen>
22    <dimen name="tip_dot_line_width">2dp</dimen>
23
24    <dimen name="check_size">16dp</dimen>
25    <dimen name="center_check_size">32dp</dimen>
26    <dimen name="center_check_padding">9dp</dimen>
27    <dimen name="check_offset">4dp</dimen>
28
29    <dimen name="component_preview_page_bottom_margin">16dp</dimen>
30
31    <!-- Dimensions for the customization option tiles -->
32    <dimen name="options_container_height">112dp</dimen>
33    <dimen name="options_container_width">0dp</dimen>
34    <dimen name="option_bottom_margin">8dp</dimen>
35    <dimen name="option_padding_horizontal">2dp</dimen>
36    <dimen name="option_tile_width">80dp</dimen>
37    <dimen name="option_tile_radius">20dp</dimen>
38    <dimen name="option_tile_margin_horizontal">6dp</dimen>
39    <dimen name="option_tile_padding_vertical">12dp</dimen>
40    <dimen name="option_tile_padding_horizontal">12dp</dimen>
41    <!-- Spacing between tiles in linear layout -->
42    <dimen name="option_tile_linear_padding_horizontal">4dp</dimen>
43    <!-- Minimum padding around entire tile in grid layout -->
44    <dimen name="option_tile_grid_tile_padding_min">2dp</dimen>
45    <!-- Minimum padding around icon within tile in grid layout -->
46    <dimen name="option_tile_grid_icon_padding_min">4dp</dimen>
47    <dimen name="option_icon_size">16dp</dimen>
48    <dimen name="theme_option_icon_sample_height">22dp</dimen>
49    <dimen name="theme_option_icon_sample_width">22dp</dimen>
50    <dimen name="theme_option_shape_sample_height">20dp</dimen>
51    <dimen name="theme_option_shape_sample_width">20dp</dimen>
52    <dimen name="theme_option_font_sample_height">20dp</dimen>
53    <dimen name="theme_option_font_sample_width">52dp</dimen>
54    <dimen name="theme_option_sample_margin">10dp</dimen>
55
56    <!-- Note, using dp instead of sp as this text is more like a "snapshot" of the font -->
57    <dimen name="theme_option_font_text_size">20dp</dimen>
58    <dimen name="theme_option_font_min_text_size">15dp</dimen>
59    <dimen name="theme_option_label_margin">4dp</dimen>
60
61    <!-- Dimensions for the grid options -->
62    <dimen name="grid_options_container_bottom_margin">@dimen/bottom_actions_height</dimen>
63    <dimen name="grid_options_container_horizontal_margin">24dp</dimen>
64    <dimen name="grid_apply_button_note_text_size">11sp</dimen>
65
66    <dimen name="card_title_text_size">16sp</dimen>
67    <dimen name="card_header_icon_size">32dp</dimen>
68    <dimen name="preview_theme_max_height">400dp</dimen>
69    <dimen name="preview_theme_min_height">180dp</dimen>
70    <dimen name="theme_preview_header_drawable_padding">8dp</dimen>
71    <dimen name="preview_theme_content_margin">38dp</dimen>
72    <dimen name="preview_theme_content_max_height">200dp</dimen>
73    <dimen name="preview_theme_content_min_height">120dp</dimen>
74    <dimen name="preview_theme_color_component_size">170dp</dimen>
75    <dimen name="preview_theme_icon_size">30dp</dimen>
76    <dimen name="preview_theme_tile_size">16dp</dimen>
77    <dimen name="preview_theme_shape_size">36dp</dimen>
78    <dimen name="preview_theme_cover_topbar_clock_size">12sp</dimen>
79    <dimen name="preview_theme_cover_topbar_icon_size">16dp</dimen>
80
81    <!--  For the new preview of theme picker.  -->
82    <dimen name="preview_theme_content_padding_top">16dp</dimen>
83    <dimen name="preview_theme_content_padding_bottom">24dp</dimen>
84    <dimen name="preview_theme_topbar_container_margin_horizontal">16dp</dimen>
85    <dimen name="preview_theme_color_icons_container_margin_horizontal">10dp</dimen>
86    <dimen name="preview_theme_qsb_container_margin_horizontal">14dp</dimen>
87    <dimen name="preview_theme_smart_space_date_size">18sp</dimen>
88    <dimen name="preview_theme_app_icon_size">64dp</dimen>
89    <dimen name="preview_theme_app_icon_shape_text_margin_top">8dp</dimen>
90    <dimen name="preview_theme_app_icon_shape_text_size">16sp</dimen>
91    <dimen name="preview_theme_color_icons_padding_top">12dp</dimen>
92    <dimen name="preview_theme_color_icons_padding_bottom">20dp</dimen>
93    <dimen name="preview_theme_color_icons_padding_horizontal">18dp</dimen>
94    <dimen name="preview_theme_color_icons_title_text_size">12sp</dimen>
95    <dimen name="preview_theme_color_icons_icon_size">@dimen/preview_theme_icon_size</dimen>
96    <dimen name="preview_theme_color_icons_tile_size">@dimen/preview_theme_tile_size</dimen>
97    <dimen name="preview_theme_app_name_key_ambient_shadow_blur">2.5dp</dimen>
98
99    <!--  For the customization previews on the picker. -->
100    <dimen name="preview_content_padding_top">@dimen/preview_page_top_margin</dimen>
101    <dimen name="preview_content_padding_bottom">@dimen/indicator_container_height</dimen>
102
103    <dimen name="font_preview_body_width">220dp</dimen>
104
105    <dimen name="custom_theme_nav_height">56dp</dimen>
106
107    <!-- Note, using dp instead of sp as this is just the font thumbnail, not text -->
108    <dimen name="font_comonent_option_thumbnail_size">36dp</dimen>
109
110    <dimen name="component_icon_thumb_size">40dp</dimen>
111
112    <dimen name="component_color_chip_size">40dp</dimen>
113    <dimen name="component_color_chip_container_size">52dp</dimen>
114
115    <dimen name="component_shape_thumb_size">72dp</dimen>
116    <dimen name="component_options_title_size">20sp</dimen>
117    <dimen name="component_options_margin_horizontal">4dp</dimen>
118
119    <!-- For a corner radius of this size or larger, we'll preview a rounded qsb widget. -->
120    <dimen name="roundCornerThreshold">16dp</dimen>
121
122    <dimen name="min_taptarget_height">48dp</dimen>
123
124    <!--  For the style info preview sheet. -->
125    <dimen name="theme_info_margin">12dp</dimen>
126    <dimen name="theme_info_icon_size">24dp</dimen>
127    <dimen name="theme_info_app_preview_icon_margin">2dp</dimen>
128    <dimen name="theme_info_app_preview_icon_elevation">2dp</dimen>
129    <dimen name="theme_info_text_size">28sp</dimen>
130
131    <dimen name="beta_tag_background_width">46dp</dimen>
132    <dimen name="beta_tag_background_height">24dp</dimen>
133
134    <!-- For the color picker section -->
135    <!-- Dimension for the original color picker section -->
136    <dimen name="color_options_container_top_margin">24dp</dimen>
137    <dimen name="color_page_indicator_margin_top">16dp</dimen>
138    <!-- Dimension for the original color chip resource -->
139    <dimen name="component_color_chip_small_radius_default">29dp</dimen>
140    <dimen name="component_color_chip_small_diameter_default">58dp</dimen>
141    <dimen name="color_seed_chip_margin">14dp</dimen>
142    <!-- Dimension for the revamped UI color chip -->
143    <dimen name="component_color_overflow_small_radius_default">20dp</dimen>
144    <dimen name="component_color_overflow_small_diameter_default">40dp</dimen>
145    <dimen name="component_color_selected_small_radius_default">22dp</dimen>
146    <dimen name="component_color_selected_small_diameter_default">44dp</dimen>
147
148    <!-- For the color picker page. -->
149    <!-- Dimension for the revamped UI color chip -->
150    <dimen name="component_color_chip_small_radius_default2">24dp</dimen>
151    <dimen name="component_color_chip_small_diameter_default2">48dp</dimen>
152    <dimen name="color_seed_chip_margin2">11dp</dimen>
153
154    <!-- Keyguard quick affordances -->
155    <!-- Size for the container for the icon of a quick affordance for the lock screen in the picker experience. -->
156    <dimen name="keyguard_quick_affordance_icon_container_size">74dp</dimen>
157    <!-- Size for the icon of a quick affordance for the lock screen in the picker experience. -->
158    <dimen name="keyguard_quick_affordance_icon_size">24dp</dimen>
159
160    <dimen name="clock_carousel_item_width">190dp</dimen>
161    <dimen name="clock_carousel_item_margin">16dp</dimen>
162    <dimen name="clock_carousel_guideline_margin">100dp</dimen>
163    <dimen name="clock_carousel_item_card_width">100dp</dimen>
164    <dimen name="clock_carousel_item_card_height">108dp</dimen>
165    <dimen name="clock_carousel_guideline_margin_for_2_pane_small_width">122dp</dimen>
166
167    <!-- Clock color and size button -->
168    <dimen name="clock_color_size_button_min_height">32dp</dimen>
169    <dimen name="clock_color_size_button_horizontal_padding">12dp</dimen>
170    <dimen name="clock_color_size_button_vertical_padding">6dp</dimen>
171    <dimen name="clock_color_size_button_corner_radius">16dp</dimen>
172    <dimen name="clock_color_size_button_icon_size">20dp</dimen>
173    <dimen name="clock_color_size_button_icon_margin_end">12dp</dimen>
174
175    <!-- Notification item dimensions -->
176    <dimen name="notification_section_title_padding">8dp</dimen>
177
178</resources>
179