diff options
Diffstat (limited to 'packages/SystemUI/res/values/dimens.xml')
-rw-r--r-- | packages/SystemUI/res/values/dimens.xml | 91 |
1 files changed, 76 insertions, 15 deletions
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index b8fabbec6c2b..ecb656091478 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -105,6 +105,12 @@ so the width of the icon should be 13.0dp * (12.0 / 20.0) --> <dimen name="status_bar_battery_icon_width">7.8dp</dimen> + <!-- The battery icon is 13dp tall, but the other system icons are 15dp tall (see + @*android:dimen/status_bar_system_icon_size) with some top and bottom padding embedded in + the drawables themselves. So, the battery icon may need an extra 1dp of spacing so that its + bottom still aligns with the bottom of all the other system icons. See b/258672854. --> + <dimen name="status_bar_battery_extra_vertical_spacing">1dp</dimen> + <!-- The font size for the clock in the status bar. --> <dimen name="status_bar_clock_size">14sp</dimen> @@ -212,6 +218,9 @@ <!-- Radius for notifications corners with adjacent notifications --> <dimen name="notification_corner_radius_small">4dp</dimen> + <!-- Vertical padding of the FSI container --> + <dimen name="fsi_chrome_vertical_padding">80dp</dimen> + <!-- the padding of the shelf icon container --> <dimen name="shelf_icon_container_padding">13dp</dimen> @@ -397,6 +406,8 @@ (quick_qs_offset_height (60dp) - ongoing_appops_chip_height (24dp) ) / 2 --> <dimen name="notifications_top_padding_split_shade">18dp</dimen> + <dimen name="notifications_unseen_footer_icon_size">16dp</dimen> + <!-- Height of the status bar header bar when on Keyguard --> <dimen name="status_bar_header_height_keyguard">40dp</dimen> @@ -407,7 +418,7 @@ <dimen name="match_parent">-1px</dimen> <!-- Height of status bar in split shade mode - visible only on large screens --> - <dimen name="large_screen_shade_header_height">@*android:dimen/quick_qs_offset_height</dimen> + <dimen name="large_screen_shade_header_height">48dp</dimen> <dimen name="large_screen_shade_header_min_height">@dimen/qs_header_row_min_height</dimen> <dimen name="large_screen_shade_header_left_padding">@dimen/qs_horizontal_margin</dimen> @@ -519,7 +530,7 @@ <dimen name="qs_tile_margin_horizontal">8dp</dimen> <dimen name="qs_tile_margin_vertical">@dimen/qs_tile_margin_horizontal</dimen> <dimen name="qs_tile_margin_top_bottom">4dp</dimen> - <dimen name="qs_brightness_margin_top">8dp</dimen> + <dimen name="qs_brightness_margin_top">12dp</dimen> <dimen name="qs_brightness_margin_bottom">16dp</dimen> <dimen name="qqs_layout_margin_top">16dp</dimen> <dimen name="qqs_layout_padding_bottom">24dp</dimen> @@ -572,6 +583,7 @@ <dimen name="qs_header_row_min_height">48dp</dimen> <dimen name="qs_header_non_clickable_element_height">24dp</dimen> + <dimen name="new_qs_header_non_clickable_element_height">20dp</dimen> <dimen name="qs_footer_padding">20dp</dimen> <dimen name="qs_security_footer_height">88dp</dimen> @@ -749,6 +761,8 @@ <dimen name="keyguard_affordance_fixed_height">48dp</dimen> <dimen name="keyguard_affordance_fixed_width">48dp</dimen> <dimen name="keyguard_affordance_fixed_radius">24dp</dimen> + <!-- Amount the button should shake when it's not long-pressed for long enough. --> + <dimen name="keyguard_affordance_shake_amplitude">8dp</dimen> <dimen name="keyguard_affordance_horizontal_offset">32dp</dimen> <dimen name="keyguard_affordance_vertical_offset">32dp</dimen> @@ -761,7 +775,7 @@ <dimen name="keyguard_lock_padding">20dp</dimen> <dimen name="keyguard_indication_margin_bottom">32dp</dimen> - <dimen name="lock_icon_margin_bottom">110dp</dimen> + <dimen name="lock_icon_margin_bottom">74dp</dimen> <dimen name="ambient_indication_margin_bottom">71dp</dimen> @@ -949,6 +963,9 @@ <dimen name="biometric_dialog_width">240dp</dimen> <dimen name="biometric_dialog_height">240dp</dimen> + <!-- Biometric Auth Credential values --> + <dimen name="biometric_auth_icon_size">48dp</dimen> + <!-- Starting text size in sp of batteryLevel for wireless charging animation --> <item name="wireless_charging_anim_battery_level_text_size_start" format="float" type="dimen"> 0 @@ -1041,6 +1058,7 @@ <dimen name="qs_media_session_collapsed_guideline">144dp</dimen> <!-- Size of Smartspace media recommendations cards in the QSPanel carousel --> + <dimen name="qs_media_rec_icon_top_margin">16dp</dimen> <dimen name="qs_media_rec_album_size">88dp</dimen> <dimen name="qs_media_rec_album_side_margin">16dp</dimen> <dimen name="qs_media_rec_album_bottom_margin">8dp</dimen> @@ -1055,12 +1073,12 @@ <dimen name="media_ttt_last_item_start_margin">12dp</dimen> <!-- Media tap-to-transfer chip for receiver device --> - <dimen name="media_ttt_chip_size_receiver">100dp</dimen> - <dimen name="media_ttt_icon_size_receiver">95dp</dimen> - <!-- Since the generic icon isn't circular, we need to scale it down so it still fits within - the circular chip. --> - <dimen name="media_ttt_generic_icon_size_receiver">70dp</dimen> - <dimen name="media_ttt_receiver_vert_translation">20dp</dimen> + <dimen name="media_ttt_icon_size_receiver">112dp</dimen> + <!-- Add some padding for the generic icon so it doesn't go all the way to the border. --> + <!-- The generic icon should be 40dp, and the full icon is 112dp, so the padding should be + (112 - 40) / 2 = 36dp --> + <dimen name="media_ttt_generic_icon_padding">36dp</dimen> + <dimen name="media_ttt_receiver_vert_translation">40dp</dimen> <!-- Window magnification --> <dimen name="magnification_border_drag_size">35dp</dimen> @@ -1158,7 +1176,7 @@ <!-- Screen record dialog --> <dimen name="screenrecord_option_padding">18dp</dimen> - <dimen name="screenrecord_logo_size">26dp</dimen> + <dimen name="screenrecord_logo_size">30dp</dimen> <dimen name="screenrecord_option_icon_size">24dp</dimen> <!-- Screen record status bar icon --> <dimen name="screenrecord_status_text_size">14sp</dimen> @@ -1166,6 +1184,18 @@ <dimen name="screenrecord_status_icon_width">21dp</dimen> <dimen name="screenrecord_status_icon_height">17.5dp</dimen> <dimen name="screenrecord_status_icon_bg_radius">8dp</dimen> + <!-- Screen record spinner --> + <dimen name="screenrecord_spinner_height">72dp</dimen> + <dimen name="screenrecord_spinner_margin">24dp</dimen> + <dimen name="screenrecord_spinner_text_padding_start">20dp</dimen> + <dimen name="screenrecord_spinner_text_padding_end">80dp</dimen> + <dimen name="screenrecord_spinner_arrow_size">24dp</dimen> + <dimen name="screenrecord_spinner_background_radius">28dp</dimen> + + <dimen name="screenrecord_title_margin_top">20dp</dimen> + <dimen name="screenrecord_warning_line_height">20dp</dimen> + <dimen name="screenrecord_options_padding_bottom">16dp</dimen> + <dimen name="screenrecord_buttons_margin_top">20dp</dimen> <!-- Keyguard user switcher --> <dimen name="kg_user_switcher_text_size">16sp</dimen> @@ -1184,6 +1214,8 @@ <dimen name="media_output_dialog_app_tier_icon_size">20dp</dimen> <dimen name="media_output_dialog_background_radius">16dp</dimen> <dimen name="media_output_dialog_active_background_radius">28dp</dimen> + <dimen name="media_output_dialog_default_margin_end">16dp</dimen> + <dimen name="media_output_dialog_selectable_margin_end">80dp</dimen> <!-- Distance that the full shade transition takes in order to complete by tapping on a button like "expand". --> @@ -1241,6 +1273,12 @@ translate into their final position. --> <dimen name="lockscreen_shade_keyguard_transition_distance">@dimen/lockscreen_shade_media_transition_distance</dimen> + <!-- DREAMING -> LOCKSCREEN transition: Amount to shift lockscreen content on entering --> + <dimen name="dreaming_to_lockscreen_transition_lockscreen_translation_y">40dp</dimen> + + <!-- OCCLUDED -> LOCKSCREEN transition: Amount to shift lockscreen content on entering --> + <dimen name="occluded_to_lockscreen_transition_lockscreen_translation_y">40dp</dimen> + <!-- The amount of vertical offset for the keyguard during the full shade transition. --> <dimen name="lockscreen_shade_keyguard_transition_vertical_offset">0dp</dimen> @@ -1395,6 +1433,11 @@ <dimen name="ongoing_call_chip_icon_text_padding">4dp</dimen> <dimen name="ongoing_call_chip_corner_radius">28dp</dimen> + <!-- Status bar user chip --> + <dimen name="status_bar_user_chip_avatar_size">16dp</dimen> + <dimen name="status_bar_user_chip_end_margin">12dp</dimen> + <dimen name="status_bar_user_chip_text_size">12sp</dimen> + <!-- Internet panel related dimensions --> <dimen name="internet_dialog_list_max_height">662dp</dimen> <!-- The height of the WiFi network in Internet panel. --> @@ -1458,6 +1501,9 @@ <dimen name="media_projection_app_selector_icon_size">32dp</dimen> <dimen name="media_projection_app_selector_recents_padding">16dp</dimen> <dimen name="media_projection_app_selector_loader_size">32dp</dimen> + <dimen name="media_projection_app_selector_task_rounded_corners">10dp</dimen> + <dimen name="media_projection_app_selector_task_icon_size">24dp</dimen> + <dimen name="media_projection_app_selector_task_icon_margin">8dp</dimen> <!-- Dream overlay related dimensions --> <dimen name="dream_overlay_status_bar_height">60dp</dimen> @@ -1471,11 +1517,17 @@ <dimen name="dream_overlay_status_bar_extra_margin">8dp</dimen> <!-- Dream overlay complications related dimensions --> - <dimen name="dream_overlay_complication_clock_time_text_size">86sp</dimen> + <!-- The blur radius applied to the dream overlay when entering and exiting dreams --> + <dimen name="dream_overlay_anim_blur_radius">50dp</dimen> + <dimen name="dream_overlay_complication_clock_time_text_size">86dp</dimen> + <dimen name="dream_overlay_complication_clock_time_translation_y">28dp</dimen> + <dimen name="dream_overlay_complication_home_controls_padding">28dp</dimen> <dimen name="dream_overlay_complication_clock_subtitle_text_size">24sp</dimen> <dimen name="dream_overlay_complication_preview_text_size">36sp</dimen> <dimen name="dream_overlay_complication_preview_icon_padding">28dp</dimen> <dimen name="dream_overlay_complication_shadow_padding">2dp</dimen> + <dimen name="dream_overlay_complication_smartspace_padding">24dp</dimen> + <dimen name="dream_overlay_complication_smartspace_max_width">408dp</dimen> <!-- The position of the end guide, which dream overlay complications can align their start with if their end is aligned with the parent end. Represented as the percentage over from the @@ -1520,10 +1572,8 @@ <dimen name="dream_overlay_complication_margin">0dp</dimen> <dimen name="dream_overlay_y_offset">80dp</dimen> - - <dimen name="dream_aqi_badge_corner_radius">28dp</dimen> - <dimen name="dream_aqi_badge_padding_vertical">6dp</dimen> - <dimen name="dream_aqi_badge_padding_horizontal">16dp</dimen> + <dimen name="dream_overlay_entry_y_offset">40dp</dimen> + <dimen name="dream_overlay_exit_y_offset">40dp</dimen> <dimen name="status_view_margin_horizontal">0dp</dimen> @@ -1567,4 +1617,15 @@ <dimen name="dream_overlay_status_bar_ambient_text_shadow_dx">0.5dp</dimen> <dimen name="dream_overlay_status_bar_ambient_text_shadow_dy">0.5dp</dimen> <dimen name="dream_overlay_status_bar_ambient_text_shadow_radius">2dp</dimen> + + <!-- Default device corner radius, used for assist UI --> + <dimen name="config_rounded_mask_size">0px</dimen> + <dimen name="config_rounded_mask_size_top">0px</dimen> + <dimen name="config_rounded_mask_size_bottom">0px</dimen> + + <!-- Rear Display Education dimens --> + <dimen name="rear_display_animation_width">273dp</dimen> + <dimen name="rear_display_animation_height">200dp</dimen> + <dimen name="rear_display_title_top_padding">24dp</dimen> + <dimen name="rear_display_title_bottom_padding">16dp</dimen> </resources> |