package com.tencent.mm.plugin.wallet_core.ui.view;

import android.graphics.Color;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.wallet_core.ui.view.WalletAwardShakeAnimView.a;
import com.tencent.mm.sdk.platformtools.ab;

class WalletSuccPageAwardWidget$5 implements a {
    final /* synthetic */ WalletSuccPageAwardWidget tOK;

    WalletSuccPageAwardWidget$5(WalletSuccPageAwardWidget walletSuccPageAwardWidget) {
        this.tOK = walletSuccPageAwardWidget;
    }

    public final void ns(boolean z) {
        AppMethodBeat.i(47945);
        ab.i("MicroMsg.WalletSuccPageAwardWidget", "onStartShakeOrClick, isShake: %s, isClickH5OrTinyApp: %s", new Object[]{Boolean.valueOf(z), Boolean.valueOf(WalletSuccPageAwardWidget.e(this.tOK))});
        h hVar;
        Object[] objArr;
        if (z) {
            hVar = h.pYm;
            objArr = new Object[2];
            objArr[0] = Integer.valueOf(4);
            objArr[1] = Integer.valueOf(WalletSuccPageAwardWidget.e(this.tOK) ? 2 : 1);
            hVar.e(15225, objArr);
        } else {
            hVar = h.pYm;
            objArr = new Object[2];
            objArr[0] = Integer.valueOf(7);
            objArr[1] = Integer.valueOf(WalletSuccPageAwardWidget.e(this.tOK) ? 2 : 1);
            hVar.e(15225, objArr);
        }
        WalletSuccPageAwardWidget.d(this.tOK).setShakeHintWording(this.tOK.getContext().getString(2131305370));
        WalletSuccPageAwardWidget.d(this.tOK).setShakeHintWordingColor(Color.parseColor("#9C9C9C"));
        WalletSuccPageAwardWidget.a(this.tOK, 2, false);
        WalletSuccPageAwardWidget.f(this.tOK);
        AppMethodBeat.o(47945);
    }
}
