blob: 6c5a313f5931b85fcd8d3ae249cdbc17827ba8c2 [file] [log] [blame]
Daniel Sandler21b274e2012-05-02 15:07:51 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (c) 2012, 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>
John Spurlock7e6809a2014-08-06 16:03:14 -040019 <!-- Standard notification width + gravity -->
20 <dimen name="notification_panel_width">@dimen/standard_notification_panel_width</dimen>
21 <integer name="notification_panel_layout_gravity">@integer/standard_notification_panel_layout_gravity</integer>
Jim Miller354619c2012-04-27 17:33:44 -070022
Jim Miller354619c2012-04-27 17:33:44 -070023 <!-- Diameter of outer shape drawable shown in navbar search-->
Jim Miller80ad54c2012-05-17 17:05:40 -070024 <dimen name="navbar_search_outerring_diameter">430dip</dimen>
Jim Miller354619c2012-04-27 17:33:44 -070025
Jim Miller955a0162012-06-11 21:06:13 -070026 <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value. -->
27 <dimen name="navbar_search_outerring_radius">215dip</dimen>
28
Jim Miller354619c2012-04-27 17:33:44 -070029 <!-- Height of search panel including navigation bar height -->
Jim Miller80ad54c2012-05-17 17:05:40 -070030 <dimen name="navbar_search_panel_height">280dip</dimen>
Jim Miller354619c2012-04-27 17:33:44 -070031
Jason Monkf1ff2092014-04-29 16:50:53 -040032 <!-- The width of the view containing the menu/ime navigation bar icons -->
33 <dimen name="navigation_extra_key_width">48dip</dimen>
34
Daniel Sandlere680f542012-09-28 12:22:27 -040035 <!-- Minimum fraction of the screen that should be taken up by the notification panel. -->
36 <item type="dimen" name="notification_panel_min_height_frac">40%</item>
Daniel Sandler3679bf52012-10-16 21:30:28 -040037
38 <!-- How far to slide the panel out when you touch it -->
39 <!-- On tablets this is just the close_handle_height -->
40 <dimen name="peek_height">@dimen/close_handle_height</dimen>
John Spurlockeeb397b2014-03-25 17:45:56 -040041
Jorim Jaggi069cd032014-05-15 03:09:01 +020042 <!-- The fraction of the screen height where the clock on the Keyguard has its center. The
43 max value is used when no notifications are displaying, and the min value is when the
44 highest possible number of notifications are showing. -->
45 <fraction name="keyguard_clock_y_fraction_max">34%</fraction>
Jorim Jaggi220bf5c2014-06-14 22:43:12 +020046 <fraction name="keyguard_clock_y_fraction_min">24%</fraction>
Jorim Jaggi069cd032014-05-15 03:09:01 +020047
48 <!-- The margin between the clock and the notifications on Keyguard. See
49 keyguard_clock_height_fraction_* for the difference between min and max.-->
Jorim Jaggi220bf5c2014-06-14 22:43:12 +020050 <dimen name="keyguard_clock_notifications_margin_min">44dp</dimen>
51 <dimen name="keyguard_clock_notifications_margin_max">44dp</dimen>
Jorim Jaggi87d84d42014-07-28 12:14:48 +020052
53 <!-- Height of the status bar header bar when on Keyguard -->
54 <dimen name="status_bar_header_height_keyguard">60dp</dimen>
55
56 <!-- The width of user avatar when on Keyguard -->
57 <dimen name="multi_user_switch_width_keyguard">48dp</dimen>
58
59 <!-- The width of user avatar when on Keyguard -->
60 <dimen name="multi_user_avatar_keyguard_size">30dp</dimen>
61
62 <!-- end margin for multi user switch in collapsed quick settings -->
63 <dimen name="multi_user_switch_keyguard_margin">6dp</dimen>
64
65 <!-- Margin on the left side of the carrier text on Keyguard -->
66 <dimen name="keyguard_carrier_text_margin">24dp</dimen>
67
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020068 <!-- The width/height of the phone/camera/unlock icon on keyguard. -->
69 <dimen name="keyguard_affordance_height">80dp</dimen>
70 <dimen name="keyguard_affordance_width">120dp</dimen>
Jorim Jaggi62defa32014-08-07 02:25:37 +020071
72 <!-- The width of the region on the left/right edge of the screen for performing the camera/
73 phone hints. -->
74 <dimen name="edge_tap_area_width">80dp</dimen>
Jorim Jaggie210cc82014-08-12 23:44:59 +020075
76 <dimen name="keyguard_indication_margin_bottom">90dp</dimen>
Jorim Jaggi5172dc22014-09-02 14:59:06 +020077
78 <!-- Margin on the right side of the system icon group on Keyguard. -->
79 <dimen name="system_icons_keyguard_padding_end">2dp</dimen>
Jason Monk18f99d92014-09-11 13:36:42 -040080
81 <!-- Screen pinning request width -->
82 <dimen name="screen_pinning_request_width">400dp</dimen>
83 <!-- Screen pinning request bottom button circle widths -->
84 <dimen name="screen_pinning_request_button_width">128dp</dimen>
85 <!-- Screen pinning request, controls padding on bigger screens, bigger nav bar -->
86 <dimen name="screen_pinning_request_frame_padding">22dp</dimen>
87 <!-- Screen pinning request side views to match nav bar
88 In sw600dp we want the buttons centered so this fills the space,
89 (screen_pinning_request_width - 3 * screen_pinning_request_button_width) / 2 -->
90 <dimen name="screen_pinning_request_side_width">8dp</dimen>
Jason Monk2681dcb2015-09-09 13:50:34 -040091
92 <dimen name="fab_margin">24dp</dimen>
Jason Monka2081822016-01-18 14:41:03 -050093
94 <dimen name="navigation_key_width">128dp</dimen>
95 <dimen name="navigation_key_padding">25dp</dimen>
Jason Monkfece2ab2016-02-04 11:41:18 -050096
97 <dimen name="qs_expand_margin">0dp</dimen>
Winson68088812016-02-12 16:06:04 -080098
Andrei Stingaceanu844927d2016-02-16 14:31:58 +000099 <!-- Keyboard shortcuts helper -->
100 <dimen name="ksh_layout_width">488dp</dimen>
Jorim Jaggie370e152016-04-15 14:13:33 -0700101
102 <!-- The offsets the tasks animate from when recents is launched while docking -->
103 <dimen name="recents_task_stack_animation_launched_while_docking_offset">192dp</dimen>
Daniel Sandler21b274e2012-05-02 15:07:51 -0400104</resources>