package o;

import android.animation.ValueAnimator;
import android.os.Build;
import android.view.View;
import android.view.animation.PathInterpolator;
import java.util.Collections;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ml0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1890ml0 implements ValueAnimator.AnimatorUpdateListener {
    public final /* synthetic */ C2554tl0 a;
    public final /* synthetic */ Kl0 b;
    public final /* synthetic */ Kl0 c;
    public final /* synthetic */ int d;
    public final /* synthetic */ View e;

    public C1890ml0(C2554tl0 c2554tl0, Kl0 kl0, Kl0 kl02, int i, View view) {
        this.a = c2554tl0;
        this.b = kl0;
        this.c = kl02;
        this.d = i;
        this.e = view;
    }

    @Override // android.animation.ValueAnimator.AnimatorUpdateListener
    public final void onAnimationUpdate(ValueAnimator valueAnimator) {
        float animatedFraction = valueAnimator.getAnimatedFraction();
        C2554tl0 c2554tl0 = this.a;
        AbstractC2459sl0 abstractC2459sl0 = c2554tl0.a;
        abstractC2459sl0.e(animatedFraction);
        Kl0 kl0 = this.b;
        Hl0 hl0 = kl0.a;
        float fC = abstractC2459sl0.c();
        PathInterpolator pathInterpolator = C2080ol0.e;
        int i = Build.VERSION.SDK_INT;
        AbstractC3124zl0 c3029yl0 = i >= 34 ? new C3029yl0(kl0) : i >= 31 ? new C2934xl0(kl0) : i >= 30 ? new C2839wl0(kl0) : i >= 29 ? new C2744vl0(kl0) : new C2649ul0(kl0);
        for (int i2 = 1; i2 <= 512; i2 <<= 1) {
            if ((this.d & i2) == 0) {
                c3029yl0.c(i2, hl0.g(i2));
            } else {
                LH lhG = hl0.g(i2);
                LH lhG2 = this.c.a.g(i2);
                float f = 1.0f - fC;
                c3029yl0.c(i2, Kl0.e(lhG, (int) (((lhG.a - lhG2.a) * f) + 0.5d), (int) (((lhG.b - lhG2.b) * f) + 0.5d), (int) (((lhG.c - lhG2.c) * f) + 0.5d), (int) (((lhG.d - lhG2.d) * f) + 0.5d)));
            }
        }
        C2080ol0.h(this.e, c3029yl0.b(), Collections.singletonList(c2554tl0));
    }
}
