package b0;

import android.graphics.Rect;
import android.view.View;
import u0.AbstractC1035G;
import u0.C1059v;

/* JADX INFO: loaded from: classes.dex */
public abstract class g {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Object f4633b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Object f4634c;

    public g(AbstractC1035G abstractC1035G) {
        this.f4632a = Integer.MIN_VALUE;
        this.f4634c = new Rect();
        this.f4633b = abstractC1035G;
    }

    public static g a(AbstractC1035G abstractC1035G, int i) {
        if (i == 0) {
            return new C1059v(abstractC1035G, 0);
        }
        if (i == 1) {
            return new C1059v(abstractC1035G, 1);
        }
        throw new IllegalArgumentException("invalid orientation");
    }

    public abstract int b(View view);

    public abstract int c(View view);

    public abstract int d(View view);

    public abstract int e(View view);

    public abstract int f();

    public abstract int g();

    public abstract int h();

    public abstract int i();

    public abstract int j();

    public abstract int k();

    public abstract int l();

    public abstract int m(View view);

    public abstract int n(View view);

    public abstract void o(int i);

    public g(i iVar) {
        this.f4632a = 0;
        this.f4634c = new C0325d();
        this.f4633b = iVar;
    }
}
