package com.google.android.material.shape;

import android.content.res.ColorStateList;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public class h extends Drawable.ConstantState {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public s f23068a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final float f23069b;

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

    @Nullable
    ColorFilter colorFilter;

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

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

    @Nullable
    k9.a elevationOverlayProvider;

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

    @Nullable
    ColorStateList fillColor;

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

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

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public int f23076i;

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

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

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final int f23079l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public boolean f23080m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public Paint.Style f23081n;

    @Nullable
    Rect padding;

    @Nullable
    n0 stateListShapeAppearanceModel;

    @Nullable
    ColorStateList strokeColor;

    @Nullable
    ColorStateList strokeTintList;

    @Nullable
    ColorStateList tintList;

    @Nullable
    PorterDuff.Mode tintMode;

    public h(@NonNull s sVar, @Nullable k9.a aVar) {
        this.fillColor = null;
        this.strokeColor = null;
        this.strokeTintList = null;
        this.tintList = null;
        this.tintMode = PorterDuff.Mode.SRC_IN;
        this.padding = null;
        this.f23069b = 1.0f;
        this.f23070c = 1.0f;
        this.f23072e = 255;
        this.f23073f = 0.0f;
        this.f23074g = 0.0f;
        this.f23075h = 0.0f;
        this.f23076i = 0;
        this.f23077j = 0;
        this.f23078k = 0;
        this.f23079l = 0;
        this.f23080m = false;
        this.f23081n = Paint.Style.FILL_AND_STROKE;
        this.f23068a = sVar;
        this.elevationOverlayProvider = aVar;
    }

    @Override // android.graphics.drawable.Drawable.ConstantState
    public final int getChangingConfigurations() {
        return 0;
    }

    @Override // android.graphics.drawable.Drawable.ConstantState
    public Drawable newDrawable() {
        k kVar = new k(this);
        kVar.f23100f = true;
        kVar.f23101g = true;
        return kVar;
    }

    public h(h hVar) {
        this.fillColor = null;
        this.strokeColor = null;
        this.strokeTintList = null;
        this.tintList = null;
        this.tintMode = PorterDuff.Mode.SRC_IN;
        this.padding = null;
        this.f23069b = 1.0f;
        this.f23070c = 1.0f;
        this.f23072e = 255;
        this.f23073f = 0.0f;
        this.f23074g = 0.0f;
        this.f23075h = 0.0f;
        this.f23076i = 0;
        this.f23077j = 0;
        this.f23078k = 0;
        this.f23079l = 0;
        this.f23080m = false;
        this.f23081n = Paint.Style.FILL_AND_STROKE;
        this.f23068a = hVar.f23068a;
        this.stateListShapeAppearanceModel = hVar.stateListShapeAppearanceModel;
        this.elevationOverlayProvider = hVar.elevationOverlayProvider;
        this.f23071d = hVar.f23071d;
        this.colorFilter = hVar.colorFilter;
        this.fillColor = hVar.fillColor;
        this.strokeColor = hVar.strokeColor;
        this.tintMode = hVar.tintMode;
        this.tintList = hVar.tintList;
        this.f23072e = hVar.f23072e;
        this.f23069b = hVar.f23069b;
        this.f23078k = hVar.f23078k;
        this.f23076i = hVar.f23076i;
        this.f23080m = hVar.f23080m;
        this.f23070c = hVar.f23070c;
        this.f23073f = hVar.f23073f;
        this.f23074g = hVar.f23074g;
        this.f23075h = hVar.f23075h;
        this.f23077j = hVar.f23077j;
        this.f23079l = hVar.f23079l;
        this.strokeTintList = hVar.strokeTintList;
        this.f23081n = hVar.f23081n;
        if (hVar.padding != null) {
            this.padding = new Rect(hVar.padding);
        }
    }
}
