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 | 30 |
1 files changed, 30 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 new file mode 100644 index 000000000..91230cd54 --- /dev/null +++ b/java/com/android/dialer/app/res/values/animation_constants.xml @@ -0,0 +1,30 @@ +<?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> +</resources> |