summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: a5b394d72c928585d669ff11e641f084c759d2e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 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>
<!-- Cling -->
    <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>

<!-- Workspace -->
    <dimen name="qsb_bar_height">40dp</dimen>
    <dimen name="workspace_cell_width">80dp</dimen>
    <dimen name="workspace_cell_height">100dp</dimen>
    <dimen name="workspace_width_gap">-1dp</dimen>
    <dimen name="workspace_height_gap">-1dp</dimen>
    <dimen name="workspace_max_gap">16dp</dimen>
    <dimen name="folder_cell_width">74dp</dimen>
    <dimen name="folder_cell_height">80dp</dimen>
    <dimen name="workspace_divider_padding_left">12dp</dimen>
    <dimen name="workspace_divider_padding_right">12dp</dimen>
    <dimen name="workspace_divider_padding_top">0dp</dimen>
    <dimen name="workspace_divider_padding_bottom">0dp</dimen>
    <dimen name="hotseat_cell_width">64dp</dimen>
    <dimen name="hotseat_cell_height">64dp</dimen>
    <dimen name="hotseat_width_gap">-1dp</dimen>
    <dimen name="hotseat_height_gap">-1dp</dimen>

<!-- QSB -->
    <dimen name="toolbar_button_vertical_padding">0dip</dimen>
    <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
    <!-- External toolbar icon size (for bounds) -->
    <dimen name="toolbar_external_icon_width">36dp</dimen>
    <dimen name="toolbar_external_icon_height">36dp</dimen>

<!-- AllApps/Customize/AppsCustomize -->
    <!-- The height of the tab bar - if this changes, we should update the
         external icon width/height above to compensate -->
    <dimen name="apps_customize_tab_bar_height">56dp</dimen>
    <dimen name="app_icon_size">48dp</dimen>
    <!-- The width can be 72dp because we don't have L/R padding -->
    <dimen name="apps_customize_cell_width">72dp</dimen>
    <dimen name="apps_customize_cell_height">80dp</dimen>
    <dimen name="apps_customize_max_gap">18dp</dimen>
    <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
    <dimen name="apps_customize_widget_cell_height_gap">10dp</dimen>
    <dimen name="title_texture_width">120px</dimen>

    <!-- height of the bottom row of controls -->
    <dimen name="button_bar_height">64dip</dimen>
    <!-- Because portal animations go beyond the bounds of an icon, we need
         to make the dock layout slightly larger than the button_bar_height -->
    <dimen name="button_bar_height_top_padding">8dp</dimen>
    <dimen name="button_bar_height_bottom_padding">0dp</dimen>
    <dimen name="button_bar_width_left_padding">0dp</dimen>
    <dimen name="button_bar_width_right_padding">0dp</dimen>
    <dimen name="button_bar_height_plus_padding">72dp</dimen>

    <!-- Drag padding to add to the drop targets -->
    <dimen name="drop_target_drag_padding">40dp</dimen>

    <!-- extra horizontal spacing between mini screen thumbnails ie. in all
         apps and in customization mode -->
    <dimen name="smallScreenExtraSpacing">0dip</dimen>

    <!-- Vertical spacing between edge of screen and mini cell layouts when they
         are minimized to the bottom in all apps -->
    <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
    <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>

    <!-- padding between the delete zone drawable and text -->
    <dimen name="delete_zone_drawable_padding">8dip</dimen>

    <!-- roughly a status bar (for vertically centering the all apps
         home icon in landscape) -->
    <dimen name="status_bar_height">25dip</dimen>

<!-- Dragging -->
    <!-- the area at the edge of the screen that makes the workspace go left
         or right while you're dragging. -->
    <dimen name="scroll_zone">20dp</dimen>

    <!-- When dragging items on the workspace, the number of dps by which the position of
     the drag view should be offset from the position of the original view. -->
    <dimen name="dragViewOffsetX">0dp</dimen>
    <dimen name="dragViewOffsetY">-8dp</dimen>

    <!-- Padding applied to AppWidgets -->
    <dimen name="app_widget_padding_left">16dp</dimen>
    <dimen name="app_widget_padding_right">16dp</dimen>
    <dimen name="app_widget_padding_top">16dp</dimen>
    <dimen name="app_widget_padding_bottom">16dp</dimen>

<!-- Folders -->
    <!-- The size of the image which sits behind the preview of the folder contents -->
    <dimen name="folder_preview_size">64dp</dimen>
    <!-- The amount that the preview contents are inset from the preview background -->
    <dimen name="folder_preview_padding">4dp</dimen>
    <dimen name="folder_name_padding">10dp</dimen>
    <dimen name="folder_width_gap">0dp</dimen>
    <dimen name="folder_height_gap">0dp</dimen>
</resources>