37 lines
1.9 KiB
Java
37 lines
1.9 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.res.ColorStateList;
|
||
|
import android.content.res.TypedArray;
|
||
|
import android.graphics.Paint;
|
||
|
import com.google.android.material.datepicker.MaterialCalendar;
|
||
|
import o.C17052tZT;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class ERL {
|
||
|
public final Paint a;
|
||
|
final C14391fsN b;
|
||
|
public final C14391fsN c;
|
||
|
final C14391fsN d;
|
||
|
final C14391fsN e;
|
||
|
final C14391fsN f;
|
||
|
final C14391fsN h;
|
||
|
public final C14391fsN j;
|
||
|
|
||
|
public ERL(Context context) {
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(TZc.Kt_(context, C17052tZT.IeS.materialCalendarStyle, MaterialCalendar.class.getCanonicalName()).data, C17052tZT.jNh.MaterialCalendar);
|
||
|
this.c = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_dayStyle, 0));
|
||
|
this.b = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_dayInvalidStyle, 0));
|
||
|
this.d = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_daySelectedStyle, 0));
|
||
|
this.f = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_dayTodayStyle, 0));
|
||
|
ColorStateList Ku_ = C14739fyr.Ku_(context, obtainStyledAttributes, C17052tZT.jNh.MaterialCalendar_rangeFillColor);
|
||
|
this.j = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_yearStyle, 0));
|
||
|
this.e = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_yearSelectedStyle, 0));
|
||
|
this.h = C14391fsN.d(context, obtainStyledAttributes.getResourceId(C17052tZT.jNh.MaterialCalendar_yearTodayStyle, 0));
|
||
|
Paint paint = new Paint();
|
||
|
this.a = paint;
|
||
|
paint.setColor(Ku_.getDefaultColor());
|
||
|
obtainStyledAttributes.recycle();
|
||
|
}
|
||
|
}
|