Daniel Sandler | 388f679 | 2010-03-02 14:08:08 -0500 | [diff] [blame] | 1 | <resources> |
Michael Jurka | f2ff7d9 | 2011-06-14 14:38:49 -0700 | [diff] [blame^] | 2 | <bool name="config_hardwareAccelerated">true</bool> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 3 | <!-- AllApps/Customize/AppsCustomize --> |
| 4 | <!-- Fade in/out duration of icons being dragged from the trays --> |
| 5 | <integer name="config_dragAppsCustomizeIconFadeInDuration">150</integer> |
| 6 | <integer name="config_dragAppsCustomizeIconFadeOutDuration">200</integer> |
| 7 | <integer name="config_dragAppsCustomizeIconFadeAlpha">100</integer> |
| 8 | <integer name="config_workspaceUnshrinkTime">650</integer> |
Winson Chung | b26f3d6 | 2011-06-02 10:49:29 -0700 | [diff] [blame] | 9 | <!-- Out of 100, the percent to shrink the workspace during spring loaded mode. --> |
| 10 | <integer name="config_workspaceSpringLoadShrinkPercentage">80</integer> |
| 11 | <!-- When items are dropped on the mini screens in customize mode, we have a bounce animation |
| 12 | of the bright green hover outline, and then fade out the outline at the end. These are |
| 13 | the values used in that animation --> |
| 14 | <integer name="config_screenOnDropScalePercent">120</integer> |
| 15 | <integer name="config_screenOnDropScaleUpDuration">200</integer> |
| 16 | <integer name="config_screenOnDropScaleDownDuration">200</integer> |
| 17 | <integer name="config_screenOnDropAlphaFadeDelay">350</integer> |
| 18 | <integer name="config_screenOnDropAlphaFadeDuration">50</integer> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 19 | |
| 20 | <!-- Fade/zoom in/out duration & scale in the AllApps transition. |
| 21 | Note: This should be less than the workspaceShrinkTime as they happen together. --> |
| 22 | <integer name="config_appsCustomizeZoomInTime">1000</integer> |
| 23 | <integer name="config_appsCustomizeZoomOutTime">1200</integer> |
| 24 | <integer name="config_appsCustomizeZoomScaleFactor">20</integer> |
| 25 | <integer name="config_appsCustomizeFadeInTime">250</integer> |
| 26 | <integer name="config_appsCustomizeFadeOutTime">500</integer> |
| 27 | <integer name="config_appsCustomizeWorkspaceShrinkTime">1000</integer> |
| 28 | |
| 29 | <!-- Tab transition animation duration --> |
| 30 | <integer name="config_tabTransitionDuration">100</integer> |
| 31 | |
| 32 | <!-- The slope, in percent, of the drag movement needed to drag an item out of |
| 33 | AppsCustomize (y / x * 100%) --> |
| 34 | <integer name="config_appsCustomizeDragSlopeThreshold">150</integer> |
| 35 | |
| 36 | <!-- Fade in/out duration of toolbar/button bar icons. |
| 37 | Note: In + Out duration together should be less the duration of the transition |
| 38 | between AllApps, Customize & the Workspace. --> |
| 39 | <integer name="config_toolbarButtonFadeInTime">350</integer> |
| 40 | <integer name="config_toolbarButtonFadeOutTime">200</integer> |
| 41 | |
| 42 | <!-- Batch loading for loading in LauncherModel --> |
| 43 | <integer name="config_allAppsBatchLoadDelay">0</integer> |
| 44 | <integer name="config_allAppsBatchSize">0</integer> |
| 45 | |
| 46 | <!-- Workspace --> |
Winson Chung | 61fa419 | 2011-06-12 15:15:29 -0700 | [diff] [blame] | 47 | <!-- The transition duration for the background of the drop targets --> |
| 48 | <integer name="config_dropTargetBgTransitionDuration">100</integer> |
| 49 | |
Patrick Dubroy | 046e7eb | 2010-10-06 12:14:43 -0700 | [diff] [blame] | 50 | <integer name="config_crosshairsFadeInTime">600</integer> |
| 51 | |
Patrick Dubroy | de7658b | 2010-09-27 11:15:43 -0700 | [diff] [blame] | 52 | <!-- When dragging an item on the workspace, how much bigger (in pixels) the dragged view |
| 53 | should be, as compared to the original view. If 0, it will not be scaled at all. |
| 54 | Should be an even number, for pixel alignment. --> |
| 55 | <integer name="config_dragViewExtraPixels">40</integer> |
| 56 | |
Patrick Dubroy | 046e7eb | 2010-10-06 12:14:43 -0700 | [diff] [blame] | 57 | <!-- The duration (in ms) of the fade animation on the object outlines, used when |
| 58 | we are dragging objects around on the home screen. --> |
| 59 | <integer name="config_dragOutlineFadeTime">900</integer> |
| 60 | |
| 61 | <!-- The alpha value at which to show the most recent drop visualization outline. --> |
Joe Onorato | 4be866d | 2010-10-10 11:26:02 -0700 | [diff] [blame] | 62 | <integer name="config_dragOutlineMaxAlpha">128</integer> |
Patrick Dubroy | ce34a97 | 2010-10-19 10:34:32 -0700 | [diff] [blame] | 63 | |
| 64 | <!-- Parameters controlling the animation for when an item is dropped on the home screen, |
| 65 | and it animates from its old position to the new one. --> |
| 66 | |
| 67 | <integer name="config_dropAnimMaxDuration">400</integer> |
| 68 | |
Adam Cohen | 7f4eabe | 2011-04-21 16:19:16 -0700 | [diff] [blame] | 69 | <!-- The duration of the UserFolder opening and closing animation --> |
Adam Cohen | 2801caf | 2011-05-13 20:57:39 -0700 | [diff] [blame] | 70 | <integer name="config_folderAnimDuration">100</integer> |
Adam Cohen | 7f4eabe | 2011-04-21 16:19:16 -0700 | [diff] [blame] | 71 | |
Patrick Dubroy | ce34a97 | 2010-10-19 10:34:32 -0700 | [diff] [blame] | 72 | <!-- The distance at which the animation should take the max duration --> |
| 73 | <integer name="config_dropAnimMaxDist">800</integer> |
Adam Lesinski | 2a898a0 | 2010-12-09 21:04:15 -0800 | [diff] [blame] | 74 | |
tedbo | c3bab1d | 2011-01-07 15:19:33 -0800 | [diff] [blame] | 75 | <!-- Workspace screens are cached to bitmaps only when they're smaller than a certain size |
| 76 | (maxScaleForUsingWorkspaceScreenBitmapCache), since the bitmap cache itself is smaller |
| 77 | than the view itself (workspaceScreenBitmapCacheScale) --> |
| 78 | <integer name="config_workspaceScreenBitmapCacheScale">20</integer> |
| 79 | <integer name="config_maxScaleForUsingWorkspaceScreenBitmapCache">50</integer> |
Adam Powell | 483de5c | 2011-05-23 12:30:13 -0700 | [diff] [blame] | 80 | |
| 81 | <!-- When shrinking the workspace, this is the percentage of its original size. --> |
| 82 | <integer name="config_workspaceShrinkPercent">17</integer> |
Daniel Sandler | 388f679 | 2010-03-02 14:08:08 -0500 | [diff] [blame] | 83 | </resources> |