summaryrefslogtreecommitdiffstats
path: root/res/values-xlarge/config.xml
blob: c254eb396ca414881694a3e7c915050aac270e1d (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
<resources>
    <!--  NOTE: Many of the all apps values here are also used for the customization drawer -->

    <!-- 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">700</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">350</integer>

    <!-- Scaling factor used in the all apps zooming animations -->
    <integer name="config_allAppsZoomScaleFactor">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_allAppsCameraPanTime">700</integer>
    <integer name="config_workspaceShrinkTime">700</integer>
    <integer name="config_workspaceUnshrinkTime">350</integer>
    <integer name="config_allAppsFadeOutTime">150</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">100</integer>
    <integer name="config_toolbarButtonFadeOutTime">100</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>

    <style name="config_orientation">
        <item name="@android:screenOrientation">unspecified</item>
    </style>
</resources>