package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Y8 implements Z8, InterfaceC0885c9 {
    public final /* synthetic */ int l;
    public final float m;

    public Y8(int i) {
        this.l = i;
        switch (i) {
            case 1:
                this.m = 0;
                break;
            case 2:
                this.m = 0;
                break;
            case 3:
                this.m = 0;
                break;
            default:
                this.m = 0;
                break;
        }
    }

    @Override // o.Z8, o.InterfaceC0885c9
    public final float a() {
        switch (this.l) {
        }
        return this.m;
    }

    @Override // o.InterfaceC0885c9
    public final void b(int i, InterfaceC2424sO interfaceC2424sO, int[] iArr, int[] iArr2) {
        switch (this.l) {
            case 0:
                AbstractC0981d9.a(i, iArr, iArr2, false);
                break;
            case 1:
                AbstractC0981d9.d(i, iArr, iArr2, false);
                break;
            case 2:
                AbstractC0981d9.e(i, iArr, iArr2, false);
                break;
            default:
                AbstractC0981d9.f(i, iArr, iArr2, false);
                break;
        }
    }

    @Override // o.Z8
    public final void g(InterfaceC2281qr interfaceC2281qr, int i, int[] iArr, EnumC1280gK enumC1280gK, int[] iArr2) {
        switch (this.l) {
            case 0:
                if (enumC1280gK != EnumC1280gK.l) {
                    AbstractC0981d9.a(i, iArr, iArr2, true);
                    break;
                } else {
                    AbstractC0981d9.a(i, iArr, iArr2, false);
                    break;
                }
            case 1:
                if (enumC1280gK != EnumC1280gK.l) {
                    AbstractC0981d9.d(i, iArr, iArr2, true);
                    break;
                } else {
                    AbstractC0981d9.d(i, iArr, iArr2, false);
                    break;
                }
            case 2:
                if (enumC1280gK != EnumC1280gK.l) {
                    AbstractC0981d9.e(i, iArr, iArr2, true);
                    break;
                } else {
                    AbstractC0981d9.e(i, iArr, iArr2, false);
                    break;
                }
            default:
                if (enumC1280gK != EnumC1280gK.l) {
                    AbstractC0981d9.f(i, iArr, iArr2, true);
                    break;
                } else {
                    AbstractC0981d9.f(i, iArr, iArr2, false);
                    break;
                }
        }
    }

    public final String toString() {
        switch (this.l) {
            case 0:
                return "Arrangement#Center";
            case 1:
                return "Arrangement#SpaceAround";
            case 2:
                return "Arrangement#SpaceBetween";
            default:
                return "Arrangement#SpaceEvenly";
        }
    }
}
