package o;

import androidx.appcompat.widget.ActionBarOverlayLayout;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Y0 implements Runnable {
    public final /* synthetic */ int l;
    public final /* synthetic */ ActionBarOverlayLayout m;

    public /* synthetic */ Y0(ActionBarOverlayLayout actionBarOverlayLayout, int i) {
        this.l = i;
        this.m = actionBarOverlayLayout;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                ActionBarOverlayLayout actionBarOverlayLayout = this.m;
                actionBarOverlayLayout.e();
                actionBarOverlayLayout.H = actionBarOverlayLayout.f3o.animate().translationY(0.0f).setListener(actionBarOverlayLayout.I);
                break;
            default:
                ActionBarOverlayLayout actionBarOverlayLayout2 = this.m;
                actionBarOverlayLayout2.e();
                actionBarOverlayLayout2.H = actionBarOverlayLayout2.f3o.animate().translationY(-actionBarOverlayLayout2.f3o.getHeight()).setListener(actionBarOverlayLayout2.I);
                break;
        }
    }
}
