summaryrefslogtreecommitdiffstats
path: root/res/values/config.xml
blob: 44ba589c8ee03ea0a8c3e05b7f229d5ed18c6a51 (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
<resources>
<!-- AllApps/Customize/AppsCustomize -->
    <!-- Fade in/out duration of icons being dragged from the trays -->
    <integer name="config_dragAppsCustomizeIconFadeInDuration">150</integer>
    <integer name="config_dragAppsCustomizeIconFadeOutDuration">200</integer>
    <integer name="config_dragAppsCustomizeIconFadeAlpha">100</integer>
    <integer name="config_workspaceUnshrinkTime">650</integer>

    <!-- Fade/zoom in/out duration & scale in the AllApps transition.
         Note: This should be less than the workspaceShrinkTime as they happen together. -->
    <integer name="config_appsCustomizeZoomInTime">1000</integer>
    <integer name="config_appsCustomizeZoomOutTime">1200</integer>
    <integer name="config_appsCustomizeZoomScaleFactor">20</integer>
    <integer name="config_appsCustomizeFadeInTime">250</integer>
    <integer name="config_appsCustomizeFadeOutTime">500</integer>
    <integer name="config_appsCustomizeWorkspaceShrinkTime">1000</integer>

    <!-- Tab transition animation duration -->
    <integer name="config_tabTransitionDuration">100</integer>

    <!-- The slope, in percent, of the drag movement needed to drag an item out of
         AppsCustomize (y / x * 100%)  -->
    <integer name="config_appsCustomizeDragSlopeThreshold">150</integer>

    <!-- Fade in/out duration of toolbar/button bar icons.
         Note: In + Out duration together should be less the duration of the transition
               between AllApps, Customize & the Workspace. -->
    <integer name="config_toolbarButtonFadeInTime">350</integer>
    <integer name="config_toolbarButtonFadeOutTime">200</integer>

    <!-- Batch loading for loading in LauncherModel -->
    <integer name="config_allAppsBatchLoadDelay">0</integer>
    <integer name="config_allAppsBatchSize">0</integer>

<!-- Workspace -->
    <integer name="config_crosshairsFadeInTime">600</integer>

    <!--  When dragging an item 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">40</integer>

    <!-- The duration (in ms) of the fade animation on the object outlines, used when
         we are dragging objects around on the home screen. -->
    <integer name="config_dragOutlineFadeTime">900</integer>

    <!-- The alpha value at which to show the most recent drop visualization outline. -->
    <integer name="config_dragOutlineMaxAlpha">128</integer>

    <!-- Parameters controlling the animation for when an item is dropped on the home screen,
         and it animates from its old position to the new one. -->

    <integer name="config_dropAnimMaxDuration">400</integer>

    <!-- The duration of the UserFolder opening and closing animation -->
    <integer name="config_folderAnimDuration">100</integer>

    <!-- The distance at which the animation should take the max duration -->
    <integer name="config_dropAnimMaxDist">800</integer>

    <!-- Workspace screens are cached to bitmaps only when they're smaller than a certain size
         (maxScaleForUsingWorkspaceScreenBitmapCache), since the bitmap cache itself is smaller
         than the view itself (workspaceScreenBitmapCacheScale)  -->
    <integer name="config_workspaceScreenBitmapCacheScale">20</integer>
    <integer name="config_maxScaleForUsingWorkspaceScreenBitmapCache">50</integer>

    <!-- When shrinking the workspace, this is the percentage of its original size. -->
    <integer name="config_workspaceShrinkPercent">17</integer>
</resources>