package o; import android.content.res.ColorStateList; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.PorterDuff; import android.graphics.Rect; import android.graphics.drawable.Drawable; /* loaded from: classes2.dex */ public final class Vdh extends Drawable implements Jaq { private HBt c; @Override // android.graphics.drawable.Drawable public final boolean isStateful() { return true; } /* synthetic */ Vdh(HBt hBt, byte b) { this(hBt); } public Vdh(FLD fld) { this(new HBt(new C4363bXv(fld))); } private Vdh(HBt hBt) { this.c = hBt; } @Override // android.graphics.drawable.Drawable public final void setTint(int i) { this.c.a.setTint(i); } @Override // android.graphics.drawable.Drawable public final void setTintMode(PorterDuff.Mode mode) { this.c.a.setTintMode(mode); } @Override // android.graphics.drawable.Drawable public final void setTintList(ColorStateList colorStateList) { this.c.a.setTintList(colorStateList); } @Override // o.Jaq public final void setShapeAppearanceModel(FLD fld) { this.c.a.setShapeAppearanceModel(fld); } @Override // android.graphics.drawable.Drawable protected final boolean onStateChange(int[] iArr) { boolean onStateChange = super.onStateChange(iArr); if (this.c.a.setState(iArr)) { onStateChange = true; } boolean b = C0459HUs.b(iArr); if (this.c.e == b) { return onStateChange; } this.c.e = b; return true; } @Override // android.graphics.drawable.Drawable public final void draw(Canvas canvas) { if (this.c.e) { this.c.a.draw(canvas); } } @Override // android.graphics.drawable.Drawable protected final void onBoundsChange(Rect rect) { super.onBoundsChange(rect); this.c.a.setBounds(rect); } @Override // android.graphics.drawable.Drawable public final void setAlpha(int i) { this.c.a.setAlpha(i); } @Override // android.graphics.drawable.Drawable public final void setColorFilter(ColorFilter colorFilter) { this.c.a.setColorFilter(colorFilter); } @Override // android.graphics.drawable.Drawable public final int getOpacity() { return this.c.a.getOpacity(); } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public static final class HBt extends Drawable.ConstantState { C4363bXv a; boolean e; @Override // android.graphics.drawable.Drawable.ConstantState public final int getChangingConfigurations() { return 0; } public HBt(C4363bXv c4363bXv) { this.a = c4363bXv; this.e = false; } public HBt(HBt hBt) { this.a = (C4363bXv) hBt.a.getConstantState().newDrawable(); this.e = hBt.e; } @Override // android.graphics.drawable.Drawable.ConstantState public final /* synthetic */ Drawable newDrawable() { return new Vdh(new HBt(this), (byte) 0); } } @Override // android.graphics.drawable.Drawable public final /* synthetic */ Drawable mutate() { this.c = new HBt(this.c); return this; } @Override // android.graphics.drawable.Drawable public final Drawable.ConstantState getConstantState() { return this.c; } }