116 lines
2.4 KiB
Java
116 lines
2.4 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.content.res.ColorStateList;
|
|
import android.view.View;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class xVf implements EaY {
|
|
@Override // o.EaY
|
|
public void c() {
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void km_(OoT ooT, Context context, ColorStateList colorStateList, float f, float f2, float f3) {
|
|
ooT.kk_(new WBR(colorStateList, f));
|
|
View b = ooT.b();
|
|
b.setClipToOutline(true);
|
|
b.setElevation(f2);
|
|
a(ooT, f3);
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void b(OoT ooT, float f) {
|
|
WBR j = j(ooT);
|
|
if (f != j.b) {
|
|
j.b = f;
|
|
j.kp_(null);
|
|
j.invalidateSelf();
|
|
}
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void a(OoT ooT, float f) {
|
|
WBR j = j(ooT);
|
|
boolean d = ooT.d();
|
|
boolean c = ooT.c();
|
|
if (f != j.e || j.a != d || j.c != c) {
|
|
j.e = f;
|
|
j.a = d;
|
|
j.c = c;
|
|
j.kp_(null);
|
|
j.invalidateSelf();
|
|
}
|
|
h(ooT);
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public float d(OoT ooT) {
|
|
return j(ooT).e;
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public float a(OoT ooT) {
|
|
return g(ooT) * 2.0f;
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public float b(OoT ooT) {
|
|
return g(ooT) * 2.0f;
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public float g(OoT ooT) {
|
|
return j(ooT).b;
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void e(OoT ooT, float f) {
|
|
ooT.b().setElevation(f);
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public float c(OoT ooT) {
|
|
return ooT.b().getElevation();
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void h(OoT ooT) {
|
|
if (!ooT.d()) {
|
|
ooT.c(0, 0, 0, 0);
|
|
return;
|
|
}
|
|
float d = d(ooT);
|
|
float g = g(ooT);
|
|
int ceil = (int) Math.ceil(pvK.e(d, g, ooT.c()));
|
|
int ceil2 = (int) Math.ceil(pvK.b(d, g, ooT.c()));
|
|
ooT.c(ceil, ceil2, ceil, ceil2);
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void f(OoT ooT) {
|
|
a(ooT, d(ooT));
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void i(OoT ooT) {
|
|
a(ooT, d(ooT));
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public void kn_(OoT ooT, ColorStateList colorStateList) {
|
|
WBR j = j(ooT);
|
|
j.ko_(colorStateList);
|
|
j.invalidateSelf();
|
|
}
|
|
|
|
@Override // o.EaY
|
|
public ColorStateList kl_(OoT ooT) {
|
|
return j(ooT).d;
|
|
}
|
|
|
|
private WBR j(OoT ooT) {
|
|
return (WBR) ooT.kj_();
|
|
}
|
|
}
|