summaryrefslogtreecommitdiff
path: root/res/values/animation_constants.xml
blob: b8b2a59f4354f0ac787421b64d1fc7d51e60d4b2 (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
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2012 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>
    <integer name="fade_duration">300</integer>

    <!-- Swipe constants -->
    <integer name="swipe_escape_velocity">100</integer>
    <integer name="escape_animation_duration">200</integer>
    <integer name="max_escape_animation_duration">400</integer>
    <integer name="max_dismiss_velocity">2000</integer>
    <integer name="snap_animation_duration">350</integer>
    <integer name="swipe_scroll_slop">2</integer>
    <dimen name="min_swipe">0dip</dimen>
    <dimen name="min_vert">10dip</dimen>
    <dimen name="min_lock">20dip</dimen>

    <!-- Expand/collapse of call log entry duration. -->
    <integer name="call_log_expand_collapse_duration">200</integer>

    <!-- Start delay for the fade in of the call log actions. -->
    <integer name="call_log_actions_fade_start">150</integer>

    <!-- Duration of the fade in of the call log actions. -->
    <integer name="call_log_actions_fade_in_duration">50</integer>

    <!-- Duration of the fade out of the call log actions. -->
    <integer name="call_log_actions_fade_out_duration">20</integer>
</resources>