package p037.p041.p049;

import android.view.View;
import android.view.animation.Interpolator;
import java.util.ArrayList;
import java.util.Iterator;
import p037.p065.p078.C1931;
import p037.p065.p078.C1935;
import p037.p065.p078.InterfaceC1934;

/* JADX INFO: renamed from: މ.ؠ.ލ.ބ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C1557 {

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public Interpolator f4984;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public InterfaceC1934 f4985;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public boolean f4986;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public long f4983 = -1;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final C1935 f4987 = new C1558();

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final ArrayList<C1931> f4982 = new ArrayList<>();

    /* JADX INFO: renamed from: މ.ؠ.ލ.ބ$֏, reason: contains not printable characters */
    public class C1558 extends C1935 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean f4988 = false;

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public int f4989 = 0;

        public C1558() {
        }

        @Override // p037.p065.p078.InterfaceC1934
        /* JADX INFO: renamed from: ؠ */
        public void mo2861(View view) {
            int i = this.f4989 + 1;
            this.f4989 = i;
            if (i == C1557.this.f4982.size()) {
                InterfaceC1934 interfaceC1934 = C1557.this.f4985;
                if (interfaceC1934 != null) {
                    interfaceC1934.mo2861(null);
                }
                this.f4989 = 0;
                this.f4988 = false;
                C1557.this.f4986 = false;
            }
        }

        @Override // p037.p065.p078.C1935, p037.p065.p078.InterfaceC1934
        /* JADX INFO: renamed from: ހ */
        public void mo2997(View view) {
            if (this.f4988) {
                return;
            }
            this.f4988 = true;
            InterfaceC1934 interfaceC1934 = C1557.this.f4985;
            if (interfaceC1934 != null) {
                interfaceC1934.mo2997(null);
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m3058() {
        if (this.f4986) {
            Iterator<C1931> it = this.f4982.iterator();
            while (it.hasNext()) {
                it.next().m3790();
            }
            this.f4986 = false;
        }
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m3059() {
        View view;
        if (this.f4986) {
            return;
        }
        for (C1931 c1931 : this.f4982) {
            long j = this.f4983;
            if (j >= 0) {
                c1931.m3787(j);
            }
            Interpolator interpolator = this.f4984;
            if (interpolator != null && (view = c1931.f6382.get()) != null) {
                view.animate().setInterpolator(interpolator);
            }
            if (this.f4985 != null) {
                c1931.m3788(this.f4987);
            }
            View view2 = c1931.f6382.get();
            if (view2 != null) {
                view2.animate().start();
            }
        }
        this.f4986 = true;
    }
}
