what-the-bank/sources/o/vJN.java

49 lines
1.7 KiB
Java

package o;
import com.github.mikephil.charting.charts.RadarChart;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.util.List;
/* loaded from: classes.dex */
public final class vJN extends pNb<RadarChart> {
public vJN(RadarChart radarChart) {
super(radarChart);
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r9v0, types: [o.Lhm, o.Uoq] */
@Override // o.pNb
protected final UAQ a(int i, float f, float f2) {
int i2 = i;
this.e.clear();
float f3 = ((RadarChart) this.b).a().d;
float f4 = ((RadarChart) this.b).a().a;
float v = ((RadarChart) this.b).v();
float x = ((RadarChart) this.b).x();
QFQ e = QFQ.e(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED);
int i3 = 0;
while (i3 < ((Bsv) ((RadarChart) this.b).g()).e()) {
InterfaceC10172dxk c = ((Bsv) ((RadarChart) this.b).g()).c(i3);
?? d = c.d(i2);
float f5 = i2;
AbstractC0810PWv.b(((RadarChart) this.b).c(), (d.e - ((RadarChart) this.b).v.c) * x * f4, (v * f5 * f3) + ((RadarChart) this.b).H, e);
this.e.add(new UAQ(f5, d.e, e.a, e.e, i3, c.e()));
i3++;
i2 = i;
}
List<UAQ> list = this.e;
float a = ((RadarChart) this.b).a(f, f2) / ((RadarChart) this.b).x();
UAQ uaq = null;
float f6 = Float.MAX_VALUE;
for (int i4 = 0; i4 < list.size(); i4++) {
UAQ uaq2 = list.get(i4);
float abs = Math.abs(uaq2.h - a);
if (abs < f6) {
uaq = uaq2;
f6 = abs;
}
}
return uaq;
}
}