package F1;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.view.View;
import n.C2578e;
import v2.AbstractC3118q;

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

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

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

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

    public N(V v3, View view) {
        this.f1386b = v3;
        this.f1387c = view;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        switch (this.f1385a) {
            case 0:
                V v3 = (V) this.f1386b;
                v3.f1408a.e(1.0f);
                Q.f(v3, (View) this.f1387c);
                break;
            default:
                ((C2578e) this.f1386b).remove(animator);
                ((AbstractC3118q) this.f1387c).f25366o.remove(animator);
                break;
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public void onAnimationStart(Animator animator) {
        switch (this.f1385a) {
            case 1:
                ((AbstractC3118q) this.f1387c).f25366o.add(animator);
                break;
            default:
                super.onAnimationStart(animator);
                break;
        }
    }

    public N(AbstractC3118q abstractC3118q, C2578e c2578e) {
        this.f1387c = abstractC3118q;
        this.f1386b = c2578e;
    }
}
