package o;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import java.util.HashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.f6, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1166f6 extends ViewGroup {
    public final HashMap l;
    public final HashMap m;

    public C1166f6(Context context) {
        super(context);
        setClipChildren(false);
        this.l = new HashMap();
        this.m = new HashMap();
    }

    @Override // android.view.ViewGroup, android.view.View
    public final boolean dispatchTouchEvent(MotionEvent motionEvent) {
        return true;
    }

    public final HashMap<Z5, C2420sK> getHolderToLayoutNode() {
        return this.l;
    }

    public final HashMap<C2420sK, Z5> getLayoutNodeToHolder() {
        return this.m;
    }

    @Override // android.view.ViewGroup, android.view.ViewParent
    public final /* bridge */ /* synthetic */ ViewParent invalidateChildInParent(int[] iArr, Rect rect) {
        return null;
    }

    @Override // android.view.ViewGroup, android.view.View
    public final void onLayout(boolean z, int i, int i2, int i3, int i4) {
        for (Z5 z5 : this.l.keySet()) {
            z5.layout(z5.getLeft(), z5.getTop(), z5.getRight(), z5.getBottom());
        }
    }

    @Override // android.view.View
    public final void onMeasure(int i, int i2) {
        int i3;
        if (!(View.MeasureSpec.getMode(i) == 1073741824)) {
            AbstractC2133pH.a("widthMeasureSpec should be EXACTLY");
        }
        if (!(View.MeasureSpec.getMode(i2) == 1073741824)) {
            AbstractC2133pH.a("heightMeasureSpec should be EXACTLY");
        }
        setMeasuredDimension(View.MeasureSpec.getSize(i), View.MeasureSpec.getSize(i2));
        for (Z5 z5 : this.l.keySet()) {
            int i4 = z5.F;
            if (i4 != Integer.MIN_VALUE && (i3 = z5.G) != Integer.MIN_VALUE) {
                z5.measure(i4, i3);
            }
        }
    }

    @Override // android.view.View, android.view.ViewParent
    public final void requestLayout() {
        cleanupLayoutState(this);
        int childCount = getChildCount();
        for (int i = 0; i < childCount; i++) {
            View childAt = getChildAt(i);
            C2420sK c2420sK = (C2420sK) this.l.get(childAt);
            if (childAt.isLayoutRequested() && c2420sK != null) {
                C2420sK.Q(c2420sK, false, 7);
            }
        }
    }

    @Override // android.view.ViewGroup
    public final boolean shouldDelayChildPressedState() {
        return false;
    }

    @Override // android.view.ViewGroup, android.view.View
    public final void dispatchDraw(Canvas canvas) {
    }

    @Override // android.view.ViewGroup, android.view.ViewParent
    public final void onDescendantInvalidated(View view, View view2) {
    }
}
