package p037.p118;

import android.animation.Animator;
import android.animation.TimeInterpolator;
import android.graphics.Path;
import android.util.SparseIntArray;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.Iterator;
import p037.p057.C1714;
import p037.p057.C1720;
import p037.p057.C1721;
import p037.p065.p078.C1920;
import p138.p139.p143.p144.C2803;

/* JADX INFO: renamed from: މ.ޔ.ކ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public abstract class AbstractC2485 implements Cloneable {

    /* JADX INFO: renamed from: ޢ, reason: contains not printable characters */
    public static final int[] f7805 = {2, 1, 3, 4};

    /* JADX INFO: renamed from: ޣ, reason: contains not printable characters */
    public static final AbstractC2481 f7806 = new C2486();

    /* JADX INFO: renamed from: ޤ, reason: contains not printable characters */
    public static ThreadLocal<C1714<Animator, C2487>> f7807 = new ThreadLocal<>();

    /* JADX INFO: renamed from: ޖ, reason: contains not printable characters */
    public ArrayList<C2501> f7827;

    /* JADX INFO: renamed from: ޗ, reason: contains not printable characters */
    public ArrayList<C2501> f7828;

    /* JADX INFO: renamed from: ޟ, reason: contains not printable characters */
    public AbstractC2496 f7836;

    /* JADX INFO: renamed from: ޠ, reason: contains not printable characters */
    public AbstractC2488 f7837;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public String f7808 = getClass().getName();

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

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

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public TimeInterpolator f7811 = null;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public ArrayList<Integer> f7812 = new ArrayList<>();

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public ArrayList<View> f7813 = new ArrayList<>();

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public ArrayList<String> f7814 = null;

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public ArrayList<Class<?>> f7815 = null;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public ArrayList<Integer> f7816 = null;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public ArrayList<View> f7817 = null;

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public ArrayList<Class<?>> f7818 = null;

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public ArrayList<String> f7819 = null;

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public ArrayList<Integer> f7820 = null;

    /* JADX INFO: renamed from: ސ, reason: contains not printable characters */
    public ArrayList<View> f7821 = null;

    /* JADX INFO: renamed from: ޑ, reason: contains not printable characters */
    public ArrayList<Class<?>> f7822 = null;

    /* JADX INFO: renamed from: ޒ, reason: contains not printable characters */
    public C2502 f7823 = new C2502();

    /* JADX INFO: renamed from: ޓ, reason: contains not printable characters */
    public C2502 f7824 = new C2502();

    /* JADX INFO: renamed from: ޔ, reason: contains not printable characters */
    public C2497 f7825 = null;

    /* JADX INFO: renamed from: ޕ, reason: contains not printable characters */
    public int[] f7826 = f7805;

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

    /* JADX INFO: renamed from: ޙ, reason: contains not printable characters */
    public ArrayList<Animator> f7830 = new ArrayList<>();

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

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

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

    /* JADX INFO: renamed from: ޝ, reason: contains not printable characters */
    public ArrayList<InterfaceC2489> f7834 = null;

    /* JADX INFO: renamed from: ޞ, reason: contains not printable characters */
    public ArrayList<Animator> f7835 = new ArrayList<>();

    /* JADX INFO: renamed from: ޡ, reason: contains not printable characters */
    public AbstractC2481 f7838 = f7806;

    /* JADX INFO: renamed from: މ.ޔ.ކ$֏, reason: contains not printable characters */
    public static class C2486 extends AbstractC2481 {
        @Override // p037.p118.AbstractC2481
        /* JADX INFO: renamed from: ֏ */
        public Path mo4539(float f, float f2, float f3, float f4) {
            Path path = new Path();
            path.moveTo(f, f2);
            path.lineTo(f3, f4);
            return path;
        }
    }

    /* JADX INFO: renamed from: މ.ޔ.ކ$ؠ, reason: contains not printable characters */
    public static class C2487 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public View f7839;

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public String f7840;

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

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

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

        public C2487(View view, String str, AbstractC2485 abstractC2485, InterfaceC2520 interfaceC2520, C2501 c2501) {
            this.f7839 = view;
            this.f7840 = str;
            this.f7841 = c2501;
            this.f7842 = interfaceC2520;
            this.f7843 = abstractC2485;
        }
    }

    /* JADX INFO: renamed from: މ.ޔ.ކ$ހ, reason: contains not printable characters */
    public static abstract class AbstractC2488 {
    }

    /* JADX INFO: renamed from: މ.ޔ.ކ$ށ, reason: contains not printable characters */
    public interface InterfaceC2489 {
        /* JADX INFO: renamed from: ֏ */
        void mo2431(AbstractC2485 abstractC2485);

        /* JADX INFO: renamed from: ؠ */
        void mo2432(AbstractC2485 abstractC2485);

        /* JADX INFO: renamed from: ހ */
        void mo4535(AbstractC2485 abstractC2485);

        /* JADX INFO: renamed from: ށ */
        void mo4536(AbstractC2485 abstractC2485);

        /* JADX INFO: renamed from: ނ */
        void mo1665(AbstractC2485 abstractC2485);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static void m4540(C2502 c2502, View view, C2501 c2501) {
        c2502.f7865.put(view, c2501);
        int id = view.getId();
        if (id >= 0) {
            if (c2502.f7866.indexOfKey(id) >= 0) {
                c2502.f7866.put(id, null);
            } else {
                c2502.f7866.put(id, view);
            }
        }
        String strM3764 = C1920.m3764(view);
        if (strM3764 != null) {
            if (c2502.f7868.m3387(strM3764) >= 0) {
                c2502.f7868.put(strM3764, null);
            } else {
                c2502.f7868.put(strM3764, view);
            }
        }
        if (view.getParent() instanceof ListView) {
            ListView listView = (ListView) view.getParent();
            if (listView.getAdapter().hasStableIds()) {
                long itemIdAtPosition = listView.getItemIdAtPosition(listView.getPositionForView(view));
                C1721<View> c1721 = c2502.f7867;
                if (c1721.f5588) {
                    c1721.m3366();
                }
                if (C1720.m3357(c1721.f5589, c1721.f5591, itemIdAtPosition) < 0) {
                    view.setHasTransientState(true);
                    c2502.f7867.m3367(itemIdAtPosition, view);
                    return;
                }
                View viewM3362 = c2502.f7867.m3362(itemIdAtPosition);
                if (viewM3362 != null) {
                    viewM3362.setHasTransientState(false);
                    c2502.f7867.m3367(itemIdAtPosition, null);
                }
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static boolean m4541(C2501 c2501, C2501 c25012, String str) {
        Object obj = c2501.f7862.get(str);
        Object obj2 = c25012.f7862.get(str);
        if (obj == null && obj2 == null) {
            return false;
        }
        if (obj == null || obj2 == null) {
            return true;
        }
        return true ^ obj.equals(obj2);
    }

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public static C1714<Animator, C2487> m4542() {
        C1714<Animator, C2487> c1714 = f7807.get();
        if (c1714 != null) {
            return c1714;
        }
        C1714<Animator, C2487> c17142 = new C1714<>();
        f7807.set(c17142);
        return c17142;
    }

    public void cancel() {
        for (int size = this.f7830.size() - 1; size >= 0; size--) {
            this.f7830.get(size).cancel();
        }
        ArrayList<InterfaceC2489> arrayList = this.f7834;
        if (arrayList == null || arrayList.size() <= 0) {
            return;
        }
        ArrayList arrayList2 = (ArrayList) this.f7834.clone();
        int size2 = arrayList2.size();
        for (int i = 0; i < size2; i++) {
            ((InterfaceC2489) arrayList2.get(i)).mo2432(this);
        }
    }

    @Override // 
    public AbstractC2485 clone() {
        try {
            AbstractC2485 abstractC2485 = (AbstractC2485) super.clone();
            abstractC2485.f7835 = new ArrayList<>();
            abstractC2485.f7823 = new C2502();
            abstractC2485.f7824 = new C2502();
            abstractC2485.f7827 = null;
            abstractC2485.f7828 = null;
            return abstractC2485;
        } catch (CloneNotSupportedException unused) {
            return null;
        }
    }

    public String toString() {
        return mo4543("");
    }

    /* JADX INFO: renamed from: ֏ */
    public Animator mo2514(ViewGroup viewGroup, C2501 c2501, C2501 c25012) {
        return null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public String mo4543(String str) {
        StringBuilder sbM4889 = C2803.m4889(str);
        sbM4889.append(getClass().getSimpleName());
        sbM4889.append("@");
        sbM4889.append(Integer.toHexString(hashCode()));
        sbM4889.append(": ");
        String string = sbM4889.toString();
        if (this.f7810 != -1) {
            string = C2803.m4883(C2803.m4897(string, "dur("), this.f7810, ") ");
        }
        if (this.f7809 != -1) {
            string = C2803.m4883(C2803.m4897(string, "dly("), this.f7809, ") ");
        }
        if (this.f7811 != null) {
            StringBuilder sbM4897 = C2803.m4897(string, "interp(");
            sbM4897.append(this.f7811);
            sbM4897.append(") ");
            string = sbM4897.toString();
        }
        if (this.f7812.size() <= 0 && this.f7813.size() <= 0) {
            return string;
        }
        String strM4879 = C2803.m4879(string, "tgts(");
        if (this.f7812.size() > 0) {
            for (int i = 0; i < this.f7812.size(); i++) {
                if (i > 0) {
                    strM4879 = C2803.m4879(strM4879, ", ");
                }
                StringBuilder sbM48892 = C2803.m4889(strM4879);
                sbM48892.append(this.f7812.get(i));
                strM4879 = sbM48892.toString();
            }
        }
        if (this.f7813.size() > 0) {
            for (int i2 = 0; i2 < this.f7813.size(); i2++) {
                if (i2 > 0) {
                    strM4879 = C2803.m4879(strM4879, ", ");
                }
                StringBuilder sbM48893 = C2803.m4889(strM4879);
                sbM48893.append(this.f7813.get(i2));
                strM4879 = sbM48893.toString();
            }
        }
        return C2803.m4879(strM4879, ")");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public AbstractC2485 mo4544(int i) {
        if (i != 0) {
            this.f7812.add(Integer.valueOf(i));
        }
        return this;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public AbstractC2485 mo4545(long j) {
        this.f7810 = j;
        return this;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public AbstractC2485 mo4546(TimeInterpolator timeInterpolator) {
        this.f7811 = timeInterpolator;
        return this;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public AbstractC2485 mo4547(View view) {
        this.f7813.add(view);
        return this;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public AbstractC2485 mo4548(InterfaceC2489 interfaceC2489) {
        if (this.f7834 == null) {
            this.f7834 = new ArrayList<>();
        }
        this.f7834.add(interfaceC2489);
        return this;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m4549(View view, boolean z) {
        if (view == null) {
            return;
        }
        int id = view.getId();
        ArrayList<Integer> arrayList = this.f7816;
        if (arrayList == null || !arrayList.contains(Integer.valueOf(id))) {
            ArrayList<View> arrayList2 = this.f7817;
            if (arrayList2 == null || !arrayList2.contains(view)) {
                ArrayList<Class<?>> arrayList3 = this.f7818;
                if (arrayList3 != null) {
                    int size = arrayList3.size();
                    for (int i = 0; i < size; i++) {
                        if (this.f7818.get(i).isInstance(view)) {
                            return;
                        }
                    }
                }
                if (view.getParent() instanceof ViewGroup) {
                    C2501 c2501 = new C2501(view);
                    if (z) {
                        mo2516(c2501);
                    } else {
                        mo2515(c2501);
                    }
                    c2501.f7864.add(this);
                    mo4562(c2501);
                    if (z) {
                        m4540(this.f7823, view, c2501);
                    } else {
                        m4540(this.f7824, view, c2501);
                    }
                }
                if (view instanceof ViewGroup) {
                    ArrayList<Integer> arrayList4 = this.f7820;
                    if (arrayList4 == null || !arrayList4.contains(Integer.valueOf(id))) {
                        ArrayList<View> arrayList5 = this.f7821;
                        if (arrayList5 == null || !arrayList5.contains(view)) {
                            ArrayList<Class<?>> arrayList6 = this.f7822;
                            if (arrayList6 != null) {
                                int size2 = arrayList6.size();
                                for (int i2 = 0; i2 < size2; i2++) {
                                    if (this.f7822.get(i2).isInstance(view)) {
                                        return;
                                    }
                                }
                            }
                            ViewGroup viewGroup = (ViewGroup) view;
                            for (int i3 = 0; i3 < viewGroup.getChildCount(); i3++) {
                                m4549(viewGroup.getChildAt(i3), z);
                            }
                        }
                    }
                }
            }
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo4550(ViewGroup viewGroup) {
        C1714<Animator, C2487> c1714M4542 = m4542();
        int i = c1714M4542.f5620;
        if (viewGroup == null || i == 0) {
            return;
        }
        InterfaceC2520 interfaceC2520M4583 = C2506.m4583(viewGroup);
        C1714 c1714 = new C1714(c1714M4542);
        c1714M4542.clear();
        for (int i2 = i - 1; i2 >= 0; i2--) {
            C2487 c2487 = (C2487) c1714.m3392(i2);
            if (c2487.f7839 != null && interfaceC2520M4583.equals(c2487.f7842)) {
                ((Animator) c1714.m3390(i2)).end();
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:15:0x003c  */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public void mo4551(ViewGroup viewGroup, C2502 c2502, C2502 c25022, ArrayList<C2501> arrayList, ArrayList<C2501> arrayList2) {
        int i;
        View view;
        Animator animator;
        C2501 c2501;
        Animator animator2;
        C2501 c25012;
        C1714<Animator, C2487> c1714M4542 = m4542();
        SparseIntArray sparseIntArray = new SparseIntArray();
        int size = arrayList.size();
        int i2 = 0;
        while (i2 < size) {
            C2501 c25013 = arrayList.get(i2);
            C2501 c25014 = arrayList2.get(i2);
            if (c25013 != null && !c25013.f7864.contains(this)) {
                c25013 = null;
            }
            if (c25014 != null && !c25014.f7864.contains(this)) {
                c25014 = null;
            }
            if (c25013 != null || c25014 != null) {
                if (c25013 == null || c25014 == null || mo4557(c25013, c25014)) {
                    Animator animatorMo2514 = mo2514(viewGroup, c25013, c25014);
                    if (animatorMo2514 != null) {
                        if (c25014 != null) {
                            View view2 = c25014.f7863;
                            String[] strArrMo2517 = mo2517();
                            if (strArrMo2517 != null && strArrMo2517.length > 0) {
                                c25012 = new C2501(view2);
                                C2501 c25015 = c25022.f7865.get(view2);
                                if (c25015 != null) {
                                    int i3 = 0;
                                    while (i3 < strArrMo2517.length) {
                                        c25012.f7862.put(strArrMo2517[i3], c25015.f7862.get(strArrMo2517[i3]));
                                        i3++;
                                        animatorMo2514 = animatorMo2514;
                                        size = size;
                                        c25015 = c25015;
                                    }
                                }
                                Animator animator3 = animatorMo2514;
                                i = size;
                                int i4 = c1714M4542.f5620;
                                int i5 = 0;
                                while (true) {
                                    if (i5 >= i4) {
                                        animator2 = animator3;
                                        break;
                                    }
                                    C2487 c2487 = c1714M4542.get(c1714M4542.m3390(i5));
                                    if (c2487.f7841 != null && c2487.f7839 == view2 && c2487.f7840.equals(this.f7808) && c2487.f7841.equals(c25012)) {
                                        animator2 = null;
                                        break;
                                    }
                                    i5++;
                                }
                            } else {
                                i = size;
                                animator2 = animatorMo2514;
                                c25012 = null;
                            }
                            view = view2;
                            animator = animator2;
                            c2501 = c25012;
                        } else {
                            i = size;
                            view = c25013.f7863;
                            animator = animatorMo2514;
                            c2501 = null;
                        }
                        if (animator != null) {
                            c1714M4542.put(animator, new C2487(view, this.f7808, this, C2506.m4583(viewGroup), c2501));
                            this.f7835.add(animator);
                        }
                    }
                }
                i = size;
            }
            i2++;
            size = i;
        }
        if (sparseIntArray.size() != 0) {
            for (int i6 = 0; i6 < sparseIntArray.size(); i6++) {
                Animator animator4 = this.f7835.get(sparseIntArray.keyAt(i6));
                animator4.setStartDelay(animator4.getStartDelay() + (((long) sparseIntArray.valueAt(i6)) - Long.MAX_VALUE));
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m4552(ViewGroup viewGroup, boolean z) {
        ArrayList<String> arrayList;
        ArrayList<Class<?>> arrayList2;
        m4556(z);
        if ((this.f7812.size() <= 0 && this.f7813.size() <= 0) || (((arrayList = this.f7814) != null && !arrayList.isEmpty()) || ((arrayList2 = this.f7815) != null && !arrayList2.isEmpty()))) {
            m4549((View) viewGroup, z);
            return;
        }
        for (int i = 0; i < this.f7812.size(); i++) {
            View viewFindViewById = viewGroup.findViewById(this.f7812.get(i).intValue());
            if (viewFindViewById != null) {
                C2501 c2501 = new C2501(viewFindViewById);
                if (z) {
                    mo2516(c2501);
                } else {
                    mo2515(c2501);
                }
                c2501.f7864.add(this);
                mo4562(c2501);
                if (z) {
                    m4540(this.f7823, viewFindViewById, c2501);
                } else {
                    m4540(this.f7824, viewFindViewById, c2501);
                }
            }
        }
        for (int i2 = 0; i2 < this.f7813.size(); i2++) {
            View view = this.f7813.get(i2);
            C2501 c25012 = new C2501(view);
            if (z) {
                mo2516(c25012);
            } else {
                mo2515(c25012);
            }
            c25012.f7864.add(this);
            mo4562(c25012);
            if (z) {
                m4540(this.f7823, view, c25012);
            } else {
                m4540(this.f7824, view, c25012);
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo4553(AbstractC2481 abstractC2481) {
        if (abstractC2481 == null) {
            this.f7838 = f7806;
        } else {
            this.f7838 = abstractC2481;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo4554(AbstractC2488 abstractC2488) {
        this.f7837 = abstractC2488;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo4555(AbstractC2496 abstractC2496) {
        this.f7836 = abstractC2496;
    }

    /* JADX INFO: renamed from: ֏ */
    public abstract void mo2515(C2501 c2501);

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m4556(boolean z) {
        if (z) {
            this.f7823.f7865.clear();
            this.f7823.f7866.clear();
            this.f7823.f7867.m3365();
        } else {
            this.f7824.f7865.clear();
            this.f7824.f7866.clear();
            this.f7824.f7867.m3365();
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public boolean mo4557(C2501 c2501, C2501 c25012) {
        if (c2501 == null || c25012 == null) {
            return false;
        }
        String[] strArrMo2517 = mo2517();
        if (strArrMo2517 == null) {
            Iterator<String> it = c2501.f7862.keySet().iterator();
            while (it.hasNext()) {
                if (m4541(c2501, c25012, it.next())) {
                }
            }
            return false;
        }
        for (String str : strArrMo2517) {
            if (!m4541(c2501, c25012, str)) {
            }
        }
        return false;
        return true;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public AbstractC2485 mo4558(long j) {
        this.f7809 = j;
        return this;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public AbstractC2485 m4559(View view, boolean z) {
        ArrayList<View> arrayList = this.f7821;
        if (view != null) {
            if (z) {
                if (arrayList == null) {
                    arrayList = new ArrayList<>();
                }
                if (!arrayList.contains(view)) {
                    arrayList.add(view);
                }
            } else if (arrayList != null) {
                arrayList.remove(view);
                if (arrayList.isEmpty()) {
                    arrayList = null;
                }
            }
        }
        this.f7821 = arrayList;
        return this;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public AbstractC2485 mo4560(InterfaceC2489 interfaceC2489) {
        ArrayList<InterfaceC2489> arrayList = this.f7834;
        if (arrayList == null) {
            return this;
        }
        arrayList.remove(interfaceC2489);
        if (this.f7834.size() == 0) {
            this.f7834 = null;
        }
        return this;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m4561() {
        int i = this.f7831 - 1;
        this.f7831 = i;
        if (i == 0) {
            ArrayList<InterfaceC2489> arrayList = this.f7834;
            if (arrayList != null && arrayList.size() > 0) {
                ArrayList arrayList2 = (ArrayList) this.f7834.clone();
                int size = arrayList2.size();
                for (int i2 = 0; i2 < size; i2++) {
                    ((InterfaceC2489) arrayList2.get(i2)).mo1665(this);
                }
            }
            for (int i3 = 0; i3 < this.f7823.f7867.m3368(); i3++) {
                View viewM3361 = this.f7823.f7867.m3361(i3);
                if (viewM3361 != null) {
                    C1920.m3750(viewM3361, false);
                }
            }
            for (int i4 = 0; i4 < this.f7824.f7867.m3368(); i4++) {
                View viewM33612 = this.f7824.f7867.m3361(i4);
                if (viewM33612 != null) {
                    C1920.m3750(viewM33612, false);
                }
            }
            this.f7833 = true;
        }
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void mo4562(C2501 c2501) {
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public boolean m4563(View view) {
        ArrayList<Class<?>> arrayList;
        ArrayList<String> arrayList2;
        int id = view.getId();
        ArrayList<Integer> arrayList3 = this.f7816;
        if (arrayList3 != null && arrayList3.contains(Integer.valueOf(id))) {
            return false;
        }
        ArrayList<View> arrayList4 = this.f7817;
        if (arrayList4 != null && arrayList4.contains(view)) {
            return false;
        }
        ArrayList<Class<?>> arrayList5 = this.f7818;
        if (arrayList5 != null) {
            int size = arrayList5.size();
            for (int i = 0; i < size; i++) {
                if (this.f7818.get(i).isInstance(view)) {
                    return false;
                }
            }
        }
        if (this.f7819 != null && C1920.m3764(view) != null && this.f7819.contains(view.getTransitionName())) {
            return false;
        }
        if ((this.f7812.size() == 0 && this.f7813.size() == 0 && (((arrayList = this.f7815) == null || arrayList.isEmpty()) && ((arrayList2 = this.f7814) == null || arrayList2.isEmpty()))) || this.f7812.contains(Integer.valueOf(id)) || this.f7813.contains(view)) {
            return true;
        }
        ArrayList<String> arrayList6 = this.f7814;
        if (arrayList6 != null && arrayList6.contains(C1920.m3764(view))) {
            return true;
        }
        if (this.f7815 != null) {
            for (int i2 = 0; i2 < this.f7815.size(); i2++) {
                if (this.f7815.get(i2).isInstance(view)) {
                    return true;
                }
            }
        }
        return false;
    }

    /* JADX WARN: Code restructure failed: missing block: B:21:0x002e, code lost:
    
        if (r3 < 0) goto L30;
     */
    /* JADX WARN: Code restructure failed: missing block: B:22:0x0030, code lost:
    
        if (r8 == false) goto L24;
     */
    /* JADX WARN: Code restructure failed: missing block: B:23:0x0032, code lost:
    
        r7 = r6.f7828;
     */
    /* JADX WARN: Code restructure failed: missing block: B:24:0x0035, code lost:
    
        r7 = r6.f7827;
     */
    /* JADX WARN: Code restructure failed: missing block: B:26:0x003e, code lost:
    
        return r7.get(r3);
     */
    /* JADX WARN: Code restructure failed: missing block: B:30:?, code lost:
    
        return null;
     */
    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public C2501 m4564(View view, boolean z) {
        C2497 c2497 = this.f7825;
        if (c2497 != null) {
            return c2497.m4564(view, z);
        }
        ArrayList<C2501> arrayList = z ? this.f7827 : this.f7828;
        if (arrayList == null) {
            return null;
        }
        int size = arrayList.size();
        int i = -1;
        int i2 = 0;
        while (true) {
            if (i2 >= size) {
                break;
            }
            C2501 c2501 = arrayList.get(i2);
            if (c2501 == null) {
                return null;
            }
            if (c2501.f7863 == view) {
                i = i2;
                break;
            }
            i2++;
        }
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void mo4565(View view) {
        if (this.f7833) {
            return;
        }
        C1714<Animator, C2487> c1714M4542 = m4542();
        int i = c1714M4542.f5620;
        InterfaceC2520 interfaceC2520M4583 = C2506.m4583(view);
        for (int i2 = i - 1; i2 >= 0; i2--) {
            C2487 c2487M3392 = c1714M4542.m3392(i2);
            if (c2487M3392.f7839 != null && interfaceC2520M4583.equals(c2487M3392.f7842)) {
                c1714M4542.m3390(i2).pause();
            }
        }
        ArrayList<InterfaceC2489> arrayList = this.f7834;
        if (arrayList != null && arrayList.size() > 0) {
            ArrayList arrayList2 = (ArrayList) this.f7834.clone();
            int size = arrayList2.size();
            for (int i3 = 0; i3 < size; i3++) {
                ((InterfaceC2489) arrayList2.get(i3)).mo4535(this);
            }
        }
        this.f7832 = true;
    }

    /* JADX INFO: renamed from: ހ */
    public abstract void mo2516(C2501 c2501);

    /* JADX INFO: renamed from: ހ */
    public String[] mo2517() {
        return null;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public AbstractC2485 mo4566(View view) {
        this.f7813.remove(view);
        return this;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public C2501 m4567(View view, boolean z) {
        C2497 c2497 = this.f7825;
        if (c2497 != null) {
            return c2497.m4567(view, z);
        }
        return (z ? this.f7823 : this.f7824).f7865.getOrDefault(view, null);
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public void mo4568() {
        m4569();
        C1714<Animator, C2487> c1714M4542 = m4542();
        for (Animator animator : this.f7835) {
            if (c1714M4542.containsKey(animator)) {
                m4569();
                if (animator != null) {
                    animator.addListener(new C2490(this, c1714M4542));
                    long j = this.f7810;
                    if (j >= 0) {
                        animator.setDuration(j);
                    }
                    long j2 = this.f7809;
                    if (j2 >= 0) {
                        animator.setStartDelay(animator.getStartDelay() + j2);
                    }
                    TimeInterpolator timeInterpolator = this.f7811;
                    if (timeInterpolator != null) {
                        animator.setInterpolator(timeInterpolator);
                    }
                    animator.addListener(new C2491(this));
                    animator.start();
                }
            }
        }
        this.f7835.clear();
        m4561();
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public void m4569() {
        if (this.f7831 == 0) {
            ArrayList<InterfaceC2489> arrayList = this.f7834;
            if (arrayList != null && arrayList.size() > 0) {
                ArrayList arrayList2 = (ArrayList) this.f7834.clone();
                int size = arrayList2.size();
                for (int i = 0; i < size; i++) {
                    ((InterfaceC2489) arrayList2.get(i)).mo2431(this);
                }
            }
            this.f7833 = false;
        }
        this.f7831++;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public void mo4570(View view) {
        if (this.f7832) {
            if (!this.f7833) {
                C1714<Animator, C2487> c1714M4542 = m4542();
                int i = c1714M4542.f5620;
                InterfaceC2520 interfaceC2520M4583 = C2506.m4583(view);
                for (int i2 = i - 1; i2 >= 0; i2--) {
                    C2487 c2487M3392 = c1714M4542.m3392(i2);
                    if (c2487M3392.f7839 != null && interfaceC2520M4583.equals(c2487M3392.f7842)) {
                        c1714M4542.m3390(i2).resume();
                    }
                }
                ArrayList<InterfaceC2489> arrayList = this.f7834;
                if (arrayList != null && arrayList.size() > 0) {
                    ArrayList arrayList2 = (ArrayList) this.f7834.clone();
                    int size = arrayList2.size();
                    for (int i3 = 0; i3 < size; i3++) {
                        ((InterfaceC2489) arrayList2.get(i3)).mo4536(this);
                    }
                }
            }
            this.f7832 = false;
        }
    }
}
