diff options
Diffstat (limited to 'java/com/android/dialer/app/res/values/animation_constants.xml')
-rw-r--r-- | java/com/android/dialer/app/res/values/animation_constants.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/res/values/animation_constants.xml b/java/com/android/dialer/app/res/values/animation_constants.xml index 4029e772d..91230cd54 100644 --- a/java/com/android/dialer/app/res/values/animation_constants.xml +++ b/java/com/android/dialer/app/res/values/animation_constants.xml @@ -16,4 +16,15 @@ --> <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> </resources> |