package androidx.swiperefreshlayout.widget;

import android.view.animation.Animation;

/* JADX INFO: loaded from: classes.dex */
class h implements Animation.AnimationListener {
    public final /* synthetic */ SwipeRefreshLayout a;

    public h(SwipeRefreshLayout swipeRefreshLayout) {
        this.a = swipeRefreshLayout;
    }

    @Override // android.view.animation.Animation.AnimationListener
    public final void onAnimationEnd(Animation animation) {
        SwipeRefreshLayout swipeRefreshLayout = this.a;
        f fVar = new f(swipeRefreshLayout);
        swipeRefreshLayout.ad = fVar;
        fVar.setDuration(150L);
        a aVar = swipeRefreshLayout.v;
        aVar.a = null;
        aVar.clearAnimation();
        swipeRefreshLayout.v.startAnimation(swipeRefreshLayout.ad);
    }

    @Override // android.view.animation.Animation.AnimationListener
    public final void onAnimationRepeat(Animation animation) {
    }

    @Override // android.view.animation.Animation.AnimationListener
    public final void onAnimationStart(Animation animation) {
    }
}
