summaryrefslogtreecommitdiffstats
path: root/src/com/android/dreams/phototable/SoftLandingInterpolator.java
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2013-04-08 22:58:31 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-04-08 22:58:31 -0700
commit5773101d37a84138b3f38e5d0177563f98f1159f (patch)
tree48a02265f08a16f05dc04be5c0462d0fc9658047 /src/com/android/dreams/phototable/SoftLandingInterpolator.java
parent829f039523e3750f982bd1490e08a86b8eabc182 (diff)
parent88d80f4471c900628e2cb6eef23029b99af48e09 (diff)
downloadandroid_packages_screensavers_PhotoTable-5773101d37a84138b3f38e5d0177563f98f1159f.tar.gz
android_packages_screensavers_PhotoTable-5773101d37a84138b3f38e5d0177563f98f1159f.tar.bz2
android_packages_screensavers_PhotoTable-5773101d37a84138b3f38e5d0177563f98f1159f.zip
am 88d80f44: story mode for PhotoTable. also some cleanup and refactoring also fix stuck alphas
* commit '88d80f4471c900628e2cb6eef23029b99af48e09': story mode for PhotoTable. also some cleanup and refactoring also fix stuck alphas
Diffstat (limited to 'src/com/android/dreams/phototable/SoftLandingInterpolator.java')
-rw-r--r--src/com/android/dreams/phototable/SoftLandingInterpolator.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/dreams/phototable/SoftLandingInterpolator.java b/src/com/android/dreams/phototable/SoftLandingInterpolator.java
index bb2c1bd..6a6020d 100644
--- a/src/com/android/dreams/phototable/SoftLandingInterpolator.java
+++ b/src/com/android/dreams/phototable/SoftLandingInterpolator.java
@@ -16,10 +16,9 @@
package com.android.dreams.phototable;
-import android.view.animation.Interpolator;
import android.view.animation.DecelerateInterpolator;
+import android.view.animation.Interpolator;
import android.view.animation.LinearInterpolator;
-import android.util.Log;
/**
* An interpolator where the rate of change starts out quickly and
@@ -31,7 +30,6 @@ public class SoftLandingInterpolator implements Interpolator {
private final DecelerateInterpolator slide;
private final float mI;
private final float mO;
- private final float lowerRange;
private final float upperRange;
private final float bottom;
private final float top;
@@ -44,7 +42,6 @@ public class SoftLandingInterpolator implements Interpolator {
final float epsilon = Math.min(mI / 2f, (1f - mI) / 2f);
bottom = mI - epsilon;
top = mI + epsilon;
- lowerRange = top;
upperRange = 1f - bottom;
}