summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author George Mount <mount@google.com> 2015-10-16 10:47:57 -0700
committer George Mount <mount@google.com> 2015-10-16 10:47:57 -0700
commitf2aeca34ba55d56de0c0db7c126f98a8f623f002 (patch)
tree9e198b9f8ed048dccd9d791b3edaf79717444fb7
parent4ae088957fc772f0dbbf66d88aaec2f4df49bea5 (diff)
Change wrong doc about using linear interpolator.
Bug 24986885 Change-Id: I79f2cd0c6439749bf1fc412d28471e865501aa5a
-rw-r--r--core/java/android/animation/ObjectAnimator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/animation/ObjectAnimator.java b/core/java/android/animation/ObjectAnimator.java
index 26c886e1e8c7..0b751b27afc9 100644
--- a/core/java/android/animation/ObjectAnimator.java
+++ b/core/java/android/animation/ObjectAnimator.java
@@ -23,9 +23,9 @@ import android.graphics.Path;
import android.graphics.PointF;
import android.util.Log;
import android.util.Property;
+import android.view.animation.AccelerateDecelerateInterpolator;
import java.lang.ref.WeakReference;
-import java.util.ArrayList;
/**
* This subclass of {@link ValueAnimator} provides support for animating properties on target objects.
@@ -53,7 +53,8 @@ import java.util.ArrayList;
* from the target object when the animator starts, just like animators with only one
* value specified. In addition, an optional interpolator can be specified. The interpolator will
* be applied on the interval between the keyframe that the interpolator is set on and the previous
- * keyframe. When no interpolator is supplied, the default linear interpolator will be used. </p>
+ * keyframe. When no interpolator is supplied, the default {@link AccelerateDecelerateInterpolator}
+ * will be used. </p>
*
* {@sample development/samples/ApiDemos/res/anim/object_animator_pvh_kf_interpolated.xml KeyframeResources}
*