diff options
author | Jon Miranda <jonmiranda@google.com> | 2018-01-22 17:32:30 -0800 |
---|---|---|
committer | Jon Miranda <jonmiranda@google.com> | 2018-01-22 17:43:04 -0800 |
commit | 7853bdb8b54f878b16269dd8cb2736fb4cc51d4c (patch) | |
tree | f1f3fd5f8ca788155410eb6d9321aadc5c552397 /src/com/android/launcher3/anim/Interpolators.java | |
parent | 6586b54ded5eea67a84ae40b660299d4be1e83db (diff) | |
download | android_packages_apps_Trebuchet-7853bdb8b54f878b16269dd8cb2736fb4cc51d4c.tar.gz android_packages_apps_Trebuchet-7853bdb8b54f878b16269dd8cb2736fb4cc51d4c.tar.bz2 android_packages_apps_Trebuchet-7853bdb8b54f878b16269dd8cb2736fb4cc51d4c.zip |
Launcher app close transition.
Bug: 70220260
Change-Id: I0a3a6153dc1cba53546f792bf3ec037b1a5f6d90
Diffstat (limited to 'src/com/android/launcher3/anim/Interpolators.java')
-rw-r--r-- | src/com/android/launcher3/anim/Interpolators.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/anim/Interpolators.java b/src/com/android/launcher3/anim/Interpolators.java index f3a3539fc..ee0dba642 100644 --- a/src/com/android/launcher3/anim/Interpolators.java +++ b/src/com/android/launcher3/anim/Interpolators.java @@ -20,6 +20,7 @@ import android.view.animation.AccelerateInterpolator; import android.view.animation.DecelerateInterpolator; import android.view.animation.Interpolator; import android.view.animation.LinearInterpolator; +import android.view.animation.OvershootInterpolator; import android.view.animation.PathInterpolator; @@ -43,6 +44,9 @@ public class Interpolators { public static final Interpolator FAST_OUT_SLOW_IN = new PathInterpolator(0.4f, 0f, 0.2f, 1f); public static final Interpolator AGGRESSIVE_EASE = new PathInterpolator(0.2f, 0f, 0f, 1f); + public static final Interpolator AGGRESSIVE_EASE_IN_OUT = new PathInterpolator(0.8f,0, 0.4f, 1); + + public static final Interpolator OVERSHOOT_0 = new OvershootInterpolator(0); /** * Inversion of zInterpolate, compounded with an ease-out. |