package ඓ.ᕣ.K.K.㸾;

import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.view.animation.AccelerateInterpolator;
import java.util.Iterator;
import ඓ.ᕣ.K.K.㸾.AbstractC0758;

/* renamed from: ඓ.ᕣ.K.K.㸾.㸾  reason: contains not printable characters */
/* compiled from: IntertwineBuilder */
public class C0760 extends AbstractC0758 {

    /* renamed from: ᕣ  reason: contains not printable characters */
    public Path f3887;

    /* renamed from: 㑃  reason: contains not printable characters */
    public int f3888 = 0;

    /* renamed from: 㳳  reason: contains not printable characters */
    public float f3889;

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    public void onAnimationRepeat(Animator animator) {
        int i = this.f3888 + 1;
        this.f3888 = i;
        if (i > 1) {
            this.f3888 = 0;
            Iterator<AbstractC0758.C0759> it2 = this.f3881.iterator();
            while (it2.hasNext()) {
                AbstractC0758.C0759 next = it2.next();
                next.f3886 = 0.0f;
                next.f3882 = 0.0f;
            }
        }
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: ῲ  reason: contains not printable characters */
    public void m2281(Context context) {
        this.f3889 = this.f3803;
        this.f3887 = new Path();
        m2275(5.0f);
        m2274(this.f3889);
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2282(ValueAnimator valueAnimator) {
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2284(Canvas canvas) {
        canvas.save();
        this.f3880.setStyle(Paint.Style.FILL_AND_STROKE);
        super.m2277(canvas, this.f3887, this.f3880);
        canvas.restore();
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: 㸾  reason: contains not printable characters */
    public void m2285() {
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2283(ValueAnimator valueAnimator, float f) {
        int i = this.f3888;
        int i2 = 0;
        if (i == 0) {
            valueAnimator.setInterpolator(new AccelerateInterpolator());
            while (i2 < this.f3881.size()) {
                AbstractC0758.C0759 k = this.f3881.get(i2);
                if (2 > i2 || i2 > 7) {
                    float f2 = this.f3889;
                    k.f3882 = f2 * f;
                    k.f3886 = f2 * f;
                } else {
                    float f3 = this.f3889;
                    k.f3882 = (-f3) * f;
                    k.f3886 = (-f3) * f;
                }
                i2++;
            }
        } else if (i == 1) {
            valueAnimator.setInterpolator(new AccelerateInterpolator());
            while (i2 < this.f3881.size()) {
                AbstractC0758.C0759 k2 = this.f3881.get(i2);
                if (2 > i2 || i2 > 7) {
                    float f4 = this.f3889;
                    float f5 = 1.0f - f;
                    k2.f3882 = f4 * f5;
                    k2.f3886 = f4 * f5;
                } else {
                    float f6 = this.f3889;
                    float f7 = 1.0f - f;
                    k2.f3882 = (-f6) * f7;
                    k2.f3886 = (-f6) * f7;
                }
                i2++;
            }
        }
    }
}
