package o;

import android.view.View;
import com.google.android.material.sidesheet.SideSheetBehavior;
import java.util.function.IntConsumer;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.p7, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class RunnableC2120p7 implements Runnable {
    public final /* synthetic */ int l;
    public final /* synthetic */ int m;
    public final /* synthetic */ Object n;

    public /* synthetic */ RunnableC2120p7(int i, int i2, Object obj) {
        this.l = i2;
        this.n = obj;
        this.m = i;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                ((IntConsumer) this.n).accept(this.m);
                break;
            case 1:
                ((AbstractC0249Jp) this.n).U(this.m);
                break;
            default:
                SideSheetBehavior sideSheetBehavior = (SideSheetBehavior) this.n;
                View view = (View) sideSheetBehavior.p.get();
                if (view != null) {
                    sideSheetBehavior.t(view, this.m, false);
                    break;
                }
                break;
        }
    }
}
