<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
    <dimen name="match_parent">-1px</dimen>

    <dimen name="device_memory_usage_button_width">16dip</dimen>
    <dimen name="device_memory_usage_button_height">32dip</dimen>
    <dimen name="action_bar_switch_padding">16dip</dimen>

    <dimen name="app_icon_size">40dip</dimen>
    <dimen name="min_tap_target_size">48dp</dimen>
    <dimen name="screen_margin_sides">64dip</dimen>
    <dimen name="screen_margin_top">72dip</dimen>
    <dimen name="screen_margin_bottom">48dip</dimen>
    <dimen name="content_margin_left">16dip</dimen>
    <dimen name="description_margin_top">26dip</dimen>
    <dimen name="description_margin_sides">40dip</dimen>
    <dimen name="bind_app_widget_dialog_checkbox_bottom_padding">16dip</dimen>
    <dimen name="installed_app_details_bullet_offset">8dip</dimen>

    <dimen name="data_usage_chart_height">228dip</dimen>
    <dimen name="data_usage_chart_optimalWidth">440dip</dimen>
    <dimen name="usage_number_text_size">36sp</dimen>

    <dimen name="volume_seekbar_side_margin">8dip</dimen>

    <dimen name="balance_seekbar_center_marker_height">14dp</dimen>
    <dimen name="balance_seekbar_center_marker_width">1dp</dimen>

    <dimen name="crypt_clock_size">100sp</dimen>

    <dimen name="divider_height">3dip</dimen>
    <dimen name="divider_margin_top">6dip</dimen>
    <dimen name="divider_margin_bottom">7dip</dimen>

    <dimen name="pager_tabs_padding">0dp</dimen>
    <dimen name="pager_tabs_title_padding">16dp</dimen>
    <dimen name="pager_tabs_selected_indicator_height">3dp</dimen>

    <!-- Minimum width for the popup for updating a user's photo. -->
    <dimen name="update_user_photo_popup_min_width">300dip</dimen>

    <dimen name="captioning_preview_height">200dp</dimen>

    <dimen name="color_mode_preview_height">320dp</dimen>

    <dimen name="ring_progress_bar_thickness">4dp</dimen>

    <!-- Weight of the left pane in a multi-pane preference layout. -->
    <integer name="preferences_left_pane_weight">4</integer>
    <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 -->
    <integer name="preferences_right_pane_weight">6</integer>

    <dimen name="notification_app_icon_size">64dp</dimen>
    <dimen name="notification_app_icon_badge_size">20dp</dimen>
    <dimen name="notification_app_icon_badge_margin">4dp</dimen>
    <dimen name="notification_importance_toggle_size">48dp</dimen>
    <dimen name="notification_importance_toggle_marginTop">28dp</dimen>
    <dimen name="notification_importance_toggle_marginBottom">28dp</dimen>
    <dimen name="notification_importance_text_marginTop">20dp</dimen>
    <dimen name="notification_importance_button_separation">16dp</dimen>
    <dimen name="notification_importance_button_width">178dp</dimen>
    <dimen name="notification_importance_button_horiz_padding">36dp</dimen>
    <dimen name="notification_importance_drawable_padding">8dp</dimen>
    <dimen name="notification_importance_description_padding">20dp</dimen>
    <dimen name="notification_importance_description_text">14sp</dimen>
    <dimen name="notification_importance_button_text">16sp</dimen>
    <dimen name="notification_importance_button_padding">14dp</dimen>

    <dimen name="zen_mode_button_padding_vertical">16dp</dimen>
    <dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen>
    <dimen name="zen_schedule_day_margin">17dp</dimen>

    <dimen name="rect_button_radius">8dp</dimen>

    <!-- Default text size for caption preview samples. Uses dp rather than sp because captions are not scaled. -->
    <dimen name="caption_preview_text_size">48dp</dimen>

    <!-- ActionBar height -->
    <dimen name="actionbar_size">56dip</dimen>

    <!-- ActionBar contentInsetStart -->
    <dimen name="actionbar_contentInsetStart">16dp</dimen>
    <dimen name="actionbar_subsettings_contentInsetStart">72dp</dimen>

    <!-- Dashboard image tile size -->
    <dimen name="dashboard_tile_image_size">36dp</dimen>

    <!-- Dashboard foreground image size -->
    <dimen name="dashboard_tile_foreground_image_size">24dp</dimen>

    <!-- Dashboard foreground image inset (from background edge to foreground edge) -->
    <dimen name="dashboard_tile_foreground_image_inset">6dp</dimen>

    <!-- Preference icon foreground image inset (from background edge to foreground edge) -->
    <dimen name="preference_icon_foreground_image_inset">12dp</dimen>

    <!-- SwitchBar sub settings margin start / end -->
    <dimen name="switchbar_subsettings_margin_start">72dp</dimen>
    <dimen name="switchbar_subsettings_margin_end">16dp</dimen>

    <dimen name="search_bar_margin">16dp</dimen>

    <dimen name="search_bar_height">48dp</dimen>
    <dimen name="search_bar_corner_radius">2dp</dimen>
    <dimen name="search_bar_text_size">16dp</dimen>
    <dimen name="search_bar_card_elevation">2dp</dimen>
    <dimen name="search_bar_content_inset">64dp</dimen>
    <dimen name="search_bar_avatar_end_padding">16dp</dimen>
    <!-- 32dp (avatar size) + 16 dp (search_bar_avatar_end_padding) -->
    <dimen name="search_bar_avatar_width">48dp</dimen>
    <!-- (search_bar_height 48dp - avatar size 32dp) / 2  -->
    <dimen name="search_bar_avatar_top_bottom_padding">8dp</dimen>

    <!-- Dimensions for Wifi Assistant Card -->
    <dimen name="wifi_assistant_padding_top_bottom">16dp</dimen>
    <dimen name="wifi_assistant_padding_start_end">16dp</dimen>
    <dimen name="wifi_assistant_padding">25dp</dimen>
    <dimen name="wifi_assistant_text_padding">16dp</dimen>
    <dimen name="wifi_assistant_height">182dp</dimen>
    <dimen name="wifi_assistant_image_top">32dp</dimen>
    <dimen name="wifi_assistant_image_start">24dp</dimen>
    <!-- appbar height is equal search bar height (48dp) plus search bar top and bottom margin  -->
    <dimen name="app_bar_height">80dp</dimen>

    <!-- CryptKeeper top margin for password/pin screen -->
    <dimen name="crypt_keeper_password_top_margin">88dip</dimen>

    <!-- CryptKeeper top margin for pattern screen -->
    <dimen name="crypt_keeper_pattern_top_margin">88dip</dimen>

    <!-- CryptKeeper password/pin width -->
    <dimen name="crypt_keeper_password_width">280dip</dimen>

    <!-- CryptKeeper emergency call button dimensions -->
    <dimen name="crypt_keeper_emergency_call_space_above">16dip</dimen>

    <!-- CryptKeeper edit text ime icon padding -->
    <dimen name="crypt_keeper_edit_text_ime_padding">8dip</dimen>

    <!-- CryptKeeper pattern margin on phone -->
    <dimen name="crypt_keeper_pattern_margin">8dip</dimen>

    <!-- CryptKeeper pattern size for tablet -->
    <dimen name="crypt_keeper_pattern_size">354dip</dimen>

    <!-- Screen pinning textview paddings -->
    <dimen name="screen_pinning_textview_padding">40dp</dimen>

    <!-- SIM Dialog Margin top -->
    <dimen name="sim_dialog_margin_top">8dip</dimen>
    <!-- SIM Dialog Margin bottom -->
    <dimen name="sim_dialog_margin_bottom">16dip</dimen>
    <!-- SIM Dialog padding -->
    <dimen name="sim_dialog_padding">8dip</dimen>
    <dimen name="sim_color_spinner_padding">12dip</dimen>
    <dimen name="sim_label_padding">16dip</dimen>
    <dimen name="sim_content_padding">24dip</dimen>
    <!-- Sim Card Name length -->
    <integer name="sim_name_length">32</integer>

    <!-- Height of a user icon view -->
    <dimen name="user_icon_view_height">56dp</dimen>

    <!-- CheckBoxPreference -->
    <dimen name="checkbox_widget_min_width">58dip</dimen>
    <dimen name="checkbox_layout_padding">16dip</dimen>

    <!-- Bluetooth Preferences -->
    <dimen name="bluetooth_dialog_padding">8dip</dimen>
    <dimen name="bluetooth_dialog_padding_top">20dp</dimen>
    <dimen name="bluetooth_pairing_padding">24dp</dimen>
    <dimen name="bluetooth_pairing_edittext_padding">21dp</dimen>
    <dimen name="bluetooth_checkbox_padding">16dp</dimen>

    <!-- WiFi Preferences -->
    <dimen name="wifi_divider_height">1px</dimen>
    <dimen name="wifi_ap_band_checkbox_padding">16dp</dimen>
    <dimen name="wifi_detail_page_header_image_size">32dp</dimen>

    <!-- Color picker -->
    <dimen name="color_swatch_size">16dp</dimen>
    <dimen name="color_swatch_stroke_width">4dp</dimen>

    <!-- RedactionInterstitial -->
    <dimen name="redaction_vertical_margins">8dp</dimen>

    <!-- Fingerprint -->
    <dimen name="fingerprint_dot_radius">8dp</dimen>
    <dimen name="fingerprint_pulse_radius">50dp</dimen>
    <item name="fingerprint_sensor_location_fraction_x" type="fraction">50%</item>
    <item name="fingerprint_sensor_location_fraction_y" type="fraction">30%</item>
    <dimen name="fingerprint_find_sensor_graphic_size">190dp</dimen>
    <item name="fingerprint_illustration_aspect_ratio" format="float" type="dimen">2.6</item>
    <dimen name="fingerprint_decor_padding_top">0dp</dimen>
    <dimen name="fingerprint_error_text_appear_distance">16dp</dimen>
    <dimen name="fingerprint_error_text_disappear_distance">-8dp</dimen>
    <dimen name="fingerprint_animation_size">88dp</dimen>
    <dimen name="fingerprint_progress_bar_max_size">240dp</dimen>
    <dimen name="fingerprint_progress_bar_min_size">120dp</dimen>
    <dimen name="fingerprint_enrolling_content_margin_vertical">24dp</dimen>
    <!-- To be the same size as fingerprint progress bar:
         fingerprint_finish_max_size = fingerprint_progress_bar_max_size
                  + (fingerprint_enrolling_content_margin_vertical x 2) -->
    <dimen name="fingerprint_finish_max_size">288dp</dimen>

    <!-- Face -->
    <dimen name="face_preview_translate_y">0dp</dimen>
    <dimen name="face_preview_translate_x">0dp</dimen>
    <item name="face_preview_scale" format="float" type="dimen">1.0</item>

    <!-- Confirm device credentials -->
    <dimen name="confirm_credentials_security_method_margin">48dp</dimen>
    <dimen name="confirm_credentials_layout_width">@dimen/match_parent</dimen>
    <dimen name="confirm_credentials_top_padding">0dp</dimen>
    <dimen name="confirm_credentials_side_margin">16dp</dimen>
    <dimen name="confirm_credentials_top_margin">16dp</dimen>

    <!-- Delete managed profile dialog -->
    <dimen name="delete_profile_dialog_padding_top">16dp</dimen>
    <dimen name="delete_profile_dialog_padding_left_right">24dp</dimen>
    <dimen name="mdm_app_info_height">72dp</dimen>
    <dimen name="mdm_app_info_padding_top_bottom">8dp</dimen>
    <dimen name="mdm_app_name_padding_left">16dp</dimen>
    <dimen name="mdm_app_icon_width_height">56dp</dimen>

    <!-- Launcher Icons -->
    <dimen name="shortcut_size_maskable">120dp</dimen>
    <dimen name="shortcut_size">40dp</dimen>
    <dimen name="shortcut_icon_size">16dp</dimen>
    <dimen name="badge_size">10dp</dimen>

    <!-- Admin support contact details dialog. -->
    <dimen name="admin_details_dialog_padding">24dp</dimen>
    <dimen name="admin_details_dialog_title_bottom_padding">20dp</dimen>
    <dimen name="admin_details_dialog_icon_size">48dp</dimen>
    <dimen name="admin_details_dialog_link_padding_top">36dp</dimen>
    <dimen name="admin_details_dialog_learn_more_button_top_margin">24dp</dimen>
    <dimen name="admin_details_dialog_learn_more_button_padding">8dp</dimen>
    <dimen name="admin_details_dialog_learn_more_button_minWidth">88dp</dimen>

    <!-- Button bar padding for unmount button. -->
    <dimen name="unmount_button_padding">8dp</dimen>

    <!-- Display, Screen zoom -->
    <dimen name="conversation_message_list_padding">10dp</dimen>
    <dimen name="conversation_message_contact_icon_text_size">32sp</dimen>
    <dimen name="conversation_message_text_size">16sp</dimen>
    <dimen name="conversation_status_text_size">12sp</dimen>
    <dimen name="conversation_bubble_width_snap">20dp</dimen>
    <dimen name="message_bubble_arrow_width">9dp</dimen>
    <dimen name="message_padding_default">18dp</dimen>
    <dimen name="message_text_left_right_padding">14dp</dimen>
    <dimen name="message_text_top_padding">10dp</dimen>
    <dimen name="message_text_bottom_padding">12dp</dimen>
    <dimen name="message_metadata_top_padding">4dp</dimen>

    <!-- Accessibility Settings -->
    <dimen name="accessibility_layout_margin_start_end">24dp</dimen>
    <dimen name="accessibility_button_preference_padding_top_bottom">18dp</dimen>

    <!-- Accessibility, Screen magnification. These values are meant to be relative values and the actual layout value will be set programmatically. -->
    <dimen name="screen_magnification_video_background_width">750dp</dimen>
    <dimen name="screen_magnification_video_background_height">383dp</dimen>
    <dimen name="screen_magnification_video_width">170dp</dimen>
    <dimen name="screen_magnification_video_height">311dp</dimen>
    <dimen name="screen_magnification_video_margin_top">40dp</dimen>

    <!-- Restricted icon in switch bar -->
    <dimen name="restricted_icon_margin_end">16dp</dimen>
    <!-- Restricted icon size in switch bar -->
    <dimen name="restricted_icon_size">@*android:dimen/config_restrictedIconSize</dimen>

    <!-- Display Size and Font Size preview screen -->
    <dimen name="preview_pager_padding">8dp</dimen>

    <!-- Padding between the radio buttons/checkbox and text on the redaction interstitial -->
    <dimen name="redaction_padding_start">16dp</dimen>

    <!-- Padding for Gestures settings screen -->
    <dimen name="gestures_settings_padding_top_bottom">20dp</dimen>
    <dimen name="gestures_play_button_size">36dp</dimen>

    <dimen name="password_requirement_textsize">14sp</dimen>

    <!-- Visible vertical space we want to show below password edittext field when ime is shown.
         The unit is sp as it is related to the text size of password requirement item. -->
    <dimen name="visible_vertical_space_below_password">20sp</dimen>

    <!-- Select dialog -->
    <dimen name="select_dialog_padding_start">20dp</dimen>
    <dimen name="select_dialog_item_margin_start">12dp</dimen>
    <dimen name="select_dialog_summary_padding_bottom">8dp</dimen>

    <!-- Padding between the donut and the storage summary. -->
    <dimen name="storage_summary_padding_end">16dp</dimen>
    <!-- Text size of the big number in the donut. -->
    <dimen name="storage_donut_view_percent_text_size">45sp</dimen>
    <!-- Text size of the percentage sign in the donut. -->
    <dimen name="storage_donut_view_percent_sign_size">20sp</dimen>
    <!-- Text size of the label text in the donut. -->
    <dimen name="storage_donut_view_label_text_size">21sp</dimen>
    <!-- Text size of the label text in the donut if the label text is long. -->
    <dimen name="storage_donut_view_shrunken_label_text_size">10sp</dimen>
    <!-- The width of the storage summary donut -->
    <dimen name="storage_donut_thickness">4dp</dimen>

    <!-- Battery meter view size -->
    <dimen name="battery_meter_width">66dp</dimen>
    <dimen name="battery_meter_height">100dp</dimen>

    <!-- Margin for the reset screens -->
    <dimen name="reset_network_margin_start">72dp</dimen>
    <dimen name="reset_network_margin_end">12dp</dimen>
    <dimen name="reset_master_clear_margin_start">32dp</dimen>
    <dimen name="reset_master_clear_margin_end">12dp</dimen>

    <!-- Padding for screen pinning -->
    <dimen name="screen_pinning_padding_start">64dp</dimen>
    <dimen name="screen_pinning_padding_end">64dp</dimen>

    <!-- Padding for the reset screens -->
    <dimen name="reset_checkbox_padding_end">8dp</dimen>
    <dimen name="reset_checkbox_title_padding_top">12dp</dimen>
    <dimen name="reset_checkbox_summary_padding_top">4dp</dimen>
    <dimen name="reset_checkbox_title_text_size">18sp</dimen>
    <dimen name="reset_checkbox_summary_text_size">14sp</dimen>

    <!-- Homepage cards size and padding -->
    <dimen name="contextual_card_icon_size">24dp</dimen>
    <dimen name="contextual_card_vertical_margin">8dp</dimen>
    <dimen name="contextual_card_side_margin">4dp</dimen>
    <dimen name="contextual_card_icon_padding_start">14dp</dimen>
    <dimen name="contextual_card_text_padding_start">16dp</dimen>
    <dimen name="contextual_card_padding_end">16dp</dimen>
    <dimen name="contextual_card_corner_radius">@*android:dimen/config_dialogCornerRadius</dimen>
    <dimen name="contextual_full_card_padding_end">12dp</dimen>
    <dimen name="contextual_half_card_padding_top">12dp</dimen>
    <dimen name="contextual_half_card_padding_bottom">16dp</dimen>
    <dimen name="contextual_half_card_title_margin_top">12dp</dimen>
    <dimen name="contextual_deferred_setup_card_padding_top">16dp</dimen>
    <dimen name="contextual_deferred_setup_card_padding_bottom">12dp</dimen>
    <dimen name="contextual_deferred_setup_card_title_margin_top">12dp</dimen>
    <dimen name="contextual_deferred_setup_card_summary_margin_top">2dp</dimen>
    <dimen name="contextual_deferred_setup_card_button_margin_top">8dp</dimen>
    <dimen name="contextual_deferred_setup_card_button_padding_top">8dp</dimen>
    <dimen name="contextual_deferred_setup_card_button_padding_bottom">8dp</dimen>
    <dimen name="contextual_deferred_setup_card_button_padding_start">24dp</dimen>
    <dimen name="contextual_deferred_setup_card_button_padding_end">24dp</dimen>

    <!-- Homepage dismissal cards size and padding -->
    <dimen name="contextual_card_dismissal_margin_top">12dp</dimen>
    <dimen name="contextual_card_dismissal_side_margin">16dp</dimen>
    <dimen name="contextual_card_dismissal_button_margin_start">4dp</dimen>
    <dimen name="contextual_card_dismissal_button_margin_end">6dp</dimen>

    <!-- Horizontal divider size and margin -->
    <dimen name="horizontal_divider_height">.75dp</dimen>

    <!-- Vertical divider size -->
    <dimen name="vertical_divider_width">.75dp</dimen>

    <!-- Signal icon in NetworkSelectSetting -->
    <dimen name="signal_strength_icon_size">24dp</dimen>

    <!-- Condition cards size and padding -->
    <dimen name="contextual_condition_card_title_margin_bottom">2dp</dimen>
    <dimen name="contextual_condition_half_card_padding_top">12dp</dimen>
    <dimen name="contextual_condition_half_card_title_margin_top">12dp</dimen>
    <dimen name="contextual_condition_half_card_summary_margin_bottom">12dp</dimen>
    <dimen name="contextual_condition_full_card_padding_start">24dp</dimen>
    <dimen name="contextual_condition_full_card_padding_end">16dp</dimen>
    <dimen name="contextual_condition_full_card_padding_top">12dp</dimen>
    <dimen name="contextual_condition_full_card_padding_bottom">12dp</dimen>
    <dimen name="contextual_condition_header_padding_top">10dp</dimen>
    <dimen name="contextual_condition_header_padding_bottom">10dp</dimen>
    <dimen name="contextual_condition_header_icons_margin_start">14dp</dimen>
    <dimen name="contextual_condition_header_indicator_padding_top">4dp</dimen>
    <dimen name="contextual_condition_header_indicator_padding_start">16dp</dimen>
    <dimen name="contextual_condition_header_indicator_padding_end">16dp</dimen>
    <dimen name="contextual_condition_footer_height">48dp</dimen>
    <dimen name="contextual_condition_footer_padding_top">10dp</dimen>
    <dimen name="contextual_condition_footer_padding_end">10dp</dimen>
    <dimen name="contextual_condition_header_icon_width_height">24dp</dimen>
    <dimen name="contextual_condition_header_icon_margin_end">24dp</dimen>

    <!-- QR code picture size -->
    <dimen name="qrcode_size">264dp</dimen>
    <dimen name="qrcode_preview_size">360dp</dimen>

    <!-- Elevation of bluetooth icon -->
    <dimen name="bt_icon_elevation">4dp</dimen>

    <dimen name="two_target_min_width">80dp</dimen>

    <!-- Maximum height for SliceView, override on slices/view/src/main/res/values/dimens.xml -->
    <dimen name="abc_slice_large_height">480dp</dimen>

    <!-- System navigation settings illustration height -->
    <dimen name="system_navigation_illustration_height">320dp</dimen>
</resources>
