32 lines
1.3 KiB
Java
32 lines
1.3 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.res.Resources;
|
||
|
import com.prolificinteractive.materialcalendarview.CalendarDay;
|
||
|
import com.prolificinteractive.materialcalendarview.DayViewDecorator;
|
||
|
import com.prolificinteractive.materialcalendarview.DayViewFacade;
|
||
|
import java.util.Collection;
|
||
|
import java.util.HashSet;
|
||
|
|
||
|
/* renamed from: o.eyx, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12480eyx implements DayViewDecorator {
|
||
|
private final int a = com.scb.phone.R.color.f13682131100876;
|
||
|
private final HashSet<CalendarDay> c;
|
||
|
private final Resources d;
|
||
|
|
||
|
public C12480eyx(Resources resources, Collection<CalendarDay> collection) {
|
||
|
this.d = resources;
|
||
|
this.c = new HashSet<>(collection);
|
||
|
}
|
||
|
|
||
|
@Override // com.prolificinteractive.materialcalendarview.DayViewDecorator
|
||
|
public final boolean shouldDecorate(CalendarDay calendarDay) {
|
||
|
return this.c.contains(calendarDay);
|
||
|
}
|
||
|
|
||
|
@Override // com.prolificinteractive.materialcalendarview.DayViewDecorator
|
||
|
public final void decorate(DayViewFacade dayViewFacade) {
|
||
|
dayViewFacade.addSpan(new C10312eAh(this.d.getDimensionPixelOffset(com.scb.phone.R.dimen.f27822131166548), this.d.getDimensionPixelOffset(com.scb.phone.R.dimen.f27832131166549), this.a));
|
||
|
}
|
||
|
}
|