package o;

import android.view.View;
import androidx.appcompat.widget.ActionBarOverlayLayout;
import java.util.WeakHashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.gl0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1319gl0 extends C80 {
    public final /* synthetic */ int k;
    public final /* synthetic */ C1510il0 l;

    public /* synthetic */ C1319gl0(C1510il0 c1510il0, int i) {
        this.k = i;
        this.l = c1510il0;
    }

    @Override // o.InterfaceC1888mk0
    public final void a() {
        View view;
        int i = this.k;
        C1510il0 c1510il0 = this.l;
        switch (i) {
            case 0:
                if (c1510il0.f585o && (view = c1510il0.g) != null) {
                    view.setTranslationY(0.0f);
                    c1510il0.d.setTranslationY(0.0f);
                }
                c1510il0.d.setVisibility(8);
                c1510il0.d.setTransitioning(false);
                c1510il0.s = null;
                Gm0 gm0 = c1510il0.k;
                if (gm0 != null) {
                    gm0.d(c1510il0.j);
                    c1510il0.j = null;
                    c1510il0.k = null;
                }
                ActionBarOverlayLayout actionBarOverlayLayout = c1510il0.c;
                if (actionBarOverlayLayout != null) {
                    WeakHashMap weakHashMap = Oj0.a;
                    Ej0.c(actionBarOverlayLayout);
                    break;
                }
                break;
            default:
                c1510il0.s = null;
                c1510il0.d.requestLayout();
                break;
        }
    }
}
