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.Region; import android.graphics.drawable.Drawable; /* loaded from: classes.dex */ public class RNg extends Drawable implements Drawable.Callback { private Drawable d; public RNg(Drawable drawable) { dU_(drawable); } @Override // android.graphics.drawable.Drawable public void draw(Canvas canvas) { this.d.draw(canvas); } @Override // android.graphics.drawable.Drawable protected void onBoundsChange(Rect rect) { this.d.setBounds(rect); } @Override // android.graphics.drawable.Drawable public void setChangingConfigurations(int i) { this.d.setChangingConfigurations(i); } @Override // android.graphics.drawable.Drawable public int getChangingConfigurations() { return this.d.getChangingConfigurations(); } @Override // android.graphics.drawable.Drawable public void setDither(boolean z) { this.d.setDither(z); } @Override // android.graphics.drawable.Drawable public void setFilterBitmap(boolean z) { this.d.setFilterBitmap(z); } @Override // android.graphics.drawable.Drawable public void setAlpha(int i) { this.d.setAlpha(i); } @Override // android.graphics.drawable.Drawable public void setColorFilter(ColorFilter colorFilter) { this.d.setColorFilter(colorFilter); } @Override // android.graphics.drawable.Drawable public boolean isStateful() { return this.d.isStateful(); } @Override // android.graphics.drawable.Drawable public boolean setState(int[] iArr) { return this.d.setState(iArr); } @Override // android.graphics.drawable.Drawable public int[] getState() { return this.d.getState(); } @Override // android.graphics.drawable.Drawable public void jumpToCurrentState() { this.d.jumpToCurrentState(); } @Override // android.graphics.drawable.Drawable public Drawable getCurrent() { return this.d.getCurrent(); } @Override // android.graphics.drawable.Drawable public boolean setVisible(boolean z, boolean z2) { return super.setVisible(z, z2) || this.d.setVisible(z, z2); } @Override // android.graphics.drawable.Drawable public int getOpacity() { return this.d.getOpacity(); } @Override // android.graphics.drawable.Drawable public Region getTransparentRegion() { return this.d.getTransparentRegion(); } @Override // android.graphics.drawable.Drawable public int getIntrinsicWidth() { return this.d.getIntrinsicWidth(); } @Override // android.graphics.drawable.Drawable public int getIntrinsicHeight() { return this.d.getIntrinsicHeight(); } @Override // android.graphics.drawable.Drawable public int getMinimumWidth() { return this.d.getMinimumWidth(); } @Override // android.graphics.drawable.Drawable public int getMinimumHeight() { return this.d.getMinimumHeight(); } @Override // android.graphics.drawable.Drawable public boolean getPadding(Rect rect) { return this.d.getPadding(rect); } @Override // android.graphics.drawable.Drawable.Callback public void invalidateDrawable(Drawable drawable) { invalidateSelf(); } @Override // android.graphics.drawable.Drawable.Callback public void scheduleDrawable(Drawable drawable, Runnable runnable, long j) { scheduleSelf(runnable, j); } @Override // android.graphics.drawable.Drawable.Callback public void unscheduleDrawable(Drawable drawable, Runnable runnable) { unscheduleSelf(runnable); } @Override // android.graphics.drawable.Drawable protected boolean onLevelChange(int i) { return this.d.setLevel(i); } @Override // android.graphics.drawable.Drawable public void setAutoMirrored(boolean z) { Tlu.pA_(this.d, z); } @Override // android.graphics.drawable.Drawable public boolean isAutoMirrored() { return Tlu.py_(this.d); } @Override // android.graphics.drawable.Drawable public void setTint(int i) { Tlu.pE_(this.d, i); } @Override // android.graphics.drawable.Drawable public void setTintList(ColorStateList colorStateList) { Tlu.pF_(this.d, colorStateList); } @Override // android.graphics.drawable.Drawable public void setTintMode(PorterDuff.Mode mode) { Tlu.pG_(this.d, mode); } @Override // android.graphics.drawable.Drawable public void setHotspot(float f, float f2) { Tlu.pB_(this.d, f, f2); } @Override // android.graphics.drawable.Drawable public void setHotspotBounds(int i, int i2, int i3, int i4) { Tlu.pC_(this.d, i, i2, i3, i4); } public void dU_(Drawable drawable) { Drawable drawable2 = this.d; if (drawable2 != null) { drawable2.setCallback(null); } this.d = drawable; if (drawable != null) { drawable.setCallback(this); } } }