what-the-bank/sources/o/C16844rlF.java

87 lines
2.2 KiB
Java

package o;
import android.graphics.Canvas;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import o.C4363bXv;
/* renamed from: o.rlF, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public class C16844rlF extends C4363bXv {
public LWm a;
/* synthetic */ C16844rlF(LWm lWm, byte b) {
this(lWm);
}
private C16844rlF(LWm lWm) {
super(lWm);
this.a = lWm;
}
@Override // o.C4363bXv, android.graphics.drawable.Drawable
public Drawable mutate() {
this.a = new LWm(this.a, (byte) 0);
return this;
}
/* renamed from: o.rlF$RVV */
/* loaded from: classes2.dex */
public static class RVV extends C16844rlF {
public RVV(LWm lWm) {
super(lWm, (byte) 0);
}
@Override // o.C4363bXv
public final void Ma_(Canvas canvas) {
if (((C16844rlF) this).a.u.isEmpty()) {
super.Ma_(canvas);
return;
}
canvas.save();
canvas.clipOutRect(((C16844rlF) this).a.u);
super.Ma_(canvas);
canvas.restore();
}
}
/* renamed from: o.rlF$LWm */
/* loaded from: classes2.dex */
public static final class LWm extends C4363bXv.LWm {
public final RectF u;
public /* synthetic */ LWm(FLD fld, RectF rectF, byte b) {
this(fld, rectF);
}
/* synthetic */ LWm(LWm lWm, byte b) {
this(lWm);
}
private LWm(FLD fld, RectF rectF) {
super(fld);
this.u = rectF;
}
private LWm(LWm lWm) {
super(lWm);
this.u = lWm.u;
}
@Override // o.C4363bXv.LWm, android.graphics.drawable.Drawable.ConstantState
public final Drawable newDrawable() {
RVV rvv = new RVV(this);
rvv.invalidateSelf();
return rvv;
}
}
public final void a(float f, float f2, float f3, float f4) {
if (f == this.a.u.left && f2 == this.a.u.top && f3 == this.a.u.right && f4 == this.a.u.bottom) {
return;
}
this.a.u.set(f, f2, f3, f4);
invalidateSelf();
}
}