package o;

import android.graphics.Outline;
import android.view.View;
import android.view.ViewOutlineProvider;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Rr, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0458Rr extends ViewOutlineProvider {
    public final /* synthetic */ int a;

    public /* synthetic */ C0458Rr(int i) {
        this.a = i;
    }

    @Override // android.view.ViewOutlineProvider
    public final void getOutline(View view, Outline outline) {
        Outline outline2;
        switch (this.a) {
            case 0:
                outline.setRect(0, 0, view.getWidth(), view.getHeight());
                outline.setAlpha(0.0f);
                return;
            case 1:
                outline.setRect(0, 0, view.getWidth(), view.getHeight());
                outline.setAlpha(0.0f);
                return;
            case 2:
                if (!(view instanceof C0743ak0) || (outline2 = ((C0743ak0) view).p) == null) {
                    return;
                }
                outline.set(outline2);
                return;
            default:
                AbstractC2462sn.s(view);
                throw null;
        }
    }
}
