• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2018 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<resources>
18    <!--
19       Note: status bar height and navigation bar heights are defined
20       in frameworks/base/core package and thus will have no effect if
21       set here. See car_product overlay for car specific defaults-->
22
23    <dimen name="status_bar_icon_drawing_size_dark">36dp</dimen>
24    <dimen name="status_bar_icon_drawing_size">36dp</dimen>
25    <dimen name="car_qs_header_system_icons_area_height">96dp</dimen>
26    <!-- The amount by which to scale up the status bar icons. -->
27    <item name="status_bar_icon_scale_factor" format="float" type="dimen">1.75</item>
28
29    <dimen name="car_primary_icon_size">@*android:dimen/car_primary_icon_size</dimen>
30
31    <!-- dimensions for the car user switcher -->
32    <dimen name="car_user_switcher_name_text_size">@dimen/car_body1_size</dimen>
33    <dimen name="car_user_switcher_vertical_spacing_between_users">124dp</dimen>
34
35    <!--These values represent MIN and MAX for hvac-->
36    <item name="hvac_min_value" format="float" type="dimen">0</item>
37    <item name="hvac_max_value" format="float" type="dimen">126</item>
38
39    <!-- Largest size an avatar might need to be drawn in the user picker, status bar, or
40         quick settings header -->
41    <dimen name="max_avatar_size">128dp</dimen>
42
43    <!-- Standard image button size for volume dialog buttons -->
44    <dimen name="volume_button_size">84dp</dimen>
45    <!-- The maximum width allowed for the volume dialog. For auto, we allow this to span a good
46         deal of the screen. This value accounts for the side margins. -->
47    <dimen name="volume_dialog_panel_width">1920dp</dimen>
48    <dimen name="volume_dialog_side_margin">@dimen/side_margin</dimen>
49
50    <dimen name="volume_dialog_elevation">6dp</dimen>
51
52    <dimen name="volume_dialog_row_margin_end">@*android:dimen/car_keyline_3</dimen>
53
54    <dimen name="volume_dialog_row_padding_end">0dp</dimen>
55
56    <dimen name="line_item_height">128dp</dimen>
57    <dimen name="volume_icon_size">96dp</dimen>
58    <dimen name="side_margin">148dp</dimen>
59    <dimen name="car_keyline_1">24dp</dimen>
60    <dimen name="car_keyline_2">96dp</dimen>
61    <dimen name="car_keyline_3">128dp</dimen>
62
63    <dimen name="privacy_chip_icon_max_height">100dp</dimen>
64
65    <!-- Height of icons in Ongoing App Ops dialog. Both App Op icon and application icon -->
66    <dimen name="ongoing_appops_dialog_icon_height">48dp</dimen>
67    <!-- Margin between text lines in Ongoing App Ops dialog -->
68    <dimen name="ongoing_appops_dialog_text_margin">15dp</dimen>
69    <!-- Padding around Ongoing App Ops dialog content -->
70    <dimen name="ongoing_appops_dialog_content_padding">24dp</dimen>
71    <!-- Margins around the Ongoing App Ops chip. In landscape, the side margins are 0 -->
72    <dimen name="ongoing_appops_chip_margin">12dp</dimen>
73    <!-- Start and End padding for Ongoing App Ops chip -->
74    <dimen name="ongoing_appops_chip_side_padding">6dp</dimen>
75    <!-- Padding between background of Ongoing App Ops chip and content -->
76    <dimen name="ongoing_appops_chip_bg_padding">4dp</dimen>
77    <!-- Radius of Ongoing App Ops chip corners -->
78    <dimen name="ongoing_appops_chip_bg_corner_radius">12dp</dimen>
79
80    <!-- Car volume dimens. -->
81    <dimen name="car_volume_item_icon_size">@dimen/car_primary_icon_size</dimen>
82    <dimen name="car_volume_item_height">@*android:dimen/car_single_line_list_item_height</dimen>
83    <dimen name="car_volume_item_padding_start">@*android:dimen/car_keyline_1</dimen>
84    <dimen name="car_volume_item_padding_end">@*android:dimen/car_keyline_1</dimen>
85    <dimen name="car_volume_item_seekbar_margin_vertical">@*android:dimen/car_padding_1</dimen>
86    <dimen name="car_volume_item_seekbar_margin_start">@*android:dimen/car_keyline_3</dimen>
87    <dimen name="car_volume_item_seekbar_margin_end">@*android:dimen/car_padding_4</dimen>
88    <dimen name="car_volume_item_seekbar_padding_vertical">@*android:dimen/car_seekbar_padding</dimen>
89    <dimen name="car_volume_item_divider_height">60dp</dimen>
90    <dimen name="car_volume_item_divider_width">1dp</dimen>
91    <dimen name="car_volume_item_divider_margin_end">@*android:dimen/car_padding_4</dimen>
92    <dimen name="car_volume_item_corner_radius">@*android:dimen/car_radius_3</dimen>
93
94    <!-- Car notification shade-->
95    <dimen name="notification_shade_handle_bar_height">10dp</dimen>
96    <dimen name="notification_shade_handle_bar_radius">20dp</dimen>
97    <dimen name="notification_shade_handle_bar_margin_start">500dp</dimen>
98    <dimen name="notification_shade_handle_bar_margin_end">500dp</dimen>
99    <dimen name="notification_shade_handle_bar_margin_top">20dp</dimen>
100    <dimen name="notification_shade_handle_bar_margin_bottom">10dp</dimen>
101    <dimen name="notification_shade_list_padding_bottom">0dp</dimen>
102
103</resources>
104