package d2;

import A1.H;
import android.content.res.ColorStateList;
import android.graphics.Paint;

/* JADX INFO: loaded from: classes.dex */
public final class j extends m {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public H f11361d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public float f11362e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public H f11363f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public float f11364g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public float f11365h;
    public float i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public float f11366j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public float f11367k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public Paint.Cap f11368l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public Paint.Join f11369m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public float f11370n;

    @Override // d2.l
    public final boolean a() {
        return this.f11363f.h() || this.f11361d.h();
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x001e  */
    @Override // d2.l
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final boolean b(int[] iArr) {
        boolean z8;
        H h8 = this.f11363f;
        boolean z9 = false;
        if (h8.h()) {
            ColorStateList colorStateList = (ColorStateList) h8.f67t;
            int colorForState = colorStateList.getColorForState(iArr, colorStateList.getDefaultColor());
            if (colorForState != h8.f65r) {
                h8.f65r = colorForState;
                z8 = true;
            } else {
                z8 = false;
            }
        }
        H h9 = this.f11361d;
        if (h9.h()) {
            ColorStateList colorStateList2 = (ColorStateList) h9.f67t;
            int colorForState2 = colorStateList2.getColorForState(iArr, colorStateList2.getDefaultColor());
            if (colorForState2 != h9.f65r) {
                h9.f65r = colorForState2;
                z9 = true;
            }
        }
        return z8 | z9;
    }

    public float getFillAlpha() {
        return this.f11365h;
    }

    public int getFillColor() {
        return this.f11363f.f65r;
    }

    public float getStrokeAlpha() {
        return this.f11364g;
    }

    public int getStrokeColor() {
        return this.f11361d.f65r;
    }

    public float getStrokeWidth() {
        return this.f11362e;
    }

    public float getTrimPathEnd() {
        return this.f11366j;
    }

    public float getTrimPathOffset() {
        return this.f11367k;
    }

    public float getTrimPathStart() {
        return this.i;
    }

    public void setFillAlpha(float f3) {
        this.f11365h = f3;
    }

    public void setFillColor(int i) {
        this.f11363f.f65r = i;
    }

    public void setStrokeAlpha(float f3) {
        this.f11364g = f3;
    }

    public void setStrokeColor(int i) {
        this.f11361d.f65r = i;
    }

    public void setStrokeWidth(float f3) {
        this.f11362e = f3;
    }

    public void setTrimPathEnd(float f3) {
        this.f11366j = f3;
    }

    public void setTrimPathOffset(float f3) {
        this.f11367k = f3;
    }

    public void setTrimPathStart(float f3) {
        this.i = f3;
    }
}
