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 stash offset size, which is the width of visible PIP region when stashed. -->
71    <dimen name="pip_stash_offset">32dp</dimen>
72
73    <!-- PIP shadow radius, originally as
74         WindowConfiguration#PINNED_WINDOWING_MODE_ELEVATION_IN_DIP -->
75    <dimen name="pip_shadow_radius">5dp</dimen>
76
77    <!-- The width and height of the background for custom action in PiP menu. -->
78    <dimen name="pip_custom_close_bg_size">32dp</dimen>
79
80    <!-- Extra padding between picture-in-picture windows and any registered keep clear areas. -->
81    <dimen name="pip_keep_clear_areas_padding">16dp</dimen>
82
83    <dimen name="dismiss_target_x_size">24dp</dimen>
84    <dimen name="floating_dismiss_bottom_margin">50dp</dimen>
85
86    <!-- How high we lift the divider when touching -->
87    <dimen name="docked_stack_divider_lift_elevation">4dp</dimen>
88
89    <!-- Icon size for split screen -->
90    <dimen name="split_icon_size">72dp</dimen>
91    <!-- Divider handle size for legacy split screen -->
92    <dimen name="docked_divider_handle_width">16dp</dimen>
93    <dimen name="docked_divider_handle_height">2dp</dimen>
94    <!-- Divider handle size for split screen -->
95    <dimen name="split_divider_handle_region_width">96dp</dimen>
96    <dimen name="split_divider_handle_region_height">48dp</dimen>
97
98    <dimen name="split_divider_handle_width">72dp</dimen>
99    <dimen name="split_divider_handle_height">3dp</dimen>
100
101    <dimen name="split_divider_bar_width">10dp</dimen>
102    <dimen name="split_divider_corner_size">42dp</dimen>
103
104    <!-- The distance from the edge of the screen to invoke splitscreen when the user is dragging
105         an intent that can be launched into split. -->
106    <dimen name="drag_launchable_intent_edge_margin">48dp</dimen>
107
108    <!-- One-Handed Mode -->
109    <!-- Threshold for dragging distance to enable one-handed mode -->
110    <dimen name="gestures_onehanded_drag_threshold">20dp</dimen>
111
112    <!-- The amount to inset the drop target regions from the edge of the display -->
113    <dimen name="drop_layout_display_margin">16dp</dimen>
114
115    <!-- How much each bubble is elevated. -->
116    <dimen name="bubble_elevation">1dp</dimen>
117    <!-- How much the bubble flyout text container is elevated. -->
118    <dimen name="bubble_flyout_elevation">4dp</dimen>
119    <!-- How much padding is around the left and right sides of the flyout text. -->
120    <dimen name="bubble_flyout_padding_x">14dp</dimen>
121    <!-- How much padding is around the top and bottom of the flyout text. -->
122    <dimen name="bubble_flyout_padding_y">10dp</dimen>
123    <!-- Size of the triangle that points from the flyout to the bubble stack. -->
124    <dimen name="bubble_flyout_pointer_size">6dp</dimen>
125    <!-- How much space to leave between the flyout (tip of the arrow) and the bubble stack. -->
126    <dimen name="bubble_flyout_space_from_bubble">8dp</dimen>
127    <!-- How much space to leave between the flyout text and the avatar displayed in the flyout. -->
128    <dimen name="bubble_flyout_avatar_message_space">6dp</dimen>
129    <!-- If the screen percentage is smaller than this, we'll use this value instead.  -->
130    <dimen name="bubbles_flyout_min_width_large_screen">200dp</dimen>
131    <!-- Padding between status bar and bubbles when displayed in expanded state -->
132    <dimen name="bubble_padding_top">16dp</dimen>
133    <!-- Space between bubbles when expanded. -->
134    <dimen name="bubble_spacing">3dp</dimen>
135    <!-- Size of the bubble. -->
136    <dimen name="bubble_size">60dp</dimen>
137    <!-- Width of bubble name view -->
138    <dimen name="bubble_name_width">90dp</dimen>
139    <!-- Size of the badge shown on the bubble. -->
140    <dimen name="bubble_badge_size">24dp</dimen>
141    <!-- Extra padding added to the touchable rect for bubbles so they are easier to grab. -->
142    <dimen name="bubble_touch_padding">12dp</dimen>
143    <!-- Size of the circle around the bubbles when they're in the dismiss target. -->
144    <dimen name="bubble_dismiss_encircle_size">52dp</dimen>
145    <!-- Padding around the view displayed when the bubble is expanded -->
146    <dimen name="bubble_expanded_view_padding">16dp</dimen>
147    <!-- Padding for the edge of the expanded view that is closest to the edge of the screen used
148         when displaying in landscape on a large screen. -->
149    <dimen name="bubble_expanded_view_largescreen_landscape_padding">102dp</dimen>
150    <!-- The width of the expanded view on large screens. -->
151    <dimen name="bubble_expanded_view_largescreen_width">540dp</dimen>
152    <!-- This should be at least the size of bubble_expanded_view_padding; it is used to include
153         a slight touch slop around the expanded view. -->
154    <dimen name="bubble_expanded_view_slop">8dp</dimen>
155    <!-- Default (and minimum) height of the expanded view shown when the bubble is expanded.
156         If this value changes then R.dimen.bubble_expanded_view_min_height in CtsVerifier
157         should also be updated. -->
158    <dimen name="bubble_expanded_default_height">180dp</dimen>
159    <!-- The width of the overflow view on large screens or in landscape on phone. -->
160    <dimen name="bubble_expanded_view_overflow_width">380dp</dimen>
161    <!-- Inset to apply to the icon in the overflow button. -->
162    <dimen name="bubble_overflow_icon_inset">30dp</dimen>
163    <!-- Default (and minimum) height of bubble overflow -->
164    <dimen name="bubble_overflow_height">480dp</dimen>
165    <!-- Bubble overflow padding when there are no bubbles  -->
166    <dimen name="bubble_overflow_empty_state_padding">16dp</dimen>
167    <!-- Horizontal padding of the overflow container. Total desired padding is 16dp but the items
168         already have 5dp added to each side. -->
169    <dimen name="bubble_overflow_container_padding_horizontal">11dp</dimen>
170    <!-- Horizontal padding between items in the overflow view, half of the desired amount. -->
171    <dimen name="bubble_overflow_item_padding_horizontal">5dp</dimen>
172    <!-- Vertical padding between items in the overflow view, half the desired amount. -->
173    <dimen name="bubble_overflow_item_padding_vertical">16dp</dimen>
174    <!-- Padding of label for bubble overflow view -->
175    <dimen name="bubble_overflow_text_padding">7dp</dimen>
176    <!-- Height of bubble overflow empty state illustration -->
177    <dimen name="bubble_empty_overflow_image_height">200dp</dimen>
178    <!-- Padding of bubble overflow empty state subtitle -->
179    <dimen name="bubble_empty_overflow_subtitle_padding">50dp</dimen>
180    <!-- Height of the triangle that points to the expanded bubble. -->
181    <dimen name="bubble_pointer_height">10dp</dimen>
182    <!-- Width of the triangle that points to the expanded bubble. -->
183    <dimen name="bubble_pointer_width">12dp</dimen>
184    <!-- Radius of the pointer -->
185    <dimen name="bubble_pointer_radius">2dp</dimen>
186    <!-- The amount the pointer overlaps with the expanded view to be flush on an edge with
187         a radius. -->
188    <dimen name="bubble_pointer_overlap">1dp</dimen>
189    <!-- Extra padding around the dismiss target for bubbles -->
190    <dimen name="bubble_dismiss_slop">16dp</dimen>
191    <!-- Height of button allowing users to adjust settings for bubbles. We use sp so that the
192         button can scale with the font size. -->
193    <dimen name="bubble_manage_button_height">36sp</dimen>
194    <!-- Touch area height of the manage button. -->
195    <dimen name="bubble_manage_button_touch_area_height">48dp</dimen>
196    <!-- The margin around the outside of the manage button. -->
197    <dimen name="bubble_manage_button_margin">16dp</dimen>
198    <!-- Height of an item in the bubble manage menu. -->
199    <dimen name="bubble_menu_item_height">60dp</dimen>
200    <!-- Padding applied to the bubble manage menu. -->
201    <dimen name="bubble_menu_padding">16dp</dimen>
202    <!-- Size of the icons in the manage menu. -->
203    <dimen name="bubble_menu_icon_size">24dp</dimen>
204    <!-- Max width of the message bubble-->
205    <dimen name="bubble_message_max_width">144dp</dimen>
206    <!-- Min width of the message bubble -->
207    <dimen name="bubble_message_min_width">32dp</dimen>
208    <!-- Interior padding of the message bubble -->
209    <dimen name="bubble_message_padding">4dp</dimen>
210    <!-- Offset between bubbles in their stacked position. -->
211    <dimen name="bubble_stack_offset">12dp</dimen>
212    <!-- Offset between stack y and animation y for bubble swap. -->
213    <dimen name="bubble_swap_animation_offset">15dp</dimen>
214    <!-- How far offscreen the bubble stack rests. There's some padding around the bubble so
215         add 3dp to the desired overhang. -->
216    <dimen name="bubble_stack_offscreen">2.5dp</dimen>
217    <!-- How far down the screen the stack starts. -->
218    <dimen name="bubble_stack_starting_offset_y">120dp</dimen>
219    <!-- Space between the pointer triangle and the bubble expanded view -->
220    <dimen name="bubble_pointer_margin">5dp</dimen>
221    <!-- Padding applied to the bubble dismiss target. Touches in this padding cause the bubbles to
222         snap to the dismiss target. -->
223    <dimen name="bubble_dismiss_target_padding_x">40dp</dimen>
224    <dimen name="bubble_dismiss_target_padding_y">20dp</dimen>
225    <dimen name="bubble_manage_menu_elevation">4dp</dimen>
226    <!-- Size of manage user education views on large screens or in landscape. -->
227    <dimen name="bubbles_user_education_width">480dp</dimen>
228    <!-- Margin applied to the end of the user education views (really only matters for phone
229         since the width is match parent). -->
230    <dimen name="bubble_user_education_margin_horizontal">24dp</dimen>
231    <!-- Padding applied to the end of the user education view. -->
232    <dimen name="bubble_user_education_padding_horizontal">58dp</dimen>
233    <!-- Padding between the bubble and the user education text. -->
234    <dimen name="bubble_user_education_stack_padding">16dp</dimen>
235    <!-- Max width for the bubble popup view. -->
236    <dimen name="bubble_popup_content_max_width">300dp</dimen>
237    <!-- Horizontal margin for the bubble popup view. -->
238    <dimen name="bubble_popup_margin_horizontal">32dp</dimen>
239    <!-- Top margin for the bubble popup view. -->
240    <dimen name="bubble_popup_margin_top">16dp</dimen>
241    <!-- Width for the bubble popup view arrow. -->
242    <dimen name="bubble_popup_arrow_width">12dp</dimen>
243    <!-- Height for the bubble popup view arrow. -->
244    <dimen name="bubble_popup_arrow_height">10dp</dimen>
245    <!-- Corner radius for the bubble popup view arrow. -->
246    <dimen name="bubble_popup_arrow_corner_radius">2dp</dimen>
247    <!-- Padding for the bubble popup view contents. -->
248    <dimen name="bubble_popup_padding">24dp</dimen>
249    <!-- The size of the caption bar inset at the top of bubble bar expanded view. -->
250    <dimen name="bubble_bar_expanded_view_caption_height">36dp</dimen>
251    <!-- The width of the caption bar at the top of bubble bar expanded view. -->
252    <dimen name="bubble_bar_expanded_view_caption_width">80dp</dimen>
253    <!-- The height of the handle shown for the caption menu in the bubble bar expanded view. -->
254    <dimen name="bubble_bar_expanded_view_handle_height">4dp</dimen>
255    <!-- Width of the expanded bubble bar view shown when the bubble is expanded. -->
256    <dimen name="bubble_bar_expanded_view_width">412dp</dimen>
257    <!-- Minimum width of the bubble bar manage menu. -->
258    <dimen name="bubble_bar_manage_menu_min_width">200dp</dimen>
259    <!-- Size of the dismiss icon in the bubble bar manage menu. -->
260    <dimen name="bubble_bar_manage_menu_dismiss_icon_size">16dp</dimen>
261    <!-- Padding of the bubble bar manage menu, provides space for menu shadows -->
262    <dimen name="bubble_bar_manage_menu_padding">8dp</dimen>
263    <!-- Top padding of the bubble bar manage menu -->
264    <dimen name="bubble_bar_manage_menu_padding_top">2dp</dimen>
265    <!-- Spacing between sections of the bubble bar manage menu -->
266    <dimen name="bubble_bar_manage_menu_section_spacing">2dp</dimen>
267    <!-- Height of an item in the bubble bar manage menu. -->
268    <dimen name="bubble_bar_manage_menu_item_height">52dp</dimen>
269    <!-- Size of the icons in the bubble bar manage menu. -->
270    <dimen name="bubble_bar_manage_menu_item_icon_size">20dp</dimen>
271    <!-- Corner radius for expanded view when bubble bar is used -->
272    <dimen name="bubble_bar_expanded_view_corner_radius">16dp</dimen>
273    <!-- Corner radius for expanded view while it is being dragged -->
274    <dimen name="bubble_bar_expanded_view_corner_radius_dragged">28dp</dimen>
275    <!-- Corner radius for expanded view drop target -->
276    <dimen name="bubble_bar_expanded_view_drop_target_corner">28dp</dimen>
277    <dimen name="bubble_bar_expanded_view_drop_target_padding">24dp</dimen>
278    <!-- Width of the box around bottom center of the screen where drag only leads to dismiss -->
279    <dimen name="bubble_bar_dismiss_zone_width">192dp</dimen>
280    <!-- Height of the box around bottom center of the screen where drag only leads to dismiss -->
281    <dimen name="bubble_bar_dismiss_zone_height">242dp</dimen>
282
283    <!-- Bottom and end margin for compat buttons. -->
284    <dimen name="compat_button_margin">24dp</dimen>
285
286    <!-- The radius of the corners of the compat hint bubble. -->
287    <dimen name="compat_hint_corner_radius">28dp</dimen>
288
289    <!-- The width of the compat hint point. -->
290    <dimen name="compat_hint_point_width">10dp</dimen>
291
292    <!-- The end padding for the compat hint. Computed as (compat button width (=48) / 2
293        + compat_button_margin - compat_hint_corner_radius - compat_hint_point_width / 2). -->
294    <dimen name="compat_hint_padding_end">7dp</dimen>
295
296    <!-- The width of the compat hint. -->
297    <dimen name="compat_hint_width">188dp</dimen>
298
299    <!-- The width of the camera compat hint. -->
300    <dimen name="camera_compat_hint_width">143dp</dimen>
301
302    <!-- The corner radius of the letterbox education dialog. -->
303    <dimen name="letterbox_education_dialog_corner_radius">28dp</dimen>
304
305    <!-- The width of the top icon in the letterbox education dialog. -->
306    <dimen name="letterbox_education_dialog_title_icon_width">45dp</dimen>
307
308    <!-- The height of the top icon in the letterbox education dialog. -->
309    <dimen name="letterbox_education_dialog_title_icon_height">44dp</dimen>
310
311    <!-- The width of an icon in the letterbox education dialog. -->
312    <dimen name="letterbox_education_dialog_icon_width">40dp</dimen>
313
314    <!-- The height of an icon in the letterbox education dialog. -->
315    <dimen name="letterbox_education_dialog_icon_height">32dp</dimen>
316
317    <!-- The fixed width of the dialog if there is enough space in the parent. -->
318    <dimen name="letterbox_education_dialog_width">472dp</dimen>
319
320    <!-- The margin between the dialog container and its parent. -->
321    <dimen name="letterbox_education_dialog_margin">16dp</dimen>
322
323    <!-- The width of each action container in the letterbox education dialog -->
324    <dimen name="letterbox_education_dialog_action_width">140dp</dimen>
325
326    <!-- The space between two actions in the letterbox education dialog -->
327    <dimen name="letterbox_education_dialog_space_between_actions">24dp</dimen>
328
329    <!-- The corner radius of the buttons in the letterbox education dialog -->
330    <dimen name="letterbox_education_dialog_button_radius">12dp</dimen>
331
332    <!-- The horizontal padding for the buttons in the letterbox education dialog -->
333    <dimen name="letterbox_education_dialog_horizontal_padding">16dp</dimen>
334
335    <!-- The vertical padding for the buttons in the letterbox education dialog -->
336    <dimen name="letterbox_education_dialog_vertical_padding">8dp</dimen>
337
338    <!-- The insets for the buttons in the letterbox education dialog -->
339    <dimen name="letterbox_education_dialog_vertical_inset">6dp</dimen>
340
341    <!-- The margin between the dialog container and its parent. -->
342    <dimen name="letterbox_restart_dialog_margin">24dp</dimen>
343
344    <!-- The corner radius of the restart confirmation dialog. -->
345    <dimen name="letterbox_restart_dialog_corner_radius">28dp</dimen>
346
347    <!-- The fixed width of the dialog if there is enough space in the parent. -->
348    <dimen name="letterbox_restart_dialog_width">348dp</dimen>
349
350    <!-- The width of the top icon in the restart confirmation dialog. -->
351    <dimen name="letterbox_restart_dialog_title_icon_width">32dp</dimen>
352
353    <!-- The height of the top icon in the restart confirmation dialog. -->
354    <dimen name="letterbox_restart_dialog_title_icon_height">32dp</dimen>
355
356    <!-- The width of an icon in the restart confirmation dialog. -->
357    <dimen name="letterbox_restart_dialog_icon_width">40dp</dimen>
358
359    <!-- The height of an icon in the restart confirmation dialog. -->
360    <dimen name="letterbox_restart_dialog_icon_height">32dp</dimen>
361
362    <!-- The space between two actions in the restart confirmation dialog -->
363    <dimen name="letterbox_restart_dialog_space_between_actions">24dp</dimen>
364
365    <!-- The width of the buttons in the restart dialog -->
366    <dimen name="letterbox_restart_dialog_button_width">82dp</dimen>
367
368    <!-- The width of the buttons in the restart dialog -->
369    <dimen name="letterbox_restart_dialog_button_height">36dp</dimen>
370
371    <!-- The corner radius of the buttons in the restart dialog -->
372    <dimen name="letterbox_restart_dialog_button_radius">18dp</dimen>
373
374    <!-- The insets for the buttons in the letterbox restart dialog -->
375    <dimen name="letterbox_restart_dialog_vertical_inset">6dp</dimen>
376
377    <!-- The horizontal padding for the buttons in the letterbox restart dialog -->
378    <dimen name="letterbox_restart_dialog_horizontal_padding">16dp</dimen>
379
380    <!-- The vertical padding for the buttons in the letterbox restart dialog -->
381    <dimen name="letterbox_restart_dialog_vertical_padding">8dp</dimen>
382
383    <!-- The margin between the reachability dialog container and its parent. -->
384    <dimen name="letterbox_reachability_education_dialog_margin">16dp</dimen>
385
386    <!-- The size of the icon in the item of reachability education -->
387    <dimen name="letterbox_reachability_education_item_image_size">24dp</dimen>
388
389    <!-- The width of the brand image on staring surface. -->
390    <dimen name="starting_surface_brand_image_width">200dp</dimen>
391
392    <!-- The height of the brand image on staring surface. -->
393    <dimen name="starting_surface_brand_image_height">80dp</dimen>
394
395    <!-- The length of the shift of main window when exit starting window. -->
396    <dimen name="starting_surface_exit_animation_window_shift_length">20dp</dimen>
397
398    <!-- The distance of the shift icon when normal exit starting window. -->
399    <dimen name="starting_surface_normal_exit_icon_distance">120dp</dimen>
400
401    <!-- The distance of the shift icon when early exit starting window. -->
402    <dimen name="starting_surface_early_exit_icon_distance">32dp</dimen>
403
404    <!-- The default minimal size of a PiP task, in both dimensions. -->
405    <dimen name="default_minimal_size_pip_resizable_task">108dp</dimen>
406
407    <!--
408      The overridable minimal size of a PiP task, in both dimensions.
409      Different from default_minimal_size_pip_resizable_task, this is to limit the dimension
410      when the pinned stack size is overridden by app via minWidth/minHeight.
411    -->
412    <dimen name="overridable_minimal_size_pip_resizable_task">48dp</dimen>
413
414    <!-- The thickness of shadows of a window that has focus in DIP. -->
415    <dimen name="freeform_decor_shadow_focused_thickness">20dp</dimen>
416
417    <!-- The thickness of shadows of a window that doesn't have focus in DIP. -->
418    <dimen name="freeform_decor_shadow_unfocused_thickness">5dp</dimen>
419
420    <!-- Height of button (32dp)  + 2 * margin (5dp each). -->
421    <dimen name="freeform_decor_caption_height">42dp</dimen>
422
423    <!-- Height of desktop mode caption for freeform tasks. -->
424    <dimen name="desktop_mode_freeform_decor_caption_height">40dp</dimen>
425
426    <!-- Height of desktop mode caption for fullscreen tasks. -->
427    <dimen name="desktop_mode_fullscreen_decor_caption_height">36dp</dimen>
428
429    <!-- Width of desktop mode caption for fullscreen tasks.
430        80 dp for handle + 20 dp for room to grow on the sides when hovered. -->
431    <dimen name="desktop_mode_fullscreen_decor_caption_width">100dp</dimen>
432
433    <!-- Required empty space to be visible for partially offscreen tasks. -->
434    <dimen name="freeform_required_visible_empty_space_in_header">48dp</dimen>
435
436    <!-- Required empty space to be visible for partially offscreen tasks on a smaller screen. -->
437    <dimen name="small_screen_required_visible_empty_space_in_header">12dp</dimen>
438
439    <!-- 32dp width back button + 10dp margin -->
440    <dimen name="caption_left_buttons_width">32dp</dimen>
441
442    <!-- (32 dp buttons + 10dp margins) * 3 buttons-->
443    <dimen name="caption_right_buttons_width">126dp</dimen>
444
445    <!-- 2 buttons * 44dp button size + 16dp total margins. -->
446    <dimen name="desktop_mode_right_edge_buttons_width">104dp</dimen>
447
448    <!-- 22dp padding + 24dp app icon + 16dp expand button.
449         Text varies in size, we will calculate that width separately. -->
450    <dimen name="desktop_mode_app_details_width_minus_text">62dp</dimen>
451
452    <!-- When custom headers are requested, this is the width of the left-aligned region that is
453         taken up by caption elements and extra margins. The customizable region starts at the
454         end of this area. -->
455    <dimen name="desktop_mode_customizable_caption_margin_start">84dp</dimen>
456
457    <!-- When custom headers are requested, this is the width of the right-aligned region that is
458         taken up by caption elements and extra margins. The customizable region ends at the
459         start of this area. -->
460    <dimen name="desktop_mode_customizable_caption_margin_end">152dp</dimen>
461
462    <!-- The default minimum allowed window width when resizing a window in desktop mode. -->
463    <dimen name="desktop_mode_minimum_window_width">386dp</dimen>
464
465    <!-- The default minimum allowed window height when resizing a window in desktop mode. -->
466    <dimen name="desktop_mode_minimum_window_height">352dp</dimen>
467
468    <!-- The width of the maximize menu in desktop mode. -->
469    <dimen name="desktop_mode_maximize_menu_width">228dp</dimen>
470
471    <!-- The height of the maximize menu in desktop mode. -->
472    <dimen name="desktop_mode_maximize_menu_height">114dp</dimen>
473
474    <!-- The padding of the maximize menu in desktop mode. -->
475    <dimen name="desktop_mode_menu_padding">16dp</dimen>
476
477    <!-- The height of the buttons in the maximize menu. -->
478    <dimen name="desktop_mode_maximize_menu_button_height">52dp</dimen>
479
480    <!-- The radius of the maximize menu buttons. -->
481    <dimen name="desktop_mode_maximize_menu_buttons_radius">4dp</dimen>
482
483    <!-- The radius of the layout outline around the maximize menu buttons. -->
484    <dimen name="desktop_mode_maximize_menu_buttons_outline_radius">6dp</dimen>
485    <!-- The stroke width of the outline around the maximize menu buttons. -->
486    <dimen name="desktop_mode_maximize_menu_buttons_outline_stroke">1dp</dimen>
487    <!-- The radius of the inner fill of the maximize menu buttons. -->
488    <dimen name="desktop_mode_maximize_menu_buttons_fill_radius">4dp</dimen>
489    <!-- The padding between the outline and fill of the maximize menu buttons. -->
490    <dimen name="desktop_mode_maximize_menu_buttons_fill_padding">4dp</dimen>
491
492    <!-- The corner radius of the maximize menu. -->
493    <dimen name="desktop_mode_maximize_menu_corner_radius">8dp</dimen>
494
495    <!-- The radius of the Maximize menu shadow. -->
496    <dimen name="desktop_mode_maximize_menu_shadow_radius">8dp</dimen>
497
498    <!-- The width of the handle menu in desktop mode. -->
499    <dimen name="desktop_mode_handle_menu_width">216dp</dimen>
500
501    <!-- The height of the handle menu's "App Info" pill in desktop mode. -->
502    <dimen name="desktop_mode_handle_menu_app_info_pill_height">52dp</dimen>
503
504    <!-- The height of the handle menu's "Windowing" pill in desktop mode. -->
505    <dimen name="desktop_mode_handle_menu_windowing_pill_height">52dp</dimen>
506
507    <!-- The height of the handle menu's "More Actions" pill in desktop mode. -->
508    <dimen name="desktop_mode_handle_menu_more_actions_pill_height">52dp</dimen>
509
510    <!-- The height of the handle menu in desktop mode. -->
511    <dimen name="desktop_mode_handle_menu_height">328dp</dimen>
512
513    <!-- The top margin of the handle menu in desktop mode. -->
514    <dimen name="desktop_mode_handle_menu_margin_top">4dp</dimen>
515
516    <!-- The start margin of the handle menu in desktop mode. -->
517    <dimen name="desktop_mode_handle_menu_margin_start">6dp</dimen>
518
519    <!-- The margin between pills of the handle menu in desktop mode. -->
520    <dimen name="desktop_mode_handle_menu_pill_spacing_margin">2dp</dimen>
521
522    <!-- The radius of the caption menu corners. -->
523    <dimen name="desktop_mode_handle_menu_corner_radius">26dp</dimen>
524
525    <!-- The radius of the caption menu icon. -->
526    <dimen name="desktop_mode_caption_icon_radius">24dp</dimen>
527
528    <!-- The radius of the caption menu shadow. -->
529    <dimen name="desktop_mode_handle_menu_shadow_radius">2dp</dimen>
530
531    <!-- The size of the icon shown in the resize veil. -->
532    <dimen name="desktop_mode_resize_veil_icon_size">96dp</dimen>
533
534    <!-- The with of the border around the app task for edge resizing, when
535         enable_windowing_edge_drag_resize is enabled. -->
536    <dimen name="desktop_mode_edge_handle">12dp</dimen>
537
538    <!-- The original width of the border around the app task for edge resizing, when
539         enable_windowing_edge_drag_resize is disabled. -->
540    <dimen name="freeform_resize_handle">15dp</dimen>
541
542    <!-- The size of the corner region for drag resizing with touch, when a larger touch region is
543         appropriate. Applied when enable_windowing_edge_drag_resize is enabled. -->
544    <dimen name="desktop_mode_corner_resize_large">48dp</dimen>
545
546    <!-- The original size of the corner region for darg resizing, when
547         enable_windowing_edge_drag_resize is disabled. -->
548    <dimen name="freeform_resize_corner">44dp</dimen>
549
550    <!-- The width of the area at the sides of the screen where a freeform task will transition to
551    split select if dragged until the touch input is within the range. -->
552    <dimen name="desktop_mode_transition_area_width">32dp</dimen>
553
554    <!-- The width of the area where a desktop task will transition to fullscreen. -->
555    <dimen name="desktop_mode_fullscreen_from_desktop_width">80dp</dimen>
556
557    <!-- The height of the area where a desktop task will transition to fullscreen. -->
558    <dimen name="desktop_mode_fullscreen_from_desktop_height">40dp</dimen>
559
560    <!-- The height on the screen where drag to the left or right edge will result in a
561    desktop task snapping to split size. The empty space between this and the top is to allow
562    for corner drags without transition. -->
563    <dimen name="desktop_mode_split_from_desktop_height">100dp</dimen>
564
565    <!-- The corner radius of a task that was dragged from fullscreen. -->
566    <dimen name="desktop_mode_dragged_task_radius">28dp</dimen>
567
568    <!-- The corner radius of the app chip, maximize and close button's ripple drawable -->
569    <dimen name="desktop_mode_header_buttons_ripple_radius">16dp</dimen>
570    <!-- The vertical inset to apply to the app chip's ripple drawable -->
571    <dimen name="desktop_mode_header_app_chip_ripple_inset_vertical">4dp</dimen>
572
573    <!-- The corner radius of the maximize button's ripple drawable -->
574    <dimen name="desktop_mode_header_maximize_ripple_radius">18dp</dimen>
575    <!-- The vertical inset to apply to the maximize button's ripple drawable -->
576    <dimen name="desktop_mode_header_maximize_ripple_inset_vertical">4dp</dimen>
577    <!-- The horizontal inset to apply to the maximize button's ripple drawable -->
578    <dimen name="desktop_mode_header_maximize_ripple_inset_horizontal">6dp</dimen>
579
580    <!-- The corner radius of the close button's ripple drawable -->
581    <dimen name="desktop_mode_header_close_ripple_radius">18dp</dimen>
582    <!-- The vertical inset to apply to the close button's ripple drawable -->
583    <dimen name="desktop_mode_header_close_ripple_inset_vertical">4dp</dimen>
584    <!-- The horizontal inset to apply to the close button's ripple drawable -->
585    <dimen name="desktop_mode_header_close_ripple_inset_horizontal">6dp</dimen>
586
587    <!-- The acceptable area ratio of fg icon area/bg icon area, i.e. (72 x 72) / (108 x 108) -->
588    <item type="dimen" format="float" name="splash_icon_enlarge_foreground_threshold">0.44</item>
589    <!-- Scaling factor applied to splash icons without provided background i.e. (192 / 160) -->
590    <item type="dimen" format="float" name="splash_icon_no_background_scale_factor">1.2</item>
591
592    <!-- The margin between the entering window and the exiting window during cross task back -->
593    <dimen name="cross_task_back_inter_window_margin">14dp</dimen>
594    <!-- The vertical margin that needs to be preserved between the scaled window bounds and the
595    original window bounds (once the surface is scaled enough to do so) -->
596    <dimen name="cross_task_back_vertical_margin">8dp</dimen>
597    <!-- The offset from the left edge of the entering page for the cross-activity animation -->
598    <dimen name="cross_activity_back_entering_start_offset">96dp</dimen>
599
600</resources>
601