diff options
author | Michael Jurka <mikejurka@google.com> | 2011-05-13 14:27:39 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-05-13 14:40:21 -0700 |
commit | 8ff6cb60e13c368b28780fc62e0c9f79b422f62a (patch) | |
tree | b0903b52cfd6a5b7e2da60cfea3b3f5739c61d60 /res/values-large | |
parent | 54a4ac26898ea318f434443458680cb3014bf6fa (diff) | |
download | android_packages_apps_Trebuchet-8ff6cb60e13c368b28780fc62e0c9f79b422f62a.tar.gz android_packages_apps_Trebuchet-8ff6cb60e13c368b28780fc62e0c9f79b422f62a.tar.bz2 android_packages_apps_Trebuchet-8ff6cb60e13c368b28780fc62e0c9f79b422f62a.zip |
DO NOT MERGE
Using tablet layout on large devices
Diffstat (limited to 'res/values-large')
-rw-r--r-- | res/values-large/config.xml | 78 | ||||
-rw-r--r-- | res/values-large/dimens.xml | 65 | ||||
-rw-r--r-- | res/values-large/strings.xml | 29 | ||||
-rw-r--r-- | res/values-large/styles.xml | 44 | ||||
-rw-r--r-- | res/values-large/wallpapers.xml | 30 |
5 files changed, 246 insertions, 0 deletions
diff --git a/res/values-large/config.xml b/res/values-large/config.xml new file mode 100644 index 000000000..56c7bc688 --- /dev/null +++ b/res/values-large/config.xml @@ -0,0 +1,78 @@ +<resources> + <!-- NOTE: Many of the all apps values here are also used for the customization drawer --> + + <!-- Duration in milliseconds of the fade-in/out of the icons as they are being dragged + from the AllApps or Customization trays --> + <integer name="icon_allAppsCustomizeFadeInTime">150</integer> + <integer name="icon_allAppsCustomizeFadeOutTime">200</integer> + <integer name="icon_allAppsCustomizeFadeAlpha">102</integer> + + <!-- Duration in milliseconds of the all apps / configuration zoom-in animation. --> + <!-- NB: This should be less than the workspaceShrinkTime as they happen together. --> + <integer name="config_allAppsZoomInTime">1000</integer> + <integer name="config_allAppsFadeInTime">250</integer> + + <!-- Duration in milliseconds of the transition between tabs in the all apps/customize + tray --> + <integer name="config_tabTransitionTime">100</integer> + + <!-- Duration in milliseconds of the all apps zoom-out animation --> + <!-- NB: This should be less than the workspaceUnshrinkTime as they happen together. --> + <integer name="config_allAppsZoomOutTime">1200</integer> + + <!-- Scaling factor used in the all apps zooming animations --> + <integer name="config_allAppsZoomScaleFactor">20</integer> + + <!-- Duration in milliseconds of the all apps / configuration zoom-in animation. --> + <!-- NB: This should be less than the workspaceShrinkTime as they happen together. --> + <integer name="config_customizeZoomInTime">800</integer> + <integer name="config_customizeFadeInTime">800</integer> + + <!-- Duration in milliseconds of the all apps zoom-out animation --> + <!-- NB: This should be less than the workspaceUnshrinkTime as they happen together. --> + <integer name="config_customizeZoomOutTime">600</integer> + + <!-- Scaling factor used in the all apps zooming animations --> + <integer name="config_customizeZoomScaleFactor">7</integer> + + <!-- Duration in milliseconds of the animations between all apps, customize, & home. + NOTE: If these are changed, the toolbar animation times below should also be. --> + <integer name="config_allAppsFadeOutTime">500</integer> + <integer name="config_customizeWorkspaceShrinkTime">800</integer> + <integer name="config_allAppsWorkspaceShrinkTime">1000</integer> + <integer name="config_workspaceUnshrinkTime">650</integer> + + <!-- Duration in milliseconds toolbar fade in and fade out animations. + NOTE: Fade in and fade out time should together be less the transition + animations between all apps, customize, & the workspace. --> + <integer name="config_toolbarButtonFadeInTime">350</integer> + <integer name="config_toolbarButtonFadeOutTime">200</integer> + + <!-- When dragging items on the workspace, how much bigger (in pixels) the dragged view + should be, as compared to the original view. If 0, it will not be scaled at all. + Should be an even number, for pixel alignment. --> + <integer name="config_dragViewExtraPixels">0</integer> + + <!-- When dragging items on the workspace, the number of pixels by which the position of + the drag view should be offset from the position of the original view. --> + <integer name="config_dragViewOffsetX">0</integer> + <integer name="config_dragViewOffsetY">-12</integer> + + <!-- When items are dropped on the mini screens in customize mode, we have a bounce animation + of the bright green hover outline, and then fade out the outline at the end. These are + the values used in that animation --> + <integer name="config_screenOnDropScalePercent">120</integer> + <integer name="config_screenOnDropScaleUpDuration">200</integer> + <integer name="config_screenOnDropScaleDownDuration">200</integer> + <integer name="config_screenOnDropAlphaFadeDelay">350</integer> + <integer name="config_screenOnDropAlphaFadeDuration">50</integer> + + <!-- The slope, in percent, of the drag movement needed to drag an item out of the customization + drawer (y / x * 100%) --> + <integer name="config_customizationDrawerDragSlopeThreshold">150</integer> + <integer name="config_allAppsDrawerDragSlopeThreshold">150</integer> + + <style name="config_orientation"> + <item name="@android:screenOrientation">unspecified</item> + </style> +</resources> diff --git a/res/values-large/dimens.xml b/res/values-large/dimens.xml new file mode 100644 index 000000000..2b9769716 --- /dev/null +++ b/res/values-large/dimens.xml @@ -0,0 +1,65 @@ +<?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> + <dimen name="workspace_cell_width">96dip</dimen> + <dimen name="workspace_cell_height">96dip</dimen> + + <!-- Width/height gap overrides for the workspace --> + <dimen name="workspace_width_gap">0dp</dimen> + <dimen name="workspace_height_gap">0dp</dimen> + + <!-- The corner radius to draw the external drop icon rounded rect --> + <dimen name="external_drop_icon_rect_radius">10dp</dimen> + + <!-- Size of icons in workspace --> + <dimen name="app_icon_size">72dp</dimen> + + <!-- Size of content of icons in workspace, as specified by the android icon guidelines --> + <dimen name="app_icon_content_size">60dp</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> + + <dimen name="delete_zone_drawable_padding">8dip</dimen> + <dimen name="all_apps_button_drawable_padding">0dip</dimen> + <dimen name="all_apps_button_vertical_padding">4dip</dimen> + + <dimen name="toolbar_button_vertical_padding">12dip</dimen> + <dimen name="toolbar_button_horizontal_padding">16dip</dimen> + + <!-- height & width of the drop rectangle for the trash icon --> + <dimen name="delete_zone_vertical_drag_padding">20dip</dimen> + <dimen name="delete_zone_horizontal_drag_padding">20dip</dimen> + + <!-- dimensions for the wallpaper picker wallpaper thumbnail width --> + <dimen name="wallpaper_chooser_grid_width">196dp</dimen> + <dimen name="wallpaper_chooser_grid_height">140dp</dimen> + <dimen name="live_wallpaper_grid_item_padding">8dip</dimen> + + <!-- live_wallpaper_grid_item_width + 2 * live_wallpaper_grid_item_padding--> + <dimen name="live_wallpaper_column_width">212dip</dimen> + + <!-- How much the content view of an alert dialog should be inset (currently used + for the WallpaperChooser in XLarge mode) --> + <dimen name="alert_dialog_content_inset">0dp</dimen> +</resources> diff --git a/res/values-large/strings.xml b/res/values-large/strings.xml new file mode 100644 index 000000000..75a22a2c5 --- /dev/null +++ b/res/values-large/strings.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +* Copyright (C) 2010 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Title of the wallpaper selection dialog [CHAR_LIMIT=40]--> + <string name="wallpaper_dialog_title">Select wallpaper</string> + + <!-- Text to show when there are no wallpapers [CHAR_LIMIT=40]--> + <string name="wallpaper_chooser_empty">No wallpapers available</string> + + <!-- Negative button text for the wallpaper selection dialog [CHAR_LIMIT=40]--> + <string name="wallpaper_cancel">Cancel</string> +</resources>
\ No newline at end of file diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml new file mode 100644 index 000000000..7208d979f --- /dev/null +++ b/res/values-large/styles.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +* Copyright (C) 2008 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> + <style name="Theme.WallpaperPicker" parent="android:Theme.Holo.Dialog.NoFrame"> + </style> + + <style name="Theme" parent="android:Theme.Holo"> + <item name="android:windowNoTitle">true</item> + <item name="android:windowActionModeOverlay">true</item> + + <item name="android:windowBackground">@android:color/transparent</item> + <item name="android:colorBackgroundCacheHint">@null</item> + <item name="android:windowShowWallpaper">true</item> + </style> + + <style name="WorkspaceIcon.Portrait"> + <item name="android:drawablePadding">2dip</item> + <item name="android:paddingTop">0dip</item> + <item name="android:includeFontPadding">false</item> + </style> + + <style name="WorkspaceIcon.Landscape"> + <item name="android:drawablePadding">2dip</item> + <item name="android:paddingTop">0dip</item> + <item name="android:includeFontPadding">false</item> + </style> +</resources> diff --git a/res/values-large/wallpapers.xml b/res/values-large/wallpapers.xml new file mode 100644 index 000000000..85bb433f1 --- /dev/null +++ b/res/values-large/wallpapers.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (C) 2009 Google Inc. + * + * 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> + <string-array name="wallpapers" translatable="false"> + <item>bluecrystal</item> + <item>bluelinebots</item> + <item>glowy_hex</item> + <item>bots</item> + <item>flowerbot</item> + <item>bucky</item> + <item>lotus</item> + <item>city</item> + <item>village</item> + </string-array> +</resources> |