package com.google.android.material.datepicker;

import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.graphics.Paint;

/* JADX INFO: compiled from: CalendarStyle.java */
/* JADX INFO: loaded from: classes.dex */
final class c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    final b f3836a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    final b f3838c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    final b f3839d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    final b f3840e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    final b f3841f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    final b f3842g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    final Paint f3843h;

    c(Context context) {
        TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(z0.b.d(context, l0.b.f5336s, h.class.getCanonicalName()), l0.k.f5530t1);
        this.f3836a = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.f5539w1, 0));
        this.f3842g = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.f5533u1, 0));
        this.f3837b = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.f5536v1, 0));
        this.f3838c = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.f5542x1, 0));
        ColorStateList colorStateListA = z0.c.a(context, typedArrayObtainStyledAttributes, l0.k.f5545y1);
        this.f3839d = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.A1, 0));
        this.f3840e = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.f5548z1, 0));
        this.f3841f = b.a(context, typedArrayObtainStyledAttributes.getResourceId(l0.k.B1, 0));
        Paint paint = new Paint();
        this.f3843h = paint;
        paint.setColor(colorStateListA.getDefaultColor());
        typedArrayObtainStyledAttributes.recycle();
    }
}
