Loading api/current.xml +36 −36 Original line number Diff line number Diff line Loading @@ -19985,6 +19985,42 @@ </parameter> </method> </class> <class name="ArgbEvaluator" extends="java.lang.Object" abstract="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <implements name="android.animation.TypeEvaluator"> </implements> <constructor name="ArgbEvaluator" type="android.animation.ArgbEvaluator" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="evaluate" return="java.lang.Object" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="fraction" type="float"> </parameter> <parameter name="startValue" type="java.lang.Object"> </parameter> <parameter name="endValue" type="java.lang.Object"> </parameter> </method> </class> <class name="DoubleEvaluator" extends="java.lang.Object" abstract="false" Loading Loading @@ -20951,42 +20987,6 @@ </parameter> </method> </class> <class name="RGBEvaluator" extends="java.lang.Object" abstract="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <implements name="android.animation.TypeEvaluator"> </implements> <constructor name="RGBEvaluator" type="android.animation.RGBEvaluator" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="evaluate" return="java.lang.Object" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="fraction" type="float"> </parameter> <parameter name="startValue" type="java.lang.Object"> </parameter> <parameter name="endValue" type="java.lang.Object"> </parameter> </method> </class> <interface name="TimeInterpolator" abstract="true" static="false" core/java/android/animation/AnimatorInflater.java +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ public class AnimatorInflater { (toType <= TypedValue.TYPE_LAST_COLOR_INT))) { // special case for colors: ignore valueType and get ints getFloats = false; anim.setEvaluator(new RGBEvaluator()); anim.setEvaluator(new ArgbEvaluator()); } if (getFloats) { Loading core/java/android/animation/RGBEvaluator.java→core/java/android/animation/ArgbEvaluator.java +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ package android.animation; * This evaluator can be used to perform type interpolation between integer * values that represent ARGB colors. */ public class RGBEvaluator implements TypeEvaluator { public class ArgbEvaluator implements TypeEvaluator { /** * This function returns the calculated in-between value for a color Loading core/java/android/animation/ValueAnimator.java +1 −1 Original line number Diff line number Diff line Loading @@ -862,7 +862,7 @@ public class ValueAnimator extends Animator { * of <code>startValue</code> and <code>endValue</code> in the constructor. But if these values * are not one of these primitive types, or if different evaluation is desired (such as is * necessary with int values that represent colors), a custom evaluator needs to be assigned. * For example, when running an animation on color values, the {@link RGBEvaluator} * For example, when running an animation on color values, the {@link ArgbEvaluator} * should be used to get correct RGB color interpolation. * * <p>If this ValueAnimator has only one set of values being animated between, this evaluator Loading Loading
api/current.xml +36 −36 Original line number Diff line number Diff line Loading @@ -19985,6 +19985,42 @@ </parameter> </method> </class> <class name="ArgbEvaluator" extends="java.lang.Object" abstract="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <implements name="android.animation.TypeEvaluator"> </implements> <constructor name="ArgbEvaluator" type="android.animation.ArgbEvaluator" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="evaluate" return="java.lang.Object" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="fraction" type="float"> </parameter> <parameter name="startValue" type="java.lang.Object"> </parameter> <parameter name="endValue" type="java.lang.Object"> </parameter> </method> </class> <class name="DoubleEvaluator" extends="java.lang.Object" abstract="false" Loading Loading @@ -20951,42 +20987,6 @@ </parameter> </method> </class> <class name="RGBEvaluator" extends="java.lang.Object" abstract="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <implements name="android.animation.TypeEvaluator"> </implements> <constructor name="RGBEvaluator" type="android.animation.RGBEvaluator" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="evaluate" return="java.lang.Object" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="fraction" type="float"> </parameter> <parameter name="startValue" type="java.lang.Object"> </parameter> <parameter name="endValue" type="java.lang.Object"> </parameter> </method> </class> <interface name="TimeInterpolator" abstract="true" static="false"
core/java/android/animation/AnimatorInflater.java +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ public class AnimatorInflater { (toType <= TypedValue.TYPE_LAST_COLOR_INT))) { // special case for colors: ignore valueType and get ints getFloats = false; anim.setEvaluator(new RGBEvaluator()); anim.setEvaluator(new ArgbEvaluator()); } if (getFloats) { Loading
core/java/android/animation/RGBEvaluator.java→core/java/android/animation/ArgbEvaluator.java +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ package android.animation; * This evaluator can be used to perform type interpolation between integer * values that represent ARGB colors. */ public class RGBEvaluator implements TypeEvaluator { public class ArgbEvaluator implements TypeEvaluator { /** * This function returns the calculated in-between value for a color Loading
core/java/android/animation/ValueAnimator.java +1 −1 Original line number Diff line number Diff line Loading @@ -862,7 +862,7 @@ public class ValueAnimator extends Animator { * of <code>startValue</code> and <code>endValue</code> in the constructor. But if these values * are not one of these primitive types, or if different evaluation is desired (such as is * necessary with int values that represent colors), a custom evaluator needs to be assigned. * For example, when running an animation on color values, the {@link RGBEvaluator} * For example, when running an animation on color values, the {@link ArgbEvaluator} * should be used to get correct RGB color interpolation. * * <p>If this ValueAnimator has only one set of values being animated between, this evaluator Loading