summaryrefslogtreecommitdiffstats
path: root/res/interpolator
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2017-03-23 10:17:55 -0700
committerJon Miranda <jonmiranda@google.com>2017-03-23 14:04:55 -0700
commitce74d2a81387d40653385085e2b590253796d2c6 (patch)
tree8b4cd0caaf57d09d02545cebfb147f29040c0a24 /res/interpolator
parent0eb6326b5f8fbc2450ac9156fdf05c41f73f5876 (diff)
downloadandroid_packages_apps_Trebuchet-ce74d2a81387d40653385085e2b590253796d2c6.tar.gz
android_packages_apps_Trebuchet-ce74d2a81387d40653385085e2b590253796d2c6.tar.bz2
android_packages_apps_Trebuchet-ce74d2a81387d40653385085e2b590253796d2c6.zip
Smoother folder animation tweaks.
1. Start preview item animations later opening 2. Finish item animations sooner when closing 3. 1 & 2 allow the preview items to move as part of the Folder and allows for a smoother animation 4. Remove setCurrentPlayTime as it is O API. Bug: 36522198 Bug: 35064148 Change-Id: If63d4d032078ff4e28b72a09e35da3a71f1d0e27
Diffstat (limited to 'res/interpolator')
-rw-r--r--res/interpolator/folder_preview_item_closing_interpolator.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/interpolator/folder_preview_item_closing_interpolator.xml b/res/interpolator/folder_preview_item_closing_interpolator.xml
index 1d77081e5..d8ddb0ca8 100644
--- a/res/interpolator/folder_preview_item_closing_interpolator.xml
+++ b/res/interpolator/folder_preview_item_closing_interpolator.xml
@@ -18,7 +18,7 @@
-->
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
- android:controlX1="1"
+ android:controlX1="0.5"
android:controlY1="0"
android:controlX2="1"
android:controlY2="0"/>