package com.tencent.mm.plugin.appbrand.widget.desktop.a;

import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
import android.support.v7.widget.RecyclerView.v;
import com.tencent.matrix.trace.core.AppMethodBeat;

class d$5 implements AnimatorListener {
    final /* synthetic */ Runnable cfC;
    final /* synthetic */ d jbk;
    final /* synthetic */ v jbn;
    final /* synthetic */ v jbo;

    d$5(d dVar, v vVar, Runnable runnable, v vVar2) {
        this.jbk = dVar;
        this.jbn = vVar;
        this.cfC = runnable;
        this.jbo = vVar2;
    }

    public final void onAnimationStart(Animator animator) {
    }

    public final void onAnimationEnd(Animator animator) {
        AppMethodBeat.i(134214);
        this.jbk.jbb.removeView(this.jbk.iYn);
        if (this.jbk.jbf) {
            if (!(this.jbo == null || this.jbo.apJ == null)) {
                this.jbo.apJ.setVisibility(0);
            }
            if (this.jbn != null) {
                this.jbn.apJ.setVisibility(0);
                this.jbn.apJ.setScaleX(0.0f);
                this.jbn.apJ.setScaleY(0.0f);
                this.jbn.apJ.animate().scaleX(1.0f).scaleY(1.0f).alpha(1.0f).setDuration(300).setListener(null).start();
            }
            this.cfC.run();
            this.jbk.iYn.setScaleX(1.0f);
            this.jbk.iYn.setScaleY(1.0f);
            AppMethodBeat.o(134214);
            return;
        }
        this.jbn.apJ.setVisibility(0);
        this.cfC.run();
        AppMethodBeat.o(134214);
    }

    public final void onAnimationCancel(Animator animator) {
    }

    public final void onAnimationRepeat(Animator animator) {
    }
}
