package ῲ.ト.ῲ;

import android.animation.LayoutTransition;
import android.view.View;
import android.view.ViewGroup;
import androidx.recyclerview.widget.LinearLayoutManager;

/* renamed from: ῲ.ト.ῲ.ῲ  reason: contains not printable characters */
/* compiled from: AnimateLayoutChangeDetector */
public final class C2202 {

    /* renamed from: ῲ  reason: contains not printable characters */
    public static final ViewGroup.MarginLayoutParams f7662 = new ViewGroup.MarginLayoutParams(-1, -1);

    /* renamed from: K  reason: contains not printable characters */
    public LinearLayoutManager f7663;

    static {
        f7662.setMargins(0, 0, 0, 0);
    }

    public C2202(LinearLayoutManager linearLayoutManager) {
        this.f7663 = linearLayoutManager;
    }

    /* renamed from: K  reason: contains not printable characters */
    public static boolean m5828(View view) {
        if (view instanceof ViewGroup) {
            ViewGroup viewGroup = (ViewGroup) view;
            LayoutTransition layoutTransition = viewGroup.getLayoutTransition();
            if (layoutTransition != null && layoutTransition.isChangingLayout()) {
                return true;
            }
            int childCount = viewGroup.getChildCount();
            for (int i = 0; i < childCount; i++) {
                if (m5828(viewGroup.getChildAt(i))) {
                    return true;
                }
            }
        }
        return false;
    }
}
