package androidx.constraintlayout.widget;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.ViewGroup;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.constraintlayout.widget.j;

/* JADX INFO: loaded from: classes.dex */
public class f extends ViewGroup {

    public static class a extends ConstraintLayout.b {
        public float br;
        public boolean bs;
        public float bt;
        public float bu;
        public float bv;
        public float bw;
        public float bx;
        public float bz;
        public float ca;
        public float cb;
        public float cc;
        public float cd;
        public float ce;
    }

    @Override // android.view.ViewGroup
    public final ViewGroup.LayoutParams generateDefaultLayoutParams() {
        a aVar = new a();
        aVar.br = 1.0f;
        aVar.bs = false;
        aVar.bt = 0.0f;
        aVar.bu = 0.0f;
        aVar.bv = 0.0f;
        aVar.bw = 0.0f;
        aVar.bx = 1.0f;
        aVar.bz = 1.0f;
        aVar.ca = 0.0f;
        aVar.cb = 0.0f;
        aVar.cc = 0.0f;
        aVar.cd = 0.0f;
        aVar.ce = 0.0f;
        return aVar;
    }

    @Override // android.view.ViewGroup
    public final ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) {
        Context context = getContext();
        a aVar = new a(context, attributeSet);
        aVar.br = 1.0f;
        aVar.bs = false;
        aVar.bt = 0.0f;
        aVar.bu = 0.0f;
        aVar.bv = 0.0f;
        aVar.bw = 0.0f;
        aVar.bx = 1.0f;
        aVar.bz = 1.0f;
        aVar.ca = 0.0f;
        aVar.cb = 0.0f;
        aVar.cc = 0.0f;
        aVar.cd = 0.0f;
        aVar.ce = 0.0f;
        TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(attributeSet, j.m.d);
        int indexCount = typedArrayObtainStyledAttributes.getIndexCount();
        for (int i = 0; i < indexCount; i++) {
            int index = typedArrayObtainStyledAttributes.getIndex(i);
            if (index == 15) {
                aVar.br = typedArrayObtainStyledAttributes.getFloat(index, aVar.br);
            } else if (index == 28) {
                aVar.bt = typedArrayObtainStyledAttributes.getFloat(index, aVar.bt);
                aVar.bs = true;
            } else if (index == 23) {
                aVar.bv = typedArrayObtainStyledAttributes.getFloat(index, aVar.bv);
            } else if (index == 24) {
                aVar.bw = typedArrayObtainStyledAttributes.getFloat(index, aVar.bw);
            } else if (index == 22) {
                aVar.bu = typedArrayObtainStyledAttributes.getFloat(index, aVar.bu);
            } else if (index == 20) {
                aVar.bx = typedArrayObtainStyledAttributes.getFloat(index, aVar.bx);
            } else if (index == 21) {
                aVar.bz = typedArrayObtainStyledAttributes.getFloat(index, aVar.bz);
            } else if (index == 16) {
                aVar.ca = typedArrayObtainStyledAttributes.getFloat(index, aVar.ca);
            } else if (index == 17) {
                aVar.cb = typedArrayObtainStyledAttributes.getFloat(index, aVar.cb);
            } else if (index == 18) {
                aVar.cc = typedArrayObtainStyledAttributes.getFloat(index, aVar.cc);
            } else if (index == 19) {
                aVar.cd = typedArrayObtainStyledAttributes.getFloat(index, aVar.cd);
            } else if (index == 27) {
                aVar.ce = typedArrayObtainStyledAttributes.getFloat(index, aVar.ce);
            }
        }
        typedArrayObtainStyledAttributes.recycle();
        return aVar;
    }

    public e getConstraintSet() {
        getChildCount();
        throw null;
    }

    @Override // android.view.ViewGroup, android.view.View
    public final void onLayout(boolean z, int i, int i2, int i3, int i4) {
    }

    @Override // android.view.ViewGroup
    public final ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
        return new ConstraintLayout.b(layoutParams);
    }
}
