<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2023 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="app_grid_width">1440dp</dimen>
    <dimen name="app_grid_height">628dp</dimen>
    <dimen name="car_app_selector_column_min_width">300dp</dimen>
    <dimen name="car_app_selector_column_min_height">200dp</dimen>
    <dimen name="app_grid_margin_horizontal">70dp</dimen>
    <dimen name="app_grid_margin_vertical">0dp</dimen>
    <dimen name="app_icon_size">84dp</dimen>
    <dimen name="app_icon_scaled_size">100dp</dimen>
    <item name="app_icon_opacity_unavailable" type="dimen" format="float">0.5</item>
    <item name="app_icon_opacity_tos_disabled" type="dimen" format="float">0.46</item>
    <item name="app_icon_opacity" type="dimen" format="float">1.0</item>
    <dimen name="app_name_margin_horizontal">6dp</dimen>
    <dimen name="app_item_highlight_corner_radius">18dp</dimen>
    <dimen name="app_item_highlight_edge_width">5dp</dimen>
    <dimen name="page_indicator_edge_corner_radius">4dp</dimen>
    <dimen name="page_indicator_height">4dp</dimen>
    <!-- Gap between top of screen (statusbar) and header content -->
    <dimen name="recent_apps_divider_margin">40dp</dimen>
    <dimen name="app_grid_header_margin">32dp</dimen>
    <dimen name="panel_margin">20dp</dimen>
    <!-- Height of the text and exit button on the app selection screen -->
    <dimen name="app_bar_height">80dp</dimen>
    <dimen name="icon_size">56dp</dimen>
    <dimen name="recent_apps_row_height">1dp</dimen>
    <dimen name="app_grid_touch_target_size">76dp</dimen>
    <!-- Padding around the touch target (makes ripple look better) -->
    <dimen name="app_touch_target_padding">16dp</dimen>
    <dimen name="app_touch_target_margin">8dp</dimen>
    <dimen name="app_grid_row_margin">32dp</dimen>
    <dimen name="app_icon_description_margin">16dp</dimen>
    <dimen name="app_icon_ripple_radius">8dp</dimen>

    <!-- AppSearchActivity -->
    <dimen name="search_item_width">760dp</dimen>
    <dimen name="search_result_margin">8dp</dimen>
    <dimen name="search_result_text_margin">152dp</dimen>
    <dimen name="search_box_height">65dp</dimen>
    <dimen name="search_bar_margin">48dp</dimen>
    <dimen name="search_bar_drawable_text_padding">46dp</dimen>

    <!-- percentage of view holders on the next page that must be fully visible to the user to
    trigger page snap to the next page -->
    <item name="page_snap_threshold" format="float" type="dimen">0.3</item>

    <!-- Velocity value of a swipe to trigger a fling to the next page -->
    <item name="fling_threshold" format="float" type="dimen">1000</item>

    <!-- distance that users must drag (hold and attempt to move the app icon) to initiate
    drag and drop for reordering app icons. -->
    <dimen name="threshold_to_start_drag_drop">8dp</dimen>

    <!-- banner dimensions -->
    <dimen name="banner_button_maximum_width">300dp</dimen>
    <dimen name="banner_content_margin">28dp</dimen>
    <dimen name="banner_image_view_size">30dp</dimen>
</resources>
