1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18<!-- Cling -->
19    <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>
20    <dimen name="folderClingMarginTop">20dp</dimen>
21    <!-- The offset for the text in the cling -->
22    <dimen name="cling_text_block_offset_x">0dp</dimen>
23    <dimen name="cling_text_block_offset_y">0dp</dimen>
24    <dimen name="reveal_radius">48dp</dimen>
25    <!-- entries for custom clings, will be set in overlays -->
26    <add-resource type="dimen" name="custom_cling_margin_top" />
27    <add-resource type="dimen" name="custom_cling_margin_right" />
28    <add-resource type="dimen" name="custom_cling_margin_left" />
29
30<!-- Workspace -->
31    <!-- qsb_bar_height_inset represents qsb_bar_height minus the padding
32         that we put on each page for allowing folders to draw out of bounds -->
33    <dimen name="qsb_bar_height_inset">34dp</dimen>
34    <dimen name="qsb_bar_height">40dp</dimen>
35    <dimen name="qsb_padding_left">0dp</dimen>
36    <dimen name="qsb_padding_right">0dp</dimen>
37    <dimen name="search_bar_height">40dp</dimen>
38    <dimen name="workspace_max_gap">16dp</dimen>
39    <dimen name="folder_cell_width">74dp</dimen>
40    <dimen name="folder_cell_height">82dp</dimen>
41    <dimen name="folder_icon_padding_top">2dp</dimen>
42    <dimen name="workspace_divider_padding_left">3dp</dimen>
43    <dimen name="workspace_divider_padding_right">3dp</dimen>
44    <dimen name="workspace_divider_padding_top">0dp</dimen>
45    <dimen name="workspace_divider_padding_bottom">0dp</dimen>
46    <dimen name="hotseat_cell_width">64dp</dimen>
47    <dimen name="hotseat_cell_height">64dp</dimen>
48    <dimen name="hotseat_width_gap">-1dp</dimen>
49    <dimen name="hotseat_height_gap">-1dp</dimen>
50    <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
51    <dimen name="workspace_icon_text_size">12sp</dimen>
52    <dimen name="workspace_spring_loaded_page_spacing">15dp</dimen>
53
54    <dimen name="app_icon_drawable_padding">6dp</dimen>
55    <dimen name="app_icon_drawable_padding_land">2dp</dimen>
56    <dimen name="app_icon_padding_top">8dp</dimen>
57
58<!-- QSB -->
59    <dimen name="toolbar_button_vertical_padding">4dip</dimen>
60    <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
61    <!-- External toolbar icon size (for bounds) -->
62    <dimen name="toolbar_external_icon_width">36dp</dimen>
63    <dimen name="toolbar_external_icon_height">36dp</dimen>
64
65<!-- AllApps/Customize/AppsCustomize -->
66    <integer name="apps_customize_maxCellCountX">-1</integer>
67    <integer name="apps_customize_maxCellCountY">-1</integer>
68    <!-- The height of the tab bar - if this changes, we should update the
69         external icon width/height above to compensate -->
70    <dimen name="apps_customize_tab_bar_height">52dp</dimen>
71    <dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
72    <dimen name="app_icon_size">48dp</dimen>
73    <!-- The width can be 72dp because we don't have L/R padding -->
74    <dimen name="apps_customize_cell_width">74dp</dimen>
75    <dimen name="apps_customize_cell_height">82dp</dimen>
76    <dimen name="apps_customize_max_gap">18dp</dimen>
77    <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
78    <dimen name="apps_customize_widget_cell_height_gap">8dp</dimen>
79
80    <!-- Sizes for managed profile badges -->
81    <dimen name="profile_badge_size">24dp</dimen>
82    <dimen name="profile_badge_margin">4dp</dimen>
83
84    <!-- height of the bottom row of controls -->
85    <dimen name="button_bar_height">62dip</dimen>
86    <!-- Because portal animations go beyond the bounds of an icon, we need
87         to make the dock layout slightly larger than the button_bar_height -->
88    <dimen name="button_bar_height_top_padding">8dp</dimen>
89    <dimen name="button_bar_height_bottom_padding">0dp</dimen>
90    <dimen name="button_bar_width_left_padding">0dp</dimen>
91    <dimen name="button_bar_width_right_padding">0dp</dimen>
92    <dimen name="button_bar_height_plus_padding">70dp</dimen>
93
94    <!-- Drag padding to add to the bottom of drop targets -->
95    <dimen name="drop_target_drag_padding">14dp</dimen>
96
97<!-- Dragging -->
98    <!-- the area at the edge of the screen that makes the workspace go left
99         or right while you're dragging. -->
100    <dimen name="scroll_zone">20dp</dimen>
101
102    <!-- When dragging items on the workspace, the number of dps by which the position of
103     the drag view should be offset from the position of the original view. -->
104    <dimen name="dragViewOffsetX">0dp</dimen>
105    <dimen name="dragViewOffsetY">0dp</dimen>
106    <!--  When dragging an item, how much bigger (fixed dps) the dragged view
107          should be. If 0, it will not be scaled at all. -->
108    <dimen name="dragViewScale">12dp</dimen>
109
110    <!-- Padding applied to AppWidget previews -->
111    <dimen name="app_widget_preview_padding_left">16dp</dimen>
112    <dimen name="app_widget_preview_padding_right">16dp</dimen>
113    <dimen name="app_widget_preview_padding_top">32dp</dimen>
114    <dimen name="app_widget_preview_label_margin_top">4dp</dimen>
115    <dimen name="app_widget_preview_label_margin_left">2dp</dimen>
116    <dimen name="app_widget_preview_label_margin_right">2dp</dimen>
117
118    <!-- Padding applied to shortcut previews -->
119    <dimen name="shortcut_preview_padding_left">0dp</dimen>
120    <dimen name="shortcut_preview_padding_right">0dp</dimen>
121    <dimen name="shortcut_preview_padding_top">0dp</dimen>
122
123<!-- Folders -->
124    <!-- The size of the image which sits behind the preview of the folder contents -->
125    <dimen name="folder_preview_size">62dp</dimen>
126    <!-- The amount that the preview contents are inset from the preview background -->
127    <dimen name="folder_preview_padding">4dp</dimen>
128    <dimen name="folder_name_padding">10dp</dimen>
129    <dimen name="folder_width_gap">0dp</dimen>
130    <dimen name="folder_height_gap">0dp</dimen>
131    <dimen name="folder_padding">0dp</dimen>
132
133<!-- CellLayout padding -->
134    <dimen name="cell_layout_left_padding_port">0dp</dimen>
135    <dimen name="cell_layout_left_padding_land">0dp</dimen>
136    <dimen name="cell_layout_right_padding_port">0dp</dimen>
137    <dimen name="cell_layout_right_padding_land">0dp</dimen>
138    <dimen name="cell_layout_top_padding_port">6dp</dimen>
139    <dimen name="cell_layout_top_padding_land">0dp</dimen>
140    <dimen name="cell_layout_bottom_padding_port">0dp</dimen>
141    <dimen name="cell_layout_bottom_padding_land">0dp</dimen>
142
143<!-- Workspace padding -->
144    <dimen name="workspace_left_padding_port">0dp</dimen>
145    <dimen name="workspace_left_padding_land">@dimen/qsb_bar_height</dimen>
146    <dimen name="workspace_right_padding_port">0dp</dimen>
147    <dimen name="workspace_right_padding_land">@dimen/button_bar_height</dimen>
148    <dimen name="workspace_top_padding_port">@dimen/qsb_bar_height_inset</dimen>
149    <dimen name="workspace_top_padding_land">0dp</dimen>
150    <dimen name="workspace_bottom_padding_port">@dimen/button_bar_height</dimen>
151    <dimen name="workspace_bottom_padding_land">0dp</dimen>
152
153<!-- Workspace cell size -->
154    <dimen name="workspace_cell_width_land">106dp</dimen>
155    <dimen name="workspace_cell_width_port">80dp</dimen>
156    <dimen name="workspace_cell_height_land">74dp</dimen>
157    <dimen name="workspace_cell_height_port">100dp</dimen>
158    <dimen name="workspace_width_gap_land">0dp</dimen>
159    <dimen name="workspace_width_gap_port">0dp</dimen>
160    <dimen name="workspace_height_gap_land">0dp</dimen>
161    <dimen name="workspace_height_gap_port">0dp</dimen>
162</resources>
163