You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

160 lines
3.9 KiB

package p022h;
import android.view.View;
import android.view.animation.Interpolator;
import java.util.ArrayList;
import java.util.Iterator;
import p023h0.C0875k4;
import p023h0.C0898n4;
import p023h0.InterfaceC0891m4;
/* renamed from: h.h */
/* loaded from: classes.dex */
public class C0754h {
/* renamed from: c */
public Interpolator f2394c;
/* renamed from: d */
public InterfaceC0891m4 f2395d;
/* renamed from: e */
public boolean f2396e;
/* renamed from: b */
public long f2393b = -1;
/* renamed from: f */
public final C0898n4 f2397f = new C0755a();
/* renamed from: a */
public final ArrayList<C0875k4> f2392a = new ArrayList<>();
/* renamed from: h.h$a */
/* loaded from: classes.dex */
public class C0755a extends C0898n4 {
/* renamed from: a */
public boolean f2398a = false;
/* renamed from: b */
public int f2399b = 0;
public C0755a() {
}
@Override // p023h0.InterfaceC0891m4
/* renamed from: a */
public void mo2293a(View view) {
int i = this.f2399b + 1;
this.f2399b = i;
if (i == C0754h.this.f2392a.size()) {
InterfaceC0891m4 interfaceC0891m4 = C0754h.this.f2395d;
if (interfaceC0891m4 != null) {
interfaceC0891m4.mo2293a(null);
}
m2967d();
}
}
@Override // p023h0.C0898n4, p023h0.InterfaceC0891m4
/* renamed from: b */
public void mo2292b(View view) {
if (this.f2398a) {
return;
}
this.f2398a = true;
InterfaceC0891m4 interfaceC0891m4 = C0754h.this.f2395d;
if (interfaceC0891m4 != null) {
interfaceC0891m4.mo2292b(null);
}
}
/* renamed from: d */
public void m2967d() {
this.f2399b = 0;
this.f2398a = false;
C0754h.this.m2974b();
}
}
/* renamed from: a */
public void m2975a() {
if (this.f2396e) {
Iterator<C0875k4> it = this.f2392a.iterator();
while (it.hasNext()) {
it.next().m2650c();
}
this.f2396e = false;
}
}
/* renamed from: b */
public void m2974b() {
this.f2396e = false;
}
/* renamed from: c */
public C0754h m2973c(C0875k4 c0875k4) {
if (!this.f2396e) {
this.f2392a.add(c0875k4);
}
return this;
}
/* renamed from: d */
public C0754h m2972d(C0875k4 c0875k4, C0875k4 c0875k42) {
this.f2392a.add(c0875k4);
c0875k42.m2643j(c0875k4.m2649d());
this.f2392a.add(c0875k42);
return this;
}
/* renamed from: e */
public C0754h m2971e(long j) {
if (!this.f2396e) {
this.f2393b = j;
}
return this;
}
/* renamed from: f */
public C0754h m2970f(Interpolator interpolator) {
if (!this.f2396e) {
this.f2394c = interpolator;
}
return this;
}
/* renamed from: g */
public C0754h m2969g(InterfaceC0891m4 interfaceC0891m4) {
if (!this.f2396e) {
this.f2395d = interfaceC0891m4;
}
return this;
}
/* renamed from: h */
public void m2968h() {
if (this.f2396e) {
return;
}
Iterator<C0875k4> it = this.f2392a.iterator();
while (it.hasNext()) {
C0875k4 next = it.next();
long j = this.f2393b;
if (j >= 0) {
next.m2647f(j);
}
Interpolator interpolator = this.f2394c;
if (interpolator != null) {
next.m2646g(interpolator);
}
if (this.f2395d != null) {
next.m2645h(this.f2397f);
}
next.m2641l();
}
this.f2396e = true;
}
}