package o;

import android.widget.LinearLayout;

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

    public /* synthetic */ RunnableC0495Tc(LinearLayout linearLayout, LinearLayout linearLayout2, int i) {
        this.l = i;
        this.m = linearLayout;
        this.n = linearLayout2;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                LinearLayout linearLayout = this.m;
                linearLayout.animate().alpha(0.0f).setDuration(200L).withEndAction(new RunnableC0495Tc(linearLayout, this.n, 1)).start();
                break;
            case 1:
                this.m.setVisibility(8);
                LinearLayout linearLayout2 = this.n;
                linearLayout2.setVisibility(0);
                linearLayout2.setAlpha(1.0f);
                break;
            case 2:
                LinearLayout linearLayout3 = this.m;
                linearLayout3.animate().alpha(0.0f).setDuration(200L).withEndAction(new RunnableC0495Tc(linearLayout3, this.n, 3)).start();
                break;
            default:
                this.m.setVisibility(8);
                LinearLayout linearLayout4 = this.n;
                linearLayout4.setVisibility(0);
                linearLayout4.setAlpha(1.0f);
                break;
        }
    }
}
