OSDN Git Service

Don’t scale task thumbnails.
[android-x86/frameworks-base.git] / core / res / res / values / dimens.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* //device/apps/common/assets/res/any/dimens.xml
4 **
5 ** Copyright 2006, The Android Open Source Project
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
10 **
11 **     http://www.apache.org/licenses/LICENSE-2.0
12 **
13 ** Unless required by applicable law or agreed to in writing, software
14 ** distributed under the License is distributed on an "AS IS" BASIS,
15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ** See the License for the specific language governing permissions and
17 ** limitations under the License.
18 */
19 -->
20 <resources>
21     <!-- The width that is used when creating thumbnails of applications. -->
22     <dimen name="thumbnail_width">192dp</dimen>
23     <!-- The height that is used when creating thumbnails of applications. -->
24     <dimen name="thumbnail_height">192dp</dimen>
25     <!-- The amount to scale a fullscreen screenshot thumbnail. -->
26     <item name="thumbnail_fullscreen_scale" type="fraction">60%</item>
27     <!-- The standard size (both width and height) of an application icon that
28          will be displayed in the app launcher and elsewhere. -->
29     <dimen name="app_icon_size">48dip</dimen>
30
31     <dimen name="toast_y_offset">64dip</dimen>
32     <!-- Height of the status bar -->
33     <dimen name="status_bar_height">24dp</dimen>
34     <!-- Height of the bottom navigation / system bar. -->
35     <dimen name="navigation_bar_height">48dp</dimen>
36     <!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height -->
37     <dimen name="navigation_bar_height_landscape">48dp</dimen>
38     <!-- Width of the navigation bar when it is placed vertically on the screen -->
39     <dimen name="navigation_bar_width">48dp</dimen>
40     <!-- Height of the bottom navigation / system bar in car mode. -->
41     <dimen name="navigation_bar_height_car_mode">96dp</dimen>
42     <!-- Height of the bottom navigation bar in portrait; often the same as
43          @dimen/navigation_bar_height_car_mode -->
44     <dimen name="navigation_bar_height_landscape_car_mode">96dp</dimen>
45     <!-- Width of the navigation bar when it is placed vertically on the screen in car mode -->
46     <dimen name="navigation_bar_width_car_mode">96dp</dimen>
47     <!-- Height of notification icons in the status bar -->
48     <dimen name="status_bar_icon_size">24dip</dimen>
49     <!-- Size of the giant number (unread count) in the notifications -->
50     <dimen name="status_bar_content_number_size">48sp</dimen>
51     <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. -->
52     <dimen name="status_bar_edge_ignore">5dp</dimen>
53
54     <!-- Width of the window of the divider bar used to resize docked stacks. -->
55     <dimen name="docked_stack_divider_thickness">48dp</dimen>
56
57     <!-- How much the content in the divider is inset from the window bounds when resting. Used to
58          calculate the bounds of the stacks-->
59     <dimen name="docked_stack_divider_insets">19dp</dimen>
60
61     <!-- To how much the docked stack gets reduced when we decide to minimize the docked stack, i.e.
62          when the user opens homescreen. -->
63     <dimen name="docked_stack_minimize_thickness">8dp</dimen>
64
65     <!-- Min width for a tablet device -->
66     <dimen name="min_xlarge_screen_width">800dp</dimen>
67
68     <!-- Default height of a key in the password keyboard for alpha (used by keyguard) -->
69     <dimen name="password_keyboard_key_height_alpha">56dip</dimen>
70     <!-- Default height of a key in the password keyboard for numeric (used by keyguard) -->
71     <dimen name="password_keyboard_key_height_numeric">56dip</dimen>
72     <!-- Default correction for the space key in the password keyboard  (used by keyguard) -->
73     <dimen name="password_keyboard_spacebar_vertical_correction">4dip</dimen>
74     <!-- Default horizontal gap between keys in the password keyboard (used by keyguard) -->
75     <dimen name="password_keyboard_horizontalGap">3dip</dimen>
76     <!-- Default vertical gap between keys in the password keyboard (used by keyguard) -->
77     <dimen name="password_keyboard_verticalGap">9dip</dimen>
78
79     <!-- Size of lockscreen outerring on unsecure unlock LockScreen -->
80     <dimen name="keyguard_lockscreen_outerring_diameter">270dp</dimen>
81
82     <!-- Preference activity side margins -->
83     <dimen name="preference_screen_side_margin">0dp</dimen>
84     <!-- Preference activity side margins negative-->
85     <dimen name="preference_screen_side_margin_negative">0dp</dimen>
86     <!-- Preference activity top margin -->
87     <dimen name="preference_screen_top_margin">0dp</dimen>
88     <!-- Preference activity bottom margin -->
89     <dimen name="preference_screen_bottom_margin">0dp</dimen>
90     <!-- Preference widget area width (to the left of the text) -->
91     <dimen name="preference_widget_width">48dp</dimen>
92     <!-- Preference fragment padding, bottom -->
93     <dimen name="preference_fragment_padding_bottom">0dp</dimen>
94     <!-- Preference fragment padding, sides -->
95     <dimen name="preference_fragment_padding_side">16dp</dimen>
96     <!-- Weight of the left pane in a multi-pane preference layout. -->
97     <integer name="preferences_left_pane_weight">4</integer>
98     <!-- Weight of the right pane in a multi-pane preference layout. So the split is 40:60 -->
99     <integer name="preferences_right_pane_weight">6</integer>
100     <!-- Padding to the left of the preference panel breadcrumb -->
101     <dimen name="preference_breadcrumb_paddingLeft">0dp</dimen>
102     <!-- Padding to the right of the preference panel breadcrumb -->
103     <dimen name="preference_breadcrumb_paddingRight">0dp</dimen>
104     <!-- Minimum space to allocate to the left of a preference item for an icon.
105         This helps in aligning titles when some items have icons and some don't. When space is
106         at a premium, we don't pre-allocate any space. -->
107     <dimen name="preference_icon_minWidth">0dp</dimen>
108     <!-- The platform's desired minimum size for a dialog's width when it
109          is along the major axis (that is the screen is landscape).  This may
110          be either a fraction or a dimension. -->
111     <item type="dimen" name="dialog_min_width_major">65%</item>
112
113     <!-- The platform's desired fixed width for a dialog along the major axis
114          (the screen is in landscape). This may be either a fraction or a dimension.-->
115     <item type="dimen" name="dialog_fixed_width_major">320dp</item>
116     <!-- The platform's desired fixed width for a dialog along the minor axis
117          (the screen is in portrait). This may be either a fraction or a dimension.-->
118     <item type="dimen" name="dialog_fixed_width_minor">320dp</item>
119     <!-- The platform's desired fixed height for a dialog along the major axis
120          (the screen is in portrait). This may be either a fraction or a dimension.-->
121     <item type="dimen" name="dialog_fixed_height_major">80%</item>
122     <!-- The platform's desired fixed height for a dialog along the minor axis
123          (the screen is in landscape). This may be either a fraction or a dimension.-->
124     <item type="dimen" name="dialog_fixed_height_minor">100%</item>
125
126     <!-- Preference activity, vertical padding for the header list -->
127     <dimen name="preference_screen_header_vertical_padding">0dp</dimen>
128
129     <dimen name="preference_screen_header_padding_side">16dip</dimen>
130     <integer name="preference_screen_header_scrollbarStyle">0x02000000</integer> <!-- outsideOverlay -->
131
132     <integer name="preference_fragment_scrollbarStyle">0x02000000</integer> <!-- outsideOverlay -->
133
134     <dimen name="preference_item_padding_side">8dip</dimen>
135     <dimen name="preference_item_padding_inner">8dip</dimen>
136     <dimen name="preference_child_padding_side">16dip</dimen>
137
138     <!-- The platform's desired minimum size for a dialog's width when it
139          is along the minor axis (that is the screen is portrait).  This may
140          be either a fraction or a dimension. -->
141     <item type="dimen" name="dialog_min_width_minor">95%</item>
142
143     <!-- Default padding for dialogs. -->
144     <dimen name="dialog_padding">16dp</dimen>
145
146     <!-- The margin on the start of the content view -->
147     <dimen name="notification_content_margin_start">16dp</dimen>
148
149     <!-- The margin on the end of the content view -->
150     <dimen name="notification_content_margin_end">16dp</dimen>
151
152     <!-- The margin on the end of the content view with a picture.-->
153     <dimen name="notification_content_picture_margin">56dp</dimen>
154
155     <!-- height of the content margin to accomodate for the header -->
156     <dimen name="notification_content_margin_top">37.5dp</dimen>
157
158     <!-- height of the content margin on the bottom -->
159     <dimen name="notification_content_margin_bottom">16dp</dimen>
160
161     <!-- Height of a small notification in the status bar -->
162     <dimen name="notification_min_height">92dp</dimen>
163
164     <!-- The width of the big icons in notifications. -->
165     <dimen name="notification_large_icon_width">64dp</dimen>
166     <!-- The width of the big icons in notifications. -->
167     <dimen name="notification_large_icon_height">64dp</dimen>
168
169     <!-- The minimum width of the app name in the header if it shrinks -->
170     <dimen name="notification_header_shrink_min_width">72dp</dimen>
171
172     <!-- The minimum height of the content if there are at least two lines or a picture-->
173     <dimen name="notification_min_content_height">41dp</dimen>
174
175     <!-- The maximum size of the image in the expanded media notification -->
176     <dimen name="media_notification_expanded_image_max_size">94dp</dimen>
177
178     <!-- The maximum size of the image in the expanded media notification -->
179     <dimen name="media_notification_expanded_image_margin_bottom">20dp</dimen>
180
181     <!-- The margin of the content to an image-->
182     <dimen name="notification_content_image_margin_end">8dp</dimen>
183
184     <!-- Preferred width of the search view. -->
185     <dimen name="search_view_preferred_width">320dip</dimen>
186
187     <!-- Dialog padding for round display -->
188     <dimen name="alert_dialog_round_padding">27dip</dimen>
189     <!-- Dialog title height -->
190     <dimen name="alert_dialog_title_height">64dip</dimen>
191     <!-- Dialog button bar height -->
192     <dimen name="alert_dialog_button_bar_height">48dip</dimen>
193     <!-- Leanback dialog vertical margin -->
194     <dimen name="leanback_alert_dialog_vertical_margin">27dip</dimen>
195     <!-- Leanback dialog horizontal margin -->
196     <dimen name="leanback_alert_dialog_horizontal_margin">54dip</dimen>
197
198     <!-- Default height of an action bar. -->
199     <dimen name="action_bar_default_height">48dip</dimen>
200     <!-- Vertical padding around action bar icons. -->
201     <dimen name="action_bar_icon_vertical_padding">8dip</dimen>
202     <!-- Text size for action bar titles -->
203     <dimen name="action_bar_title_text_size">18dp</dimen>
204     <!-- Text size for action bar subtitles -->
205     <dimen name="action_bar_subtitle_text_size">14dp</dimen>
206     <!-- Top margin for action bar subtitles -->
207     <dimen name="action_bar_subtitle_top_margin">-3dp</dimen>
208     <!-- Bottom margin for action bar subtitles -->
209     <dimen name="action_bar_subtitle_bottom_margin">5dip</dimen>
210
211     <!-- Size of clock font in LockScreen on Unsecure unlock screen. -->
212     <dimen name="keyguard_lockscreen_clock_font_size">80dip</dimen>
213
214     <!-- Size of status line font on Unsecure unlock LockScreen. -->
215     <dimen name="keyguard_lockscreen_status_line_font_size">14dip</dimen>
216
217     <!-- Size of right margin on Unsecure unlock LockScreen -->
218     <dimen name="keyguard_lockscreen_status_line_font_right_margin">42dip</dimen>
219
220     <!-- Size of top margin on Clock font to edge on unlock LockScreen -->
221     <dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22dip</dimen>
222
223     <!-- Size of top margin on Clock font to edge on unlock LockScreen -->
224     <dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12dip</dimen>
225
226     <!-- Padding on left margin of PIN text entry field to center it when del button is showing -->
227     <dimen name="keyguard_lockscreen_pin_margin_left">40dip</dimen>
228
229     <!-- Height of FaceUnlock view in keyguard -->
230     <dimen name="face_unlock_height">330dip</dimen>
231
232     <!-- Minimum popup width for selecting an activity in ActivityChooserDialog/ActivityChooserView. -->
233     <dimen name="activity_chooser_popup_min_width">200dip</dimen>
234
235     <!-- The default gap between components in a layout. -->
236     <dimen name="default_gap">8dip</dimen>
237
238     <!-- Text padding for dropdown items -->
239     <dimen name="dropdownitem_text_padding_left">8dip</dimen>
240
241     <!-- Text padding for dropdown items -->
242     <dimen name="dropdownitem_text_padding_right">8dip</dimen>
243
244     <!-- Width of the icon in a dropdown list -->
245     <dimen name="dropdownitem_icon_width">32dip</dimen>
246
247     <!-- Default width for a textview error popup -->
248     <dimen name="textview_error_popup_default_width">240dip</dimen>
249
250     <!-- Default padding to apply to AppWidgetHostViews containing widgets targeting API level 14 and up. -->
251     <dimen name="default_app_widget_padding_left">8dp</dimen>
252     <dimen name="default_app_widget_padding_top">8dp</dimen>
253     <dimen name="default_app_widget_padding_right">8dp</dimen>
254     <dimen name="default_app_widget_padding_bottom">8dp</dimen>
255
256     <!-- Minimum width for an action button in the menu area of an action bar -->
257     <dimen name="action_button_min_width">56dip</dimen>
258
259     <!-- Maximum height for a stacked tab bar as part of an action bar -->
260     <dimen name="action_bar_stacked_max_height">48dp</dimen>
261
262     <!-- Maximum width for a stacked action bar tab. This prevents
263          action bar tabs from becoming too wide on a wide screen when only
264          a few are present. -->
265     <dimen name="action_bar_stacked_tab_max_width">180dp</dimen>
266
267     <!-- Size of notification text (see TextAppearance.StatusBar.EventContent) -->
268     <dimen name="notification_text_size">14sp</dimen>
269     <!-- Size of notification text titles (see TextAppearance.StatusBar.EventContent.Title) -->
270     <dimen name="notification_title_text_size">14sp</dimen>
271     <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, Info, Time) -->
272     <dimen name="notification_subtext_size">12sp</dimen>
273
274     <!-- Top padding for notifications in the standard layout. -->
275     <dimen name="notification_top_pad">10dp</dimen>
276
277     <!-- Top padding for notifications when narrow (i.e. it has 3 lines) -->
278     <dimen name="notification_top_pad_narrow">4dp</dimen>
279
280     <!-- Top padding for notification when text is large -->
281     <dimen name="notification_top_pad_large_text">5dp</dimen>
282
283     <!-- Top padding for notification when text is large and narrow (i.e. it has 3 lines -->
284     <dimen name="notification_top_pad_large_text_narrow">-4dp</dimen>
285
286     <!-- Padding for notification icon when drawn with circle around it -->
287     <dimen name="notification_large_icon_circle_padding">11dp</dimen>
288
289     <!-- Size of the profile badge for notifications -->
290     <dimen name="notification_badge_size">12dp</dimen>
291
292     <!-- Keyguard dimensions -->
293     <!-- TEMP -->
294     <dimen name="kg_security_panel_height">600dp</dimen>
295
296     <!-- Height of security view in keyguard. -->
297     <dimen name="kg_security_view_height">480dp</dimen>
298
299     <!-- Width of widget view in keyguard. -->
300     <dimen name="kg_widget_view_width">0dp</dimen>
301
302     <!-- Height of widget view in keyguard. -->
303     <dimen name="kg_widget_view_height">0dp</dimen>
304
305     <!-- Size of the clock font in keyguard's status view -->
306     <dimen name="kg_status_clock_font_size">75dp</dimen>
307
308     <!-- Size of the date font in keyguard's status view  -->
309     <dimen name="kg_status_date_font_size">15dp</dimen>
310
311     <!-- Size of the generic status lines keyguard's status view  -->
312     <dimen name="kg_status_line_font_size">13dp</dimen>
313
314     <!-- Size of margin on the right of keyguard's status view -->
315     <dimen name="kg_status_line_font_right_margin">16dp</dimen>
316
317     <!-- Top margin for the clock view -->
318     <dimen name="kg_clock_top_margin">-16dp</dimen>
319
320     <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard -->
321     <dimen name="kg_key_horizontal_gap">0dp</dimen>
322
323     <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard -->
324     <dimen name="kg_key_vertical_gap">0dp</dimen>
325
326     <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard -->
327     <dimen name="kg_pin_key_height">60dp</dimen>
328
329     <!-- Space reserved at the bottom of secure views (pin/pattern/password/SIM pin/SIM puk) -->
330     <dimen name="kg_secure_padding_height">46dp</dimen>
331
332     <!-- The height of the runway lights strip -->
333     <dimen name="kg_runway_lights_height">7dp</dimen>
334
335     <!-- The height of the runway lights strip -->
336     <dimen name="kg_runway_lights_vertical_padding">2dp</dimen>
337
338     <!-- Horizontal padding for the widget pager -->
339     <dimen name="kg_widget_pager_horizontal_padding">16dp</dimen>
340
341     <!-- Top padding for the widget pager -->
342     <dimen name="kg_widget_pager_top_padding">0dp</dimen>
343
344     <!-- Bottom padding for the widget pager -->
345     <dimen name="kg_widget_pager_bottom_padding">64dp</dimen>
346
347     <!-- Top margin for the runway lights. We add a negative margin in large
348         devices to account for the widget pager padding -->
349     <dimen name="kg_runway_lights_top_margin">0dp</dimen>
350
351     <!-- Touch slop for the global toggle accessibility gesture -->
352     <dimen name="accessibility_touch_slop">80dip</dimen>
353
354     <!-- Width of the outline stroke used by the accessibility screen magnification indicator -->
355     <dimen name="accessibility_magnification_indicator_width">4dip</dimen>
356
357     <!-- Width of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
358     <dimen name="keyguard_security_width">320dp</dimen>
359
360     <!-- Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
361     <dimen name="keyguard_security_height">400dp</dimen>
362
363     <!-- Margin around the various security views -->
364     <dimen name="keyguard_security_view_margin">8dp</dimen>
365
366     <!-- Margin around the various security views -->
367     <dimen name="keyguard_muliuser_selector_margin">8dp</dimen>
368
369     <!-- Stroke width of the frame for the circular avatars. -->
370     <dimen name="keyguard_avatar_frame_stroke_width">2dp</dimen>
371
372     <!-- Shadow radius under the frame for the circular avatars. -->
373     <dimen name="keyguard_avatar_frame_shadow_radius">1dp</dimen>
374
375     <!-- Size of the avator on hte multiuser lockscreen. -->
376     <dimen name="keyguard_avatar_size">66dp</dimen>
377
378     <!-- Size of the text under the avator on the multiuser lockscreen. -->
379     <dimen name="keyguard_avatar_name_size">10sp</dimen>
380
381     <!-- Size of the region along the edge of the screen that will accept
382          swipes to scroll the widget area. -->
383     <dimen name="kg_edge_swipe_region_size">24dp</dimen>
384
385     <!-- If the height if keyguard drops below this threshold (most likely
386     due to the appearance of the IME), then drop the multiuser selector. -->
387     <dimen name="kg_squashed_layout_threshold">600dp</dimen>
388
389     <!-- The height of widgets which do not support vertical resizing. This is only
390     used on tablets; on phones, this size is determined by the space left by the
391     security mode. -->
392     <dimen name="kg_small_widget_height">160dp</dimen>
393
394     <!-- Rounded corner radius for video subtitles. -->
395     <dimen name="subtitle_corner_radius">2dp</dimen>
396
397     <!-- Shadow radius for video subtitles. -->
398     <dimen name="subtitle_shadow_radius">2dp</dimen>
399
400     <!-- Shadow offset for video subtitles. -->
401     <dimen name="subtitle_shadow_offset">2dp</dimen>
402
403     <!-- Outline width for video subtitles. -->
404     <dimen name="subtitle_outline_width">2dp</dimen>
405
406     <!-- Minimum size of the fast scroller thumb's touch target. -->
407     <dimen name="fast_scroller_minimum_touch_target">48dp</dimen>
408
409     <!-- width of ImmersiveModeConfirmation (-1 for match_parent) -->
410     <dimen name="immersive_mode_cling_width">-1px</dimen>
411
412     <dimen name="resolver_max_width">480dp</dimen>
413
414     <!-- Amount to reduce the size of the circular mask by (to compensate for
415          aliasing effects). This is only used on circular displays. -->
416     <dimen name="circular_display_mask_thickness">1px</dimen>
417
418     <dimen name="lock_pattern_dot_line_width">3dp</dimen>
419     <dimen name="lock_pattern_dot_size">12dp</dimen>
420     <dimen name="lock_pattern_dot_size_activated">28dp</dimen>
421
422     <dimen name="text_handle_min_size">40dp</dimen>
423
424     <!-- Lighting and shadow properties -->
425     <dimen name="light_y">0dp</dimen>
426     <dimen name="light_z">600dp</dimen>
427     <dimen name="light_radius">800dp</dimen>
428     <item type="dimen" format="float" name="ambient_shadow_alpha">0.039</item>
429     <item type="dimen" format="float" name="spot_shadow_alpha">0.19</item>
430
431     <!-- Floating toolbar dimensions -->
432     <dimen name="floating_toolbar_height">48dp</dimen>
433     <dimen name="floating_toolbar_menu_image_button_width">56dp</dimen>
434     <dimen name="floating_toolbar_menu_image_button_vertical_padding">12dp</dimen>
435     <dimen name="floating_toolbar_menu_button_side_padding">16dp</dimen>
436     <dimen name="floating_toolbar_overflow_image_button_width">60dp</dimen>
437     <dimen name="floating_toolbar_overflow_side_padding">18dp</dimen>
438     <dimen name="floating_toolbar_text_size">14sp</dimen>
439     <dimen name="floating_toolbar_menu_button_minimum_width">48dp</dimen>
440     <dimen name="floating_toolbar_preferred_width">328dp</dimen>
441     <dimen name="floating_toolbar_minimum_overflow_height">96dp</dimen>
442     <dimen name="floating_toolbar_maximum_overflow_height">192dp</dimen>
443     <dimen name="floating_toolbar_horizontal_margin">16dp</dimen>
444     <dimen name="floating_toolbar_vertical_margin">8dp</dimen>
445     <dimen name="content_rect_bottom_clip_allowance">20dp</dimen>
446
447     <dimen name="chooser_grid_padding">0dp</dimen>
448
449     <item type="dimen" format="integer" name="time_picker_column_start_material">0</item>
450     <item type="dimen" format="integer" name="time_picker_column_end_material">1</item>
451
452     <item type="dimen" name="aerr_padding_list_top">15dp</item>
453
454     <item type="fraction" name="docked_stack_divider_fixed_ratio">34.15%</item>
455 </resources>