package defpackage;

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

/* JADX INFO: renamed from: ᵨˋ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3739 extends AbstractC1525 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final ArrayList f14186;

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public float f14187;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public float f14188;

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public float f14189;

    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    public final Matrix f14190;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final Matrix f14191;

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public float f14192;

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public String f14193;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public float f14194;

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public float f14195;

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public float f14196;

    public C3739() {
        this.f14191 = new Matrix();
        this.f14186 = new ArrayList();
        this.f14188 = 0.0f;
        this.f14194 = 0.0f;
        this.f14189 = 0.0f;
        this.f14196 = 1.0f;
        this.f14192 = 1.0f;
        this.f14187 = 0.0f;
        this.f14195 = 0.0f;
        this.f14190 = new Matrix();
        this.f14193 = null;
    }

    public C3739(C3739 c3739, C3310 c3310) {
        AbstractC4829 c0039;
        this.f14191 = new Matrix();
        this.f14186 = new ArrayList();
        this.f14188 = 0.0f;
        this.f14194 = 0.0f;
        this.f14189 = 0.0f;
        this.f14196 = 1.0f;
        this.f14192 = 1.0f;
        this.f14187 = 0.0f;
        this.f14195 = 0.0f;
        Matrix matrix = new Matrix();
        this.f14190 = matrix;
        this.f14193 = null;
        this.f14188 = c3739.f14188;
        this.f14194 = c3739.f14194;
        this.f14189 = c3739.f14189;
        this.f14196 = c3739.f14196;
        this.f14192 = c3739.f14192;
        this.f14187 = c3739.f14187;
        this.f14195 = c3739.f14195;
        String str = c3739.f14193;
        this.f14193 = str;
        if (str != null) {
            c3310.put(str, this);
        }
        matrix.set(c3739.f14190);
        ArrayList arrayList = c3739.f14186;
        for (int i = 0; i < arrayList.size(); i++) {
            Object obj = arrayList.get(i);
            if (obj instanceof C3739) {
                this.f14186.add(new C3739((C3739) obj, c3310));
            } else {
                if (obj instanceof C3861) {
                    C3861 c3861 = (C3861) obj;
                    C3861 c38612 = new C3861(c3861);
                    c38612.f14751 = 0.0f;
                    c38612.f14754 = 1.0f;
                    c38612.f14748 = 1.0f;
                    c38612.f14757 = 0.0f;
                    c38612.f14753 = 1.0f;
                    c38612.f14755 = 0.0f;
                    c38612.f14752 = Paint.Cap.BUTT;
                    c38612.f14750 = Paint.Join.MITER;
                    c38612.f14749 = 4.0f;
                    c38612.f14756 = c3861.f14756;
                    c38612.f14751 = c3861.f14751;
                    c38612.f14754 = c3861.f14754;
                    c38612.f14758 = c3861.f14758;
                    c38612.f18409 = c3861.f18409;
                    c38612.f14748 = c3861.f14748;
                    c38612.f14757 = c3861.f14757;
                    c38612.f14753 = c3861.f14753;
                    c38612.f14755 = c3861.f14755;
                    c38612.f14752 = c3861.f14752;
                    c38612.f14750 = c3861.f14750;
                    c38612.f14749 = c3861.f14749;
                    c0039 = c38612;
                } else {
                    if (!(obj instanceof C0039)) {
                        ᵕᵩʽᵲ.ᵪᵹᵥᵻ("Unknown object in the tree!");
                        throw null;
                    }
                    c0039 = new C0039((C0039) obj);
                }
                this.f14186.add(c0039);
                Object obj2 = c0039.f18408;
                if (obj2 != null) {
                    c3310.put(obj2, c0039);
                }
            }
        }
    }

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

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

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

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

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

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

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

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

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

    public void setPivotX(float f) {
        if (f != this.f14194) {
            this.f14194 = f;
            m8406();
        }
    }

    public void setPivotY(float f) {
        if (f != this.f14189) {
            this.f14189 = f;
            m8406();
        }
    }

    public void setRotation(float f) {
        if (f != this.f14188) {
            this.f14188 = f;
            m8406();
        }
    }

    public void setScaleX(float f) {
        if (f != this.f14196) {
            this.f14196 = f;
            m8406();
        }
    }

    public void setScaleY(float f) {
        if (f != this.f14192) {
            this.f14192 = f;
            m8406();
        }
    }

    public void setTranslateX(float f) {
        if (f != this.f14187) {
            this.f14187 = f;
            m8406();
        }
    }

    public void setTranslateY(float f) {
        if (f != this.f14195) {
            this.f14195 = f;
            m8406();
        }
    }

    @Override // defpackage.AbstractC1525
    /* JADX INFO: renamed from: ʽˈˋ */
    public final boolean mo4327(int[] iArr) {
        int i = 0;
        boolean zMo4327 = false;
        while (true) {
            ArrayList arrayList = this.f14186;
            if (i >= arrayList.size()) {
                return zMo4327;
            }
            zMo4327 |= ((AbstractC1525) arrayList.get(i)).mo4327(iArr);
            i++;
        }
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final void m8406() {
        Matrix matrix = this.f14190;
        matrix.reset();
        matrix.postTranslate(-this.f14194, -this.f14189);
        matrix.postScale(this.f14196, this.f14192);
        matrix.postRotate(this.f14188, 0.0f, 0.0f);
        matrix.postTranslate(this.f14187 + this.f14194, this.f14195 + this.f14189);
    }

    @Override // defpackage.AbstractC1525
    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    public final boolean mo4328() {
        int i = 0;
        while (true) {
            ArrayList arrayList = this.f14186;
            if (i >= arrayList.size()) {
                return false;
            }
            if (((AbstractC1525) arrayList.get(i)).mo4328()) {
                return true;
            }
            i++;
        }
    }
}
