67 lines
1.5 KiB
Java
67 lines
1.5 KiB
Java
package c.c.a.w.b;
|
|
|
|
import android.graphics.Path;
|
|
import c.c.a.j;
|
|
import c.c.a.w.c.a;
|
|
import c.c.a.y.l.k;
|
|
import c.c.a.y.l.n;
|
|
import c.c.a.y.m.b;
|
|
import java.util.List;
|
|
/* compiled from: ShapeContent */
|
|
public class q implements m, a.b {
|
|
public final Path a = new Path();
|
|
public final boolean b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final j f291c;
|
|
public final a<?, Path> d;
|
|
public boolean e;
|
|
public b f = new b();
|
|
|
|
public q(j jVar, b bVar, n nVar) {
|
|
this.b = nVar.d;
|
|
this.f291c = jVar;
|
|
a<k, Path> a = nVar.f324c.a();
|
|
this.d = a;
|
|
bVar.e(a);
|
|
a.a.add(this);
|
|
}
|
|
|
|
@Override // c.c.a.w.c.a.b
|
|
public void a() {
|
|
this.e = false;
|
|
this.f291c.invalidateSelf();
|
|
}
|
|
|
|
@Override // c.c.a.w.b.c
|
|
public void b(List<c> list, List<c> list2) {
|
|
for (int i = 0; i < list.size(); i++) {
|
|
c cVar = list.get(i);
|
|
if (cVar instanceof s) {
|
|
s sVar = (s) cVar;
|
|
if (sVar.f293c == 1) {
|
|
this.f.a.add(sVar);
|
|
sVar.b.add(this);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // c.c.a.w.b.m
|
|
public Path getPath() {
|
|
if (this.e) {
|
|
return this.a;
|
|
}
|
|
this.a.reset();
|
|
if (this.b) {
|
|
this.e = true;
|
|
return this.a;
|
|
}
|
|
this.a.set(this.d.e());
|
|
this.a.setFillType(Path.FillType.EVEN_ODD);
|
|
this.f.a(this.a);
|
|
this.e = true;
|
|
return this.a;
|
|
}
|
|
}
|