summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/anim
diff options
context:
space:
mode:
authorJonathan Miranda <jonmiranda@google.com>2018-06-26 23:01:05 +0000
committerJonathan Miranda <jonmiranda@google.com>2018-06-26 23:24:20 +0000
commitf274996ef3c3cdfafd43047ece976f25e273bb70 (patch)
tree31b3549d22d6d0c75e5076e58f3a4273e266b52d /src/com/android/launcher3/anim
parent6a2a1a91a01b58af68b378612a4a33ca94d3363b (diff)
downloadandroid_packages_apps_Trebuchet-f274996ef3c3cdfafd43047ece976f25e273bb70.tar.gz
android_packages_apps_Trebuchet-f274996ef3c3cdfafd43047ece976f25e273bb70.tar.bz2
android_packages_apps_Trebuchet-f274996ef3c3cdfafd43047ece976f25e273bb70.zip
Revert "Add stagger and "springs" to app closing transition."
This reverts commit cd57901ca460975205af9ba6cd5cd96a7225fc15. Reason for revert: <INSERT REASONING HERE> Change-Id: I13e9d2db8f6d6118a1448ba04b67c81b4e485447
Diffstat (limited to 'src/com/android/launcher3/anim')
-rw-r--r--src/com/android/launcher3/anim/Interpolators.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/com/android/launcher3/anim/Interpolators.java b/src/com/android/launcher3/anim/Interpolators.java
index efb08a11a..a4cba4f62 100644
--- a/src/com/android/launcher3/anim/Interpolators.java
+++ b/src/com/android/launcher3/anim/Interpolators.java
@@ -112,29 +112,6 @@ public class Interpolators {
}
};
- /**
- * Interpolates using a particular section of the damped oscillation function.
- * The section is selected by scaling and shifting the function.
- */
- public static final Interpolator OSCILLATE = new Interpolator() {
-
- // Used to scale the oscillations horizontally
- private final float horizontalScale = 1f;
- // Used to shift the oscillations horizontally
- private final float horizontalShift = 05f;
- // Used to scale the oscillations vertically
- private final float verticalScale = 1f;
- // Used to shift the oscillations vertically
- private final float verticalShift = 1f;
-
- @Override
- public float getInterpolation(float t) {
- t = horizontalScale * (t + horizontalShift);
- return (float) ((verticalScale * (Math.exp(-t) * Math.cos(2 * Math.PI * t)))
- + verticalShift);
- }
- };
-
private static final float FAST_FLING_PX_MS = 10;
public static Interpolator scrollInterpolatorForVelocity(float velocity) {