Daniel Sandler | 21b274e | 2012-05-02 15:07:51 -0400 | [diff] [blame] | 1 | <?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 Spurlock | 7e6809a | 2014-08-06 16:03:14 -0400 | [diff] [blame] | 19 | <!-- 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 Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 22 | |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 23 | <!-- Diameter of outer shape drawable shown in navbar search--> |
Jim Miller | 80ad54c | 2012-05-17 17:05:40 -0700 | [diff] [blame] | 24 | <dimen name="navbar_search_outerring_diameter">430dip</dimen> |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 25 | |
Jim Miller | 955a016 | 2012-06-11 21:06:13 -0700 | [diff] [blame] | 26 | <!-- 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 Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 29 | <!-- Height of search panel including navigation bar height --> |
Jim Miller | 80ad54c | 2012-05-17 17:05:40 -0700 | [diff] [blame] | 30 | <dimen name="navbar_search_panel_height">280dip</dimen> |
Jim Miller | 354619c | 2012-04-27 17:33:44 -0700 | [diff] [blame] | 31 | |
Jason Monk | f1ff209 | 2014-04-29 16:50:53 -0400 | [diff] [blame] | 32 | <!-- The width of the view containing the menu/ime navigation bar icons --> |
| 33 | <dimen name="navigation_extra_key_width">48dip</dimen> |
| 34 | |
Daniel Sandler | e680f54 | 2012-09-28 12:22:27 -0400 | [diff] [blame] | 35 | <!-- 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 Sandler | 3679bf5 | 2012-10-16 21:30:28 -0400 | [diff] [blame] | 37 | |
| 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 Spurlock | eeb397b | 2014-03-25 17:45:56 -0400 | [diff] [blame] | 41 | |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 42 | <!-- 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 Jaggi | 220bf5c | 2014-06-14 22:43:12 +0200 | [diff] [blame] | 46 | <fraction name="keyguard_clock_y_fraction_min">24%</fraction> |
Jorim Jaggi | 069cd03 | 2014-05-15 03:09:01 +0200 | [diff] [blame] | 47 | |
| 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 Jaggi | 220bf5c | 2014-06-14 22:43:12 +0200 | [diff] [blame] | 50 | <dimen name="keyguard_clock_notifications_margin_min">44dp</dimen> |
| 51 | <dimen name="keyguard_clock_notifications_margin_max">44dp</dimen> |
Jorim Jaggi | 87d84d4 | 2014-07-28 12:14:48 +0200 | [diff] [blame] | 52 | |
| 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 Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 68 | <!-- 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 Jaggi | 62defa3 | 2014-08-07 02:25:37 +0200 | [diff] [blame] | 71 | |
| 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 Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 75 | |
| 76 | <dimen name="keyguard_indication_margin_bottom">90dp</dimen> |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 77 | |
| 78 | <!-- Margin on the right side of the system icon group on Keyguard. --> |
| 79 | <dimen name="system_icons_keyguard_padding_end">2dp</dimen> |
Jason Monk | 18f99d9 | 2014-09-11 13:36:42 -0400 | [diff] [blame] | 80 | |
| 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 Monk | 2681dcb | 2015-09-09 13:50:34 -0400 | [diff] [blame] | 91 | |
| 92 | <dimen name="fab_margin">24dp</dimen> |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 93 | |
| 94 | <dimen name="navigation_key_width">128dp</dimen> |
| 95 | <dimen name="navigation_key_padding">25dp</dimen> |
Jason Monk | fece2ab | 2016-02-04 11:41:18 -0500 | [diff] [blame] | 96 | |
| 97 | <dimen name="qs_expand_margin">0dp</dimen> |
Winson | 6808881 | 2016-02-12 16:06:04 -0800 | [diff] [blame] | 98 | |
Andrei Stingaceanu | 844927d | 2016-02-16 14:31:58 +0000 | [diff] [blame] | 99 | <!-- Keyboard shortcuts helper --> |
| 100 | <dimen name="ksh_layout_width">488dp</dimen> |
Jorim Jaggi | e370e15 | 2016-04-15 14:13:33 -0700 | [diff] [blame^] | 101 | |
| 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 Sandler | 21b274e | 2012-05-02 15:07:51 -0400 | [diff] [blame] | 104 | </resources> |