package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.pg0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2165pg0 extends AnimatorListenerAdapter {
    public final /* synthetic */ int a = 1;
    public final /* synthetic */ Object b;
    public final /* synthetic */ Object c;

    public C2165pg0(View view, C2554tl0 c2554tl0) {
        this.b = c2554tl0;
        this.c = view;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        switch (this.a) {
            case 0:
                ((C1839m9) this.b).remove(animator);
                ((AbstractC3019yg0) this.c).y.remove(animator);
                break;
            default:
                C2554tl0 c2554tl0 = (C2554tl0) this.b;
                c2554tl0.a.e(1.0f);
                C2080ol0.f((View) this.c, c2554tl0);
                break;
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public void onAnimationStart(Animator animator) {
        switch (this.a) {
            case 0:
                ((AbstractC3019yg0) this.c).y.add(animator);
                break;
            default:
                super.onAnimationStart(animator);
                break;
        }
    }

    public C2165pg0(AbstractC3019yg0 abstractC3019yg0, C1839m9 c1839m9) {
        this.c = abstractC3019yg0;
        this.b = c1839m9;
    }
}
