package o;

import android.content.Context;
import android.graphics.PointF;
import android.util.DisplayMetrics;
import android.view.View;
import com.google.android.material.carousel.CarouselLayoutManager;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Hg, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0188Hg extends C2896xL {
    public final /* synthetic */ int p = 1;

    public /* synthetic */ C0188Hg(Context context) {
        super(context);
    }

    @Override // o.C2896xL
    public int b(View view, int i) {
        switch (this.p) {
            case 0:
                return 0;
            default:
                return super.b(view, i);
        }
    }

    @Override // o.C2896xL
    public int c(View view, int i) {
        switch (this.p) {
            case 0:
                return 0;
            default:
                return super.c(view, i);
        }
    }

    @Override // o.C2896xL
    public float d(DisplayMetrics displayMetrics) {
        switch (this.p) {
            case 1:
                return 100.0f / displayMetrics.densityDpi;
            default:
                return super.d(displayMetrics);
        }
    }

    @Override // o.C2896xL
    public PointF f(int i) {
        switch (this.p) {
            case 0:
                return null;
            default:
                return super.f(i);
        }
    }

    public C0188Hg(CarouselLayoutManager carouselLayoutManager, Context context) {
        super(context);
    }
}
