package ඓ.ᕣ.K.K.ⁱ;

import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.RectF;
import ඓ.ᕣ.K.K.AbstractC0747;

/* renamed from: ඓ.ᕣ.K.K.ⁱ.K  reason: contains not printable characters */
/* compiled from: CircleBuilder */
public class C0746 extends AbstractC0747 {

    /* renamed from: ᕣ  reason: contains not printable characters */
    public float f3794;

    /* renamed from: ᨨ  reason: contains not printable characters */
    public Paint f3795;

    /* renamed from: 㑃  reason: contains not printable characters */
    public boolean f3796 = true;

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

    /* renamed from: 㿎  reason: contains not printable characters */
    public RectF f3798;

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    public void onAnimationCancel(Animator animator) {
        this.f3797 = -90.0f;
        this.f3794 = -90.0f;
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    public void onAnimationEnd(Animator animator) {
        this.f3797 = -90.0f;
        this.f3794 = -90.0f;
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    public void onAnimationRepeat(Animator animator) {
        this.f3796 = !this.f3796;
        if (this.f3796) {
            this.f3797 = -90.0f;
            this.f3794 = -90.0f;
            return;
        }
        this.f3797 = -90.0f;
        this.f3794 = 270.0f;
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    public void onAnimationStart(Animator animator) {
        this.f3797 = -90.0f;
        this.f3794 = -90.0f;
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: ῲ  reason: contains not printable characters */
    public void m2190(Context context) {
        this.f3795 = new Paint(1);
        this.f3795.setColor(-16777216);
        float f = this.f3803 - (context.getResources().getDisplayMetrics().density * 3.0f);
        this.f3798 = new RectF();
        this.f3797 = -90.0f;
        this.f3794 = -90.0f;
        float r6 = m2199();
        float r1 = m2198();
        this.f3798.set(r6 - f, r1 - f, r6 + f, r1 + f);
    }

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

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2194(Canvas canvas) {
        canvas.save();
        RectF rectF = this.f3798;
        float f = this.f3797;
        canvas.drawArc(rectF, f, this.f3794 - f, true, this.f3795);
        canvas.restore();
    }

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

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2191(int i) {
        this.f3795.setAlpha(i);
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2193(ValueAnimator valueAnimator, float f) {
        if (this.f3796) {
            this.f3794 = (f * 360.0f) - 0.049804688f;
        } else {
            this.f3797 = (f * 360.0f) - 0.049804688f;
        }
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2195(ColorFilter colorFilter) {
        this.f3795.setColorFilter(colorFilter);
    }
}
