34 lines
878 B
Java
34 lines
878 B
Java
package o;
|
|
|
|
import android.graphics.Rect;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class VZN extends OtF {
|
|
@Override // o.OtF
|
|
protected final float a(VDF vdf, VDF vdf2) {
|
|
if (vdf.c <= 0 || vdf.b <= 0) {
|
|
return BitmapDescriptorFactory.HUE_RED;
|
|
}
|
|
float f = vdf.c / vdf2.c;
|
|
if (f < 1.0f) {
|
|
f = 1.0f / f;
|
|
}
|
|
float f2 = vdf.b / vdf2.b;
|
|
if (f2 < 1.0f) {
|
|
f2 = 1.0f / f2;
|
|
}
|
|
float f3 = (1.0f / f) / f2;
|
|
float f4 = (vdf.c / vdf.b) / (vdf2.c / vdf2.b);
|
|
if (f4 < 1.0f) {
|
|
f4 = 1.0f / f4;
|
|
}
|
|
return f3 * (((1.0f / f4) / f4) / f4);
|
|
}
|
|
|
|
@Override // o.OtF
|
|
public final Rect Oy_(VDF vdf, VDF vdf2) {
|
|
return new Rect(0, 0, vdf2.c, vdf2.b);
|
|
}
|
|
}
|