33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
package o;
|
|
|
|
import android.util.Property;
|
|
import android.view.ViewGroup;
|
|
import o.C17052tZT;
|
|
|
|
/* renamed from: o.fNF, reason: case insensitive filesystem */
|
|
/* loaded from: classes2.dex */
|
|
public final class C12981fNF extends Property<ViewGroup, Float> {
|
|
public static final Property<ViewGroup, Float> b = new C12981fNF("childrenAlpha");
|
|
|
|
@Override // android.util.Property
|
|
public final /* synthetic */ Float get(ViewGroup viewGroup) {
|
|
Float f = (Float) viewGroup.getTag(C17052tZT.ZqN.mtrl_internal_children_alpha_tag);
|
|
return f != null ? f : Float.valueOf(1.0f);
|
|
}
|
|
|
|
@Override // android.util.Property
|
|
public final /* synthetic */ void set(ViewGroup viewGroup, Float f) {
|
|
ViewGroup viewGroup2 = viewGroup;
|
|
float floatValue = f.floatValue();
|
|
viewGroup2.setTag(C17052tZT.ZqN.mtrl_internal_children_alpha_tag, Float.valueOf(floatValue));
|
|
int childCount = viewGroup2.getChildCount();
|
|
for (int i = 0; i < childCount; i++) {
|
|
viewGroup2.getChildAt(i).setAlpha(floatValue);
|
|
}
|
|
}
|
|
|
|
private C12981fNF(String str) {
|
|
super(Float.class, str);
|
|
}
|
|
}
|