Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2aeca34 authored by George Mount's avatar George Mount
Browse files

Change wrong doc about using linear interpolator.

Bug 24986885

Change-Id: I79f2cd0c6439749bf1fc412d28471e865501aa5a
parent 4ae08895
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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}
 *