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: SingleCircleBuilder */
public class C0755 extends AbstractC0747 {

    /* renamed from: ᕣ  reason: contains not printable characters */
    public int f3858;

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

    /* renamed from: 㑃  reason: contains not printable characters */
    public int f3860;

    /* renamed from: 㳳  reason: contains not printable characters */
    public RectF f3861;

    /* renamed from: 㿎  reason: contains not printable characters */
    public int f3862 = 0;

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    public void onAnimationRepeat(Animator animator) {
        int i = this.f3862 + 1;
        this.f3862 = i;
        if (i > 2) {
            this.f3862 = 0;
        }
    }

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: ῲ  reason: contains not printable characters */
    public void m2257(Context context) {
        float f = this.f3803;
        this.f3859 = new Paint(1);
        this.f3859.setStyle(Paint.Style.STROKE);
        this.f3859.setStrokeWidth(0.6f * f * 0.4f);
        this.f3859.setColor(-1);
        this.f3859.setDither(true);
        this.f3859.setFilterBitmap(true);
        this.f3859.setStrokeCap(Paint.Cap.ROUND);
        this.f3859.setStrokeJoin(Paint.Join.ROUND);
        this.f3858 = 0;
        this.f3861 = new RectF();
        this.f3861.set(m2199() - f, m2198() - f, m2199() + f, m2198() + f);
    }

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

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2261(Canvas canvas) {
        canvas.save();
        canvas.drawArc(this.f3861, (float) (this.f3858 % 360), (float) (this.f3860 % 360), false, this.f3859);
        canvas.restore();
    }

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

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

    @Override // ඓ.ᕣ.K.K.AbstractC0747
    /* renamed from: K  reason: contains not printable characters */
    public void m2260(ValueAnimator valueAnimator, float f) {
        this.f3858 = (int) (360.0f * f);
        int i = this.f3862;
        if (i == 0) {
            this.f3860 = (int) (f * 320.0f);
        } else if (i == 1) {
            this.f3860 = 320 - ((int) (f * 320.0f));
        }
    }

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