82 lines
2.1 KiB
Java
82 lines
2.1 KiB
Java
package c.c.a;
|
|
|
|
import android.graphics.Rect;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RestrictTo;
|
|
import androidx.collection.LongSparseArray;
|
|
import androidx.collection.SparseArrayCompat;
|
|
import c.c.a.b0.c;
|
|
import c.c.a.y.i;
|
|
import c.c.a.y.m.e;
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
/* compiled from: LottieComposition */
|
|
public class d {
|
|
public final s a = new s();
|
|
public final HashSet<String> b = new HashSet<>();
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public Map<String, List<e>> f256c;
|
|
public Map<String, k> d;
|
|
public Map<String, c.c.a.y.d> e;
|
|
public List<i> f;
|
|
public SparseArrayCompat<c.c.a.y.e> g;
|
|
public LongSparseArray<e> h;
|
|
public List<e> i;
|
|
public Rect j;
|
|
public float k;
|
|
public float l;
|
|
public float m;
|
|
public boolean n;
|
|
public int o = 0;
|
|
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
public void a(String str) {
|
|
c.b(str);
|
|
this.b.add(str);
|
|
}
|
|
|
|
public float b() {
|
|
return (float) ((long) ((c() / this.m) * 1000.0f));
|
|
}
|
|
|
|
public float c() {
|
|
return this.l - this.k;
|
|
}
|
|
|
|
/* JADX WARNING: Code restructure failed: missing block: B:8:0x003a, code lost:
|
|
if (r3.substring(0, r3.length() - 1).equalsIgnoreCase(r7) != false) goto L_0x003e;
|
|
*/
|
|
@Nullable
|
|
public i d(String str) {
|
|
this.f.size();
|
|
for (int i = 0; i < this.f.size(); i++) {
|
|
i iVar = this.f.get(i);
|
|
boolean z2 = true;
|
|
if (!iVar.a.equalsIgnoreCase(str)) {
|
|
if (iVar.a.endsWith("\r")) {
|
|
String str2 = iVar.a;
|
|
}
|
|
z2 = false;
|
|
}
|
|
if (z2) {
|
|
return iVar;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
public e e(long j) {
|
|
return this.h.get(j);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("LottieComposition:\n");
|
|
for (e eVar : this.i) {
|
|
sb.append(eVar.a("\t"));
|
|
}
|
|
return sb.toString();
|
|
}
|
|
}
|