package o;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.view.View;
import android.view.ViewPropertyAnimator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.iq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1519iq extends AnimatorListenerAdapter {
    public final /* synthetic */ AbstractC2488t10 a;
    public final /* synthetic */ int b;
    public final /* synthetic */ View c;
    public final /* synthetic */ int d;
    public final /* synthetic */ ViewPropertyAnimator e;
    public final /* synthetic */ C1899mq f;

    public C1519iq(C1899mq c1899mq, AbstractC2488t10 abstractC2488t10, int i, View view, int i2, ViewPropertyAnimator viewPropertyAnimator) {
        this.f = c1899mq;
        this.a = abstractC2488t10;
        this.b = i;
        this.c = view;
        this.d = i2;
        this.e = viewPropertyAnimator;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationCancel(Animator animator) {
        int i = this.b;
        View view = this.c;
        if (i != 0) {
            view.setTranslationX(0.0f);
        }
        if (this.d != 0) {
            view.setTranslationY(0.0f);
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        this.e.setListener(null);
        C1899mq c1899mq = this.f;
        AbstractC2488t10 abstractC2488t10 = this.a;
        c1899mq.c(abstractC2488t10);
        c1899mq.p.remove(abstractC2488t10);
        c1899mq.i();
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationStart(Animator animator) {
        this.f.getClass();
    }
}
