package com.google.android.flexbox;

import android.view.View;
import java.util.ArrayList;

/* JADX INFO: loaded from: classes2.dex */
public final class c {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public int f7800e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public int f7801f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public int f7802g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public int f7803h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public int f7804i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public float f7805j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public float f7806k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public int f7807l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public int f7808m;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public int f7810o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public int f7811p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public boolean f7812q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public boolean f7813r;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f7796a = Integer.MAX_VALUE;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public int f7797b = Integer.MAX_VALUE;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public int f7798c = Integer.MIN_VALUE;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public int f7799d = Integer.MIN_VALUE;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final ArrayList f7809n = new ArrayList();

    public final int a() {
        return this.f7803h - this.f7804i;
    }

    public final void b(View view, int i10, int i11, int i12, int i13) {
        b bVar = (b) view.getLayoutParams();
        this.f7796a = Math.min(this.f7796a, (view.getLeft() - bVar.j()) - i10);
        this.f7797b = Math.min(this.f7797b, (view.getTop() - bVar.k()) - i11);
        this.f7798c = Math.max(this.f7798c, bVar.r() + view.getRight() + i12);
        this.f7799d = Math.max(this.f7799d, bVar.i() + view.getBottom() + i13);
    }
}
