62 lines
1.8 KiB
Java
62 lines
1.8 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.res.Resources;
|
||
|
import android.graphics.Canvas;
|
||
|
import android.graphics.ColorFilter;
|
||
|
import android.graphics.PorterDuff;
|
||
|
import android.graphics.Rect;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import o.pEI;
|
||
|
|
||
|
/* renamed from: o.geF, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes2.dex */
|
||
|
final class C14997geF extends Drawable {
|
||
|
private final Drawable a;
|
||
|
private final Drawable b;
|
||
|
int d = -1;
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final int getOpacity() {
|
||
|
return -3;
|
||
|
}
|
||
|
|
||
|
public C14997geF(Resources resources) {
|
||
|
this.a = resources.getDrawable(pEI.HBt.amu_bubble_mask);
|
||
|
this.b = resources.getDrawable(pEI.HBt.amu_bubble_shadow);
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final void draw(Canvas canvas) {
|
||
|
this.a.draw(canvas);
|
||
|
canvas.drawColor(this.d, PorterDuff.Mode.SRC_IN);
|
||
|
this.b.draw(canvas);
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final void setAlpha(int i) {
|
||
|
throw new UnsupportedOperationException();
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final void setColorFilter(ColorFilter colorFilter) {
|
||
|
throw new UnsupportedOperationException();
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final void setBounds(int i, int i2, int i3, int i4) {
|
||
|
this.a.setBounds(i, i2, i3, i4);
|
||
|
this.b.setBounds(i, i2, i3, i4);
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final void setBounds(Rect rect) {
|
||
|
this.a.setBounds(rect);
|
||
|
this.b.setBounds(rect);
|
||
|
}
|
||
|
|
||
|
@Override // android.graphics.drawable.Drawable
|
||
|
public final boolean getPadding(Rect rect) {
|
||
|
return this.a.getPadding(rect);
|
||
|
}
|
||
|
}
|