package defpackage;

import android.graphics.Matrix;
import android.graphics.Paint;
import java.util.ArrayList;

/* renamed from: ˏᵹ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1913 extends AbstractC0958 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public float f7698;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public float f7699;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public float f7700;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public float f7701;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public float f7702;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final Matrix f7703;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final ArrayList f7704;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final Matrix f7705;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public String f7706;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public float f7707;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public float f7708;

    public C1913() {
        this.f7703 = new Matrix();
        this.f7704 = new ArrayList();
        this.f7701 = 0.0f;
        this.f7708 = 0.0f;
        this.f7698 = 0.0f;
        this.f7700 = 1.0f;
        this.f7699 = 1.0f;
        this.f7707 = 0.0f;
        this.f7702 = 0.0f;
        this.f7705 = new Matrix();
        this.f7706 = null;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public C1913(C1913 c1913, C1200 c1200) {
        C4893 c4893;
        this.f7703 = new Matrix();
        this.f7704 = new ArrayList();
        this.f7701 = 0.0f;
        this.f7708 = 0.0f;
        this.f7698 = 0.0f;
        this.f7700 = 1.0f;
        this.f7699 = 1.0f;
        this.f7707 = 0.0f;
        this.f7702 = 0.0f;
        Matrix matrix = new Matrix();
        this.f7705 = matrix;
        this.f7706 = null;
        this.f7701 = c1913.f7701;
        this.f7708 = c1913.f7708;
        this.f7698 = c1913.f7698;
        this.f7700 = c1913.f7700;
        this.f7699 = c1913.f7699;
        this.f7707 = c1913.f7707;
        this.f7702 = c1913.f7702;
        String str = c1913.f7706;
        this.f7706 = str;
        if (str != null) {
            c1200.put(str, this);
        }
        matrix.set(c1913.f7705);
        ArrayList arrayList = c1913.f7704;
        for (int i = 0; i < arrayList.size(); i++) {
            Object obj = arrayList.get(i);
            if (obj instanceof C1913) {
                this.f7704.add(new C1913((C1913) obj, c1200));
            } else {
                if (obj instanceof C2455) {
                    C2455 c2455 = (C2455) obj;
                    C2455 c24552 = new C2455(c2455);
                    c24552.f9576 = 0.0f;
                    c24552.f9578 = 1.0f;
                    c24552.f9585 = 1.0f;
                    c24552.f9580 = 0.0f;
                    c24552.f9583 = 1.0f;
                    c24552.f9584 = 0.0f;
                    c24552.f9577 = Paint.Cap.BUTT;
                    c24552.f9582 = Paint.Join.MITER;
                    c24552.f9581 = 4.0f;
                    c24552.f9586 = c2455.f9586;
                    c24552.f9576 = c2455.f9576;
                    c24552.f9578 = c2455.f9578;
                    c24552.f9579 = c2455.f9579;
                    c24552.f1783 = c2455.f1783;
                    c24552.f9585 = c2455.f9585;
                    c24552.f9580 = c2455.f9580;
                    c24552.f9583 = c2455.f9583;
                    c24552.f9584 = c2455.f9584;
                    c24552.f9577 = c2455.f9577;
                    c24552.f9582 = c2455.f9582;
                    c24552.f9581 = c2455.f9581;
                    c4893 = c24552;
                } else {
                    if (!(obj instanceof C4893)) {
                        ᵹˉᵞ.ᵳٴᵶ("Unknown object in the tree!");
                        throw null;
                    }
                    c4893 = new C4893((C4893) obj);
                }
                this.f7704.add(c4893);
                Object obj2 = c4893.f1785;
                if (obj2 != null) {
                    c1200.put(obj2, c4893);
                }
            }
        }
    }

    public String getGroupName() {
        return this.f7706;
    }

    public Matrix getLocalMatrix() {
        return this.f7705;
    }

    public float getPivotX() {
        return this.f7708;
    }

    public float getPivotY() {
        return this.f7698;
    }

    public float getRotation() {
        return this.f7701;
    }

    public float getScaleX() {
        return this.f7700;
    }

    public float getScaleY() {
        return this.f7699;
    }

    public float getTranslateX() {
        return this.f7707;
    }

    public float getTranslateY() {
        return this.f7702;
    }

    public void setPivotX(float f) {
        if (f != this.f7708) {
            this.f7708 = f;
            m5382();
        }
    }

    public void setPivotY(float f) {
        if (f != this.f7698) {
            this.f7698 = f;
            m5382();
        }
    }

    public void setRotation(float f) {
        if (f != this.f7701) {
            this.f7701 = f;
            m5382();
        }
    }

    public void setScaleX(float f) {
        if (f != this.f7700) {
            this.f7700 = f;
            m5382();
        }
    }

    public void setScaleY(float f) {
        if (f != this.f7699) {
            this.f7699 = f;
            m5382();
        }
    }

    public void setTranslateX(float f) {
        if (f != this.f7707) {
            this.f7707 = f;
            m5382();
        }
    }

    public void setTranslateY(float f) {
        if (f != this.f7702) {
            this.f7702 = f;
            m5382();
        }
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final void m5382() {
        Matrix matrix = this.f7705;
        matrix.reset();
        matrix.postTranslate(-this.f7708, -this.f7698);
        matrix.postScale(this.f7700, this.f7699);
        matrix.postRotate(this.f7701, 0.0f, 0.0f);
        matrix.postTranslate(this.f7707 + this.f7708, this.f7702 + this.f7698);
    }

    @Override // defpackage.AbstractC0958
    /* renamed from: ᵥᵯˎ */
    public final boolean mo3235() {
        int i = 0;
        while (true) {
            ArrayList arrayList = this.f7704;
            if (i >= arrayList.size()) {
                return false;
            }
            if (((AbstractC0958) arrayList.get(i)).mo3235()) {
                return true;
            }
            i++;
        }
    }

    @Override // defpackage.AbstractC0958
    /* renamed from: ᵴᵳ */
    public final boolean mo3236(int[] iArr) {
        int i = 0;
        boolean zMo3236 = false;
        while (true) {
            ArrayList arrayList = this.f7704;
            if (i >= arrayList.size()) {
                return zMo3236;
            }
            zMo3236 |= ((AbstractC0958) arrayList.get(i)).mo3236(iArr);
            i++;
        }
    }
}
