package K2;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public final int a() {
        return this.f3540h - this.i;
    }

    public final void b(View view, int i, int i5, int i8, int i9) {
        b bVar = (b) view.getLayoutParams();
        this.f3533a = Math.min(this.f3533a, (view.getLeft() - bVar.s()) - i);
        this.f3534b = Math.min(this.f3534b, (view.getTop() - bVar.x()) - i5);
        this.f3535c = Math.max(this.f3535c, bVar.b() + view.getRight() + i8);
        this.f3536d = Math.max(this.f3536d, bVar.o() + view.getBottom() + i9);
    }
}
