Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  * Copyright (c) 2006, 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 -->
     18 <resources>
     19     <!-- Amount to offset bottom of notification peek window from top of status bar. -->
     20     <dimen name="peek_window_y_offset">-12dp</dimen>
     21 
     22     <!-- thickness (height) of the navigation bar on phones that require it -->
     23     <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
     24     <!-- Minimum swipe distance to catch the swipe gestures to invoke assist or switch tasks. -->
     25     <dimen name="navigation_bar_min_swipe_distance">48dp</dimen>
     26 
     27     <!-- thickness (height) of the dead zone at the top of the navigation bar,
     28          reducing false presses on navbar buttons; approx 2mm -->
     29     <dimen name="navigation_bar_deadzone_size">12dp</dimen>
     30     <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
     31     <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
     32 
     33     <!-- Height of notification icons in the status bar -->
     34     <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
     35 
     36     <!-- Height of the battery icon in the status bar. -->
     37     <dimen name="status_bar_battery_icon_height">14.5dp</dimen>
     38 
     39     <!-- Width of the battery icon in the status bar. -->
     40     <dimen name="status_bar_battery_icon_width">9.5dp</dimen>
     41 
     42     <!-- The font size for the clock in the status bar. -->
     43     <dimen name="status_bar_clock_size">14sp</dimen>
     44 
     45     <!-- The starting padding for the clock in the status bar. -->
     46     <dimen name="status_bar_clock_starting_padding">7dp</dimen>
     47 
     48     <!-- The end padding for the clock in the status bar. -->
     49     <dimen name="status_bar_clock_end_padding">0dp</dimen>
     50 
     51     <!-- Spacing after the wifi signals that is present if there are any icons following it. -->
     52     <dimen name="status_bar_wifi_signal_spacer_width">4dp</dimen>
     53 
     54     <!-- Spacing before the airplane mode icon if there are any icons preceding it. -->
     55     <dimen name="status_bar_airplane_spacer_width">4dp</dimen>
     56 
     57     <!-- The amount to scale each of the status bar icons by. A value of 1 means no scaling. -->
     58     <item name="status_bar_icon_scale_factor" format="float" type="dimen">1.0</item>
     59 
     60     <dimen name="group_overflow_number_size">@*android:dimen/notification_text_size</dimen>
     61     <dimen name="group_overflow_number_size_dark">16sp</dimen>
     62     <dimen name="group_overflow_number_padding">@*android:dimen/notification_content_margin_end</dimen>
     63     <dimen name="group_overflow_number_extra_padding_dark">@*android:dimen/notification_extra_margin_ambient</dimen>
     64 
     65     <!-- max height of a notification such that the content can still fade out when closing -->
     66     <dimen name="max_notification_fadeout_height">100dp</dimen>
     67 
     68     <!-- End margin for the RSSI status icon of a device connected via bluetooth. -->
     69     <dimen name="status_bar_connected_device_signal_margin_end">16dp</dimen>
     70 
     71     <!-- The size of a bluetooth indicator icon that displays next to the RSSI status icon. -->
     72     <dimen name="status_bar_connected_device_bt_indicator_size">17dp</dimen>
     73 
     74     <!-- Height of a small notification in the status bar-->
     75     <dimen name="notification_min_height">92dp</dimen>
     76 
     77     <!-- Increased height of a small notification in the status bar -->
     78     <dimen name="notification_min_height_increased">132dp</dimen>
     79 
     80     <!-- Height of a small notification in the status bar which was used before android N -->
     81     <dimen name="notification_min_height_legacy">64dp</dimen>
     82 
     83     <!-- Height of a large notification in the status bar -->
     84     <dimen name="notification_max_height">284dp</dimen>
     85 
     86     <!-- Height of an ambient notification on ambient display -->
     87     <dimen name="notification_ambient_height">400dp</dimen>
     88 
     89     <!-- Height of a heads up notification in the status bar for legacy custom views -->
     90     <dimen name="notification_max_heads_up_height_legacy">128dp</dimen>
     91 
     92     <!-- Height of a heads up notification in the status bar -->
     93     <dimen name="notification_max_heads_up_height">148dp</dimen>
     94 
     95     <!-- Height of a heads up notification in the status bar -->
     96     <dimen name="notification_max_heads_up_height_increased">188dp</dimen>
     97 
     98     <!-- a threshold in dp per second that is considered fast scrolling -->
     99     <dimen name="scroll_fast_threshold">1500dp</dimen>
    100 
    101     <!-- Height of a the shelf with the notification icons -->
    102     <dimen name="notification_shelf_height">32dp</dimen>
    103 
    104     <!-- Minimum height of a notification to be interactable -->
    105     <dimen name="notification_min_interaction_height">40dp</dimen>
    106 
    107     <!-- the padding of the shelf icon container -->
    108     <dimen name="shelf_icon_container_padding">13dp</dimen>
    109 
    110     <!-- The padding of a notification icon on top to the start of the notification. Used for custom
    111          views where the distance can't be measured -->
    112     <dimen name="notification_icon_appear_padding">15dp</dimen>
    113 
    114     <!-- The amount the content shifts upwards when transforming into the icon -->
    115     <dimen name="notification_icon_transform_content_shift">32dp</dimen>
    116 
    117     <!-- The padding on the bottom of the notifications on the keyguard -->
    118     <dimen name="keyguard_indication_bottom_padding">12sp</dimen>
    119 
    120     <!-- Minimum layouted height of a notification in the statusbar-->
    121     <dimen name="min_notification_layout_height">48dp</dimen>
    122 
    123     <!-- Size of the space to place a notification menu item -->
    124     <dimen name="notification_menu_icon_size">64dp</dimen>
    125 
    126     <!-- The space around a notification menu item  -->
    127     <dimen name="notification_menu_icon_padding">20dp</dimen>
    128 
    129     <!-- The minimum height for the snackbar shown after the snooze option has been chosen. -->
    130     <dimen name="snooze_snackbar_min_height">56dp</dimen>
    131 
    132     <!-- The text size of options in the snooze menu. -->
    133     <dimen name="snooze_option_text_size">14sp</dimen>
    134 
    135     <!-- The padding around options int the snooze menu. -->
    136     <dimen name="snooze_option_padding">8dp</dimen>
    137 
    138     <!-- size at which Notification icons will be drawn in the status bar -->
    139     <dimen name="status_bar_icon_drawing_size">17dp</dimen>
    140 
    141     <!-- size at which Notification icons will be drawn on Ambient Display -->
    142     <dimen name="status_bar_icon_drawing_size_dark">@*android:dimen/notification_header_icon_size_ambient</dimen>
    143 
    144     <!-- opacity at which Notification icons will be drawn in the status bar -->
    145     <item type="dimen" name="status_bar_icon_drawing_alpha">90%</item>
    146 
    147     <!-- gap on either side of status bar notification icons -->
    148     <dimen name="status_bar_icon_padding">0dp</dimen>
    149 
    150     <!-- the padding on the start of the statusbar -->
    151     <dimen name="status_bar_padding_start">6dp</dimen>
    152 
    153     <!-- the radius of the overflow dot in the status bar -->
    154     <dimen name="overflow_dot_radius">1dp</dimen>
    155 
    156     <!-- the padding between dots in the icon overflow -->
    157     <dimen name="overflow_icon_dot_padding">3dp</dimen>
    158 
    159     <!-- The padding on the global screenshot background image -->
    160     <dimen name="global_screenshot_bg_padding">20dp</dimen>
    161 
    162     <!-- The width of the view containing navigation buttons -->
    163     <dimen name="navigation_key_width">70dp</dimen>
    164 
    165     <dimen name="navigation_key_padding">0dp</dimen>
    166 
    167     <!-- The width of the view containing the menu/ime navigation bar icons -->
    168     <dimen name="navigation_extra_key_width">36dp</dimen>
    169 
    170     <!-- The padding on the side of the navigation bar. Must be greater than or equal to
    171          navigation_extra_key_width -->
    172     <dimen name="navigation_side_padding">36dp</dimen>
    173 
    174     <!-- Default distance beyond which snaps to the matching target -->
    175     <dimen name="navbar_search_snap_margin">40dip</dimen>
    176 
    177     <!-- Diameter of outer shape drawable shown in navbar search-->
    178     <dimen name="navbar_search_outerring_diameter">340dp</dimen>
    179 
    180     <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
    181     <dimen name="navbar_search_outerring_radius">170dp</dimen>
    182 
    183     <!-- Height of search panel including navigation bar height -->
    184     <dimen name="navbar_search_panel_height">230dip</dimen>
    185 
    186     <!-- Height of the draggable handle at the bottom of the phone notification panel -->
    187     <dimen name="close_handle_height">36dp</dimen>
    188 
    189     <!-- Amount of close_handle that will NOT overlap the notification list -->
    190     <dimen name="close_handle_underlap">32dp</dimen>
    191 
    192     <!-- Height of the status bar header bar -->
    193     <dimen name="status_bar_header_height">124dp</dimen>
    194 
    195     <!-- Height of the status bar header bar in the car setting. -->
    196     <dimen name="car_status_bar_header_height">128dp</dimen>
    197 
    198     <!-- The bottom padding of the status bar header. -->
    199     <dimen name="status_bar_header_padding_bottom">48dp</dimen>
    200 
    201     <!-- The height of the container that holds the system icons in the quick settings header. -->
    202     <dimen name="qs_header_system_icons_area_height">40dp</dimen>
    203 
    204     <!-- The height of the container that holds the system icons in the quick settings header in the
    205          car setting. -->
    206     <dimen name="car_qs_header_system_icons_area_height">54dp</dimen>
    207 
    208     <!-- The height of the quick settings footer that holds the user switcher, settings icon,
    209          etc. -->
    210     <dimen name="qs_footer_height">48dp</dimen>
    211 
    212     <!-- Height of the status bar header bar when expanded -->
    213     <dimen name="status_bar_header_height_expanded">124dp</dimen>
    214 
    215     <!-- Height of the status bar header bar when on Keyguard -->
    216     <dimen name="status_bar_header_height_keyguard">40dp</dimen>
    217 
    218     <!-- Margin start of the system icons super container -->
    219     <dimen name="system_icons_super_container_margin_start">16dp</dimen>
    220 
    221     <!-- Margin end of the system icons super container when the avatar is missing. -->
    222     <dimen name="system_icons_super_container_avatarless_margin_end">6dp</dimen>
    223 
    224     <!-- Width for the notification panel and related windows -->
    225     <dimen name="match_parent">-1px</dimen>
    226     <dimen name="standard_notification_panel_width">416dp</dimen>
    227 
    228     <!-- The top margin of the panel that holds the list of notifications. -->
    229     <dimen name="notification_panel_margin_top">0dp</dimen>
    230 
    231     <!-- The bottom margin of the panel that holds the list of notifications. -->
    232     <dimen name="notification_panel_margin_bottom">0dp</dimen>
    233 
    234     <dimen name="notification_panel_width">@dimen/match_parent</dimen>
    235 
    236     <!-- The width of the panel that holds the quick settings. -->
    237     <dimen name="qs_panel_width">@dimen/notification_panel_width</dimen>
    238 
    239     <dimen name="volume_dialog_panel_width">@dimen/standard_notification_panel_width</dimen>
    240 
    241     <!-- Gravity for the notification panel -->
    242     <integer name="notification_panel_layout_gravity">0x31</integer><!-- center_horizontal|top -->
    243 
    244     <!-- Height of the carrier/wifi name label -->
    245     <dimen name="carrier_label_height">24dp</dimen>
    246 
    247     <!-- The distance you can pull a notification before it pops open -->
    248     <dimen name="one_finger_pop_limit">0dp</dimen>
    249 
    250     <!-- Minimum fraction of the screen that should be taken up by the notification panel.
    251          Not used at this screen size. -->
    252     <item type="dimen" name="notification_panel_min_height_frac">0%</item>
    253 
    254     <dimen name="blinds_pop_threshold">0dp</dimen>
    255 
    256     <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
    257     <dimen name="pull_span_min">25dp</dimen>
    258 
    259     <dimen name="qs_tile_height">106dp</dimen>
    260     <dimen name="qs_tile_margin">19dp</dimen>
    261     <dimen name="qs_tile_margin_top">16dp</dimen>
    262     <dimen name="qs_quick_tile_size">48dp</dimen>
    263     <dimen name="qs_quick_tile_padding">12dp</dimen>
    264     <dimen name="qs_header_gear_translation">16dp</dimen>
    265     <dimen name="qs_page_indicator_width">16dp</dimen>
    266     <dimen name="qs_page_indicator_height">8dp</dimen>
    267     <dimen name="qs_tile_icon_size">24dp</dimen>
    268     <dimen name="qs_tile_text_size">12sp</dimen>
    269     <dimen name="qs_tile_divider_height">1dp</dimen>
    270     <dimen name="qs_panel_padding">16dp</dimen>
    271     <dimen name="qs_dual_tile_height">112dp</dimen>
    272     <dimen name="qs_dual_tile_padding_vertical">8dp</dimen>
    273     <dimen name="qs_dual_tile_padding_horizontal">6dp</dimen>
    274     <dimen name="qs_tile_padding_top">14dp</dimen>
    275     <dimen name="qs_tile_padding_top_large_text">4dp</dimen>
    276     <dimen name="qs_tile_padding_below_icon">12dp</dimen>
    277     <dimen name="qs_tile_padding_bottom">16dp</dimen>
    278     <dimen name="qs_tile_spacing">4dp</dimen>
    279     <dimen name="qs_panel_padding_bottom">0dp</dimen>
    280     <dimen name="qs_detail_header_height">56dp</dimen>
    281     <dimen name="qs_detail_header_padding">0dp</dimen>
    282     <dimen name="qs_detail_image_width">56dp</dimen>
    283     <dimen name="qs_detail_image_height">56dp</dimen>
    284     <dimen name="qs_detail_image_padding">16dp</dimen>
    285     <dimen name="qs_detail_item_height">48dp</dimen>
    286     <dimen name="qs_brightness_padding_top">6dp</dimen>
    287     <dimen name="qs_detail_header_text_size">20sp</dimen>
    288     <dimen name="qs_detail_button_text_size">14sp</dimen>
    289     <dimen name="qs_detail_item_primary_text_size">16sp</dimen>
    290     <dimen name="qs_detail_item_secondary_text_size">14sp</dimen>
    291     <dimen name="qs_detail_empty_text_size">14sp</dimen>
    292     <dimen name="qs_detail_margin_top">28dp</dimen>
    293     <dimen name="qs_detail_back_margin_end">16dp</dimen>
    294     <dimen name="qs_detail_header_text_padding">16dp</dimen>
    295     <dimen name="qs_data_usage_text_size">14sp</dimen>
    296     <dimen name="qs_data_usage_usage_text_size">36sp</dimen>
    297     <dimen name="qs_battery_padding">2dp</dimen>
    298     <dimen name="qs_detail_padding_start">16dp</dimen>
    299     <dimen name="qs_detail_items_padding_top">4dp</dimen>
    300     <dimen name="qs_detail_item_icon_size">24dp</dimen>
    301     <dimen name="qs_detail_item_icon_width">32dp</dimen>
    302     <dimen name="qs_detail_item_icon_marginStart">0dp</dimen>
    303     <dimen name="qs_detail_item_icon_marginEnd">20dp</dimen>
    304     <dimen name="qs_footer_padding_start">16dp</dimen>
    305     <dimen name="qs_footer_padding_end">24dp</dimen>
    306     <dimen name="qs_footer_icon_size">16dp</dimen>
    307 
    308     <!-- Desired qs icon overlay size. -->
    309     <dimen name="qs_detail_icon_overlay_size">24dp</dimen>
    310 
    311     <dimen name="segmented_button_spacing">0dp</dimen>
    312     <dimen name="borderless_button_radius">2dp</dimen>
    313 
    314     <dimen name="restricted_padlock_pading">4dp</dimen>
    315 
    316     <!-- How far the expanded QS panel peeks from the header in collapsed state. -->
    317     <dimen name="qs_peek_height">0dp</dimen>
    318 
    319     <!-- How large the icons in the quick settings footer dialog are -->
    320     <dimen name="qs_footer_dialog_icon_size">24sp</dimen>
    321     <!-- Left and right margin of the icons -->
    322     <dimen name="qs_footer_dialog_icon_margin">8sp</dimen>
    323     <!-- Padding between subtitles and the following text in the QSFooter dialog -->
    324     <dimen name="qs_footer_dialog_subtitle_padding">20dp</dimen>
    325 
    326     <!-- Zen mode panel: condition item button padding -->
    327     <dimen name="zen_mode_condition_detail_button_padding">8dp</dimen>
    328 
    329     <!-- Zen mode panel: spacing between condition items -->
    330     <dimen name="zen_mode_condition_detail_item_spacing">12dp</dimen>
    331 
    332     <!-- Zen mode panel: spacing between two-line condition upper and lower lines -->
    333     <dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen>
    334 
    335     <!-- Zen mode panel: bottom padding, a bit less than qs_panel_padding -->
    336     <dimen name="zen_mode_condition_detail_bottom_padding">4dp</dimen>
    337 
    338     <!-- used by DessertCase -->
    339     <dimen name="dessert_case_cell_size">192dp</dimen>
    340 
    341     <!-- Default glow radius for GlowPadView -->
    342     <dimen name="glowpadview_glow_radius">75dip</dimen>
    343 
    344     <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
    345     <dimen name="glowpadview_inner_radius">15dip</dimen>
    346 
    347     <!-- bottom_stack_peek_amount + notification_min_height
    348          + notification_collapse_second_card_padding -->
    349     <dimen name="min_stack_height">104dp</dimen>
    350 
    351     <!-- Z distance between notifications if they are in the stack -->
    352     <dimen name="z_distance_between_notifications">0.5dp</dimen>
    353 
    354     <!-- The height of the divider between the individual notifications. -->
    355     <dimen name="notification_divider_height">0.5dp</dimen>
    356 
    357     <!-- The corner radius of the shadow behind the notification. -->
    358     <dimen name="notification_shadow_radius">0dp</dimen>
    359 
    360     <!-- The alpha of the dividing line between child notifications of a notification group. -->
    361     <item name="notification_divider_alpha" format="float" type="dimen">0.5</item>
    362 
    363     <!-- The height of the divider between the individual notifications in a notification
    364          group. -->
    365     <dimen name="notification_children_container_divider_height">@dimen/notification_divider_height</dimen>
    366 
    367     <!-- The height of the header for a container containing child notifications. -->
    368     <dimen name="notification_children_container_header_height">53dp</dimen>
    369 
    370     <!-- The top margin for the notification children container in its non-expanded form. -->
    371     <dimen name="notification_children_container_margin_top">@*android:dimen/notification_content_margin_top</dimen>
    372 
    373     <!-- The height of a notification header -->
    374     <dimen name="notification_header_height">53dp</dimen>
    375 
    376     <!-- The height of the divider between the individual notifications when the notification wants it to be increased. This is currently the case for notification groups -->
    377     <dimen name="notification_divider_height_increased">6dp</dimen>
    378 
    379     <!-- The minimum amount of top overscroll to go to the quick settings. -->
    380     <dimen name="min_top_overscroll_to_qs">36dp</dimen>
    381 
    382     <!-- The height of the speed bump view. -->
    383     <dimen name="speed_bump_height">16dp</dimen>
    384 
    385     <!-- Lockscreen unlocking falsing threshold. -->
    386     <dimen name="unlock_falsing_threshold">80dp</dimen>
    387 
    388     <!-- Lockscreen falsing threshold for quick settings. -->
    389     <dimen name="qs_falsing_threshold">60dp</dimen>
    390 
    391     <!-- Falsing threshold used when dismissing notifications from the lockscreen. -->
    392     <dimen name="swipe_helper_falsing_threshold">70dp</dimen>
    393 
    394     <!-- Minimum distance the user has to drag down to go to the full shade. -->
    395     <dimen name="keyguard_drag_down_min_distance">100dp</dimen>
    396 
    397     <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
    398          max value is used when no notifications are displaying, and the min value is when the
    399          highest possible number of notifications are showing. -->
    400     <fraction name="keyguard_clock_y_fraction_max">32.5%</fraction>
    401     <fraction name="keyguard_clock_y_fraction_min">19.8%</fraction>
    402 
    403     <!-- The margin between the clock and the notifications on Keyguard. See
    404          keyguard_clock_height_fraction_* for the difference between min and max.-->
    405     <dimen name="keyguard_clock_notifications_margin_min">30dp</dimen>
    406     <dimen name="keyguard_clock_notifications_margin_max">42dp</dimen>
    407     <dimen name="heads_up_scrim_height">250dp</dimen>
    408 
    409     <item name="scrim_behind_alpha" format="float" type="dimen">0.62</item>
    410 
    411     <!-- The minimum amount the user needs to swipe to go to the camera / phone. -->
    412     <dimen name="keyguard_min_swipe_amount">110dp</dimen>
    413 
    414     <!-- The minimum background radius when swiping to a side for the camera / phone affordances. -->
    415     <dimen name="keyguard_affordance_min_background_radius">30dp</dimen>
    416 
    417     <!-- The size of the touch targets on the keyguard for the affordances. -->
    418     <dimen name="keyguard_affordance_touch_target_size">120dp</dimen>
    419 
    420     <!-- The grow amount for the camera and phone circles when hinting -->
    421     <dimen name="hint_grow_amount_sideways">60dp</dimen>
    422 
    423     <!-- Distance between notifications and header when they are considered to be colliding. -->
    424     <dimen name="header_notifications_collide_distance">48dp</dimen>
    425 
    426     <!-- Distance the user needs to drag vertically such that a swipe is accepted to unlock the
    427          device. -->
    428     <dimen name="unlock_move_distance">75dp</dimen>
    429 
    430     <!-- Distance after which the scrim starts fading in when dragging down the quick settings -->
    431     <dimen name="notification_scrim_wait_distance">100dp</dimen>
    432 
    433     <!-- Move distance for the unlock hint animation on the lockscreen -->
    434     <dimen name="hint_move_distance">75dp</dimen>
    435 
    436     <!-- The width of the region on the left/right edge of the screen for performing the camera/
    437          phone hints. -->
    438     <dimen name="edge_tap_area_width">48dp</dimen>
    439 
    440     <!-- The padding between notification children when collapsed -->
    441     <dimen name="notification_children_padding">4dp</dimen>
    442 
    443     <!-- The padding on top of the first notification to the children container -->
    444     <dimen name="notification_children_container_top_padding">8dp</dimen>
    445 
    446     <!-- end margin for multi user switch in expanded quick settings -->
    447     <dimen name="multi_user_switch_expanded_margin">8dp</dimen>
    448 
    449     <!-- end margin for multi user switch in collapsed quick settings -->
    450     <dimen name="multi_user_switch_collapsed_margin">13dp</dimen>
    451 
    452     <!-- end margin for multi user switch in collapsed quick settings -->
    453     <dimen name="multi_user_switch_keyguard_margin">3dp</dimen>
    454 
    455     <!-- end margin for system icons if multi user switch is hidden -->
    456     <dimen name="system_icons_switcher_hidden_expanded_margin">16dp</dimen>
    457 
    458     <!-- The thickness of the colored border around the current user. -->
    459     <dimen name="keyguard_user_switcher_border_thickness">2dp</dimen>
    460 
    461     <dimen name="data_usage_graph_marker_width">4dp</dimen>
    462 
    463     <!-- The padding bottom of the clock group when QS is expanded. -->
    464     <dimen name="clock_expanded_bottom_margin">20dp</dimen>
    465 
    466     <!-- The padding bottom of the clock group when QS is collapsed. -->
    467     <dimen name="clock_collapsed_bottom_margin">10dp</dimen>
    468 
    469     <!-- The padding bottom of the clock group when QS is collapsed for large text -->
    470     <dimen name="clock_collapsed_bottom_margin_large_text">6dp</dimen>
    471 
    472     <!-- The width of the multi user switch on keyguard and collapsed QS header. -->
    473     <dimen name="multi_user_switch_width_collapsed">34dp</dimen>
    474 
    475     <!-- The width of the multi user switch in expanded QS header. -->
    476     <dimen name="multi_user_switch_width_expanded">48dp</dimen>
    477 
    478     <!-- The width of user avatar when on Keyguard -->
    479     <dimen name="multi_user_switch_width_keyguard">34dp</dimen>
    480 
    481     <!-- The width of user avatar when collapsed -->
    482     <dimen name="multi_user_avatar_collapsed_size">22dp</dimen>
    483 
    484     <!-- The width of user avatar when on Keyguard -->
    485     <dimen name="multi_user_avatar_keyguard_size">22dp</dimen>
    486 
    487     <!-- The width of user avatar when expanded -->
    488     <dimen name="multi_user_avatar_expanded_size">16dp</dimen>
    489 
    490     <!-- The font size of the time when collapsed in QS -->
    491     <dimen name="qs_time_collapsed_size">14sp</dimen>
    492 
    493     <!-- The font size of the time when expanded in QS -->
    494     <dimen name="qs_time_expanded_size">14sp</dimen>
    495 
    496     <!-- The font size of the "emergency calls only" label in QS -->
    497     <dimen name="qs_emergency_calls_only_text_size">12sp</dimen>
    498 
    499     <!-- The font size of the date in QS -->
    500     <dimen name="qs_date_collapsed_size">14sp</dimen>
    501     <!-- Amount the date/time move when emergency calls only is present -->
    502     <dimen name="qs_date_time_translation">8dp</dimen>
    503 
    504     <!-- Padding before battery level text in status bar, QS, and Keyguard -->
    505     <dimen name="battery_level_padding_start">4dp</dimen>
    506 
    507     <!-- The top padding of the clear all button -->
    508     <dimen name="clear_all_padding_top">12dp</dimen>
    509 
    510     <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or
    511          quick settings header -->
    512     <dimen name="max_avatar_size">48dp</dimen>
    513 
    514     <!-- Size of user icon + frame in the qs/keyguard user picker (incl. frame) -->
    515     <dimen name="framed_avatar_size">54dp</dimen>
    516 
    517     <!-- Margin on the left side of the carrier text on Keyguard -->
    518     <dimen name="keyguard_carrier_text_margin">16dp</dimen>
    519 
    520     <!-- Margin on the left side of the battery % in the header. -->
    521     <dimen name="header_battery_margin_expanded">6dp</dimen>
    522 
    523     <!-- Margin on the left side of the battery % when on Keyguard. -->
    524     <dimen name="header_battery_margin_keyguard">6dp</dimen>
    525 
    526     <!-- Margin on the right side of the system icon group on Keyguard. -->
    527     <dimen name="system_icons_keyguard_padding_end">4dp</dimen>
    528 
    529     <!-- Additional translation (downwards) for appearing notifications when going to the full shade
    530          from Keyguard. -->
    531     <dimen name="go_to_full_shade_appearing_translation">200dp</dimen>
    532 
    533     <!-- The diameter of the search panel circle. -->
    534     <dimen name="assist_orb_size">144dp</dimen>
    535 
    536     <!-- The margin to the edge of the screen from where the orb starts to appear -->
    537     <dimen name="assist_orb_base_margin">22dp</dimen>
    538 
    539     <!-- The amount the orb translates when appearing -->
    540     <dimen name="assist_orb_travel_distance">26dp</dimen>
    541 
    542     <!-- The elevation of the orb -->
    543     <dimen name="assist_orb_elevation">12dp</dimen>
    544 
    545     <!-- The height of the scrim behind the orb. -->
    546     <dimen name="assist_orb_scrim_height">250dp</dimen>
    547 
    548     <!-- The height of the scrim behind the search panel circle. Should be navigation_bar_height
    549          + 8dp. -->
    550     <dimen name="assist_orb_navbar_scrim_height">56dp</dimen>
    551 
    552     <!-- The width/height of the phone/camera/unlock icon view on keyguard. -->
    553     <dimen name="keyguard_affordance_height">56dp</dimen>
    554     <dimen name="keyguard_affordance_width">56dp</dimen>
    555 
    556     <!-- The width/height of the phone/camera/unlock icon drawable on keyguard. -->
    557     <dimen name="keyguard_affordance_icon_height">24dp</dimen>
    558     <dimen name="keyguard_affordance_icon_width">24dp</dimen>
    559 
    560     <dimen name="keyguard_indication_margin_bottom">65dp</dimen>
    561 
    562     <!-- The text size for battery level -->
    563     <dimen name="battery_level_text_size">12sp</dimen>
    564 
    565     <!-- TrustDrawable: Minimum inner radius of the breathing animation -->
    566     <dimen name="trust_circle_inner_radius_visible_min">22dp</dimen>
    567     <!-- TrustDrawable: Maximum inner radius of the breathing animation -->
    568     <dimen name="trust_circle_inner_radius_visible_max">24dp</dimen>
    569     <!-- TrustDrawable: Inner radius at the end of the exit animation -->
    570     <dimen name="trust_circle_inner_radius_exit">38dp</dimen>
    571     <!-- TrustDrawable: Inner radius at the beginning of the enter animation -->
    572     <dimen name="trust_circle_inner_radius_enter">18dp</dimen>
    573     <!-- TrustDrawable: Thickness of the circle -->
    574     <dimen name="trust_circle_thickness">2dp</dimen>
    575 
    576     <!-- How much two taps can be apart to still be recognized as a double tap on the lockscreen -->
    577     <dimen name="double_tap_slop">32dp</dimen>
    578 
    579     <dimen name="battery_margin_bottom">0dp</dimen>
    580 
    581     <!-- Padding at the end of the view that displays the mobile signal icons. If the view is
    582          empty, then this padding will not be added to that view. -->
    583     <dimen name="mobile_signal_group_end_padding">0dp</dimen>
    584 
    585     <!-- Padding between the mobile data type and the strength indicator. -->
    586     <dimen name="mobile_data_icon_start_padding">0dp</dimen>
    587 
    588     <!-- Extra padding between the mobile data type icon and the strength indicator when the data
    589          type icon is wide. -->
    590     <dimen name="wide_type_icon_start_padding">2dp</dimen>
    591 
    592     <!-- Extra padding between multiple phone signal icons. -->
    593     <dimen name="secondary_telephony_padding">2dp</dimen>
    594 
    595     <!-- Extra padding between the mobile data type icon and the strength indicator when the data
    596          type icon is wide for the tile in quick settings. -->
    597     <dimen name="wide_type_icon_start_padding_qs">3dp</dimen>
    598 
    599     <!-- The maximum width of the navigation bar ripples. -->
    600     <dimen name="key_button_ripple_max_width">95dp</dimen>
    601 
    602     <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card
    603          and the shadow. -->
    604     <dimen name="fake_shadow_inset">1dp</dimen>
    605 
    606     <dimen name="fake_shadow_size">8dp</dimen>
    607 
    608     <!-- Starting margin before the signal cluster -->
    609     <dimen name="signal_cluster_margin_start">2.5dp</dimen>
    610 
    611     <!-- Padding between signal cluster and battery icon -->
    612     <dimen name="signal_cluster_battery_padding">7dp</dimen>
    613 
    614     <!-- Padding for signal cluster and battery icon when there are not icons in signal cluster -->
    615     <dimen name="no_signal_cluster_battery_padding">3dp</dimen>
    616 
    617     <!-- Screen pinning request width -->
    618     <dimen name="screen_pinning_request_width">@dimen/match_parent</dimen>
    619     <!-- Screen pinning request nav button circle heights -->
    620     <dimen name="screen_pinning_request_button_height">66dp</dimen>
    621     <!-- Screen pinning request nav button circle widths -->
    622     <dimen name="screen_pinning_request_button_width">84dp</dimen>
    623     <!-- Screen pinning request padding on top of inner circle -->
    624     <dimen name="screen_pinning_request_inner_padding">14dp</dimen>
    625     <!-- Screen pinning request seascape negative padding -->
    626     <dimen name="screen_pinning_request_seascape_padding_negative">-18dp</dimen>
    627     <!-- Screen pinning request seascape button offset -->
    628     <dimen name="screen_pinning_request_seascape_button_offset">-4dp</dimen>
    629     <!-- Screen pinning request padding on top of icons -->
    630     <dimen name="screen_pinning_request_nav_icon_padding">18dp</dimen>
    631     <!-- Screen pinning request padding on side of icons
    632          (makes the width match the nav bar)-->
    633     <dimen name="screen_pinning_request_nav_side_padding">7dp</dimen>
    634     <!-- Screen pinning request side views to match nav bar
    635          navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width
    636                                                 - navigation_key_width) -->
    637     <dimen name="screen_pinning_request_side_width">34dp</dimen>
    638     <!-- Screen pinning request controls padding on bigger screens -->
    639     <dimen name="screen_pinning_request_frame_padding">0dp</dimen>
    640     <!-- Screen pinning inner nav bar circle size -->
    641     <dimen name="screen_pinning_nav_highlight_size">56dp</dimen>
    642     <!-- Screen pinning inner nav bar outer circle size -->
    643     <dimen name="screen_pinning_nav_highlight_outer_size">84dp</dimen>
    644 
    645     <!-- Padding to be used on the bottom of the fingerprint icon on Keyguard so it better aligns
    646          with the other icons. -->
    647     <dimen name="fingerprint_icon_additional_padding">4dp</dimen>
    648 
    649     <!-- Minimum margin of the notification panel on the side, when being positioned dynamically -->
    650     <dimen name="notification_panel_min_side_margin">48dp</dimen>
    651 
    652     <!-- Vertical spacing between multiple volume slider rows -->
    653     <dimen name="volume_slider_interspacing">8dp</dimen>
    654 
    655     <!-- Volume dialog vertical offset from the top of the screen -->
    656     <dimen name="volume_offset_top">0dp</dimen>
    657 
    658     <!-- Standard image button size for volume dialog buttons -->
    659     <dimen name="volume_button_size">48dp</dimen>
    660 
    661     <!-- Volume dialog root view bottom margin, at rest -->
    662     <dimen name="volume_dialog_margin_bottom">4dp</dimen>
    663     <dimen name="volume_dialog_padding_top">8dp</dimen>
    664     <dimen name="volume_dialog_padding_end">40dp</dimen>
    665 
    666     <dimen name="volume_row_padding_bottom">9.4dp</dimen>
    667     <dimen name="volume_row_padding_start">4dp</dimen>
    668     <dimen name="volume_row_header_padding_start">16dp</dimen>
    669     <dimen name="volume_row_height">64dp</dimen>
    670     <dimen name="volume_row_slider_height">48dp</dimen>
    671     <dimen name="volume_row_slider_padding_start">12dp</dimen>
    672 
    673     <dimen name="volume_expander_margin_end">2dp</dimen>
    674     <dimen name="volume_expander_margin_top">6dp</dimen>
    675 
    676     <!-- Padding between icon and text for managed profile toast -->
    677     <dimen name="managed_profile_toast_padding">4dp</dimen>
    678 
    679     <!-- Thickness of the assist disclosure beams -->
    680     <dimen name="assist_disclosure_thickness">2.5dp</dimen>
    681 
    682     <!-- Thickness of the shadows of the assist disclosure beams -->
    683     <dimen name="assist_disclosure_shadow_thickness">1.5dp</dimen>
    684 
    685     <dimen name="fab_size">56dp</dimen>
    686     <dimen name="fab_margin">16dp</dimen>
    687     <dimen name="fab_elevation">12dp</dimen>
    688     <dimen name="fab_press_translation_z">9dp</dimen>
    689 
    690     <!-- How high we lift the divider when touching -->
    691     <dimen name="docked_stack_divider_lift_elevation">4dp</dimen>
    692 
    693     <dimen name="docked_divider_handle_width">16dp</dimen>
    694     <dimen name="docked_divider_handle_height">2dp</dimen>
    695 
    696     <dimen name="battery_detail_graph_space_top">27dp</dimen>
    697     <dimen name="battery_detail_graph_space_bottom">27dp</dimen>
    698 
    699     <!-- Keyboard shortcuts helper -->
    700     <dimen name="ksh_layout_width">@dimen/match_parent</dimen>
    701     <dimen name="ksh_item_text_size">14sp</dimen>
    702     <dimen name="ksh_item_padding">4dp</dimen>
    703     <dimen name="ksh_item_margin_start">4dp</dimen>
    704 
    705 <!-- Recents Layout -->
    706 
    707     <!-- The amount to inset the stack, specifically at the top and the other sides.  We also
    708          don't want this to change across configurations that Recents can be opened in, so we
    709          define them statically for all display sizes. -->
    710     <dimen name="recents_layout_min_margin">16dp</dimen>
    711     <dimen name="recents_layout_top_margin_phone">16dp</dimen>
    712     <dimen name="recents_layout_top_margin_tablet">32dp</dimen>
    713     <dimen name="recents_layout_top_margin_tablet_xlarge">40dp</dimen>
    714     <dimen name="recents_layout_bottom_margin">16dp</dimen>
    715     <dimen name="recents_layout_side_margin_phone">16dp</dimen>
    716     <dimen name="recents_layout_side_margin_tablet">48dp</dimen>
    717     <dimen name="recents_layout_side_margin_tablet_docked">16dp</dimen>
    718     <dimen name="recents_layout_side_margin_tablet_xlarge">64dp</dimen>
    719     <dimen name="recents_layout_side_margin_tablet_xlarge_docked">16dp</dimen>
    720 
    721     <!-- The height between the top margin and the top of the focused task. -->
    722     <dimen name="recents_layout_top_peek_size">48dp</dimen>
    723     <!-- The height between the bottom margin and the top of task in front of the focused task. -->
    724     <dimen name="recents_layout_bottom_peek_size">56dp</dimen>
    725 
    726     <!-- The offset from the top and bottom of the stack of the focused task.  The bottom offset
    727          will be additionally offset by the bottom system insets since it goes under the nav bar
    728          in certain orientations. -->
    729     <dimen name="recents_layout_initial_top_offset_phone_port">128dp</dimen>
    730     <dimen name="recents_layout_initial_bottom_offset_phone_port">80dp</dimen>
    731     <dimen name="recents_layout_initial_top_offset_phone_land">72dp</dimen>
    732     <dimen name="recents_layout_initial_bottom_offset_phone_land">72dp</dimen>
    733     <dimen name="recents_layout_initial_top_offset_tablet">160dp</dimen>
    734     <dimen name="recents_layout_initial_bottom_offset_tablet">112dp</dimen>
    735 
    736     <!-- The min/max translationZ for the tasks in the stack. -->
    737     <dimen name="recents_layout_z_min">3dp</dimen>
    738     <dimen name="recents_layout_z_max">24dp</dimen>
    739 
    740     <!-- The margin between the freeform and stack.  We also don't want this to change across
    741          configurations that Recents can be opened in, so we define them statically for all
    742          display sizes. -->
    743     <dimen name="recents_freeform_layout_bottom_margin">16dp</dimen>
    744 
    745     <!-- The padding between each freeform task. -->
    746     <dimen name="recents_freeform_layout_task_padding">8dp</dimen>
    747 
    748 <!-- Recents Views -->
    749 
    750     <!-- The height of a task view bar.  This has to be large enough to cover the action bar
    751          height in either orientation at this smallest width. -->
    752     <dimen name="recents_task_view_header_height">56dp</dimen>
    753     <dimen name="recents_task_view_header_height_tablet_land">64dp</dimen>
    754 
    755     <!-- The padding of a button in the recents task view header. -->
    756     <dimen name="recents_task_view_header_button_padding">16dp</dimen>
    757     <dimen name="recents_task_view_header_button_padding_tablet_land">20dp</dimen>
    758 
    759     <!-- The radius of the rounded corners on a task view and its shadow (which can be larger
    760          to create a softer corner effect. -->
    761     <dimen name="recents_task_view_rounded_corners_radius">2dp</dimen>
    762     <dimen name="recents_task_view_shadow_rounded_corners_radius">6dp</dimen>
    763 
    764     <!-- The amount of highlight to make on each task view. -->
    765     <dimen name="recents_task_view_highlight">1dp</dimen>
    766 
    767     <!-- The size of the lock-to-app button and its icon. -->
    768     <dimen name="recents_lock_to_app_size">56dp</dimen>
    769     <dimen name="recents_lock_to_app_icon_size">28dp</dimen>
    770 
    771     <!-- The amount of overscroll allowed when flinging to the end of the stack. -->
    772     <dimen name="recents_fling_overscroll_distance">24dp</dimen>
    773 
    774     <!-- The size of the drag hint text. -->
    775     <dimen name="recents_drag_hint_text_size">14sp</dimen>
    776 
    777     <!-- The min alpha to apply to a task affiliation group color. -->
    778     <item name="recents_task_affiliation_color_min_alpha_percentage" format="float" type="dimen">0.6</item>
    779 
    780     <!-- The amount to offset when animating into an affiliate group. -->
    781     <dimen name="recents_task_stack_animation_affiliate_enter_offset">32dp</dimen>
    782 
    783     <!-- The offsets the tasks animate from when recents is launched while docking -->
    784     <dimen name="recents_task_stack_animation_launched_while_docking_offset">144dp</dimen>
    785 
    786     <!-- The amount to translate when animating the removal of a task. -->
    787     <dimen name="recents_task_view_remove_anim_translation_x">100dp</dimen>
    788 
    789     <!-- The alpha to apply to the recents row when it doesn't have focus -->
    790     <item name="recents_recents_row_dim_alpha" format="float" type="dimen">0.5</item>
    791 
    792     <!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start
    793          loading full resolution screenshots. -->
    794     <dimen name="recents_fast_fling_velocity">600dp</dimen>
    795 
    796     <!-- The height of the gradient indicating the dismiss edge when moving a PIP. -->
    797     <dimen name="pip_dismiss_gradient_height">176dp</dimen>
    798 
    799     <!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. -->
    800     <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen>
    801 
    802     <!-- The shortest-edge size of the expanded PiP. -->
    803     <dimen name="pip_expanded_shortest_edge_size">160dp</dimen>
    804 
    805     <!-- The additional offset to apply to the IME animation to account for the input field. -->
    806     <dimen name="pip_ime_offset">48dp</dimen>
    807 
    808     <!-- The padding between actions in the PiP in landscape  Note that the PiP does not reflect
    809          the configuration of the device, so we can't use -land resources. -->
    810     <dimen name="pip_between_action_padding_land">8dp</dimen>
    811 
    812     <!-- The height of the PiP actions container in which the actions are vertically centered. -->
    813     <dimen name="pip_action_size">48dp</dimen>
    814 
    815     <!-- The padding around a PiP actions. -->
    816     <dimen name="pip_action_padding">12dp</dimen>
    817 
    818     <!-- The bottom margin of the expand container when there are actions.
    819          Equal to pip_action_size - pip_action_padding. -->
    820     <dimen name="pip_expand_container_edge_margin">30dp</dimen>
    821 
    822     <dimen name="default_gear_space">18dp</dimen>
    823     <dimen name="cell_overlay_padding">18dp</dimen>
    824 
    825     <dimen name="signal_icon_size">17dp</dimen>
    826 
    827     <dimen name="hwui_edge_margin">16dp</dimen>
    828 
    829     <dimen name="global_actions_panel_width">120dp</dimen>
    830 
    831     <dimen name="global_actions_top_padding">120dp</dimen>
    832 
    833     <!-- the maximum offset in either direction that elements are moved horizontally to prevent
    834             burn-in on AOD -->
    835     <dimen name="burn_in_prevention_offset_x">8dp</dimen>
    836 
    837     <!-- the maximum offset in either direction that elements are moved vertically to prevent
    838             burn-in on AOD -->
    839     <dimen name="burn_in_prevention_offset_y">50dp</dimen>
    840 
    841     <!-- padding between the notification stack and the keyguard status view when dozing -->
    842     <dimen name="dozing_stack_padding">10dp</dimen>
    843 
    844     <dimen name="corner_size">16dp</dimen>
    845     <dimen name="top_padding">0dp</dimen>
    846     <dimen name="bottom_padding">48dp</dimen>
    847     <dimen name="edge_margin">16dp</dimen>
    848 
    849     <dimen name="rounded_corner_radius">0dp</dimen>
    850     <dimen name="rounded_corner_content_padding">0dp</dimen>
    851     <dimen name="nav_content_padding">0dp</dimen>
    852 
    853     <!-- Intended corner radius when drawing the mobile signal -->
    854     <dimen name="stat_sys_mobile_signal_corner_radius">0.75dp</dimen>
    855     <!-- How far to inset the rounded edges -->
    856     <dimen name="stat_sys_mobile_signal_circle_inset">0.9dp</dimen>
    857 
    858     <!-- Home button padding for sizing -->
    859     <dimen name="home_padding">15dp</dimen>
    860 
    861 </resources>
    862