27 lines
778 B
Java
27 lines
778 B
Java
|
package o;
|
||
|
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.util.Property;
|
||
|
import java.util.WeakHashMap;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class dYH extends Property<Drawable, Integer> {
|
||
|
public static final Property<Drawable, Integer> d = new dYH();
|
||
|
private final WeakHashMap<Drawable, Integer> e;
|
||
|
|
||
|
@Override // android.util.Property
|
||
|
public final /* synthetic */ Integer get(Drawable drawable) {
|
||
|
return Integer.valueOf(drawable.getAlpha());
|
||
|
}
|
||
|
|
||
|
@Override // android.util.Property
|
||
|
public final /* synthetic */ void set(Drawable drawable, Integer num) {
|
||
|
drawable.setAlpha(num.intValue());
|
||
|
}
|
||
|
|
||
|
private dYH() {
|
||
|
super(Integer.class, "drawableAlphaCompat");
|
||
|
this.e = new WeakHashMap<>();
|
||
|
}
|
||
|
}
|