package com.tencent.mm.plugin.appbrand.game.d;

import android.animation.ValueAnimator;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.game.d.b.3;
import com.tencent.mm.plugin.appbrand.game.d.b.4;

class b$1 implements OnClickListener {
    final /* synthetic */ b hrE;

    b$1(b bVar) {
        this.hrE = bVar;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(130155);
        b bVar = this.hrE;
        ValueAnimator ofFloat;
        if (bVar.hrA) {
            ofFloat = ValueAnimator.ofFloat(new float[]{0.0f, 1.0f});
            ofFloat.addUpdateListener(new 3(bVar));
            ofFloat.start();
            bVar.hrA = false;
            AppMethodBeat.o(130155);
            return;
        }
        bVar.setTranslationY((float) bVar.getDisplayHeight());
        bVar.setVisibility(0);
        ofFloat = ValueAnimator.ofFloat(new float[]{1.0f, 0.0f});
        ofFloat.addUpdateListener(new 4(bVar));
        ofFloat.start();
        bVar.hrA = true;
        AppMethodBeat.o(130155);
    }
}
