92 lines
2.6 KiB
Java
92 lines
2.6 KiB
Java
package o;
|
|
|
|
import android.graphics.Canvas;
|
|
import android.graphics.Matrix;
|
|
import android.graphics.Paint;
|
|
import android.graphics.Path;
|
|
import android.graphics.RectF;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.fem, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public class C13675fem extends YQn {
|
|
protected OFJ e;
|
|
private Path f;
|
|
private RectF g;
|
|
private float[] h;
|
|
private Path i;
|
|
private RectF j;
|
|
private Paint l;
|
|
private float[] m;
|
|
private Path n;
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
private RectF f9129o;
|
|
|
|
public C13675fem(DRH drh, OFJ ofj) {
|
|
super(drh, ofj);
|
|
this.f = new Path();
|
|
this.j = new RectF();
|
|
this.h = new float[2];
|
|
this.i = new Path();
|
|
this.f9129o = new RectF();
|
|
this.n = new Path();
|
|
this.m = new float[2];
|
|
this.g = new RectF();
|
|
this.e = ofj;
|
|
if (this.k != null) {
|
|
this.b.setColor(-16777216);
|
|
this.b.setTextSize(AbstractC0810PWv.d(10.0f));
|
|
Paint paint = new Paint(1);
|
|
this.l = paint;
|
|
paint.setColor(-7829368);
|
|
this.l.setStrokeWidth(1.0f);
|
|
this.l.setStyle(Paint.Style.STROKE);
|
|
}
|
|
}
|
|
|
|
public void Ha_(Canvas canvas) {
|
|
if (this.e.q && this.e.h) {
|
|
if (this.h.length != (this.e.l << 1)) {
|
|
this.h = new float[this.e.l << 1];
|
|
}
|
|
float[] fArr = this.h;
|
|
for (int i = 0; i < fArr.length; i += 2) {
|
|
fArr[i + 1] = this.e.m[i / 2];
|
|
}
|
|
Matrix matrix = this.d.d;
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
public void Hb_(Canvas canvas) {
|
|
List<TpZ> list = this.e.s;
|
|
if (list == null || list.size() <= 0) {
|
|
return;
|
|
}
|
|
float[] fArr = this.m;
|
|
fArr[0] = 0.0f;
|
|
fArr[1] = 0.0f;
|
|
this.n.reset();
|
|
for (int i = 0; i < list.size(); i++) {
|
|
TpZ tpZ = list.get(i);
|
|
if (tpZ.q) {
|
|
canvas.save();
|
|
this.g.set(this.k.b);
|
|
RectF rectF = this.g;
|
|
float f = tpZ.d;
|
|
rectF.inset(BitmapDescriptorFactory.HUE_RED, -0.0f);
|
|
canvas.clipRect(this.g);
|
|
this.a.setStyle(Paint.Style.STROKE);
|
|
this.a.setColor(tpZ.c);
|
|
this.a.setStrokeWidth(tpZ.d);
|
|
this.a.setPathEffect(tpZ.e);
|
|
fArr[1] = tpZ.b;
|
|
Matrix matrix = this.d.d;
|
|
throw null;
|
|
}
|
|
}
|
|
}
|
|
}
|