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