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

Commit 53ee3316 authored by Chet Haase's avatar Chet Haase
Browse files

Rename RGBEvaluator to ArgbEvaluator

Change-Id: Iee74b475960d623fa757349e4053bd7c58cf5734
parent 91bfb813
Loading
Loading
Loading
Loading
+36 −36
Original line number Diff line number Diff line
@@ -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"
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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) {
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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