package l2;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.widget.TextView;
import m.C0840I;

/* JADX INFO: loaded from: classes.dex */
public final class q extends AnimatorListenerAdapter {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f8855a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ TextView f8856b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ int f8857c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ TextView f8858d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ s f8859e;

    public q(s sVar, int i, TextView textView, int i5, TextView textView2) {
        this.f8859e = sVar;
        this.f8855a = i;
        this.f8856b = textView;
        this.f8857c = i5;
        this.f8858d = textView2;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        C0840I c0840i;
        int i = this.f8855a;
        s sVar = this.f8859e;
        sVar.f8875n = i;
        sVar.f8873l = null;
        TextView textView = this.f8856b;
        if (textView != null) {
            textView.setVisibility(4);
            if (this.f8857c == 1 && (c0840i = sVar.f8877r) != null) {
                c0840i.setText((CharSequence) null);
            }
        }
        TextView textView2 = this.f8858d;
        if (textView2 != null) {
            textView2.setTranslationY(0.0f);
            textView2.setAlpha(1.0f);
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationStart(Animator animator) {
        TextView textView = this.f8858d;
        if (textView != null) {
            textView.setVisibility(0);
            textView.setAlpha(0.0f);
        }
    }
}
