package defpackage;

import android.graphics.Rect;
import android.graphics.RectF;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
import java.util.WeakHashMap;

/* renamed from: ᵳᵺᵴˊ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public abstract class AbstractC4613 {
    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public static void m9778(List list, View view) {
        int size = list.size();
        for (int i = 0; i < size; i++) {
            if (list.get(i) == view) {
                return;
            }
        }
        WeakHashMap weakHashMap = AbstractC2873.f11133;
        if (view.getTransitionName() != null) {
            list.add(view);
        }
        for (int i2 = size; i2 < list.size(); i2++) {
            View view2 = (View) list.get(i2);
            if (view2 instanceof ViewGroup) {
                ViewGroup viewGroup = (ViewGroup) view2;
                int childCount = viewGroup.getChildCount();
                for (int i3 = 0; i3 < childCount; i3++) {
                    View childAt = viewGroup.getChildAt(i3);
                    int i4 = 0;
                    while (true) {
                        if (i4 < size) {
                            if (list.get(i4) == childAt) {
                                break;
                            } else {
                                i4++;
                            }
                        } else if (childAt.getTransitionName() != null) {
                            list.add(childAt);
                        }
                    }
                }
            }
        }
    }

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public static void m9779(View view, Rect rect) {
        if (view.isAttachedToWindow()) {
            RectF rectF = new RectF();
            rectF.set(0.0f, 0.0f, view.getWidth(), view.getHeight());
            view.getMatrix().mapRect(rectF);
            rectF.offset(view.getLeft(), view.getTop());
            Object parent = view.getParent();
            while (parent instanceof View) {
                View view2 = (View) parent;
                rectF.offset(-view2.getScrollX(), -view2.getScrollY());
                view2.getMatrix().mapRect(rectF);
                rectF.offset(view2.getLeft(), view2.getTop());
                parent = view2.getParent();
            }
            view.getRootView().getLocationOnScreen(new int[2]);
            rectF.offset(r1[0], r1[1]);
            rect.set(Math.round(rectF.left), Math.round(rectF.top), Math.round(rectF.right), Math.round(rectF.bottom));
        }
    }

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public static boolean m9780(List list) {
        return list == null || list.isEmpty();
    }

    /* renamed from: ˇʼʤˎ */
    public abstract void mo2068(ViewGroup viewGroup, Object obj);

    /* renamed from: ˌʾˀ */
    public abstract void mo2069(Object obj, View view, ArrayList arrayList);

    /* renamed from: ˌᵜᵹᵩ */
    public abstract boolean mo2070();

    /* renamed from: ˎˏʜʾ */
    public abstract boolean mo2071(Object obj);

    /* renamed from: ˏᵙ */
    public void mo2072(Object obj) {
    }

    /* renamed from: ˑᵱ */
    public abstract void mo2073(AbstractComponentCallbacksC3693 abstractComponentCallbacksC3693, Object obj, C4866 c4866, Runnable runnable);

    /* renamed from: ᵝᵵᵺ */
    public Object mo2074(ViewGroup viewGroup, Object obj) {
        return null;
    }

    /* renamed from: ᵞʡ */
    public abstract void mo2075(View view, Object obj);

    /* renamed from: ᵡʠ */
    public abstract void mo2076(Object obj, Object obj2, ArrayList arrayList, Object obj3, ArrayList arrayList2);

    /* renamed from: ᵢˇᵭ */
    public abstract void mo2077(Object obj, View view, ArrayList arrayList);

    /* renamed from: ᵥᵯˎ */
    public abstract void mo2079(View view, Object obj);

    /* renamed from: ᵧᵾˀˈ */
    public void mo2080(Object obj, C4866 c4866, RunnableC3566 runnableC3566, Runnable runnable) {
        ((RunnableC5193) runnable).run();
    }

    /* renamed from: ᵨᵳʝ */
    public abstract void mo2081(Object obj, Rect rect);

    /* renamed from: ᵪʩ */
    public abstract Object mo2082(Object obj, Object obj2, Object obj3);

    /* renamed from: ᵯٴᵦ */
    public abstract boolean mo2083(Object obj);

    /* renamed from: ᵳٴᵶ */
    public abstract Object mo2084(Object obj, Object obj2);

    /* renamed from: ᵴᵳ */
    public abstract void mo2085(Object obj, ArrayList arrayList);

    /* renamed from: ᵸʓᵠ */
    public void mo2086(Object obj, float f) {
    }

    /* renamed from: ᵹᵝᵶ */
    public abstract Object mo2087(Object obj);

    /* renamed from: ᵻᵢﹳᵰ */
    public void mo2088(Object obj, RunnableC0421 runnableC0421) {
    }

    /* renamed from: ᵾᵬ */
    public abstract Object mo2089(Object obj);

    /* renamed from: ᵿʗᵝʽ */
    public abstract void mo2090(Object obj, ArrayList arrayList, ArrayList arrayList2);
}
