1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2020 The Android Open Source Project 4 5 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 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 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 15 limitations under the License. 16--> 17<resources> 18 <dimen name="dismiss_circle_size">96dp</dimen> 19 <dimen name="dismiss_circle_small">60dp</dimen> 20 21 <!-- The height of the gradient indicating the dismiss edge when moving a PIP or bubble. --> 22 <dimen name="floating_dismiss_gradient_height">548dp</dimen> 23 24 <!-- The padding around a PiP actions. --> 25 <dimen name="pip_action_padding">16dp</dimen> 26 27 <!-- The height of the PiP actions container in which the actions are vertically centered. --> 28 <dimen name="pip_action_size">48dp</dimen> 29 30 <!-- The width and height of the PiP action asset drawn within the container. --> 31 <dimen name="pip_action_inner_size">20dp</dimen> 32 33 <!-- The width and height of the PiP expand action container. --> 34 <dimen name="pip_expand_action_size">60dp</dimen> 35 36 <!-- The width and height of the PiP expand action asset drawn within the container. --> 37 <dimen name="pip_expand_action_inner_size">28dp</dimen> 38 39 <!-- The padding between actions in the PiP in landscape Note that the PiP does not reflect 40 the configuration of the device, so we can't use -land resources. --> 41 <dimen name="pip_between_action_padding_land">8dp</dimen> 42 43 <!-- The buffer to use when calculating whether the pip is in an adjust zone. --> 44 <dimen name="pip_bottom_offset_buffer">1dp</dimen> 45 46 <!-- The corner radius for PiP window. --> 47 <dimen name="pip_corner_radius">16dp</dimen> 48 49 <!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. --> 50 <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen> 51 52 <!-- The bottom margin of the expand container when there are actions. 53 Equal to pip_action_size - pip_action_padding. --> 54 <dimen name="pip_expand_container_edge_margin">30dp</dimen> 55 56 <!-- The shortest-edge size of the expanded PiP. --> 57 <dimen name="pip_expanded_shortest_edge_size">160dp</dimen> 58 59 <!-- The additional offset to apply to the IME animation to account for the input field. --> 60 <dimen name="pip_ime_offset">48dp</dimen> 61 62 <!-- The touchable/draggable edge size for PIP resize. --> 63 <dimen name="pip_resize_edge_size">48dp</dimen> 64 65 <!-- PIP Resize handle size, margin and padding. --> 66 <dimen name="pip_resize_handle_size">12dp</dimen> 67 <dimen name="pip_resize_handle_margin">4dp</dimen> 68 <dimen name="pip_resize_handle_padding">0dp</dimen> 69 70 <!-- PIP Split icon size and margin. --> 71 <dimen name="pip_split_icon_size">24dp</dimen> 72 <dimen name="pip_split_icon_margin">12dp</dimen> 73 74 <!-- PIP stash offset size, which is the width of visible PIP region when stashed. --> 75 <dimen name="pip_stash_offset">32dp</dimen> 76 77 <!-- PIP shadow radius, originally as 78 WindowConfiguration#PINNED_WINDOWING_MODE_ELEVATION_IN_DIP --> 79 <dimen name="pip_shadow_radius">5dp</dimen> 80 81 <!-- The width and height of the background for custom action in PiP menu. --> 82 <dimen name="pip_custom_close_bg_size">32dp</dimen> 83 84 <!-- Extra padding between picture-in-picture windows and any registered keep clear areas. --> 85 <dimen name="pip_keep_clear_areas_padding">16dp</dimen> 86 87 <dimen name="dismiss_target_x_size">24dp</dimen> 88 <dimen name="floating_dismiss_bottom_margin">50dp</dimen> 89 90 <!-- How high we lift the divider when touching --> 91 <dimen name="docked_stack_divider_lift_elevation">4dp</dimen> 92 93 <!-- Icon size for split screen --> 94 <dimen name="split_icon_size">72dp</dimen> 95 <!-- Divider handle size for legacy split screen --> 96 <dimen name="docked_divider_handle_width">16dp</dimen> 97 <dimen name="docked_divider_handle_height">2dp</dimen> 98 <!-- Divider handle size for split screen --> 99 <dimen name="split_divider_handle_width">72dp</dimen> 100 <dimen name="split_divider_handle_height">3dp</dimen> 101 102 <dimen name="split_divider_bar_width">10dp</dimen> 103 <dimen name="split_divider_corner_size">42dp</dimen> 104 105 <!-- One-Handed Mode --> 106 <!-- Threshold for dragging distance to enable one-handed mode --> 107 <dimen name="gestures_onehanded_drag_threshold">20dp</dimen> 108 109 <!-- The amount to inset the drop target regions from the edge of the display --> 110 <dimen name="drop_layout_display_margin">16dp</dimen> 111 112 <!-- How much each bubble is elevated. --> 113 <dimen name="bubble_elevation">1dp</dimen> 114 <!-- How much the bubble flyout text container is elevated. --> 115 <dimen name="bubble_flyout_elevation">4dp</dimen> 116 <!-- How much padding is around the left and right sides of the flyout text. --> 117 <dimen name="bubble_flyout_padding_x">14dp</dimen> 118 <!-- How much padding is around the top and bottom of the flyout text. --> 119 <dimen name="bubble_flyout_padding_y">10dp</dimen> 120 <!-- Size of the triangle that points from the flyout to the bubble stack. --> 121 <dimen name="bubble_flyout_pointer_size">6dp</dimen> 122 <!-- How much space to leave between the flyout (tip of the arrow) and the bubble stack. --> 123 <dimen name="bubble_flyout_space_from_bubble">8dp</dimen> 124 <!-- How much space to leave between the flyout text and the avatar displayed in the flyout. --> 125 <dimen name="bubble_flyout_avatar_message_space">6dp</dimen> 126 <!-- If the screen percentage is smaller than this, we'll use this value instead. --> 127 <dimen name="bubbles_flyout_min_width_large_screen">200dp</dimen> 128 <!-- Padding between status bar and bubbles when displayed in expanded state --> 129 <dimen name="bubble_padding_top">16dp</dimen> 130 <!-- Space between bubbles when expanded. --> 131 <dimen name="bubble_spacing">3dp</dimen> 132 <!-- Size of the bubble. --> 133 <dimen name="bubble_size">60dp</dimen> 134 <!-- Width of bubble name view --> 135 <dimen name="bubble_name_width">90dp</dimen> 136 <!-- Size of the badge shown on the bubble. --> 137 <dimen name="bubble_badge_size">24dp</dimen> 138 <!-- Extra padding added to the touchable rect for bubbles so they are easier to grab. --> 139 <dimen name="bubble_touch_padding">12dp</dimen> 140 <!-- Size of the circle around the bubbles when they're in the dismiss target. --> 141 <dimen name="bubble_dismiss_encircle_size">52dp</dimen> 142 <!-- Padding around the view displayed when the bubble is expanded --> 143 <dimen name="bubble_expanded_view_padding">16dp</dimen> 144 <!-- Padding for the edge of the expanded view that is closest to the edge of the screen used 145 when displaying in landscape on a large screen. --> 146 <dimen name="bubble_expanded_view_largescreen_landscape_padding">128dp</dimen> 147 <!-- This should be at least the size of bubble_expanded_view_padding; it is used to include 148 a slight touch slop around the expanded view. --> 149 <dimen name="bubble_expanded_view_slop">8dp</dimen> 150 <!-- Default (and minimum) height of the expanded view shown when the bubble is expanded. 151 If this value changes then R.dimen.bubble_expanded_view_min_height in CtsVerifier 152 should also be updated. --> 153 <dimen name="bubble_expanded_default_height">180dp</dimen> 154 <!-- The width of the overflow view on large screens or in landscape on phone. --> 155 <dimen name="bubble_expanded_view_overflow_width">380dp</dimen> 156 <!-- Inset to apply to the icon in the overflow button. --> 157 <dimen name="bubble_overflow_icon_inset">30dp</dimen> 158 <!-- Default (and minimum) height of bubble overflow --> 159 <dimen name="bubble_overflow_height">480dp</dimen> 160 <!-- Bubble overflow padding when there are no bubbles --> 161 <dimen name="bubble_overflow_empty_state_padding">16dp</dimen> 162 <!-- Horizontal padding of the overflow container. Total desired padding is 16dp but the items 163 already have 5dp added to each side. --> 164 <dimen name="bubble_overflow_container_padding_horizontal">11dp</dimen> 165 <!-- Horizontal padding between items in the overflow view, half of the desired amount. --> 166 <dimen name="bubble_overflow_item_padding_horizontal">5dp</dimen> 167 <!-- Vertical padding between items in the overflow view, half the desired amount. --> 168 <dimen name="bubble_overflow_item_padding_vertical">16dp</dimen> 169 <!-- Padding of label for bubble overflow view --> 170 <dimen name="bubble_overflow_text_padding">7dp</dimen> 171 <!-- Height of bubble overflow empty state illustration --> 172 <dimen name="bubble_empty_overflow_image_height">200dp</dimen> 173 <!-- Padding of bubble overflow empty state subtitle --> 174 <dimen name="bubble_empty_overflow_subtitle_padding">50dp</dimen> 175 <!-- Height of the triangle that points to the expanded bubble. --> 176 <dimen name="bubble_pointer_height">10dp</dimen> 177 <!-- Width of the triangle that points to the expanded bubble. --> 178 <dimen name="bubble_pointer_width">12dp</dimen> 179 <!-- Radius of the pointer --> 180 <dimen name="bubble_pointer_radius">2dp</dimen> 181 <!-- The amount the pointer overlaps with the expanded view to be flush on an edge with 182 a radius. --> 183 <dimen name="bubble_pointer_overlap">1dp</dimen> 184 <!-- Extra padding around the dismiss target for bubbles --> 185 <dimen name="bubble_dismiss_slop">16dp</dimen> 186 <!-- Height of button allowing users to adjust settings for bubbles. --> 187 <dimen name="bubble_manage_button_height">36dp</dimen> 188 <!-- Height of manage button including margins. --> 189 <dimen name="bubble_manage_button_total_height">68dp</dimen> 190 <!-- The margin around the outside of the manage button. --> 191 <dimen name="bubble_manage_button_margin">16dp</dimen> 192 <!-- Height of an item in the bubble manage menu. --> 193 <dimen name="bubble_menu_item_height">60dp</dimen> 194 <!-- Padding applied to the bubble manage menu. --> 195 <dimen name="bubble_menu_padding">16dp</dimen> 196 <!-- Size of the icons in the manage menu. --> 197 <dimen name="bubble_menu_icon_size">24dp</dimen> 198 <!-- Max width of the message bubble--> 199 <dimen name="bubble_message_max_width">144dp</dimen> 200 <!-- Min width of the message bubble --> 201 <dimen name="bubble_message_min_width">32dp</dimen> 202 <!-- Interior padding of the message bubble --> 203 <dimen name="bubble_message_padding">4dp</dimen> 204 <!-- Offset between bubbles in their stacked position. --> 205 <dimen name="bubble_stack_offset">12dp</dimen> 206 <!-- Offset between stack y and animation y for bubble swap. --> 207 <dimen name="bubble_swap_animation_offset">15dp</dimen> 208 <!-- How far offscreen the bubble stack rests. There's some padding around the bubble so 209 add 3dp to the desired overhang. --> 210 <dimen name="bubble_stack_offscreen">3dp</dimen> 211 <!-- How far down the screen the stack starts. --> 212 <dimen name="bubble_stack_starting_offset_y">120dp</dimen> 213 <!-- Space between the pointer triangle and the bubble expanded view --> 214 <dimen name="bubble_pointer_margin">5dp</dimen> 215 <!-- Padding applied to the bubble dismiss target. Touches in this padding cause the bubbles to 216 snap to the dismiss target. --> 217 <dimen name="bubble_dismiss_target_padding_x">40dp</dimen> 218 <dimen name="bubble_dismiss_target_padding_y">20dp</dimen> 219 <dimen name="bubble_manage_menu_elevation">4dp</dimen> 220 <!-- Size of manage user education views on large screens or in landscape. --> 221 <dimen name="bubbles_user_education_width">480dp</dimen> 222 <!-- Margin applied to the end of the user education views (really only matters for phone 223 since the width is match parent). --> 224 <dimen name="bubble_user_education_margin_end">24dp</dimen> 225 <!-- Padding applied to the end of the user education view. --> 226 <dimen name="bubble_user_education_padding_end">58dp</dimen> 227 <!-- Padding between the bubble and the user education text. --> 228 <dimen name="bubble_user_education_stack_padding">16dp</dimen> 229 <!-- Max width for the bubble popup view. --> 230 <dimen name="bubble_popup_content_max_width">300dp</dimen> 231 <!-- Horizontal margin for the bubble popup view. --> 232 <dimen name="bubble_popup_margin_horizontal">32dp</dimen> 233 <!-- Top margin for the bubble popup view. --> 234 <dimen name="bubble_popup_margin_top">16dp</dimen> 235 <!-- Width for the bubble popup view arrow. --> 236 <dimen name="bubble_popup_arrow_width">12dp</dimen> 237 <!-- Height for the bubble popup view arrow. --> 238 <dimen name="bubble_popup_arrow_height">10dp</dimen> 239 <!-- Corner radius for the bubble popup view arrow. --> 240 <dimen name="bubble_popup_arrow_corner_radius">2dp</dimen> 241 <!-- Padding for the bubble popup view contents. --> 242 <dimen name="bubble_popup_padding">24dp</dimen> 243 <!-- The size of the caption bar inset at the top of bubble bar expanded view. --> 244 <dimen name="bubble_bar_expanded_view_caption_height">32dp</dimen> 245 <!-- The height of the dots shown for the caption menu in the bubble bar expanded view.. --> 246 <dimen name="bubble_bar_expanded_view_caption_dot_size">4dp</dimen> 247 <!-- The spacing between the dots for the caption menu in the bubble bar expanded view.. --> 248 <dimen name="bubble_bar_expanded_view_caption_dot_spacing">4dp</dimen> 249 <!-- Minimum width of the bubble bar manage menu. --> 250 <dimen name="bubble_bar_manage_menu_min_width">200dp</dimen> 251 <!-- Size of the dismiss icon in the bubble bar manage menu. --> 252 <dimen name="bubble_bar_manage_menu_dismiss_icon_size">16dp</dimen> 253 <!-- Padding of the bubble bar manage menu, provides space for menu shadows --> 254 <dimen name="bubble_bar_manage_menu_padding">8dp</dimen> 255 <!-- Top padding of the bubble bar manage menu --> 256 <dimen name="bubble_bar_manage_menu_padding_top">2dp</dimen> 257 <!-- Spacing between sections of the bubble bar manage menu --> 258 <dimen name="bubble_bar_manage_menu_section_spacing">2dp</dimen> 259 <!-- Height of an item in the bubble bar manage menu. --> 260 <dimen name="bubble_bar_manage_menu_item_height">52dp</dimen> 261 <!-- Size of the icons in the bubble bar manage menu. --> 262 <dimen name="bubble_bar_manage_menu_item_icon_size">20dp</dimen> 263 264 <!-- Bottom and end margin for compat buttons. --> 265 <dimen name="compat_button_margin">24dp</dimen> 266 267 <!-- The radius of the corners of the compat hint bubble. --> 268 <dimen name="compat_hint_corner_radius">28dp</dimen> 269 270 <!-- The width of the compat hint point. --> 271 <dimen name="compat_hint_point_width">10dp</dimen> 272 273 <!-- The end padding for the compat hint. Computed as (compat button width (=48) / 2 274 + compat_button_margin - compat_hint_corner_radius - compat_hint_point_width / 2). --> 275 <dimen name="compat_hint_padding_end">7dp</dimen> 276 277 <!-- The width of the compat hint. --> 278 <dimen name="compat_hint_width">188dp</dimen> 279 280 <!-- The width of the camera compat hint. --> 281 <dimen name="camera_compat_hint_width">143dp</dimen> 282 283 <!-- The corner radius of the letterbox education dialog. --> 284 <dimen name="letterbox_education_dialog_corner_radius">28dp</dimen> 285 286 <!-- The width of the top icon in the letterbox education dialog. --> 287 <dimen name="letterbox_education_dialog_title_icon_width">45dp</dimen> 288 289 <!-- The height of the top icon in the letterbox education dialog. --> 290 <dimen name="letterbox_education_dialog_title_icon_height">44dp</dimen> 291 292 <!-- The width of an icon in the letterbox education dialog. --> 293 <dimen name="letterbox_education_dialog_icon_width">40dp</dimen> 294 295 <!-- The height of an icon in the letterbox education dialog. --> 296 <dimen name="letterbox_education_dialog_icon_height">32dp</dimen> 297 298 <!-- The fixed width of the dialog if there is enough space in the parent. --> 299 <dimen name="letterbox_education_dialog_width">472dp</dimen> 300 301 <!-- The margin between the dialog container and its parent. --> 302 <dimen name="letterbox_education_dialog_margin">16dp</dimen> 303 304 <!-- The width of each action container in the letterbox education dialog --> 305 <dimen name="letterbox_education_dialog_action_width">140dp</dimen> 306 307 <!-- The space between two actions in the letterbox education dialog --> 308 <dimen name="letterbox_education_dialog_space_between_actions">24dp</dimen> 309 310 <!-- The corner radius of the buttons in the letterbox education dialog --> 311 <dimen name="letterbox_education_dialog_button_radius">12dp</dimen> 312 313 <!-- The horizontal padding for the buttons in the letterbox education dialog --> 314 <dimen name="letterbox_education_dialog_horizontal_padding">16dp</dimen> 315 316 <!-- The vertical padding for the buttons in the letterbox education dialog --> 317 <dimen name="letterbox_education_dialog_vertical_padding">8dp</dimen> 318 319 <!-- The insets for the buttons in the letterbox education dialog --> 320 <dimen name="letterbox_education_dialog_vertical_inset">6dp</dimen> 321 322 <!-- The margin between the dialog container and its parent. --> 323 <dimen name="letterbox_restart_dialog_margin">24dp</dimen> 324 325 <!-- The corner radius of the restart confirmation dialog. --> 326 <dimen name="letterbox_restart_dialog_corner_radius">28dp</dimen> 327 328 <!-- The fixed width of the dialog if there is enough space in the parent. --> 329 <dimen name="letterbox_restart_dialog_width">348dp</dimen> 330 331 <!-- The width of the top icon in the restart confirmation dialog. --> 332 <dimen name="letterbox_restart_dialog_title_icon_width">32dp</dimen> 333 334 <!-- The height of the top icon in the restart confirmation dialog. --> 335 <dimen name="letterbox_restart_dialog_title_icon_height">32dp</dimen> 336 337 <!-- The width of an icon in the restart confirmation dialog. --> 338 <dimen name="letterbox_restart_dialog_icon_width">40dp</dimen> 339 340 <!-- The height of an icon in the restart confirmation dialog. --> 341 <dimen name="letterbox_restart_dialog_icon_height">32dp</dimen> 342 343 <!-- The space between two actions in the restart confirmation dialog --> 344 <dimen name="letterbox_restart_dialog_space_between_actions">24dp</dimen> 345 346 <!-- The width of the buttons in the restart dialog --> 347 <dimen name="letterbox_restart_dialog_button_width">82dp</dimen> 348 349 <!-- The width of the buttons in the restart dialog --> 350 <dimen name="letterbox_restart_dialog_button_height">36dp</dimen> 351 352 <!-- The corner radius of the buttons in the restart dialog --> 353 <dimen name="letterbox_restart_dialog_button_radius">18dp</dimen> 354 355 <!-- The insets for the buttons in the letterbox restart dialog --> 356 <dimen name="letterbox_restart_dialog_vertical_inset">6dp</dimen> 357 358 <!-- The horizontal padding for the buttons in the letterbox restart dialog --> 359 <dimen name="letterbox_restart_dialog_horizontal_padding">16dp</dimen> 360 361 <!-- The vertical padding for the buttons in the letterbox restart dialog --> 362 <dimen name="letterbox_restart_dialog_vertical_padding">8dp</dimen> 363 364 <!-- The margin between the reachability dialog container and its parent. --> 365 <dimen name="letterbox_reachability_education_dialog_margin">16dp</dimen> 366 367 <!-- The size of the icon in the item of reachability education --> 368 <dimen name="letterbox_reachability_education_item_image_size">24dp</dimen> 369 370 <!-- The width of the brand image on staring surface. --> 371 <dimen name="starting_surface_brand_image_width">200dp</dimen> 372 373 <!-- The height of the brand image on staring surface. --> 374 <dimen name="starting_surface_brand_image_height">80dp</dimen> 375 376 <!-- The length of the shift of main window when exit starting window. --> 377 <dimen name="starting_surface_exit_animation_window_shift_length">20dp</dimen> 378 379 <!-- The distance of the shift icon when normal exit starting window. --> 380 <dimen name="starting_surface_normal_exit_icon_distance">120dp</dimen> 381 382 <!-- The distance of the shift icon when early exit starting window. --> 383 <dimen name="starting_surface_early_exit_icon_distance">32dp</dimen> 384 385 <!-- The default minimal size of a PiP task, in both dimensions. --> 386 <dimen name="default_minimal_size_pip_resizable_task">108dp</dimen> 387 388 <!-- 389 The overridable minimal size of a PiP task, in both dimensions. 390 Different from default_minimal_size_pip_resizable_task, this is to limit the dimension 391 when the pinned stack size is overridden by app via minWidth/minHeight. 392 --> 393 <dimen name="overridable_minimal_size_pip_resizable_task">48dp</dimen> 394 395 <!-- The thickness of shadows of a window that has focus in DIP. --> 396 <dimen name="freeform_decor_shadow_focused_thickness">20dp</dimen> 397 398 <!-- The thickness of shadows of a window that doesn't have focus in DIP. --> 399 <dimen name="freeform_decor_shadow_unfocused_thickness">5dp</dimen> 400 401 <!-- Height of button (32dp) + 2 * margin (5dp each). --> 402 <dimen name="freeform_decor_caption_height">42dp</dimen> 403 404 <!-- The width of the handle menu in desktop mode. --> 405 <dimen name="desktop_mode_handle_menu_width">216dp</dimen> 406 407 <!-- The height of the handle menu's "App Info" pill in desktop mode. --> 408 <dimen name="desktop_mode_handle_menu_app_info_pill_height">52dp</dimen> 409 410 <!-- The height of the handle menu's "Windowing" pill in desktop mode. --> 411 <dimen name="desktop_mode_handle_menu_windowing_pill_height">52dp</dimen> 412 413 <!-- The height of the handle menu's "More Actions" pill in desktop mode. --> 414 <dimen name="desktop_mode_handle_menu_more_actions_pill_height">156dp</dimen> 415 416 <!-- The top margin of the handle menu in desktop mode. --> 417 <dimen name="desktop_mode_handle_menu_margin_top">4dp</dimen> 418 419 <!-- The start margin of the handle menu in desktop mode. --> 420 <dimen name="desktop_mode_handle_menu_margin_start">6dp</dimen> 421 422 <!-- The margin between pills of the handle menu in desktop mode. --> 423 <dimen name="desktop_mode_handle_menu_pill_spacing_margin">2dp</dimen> 424 425 <!-- The radius of the caption menu corners. --> 426 <dimen name="desktop_mode_handle_menu_corner_radius">26dp</dimen> 427 428 <!-- The radius of the caption menu shadow. --> 429 <dimen name="desktop_mode_handle_menu_shadow_radius">2dp</dimen> 430 431 <dimen name="freeform_resize_handle">15dp</dimen> 432 433 <dimen name="freeform_resize_corner">44dp</dimen> 434 435 <!-- The width of the area at the sides of the screen where a freeform task will transition to 436 split select if dragged until the touch input is within the range. --> 437 <dimen name="desktop_mode_transition_area_width">32dp</dimen> 438 439 <!-- The height of the area at the top of the screen where a freeform task will transition to 440 fullscreen if dragged until the top bound of the task is within the area. --> 441 <dimen name="desktop_mode_transition_area_height">16dp</dimen> 442</resources> 443