package com.tencent.mm.plugin.topstory.ui.home;

import android.os.Build.VERSION;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.h.b;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.ui.ah;

class b$3 implements Runnable {
    final /* synthetic */ int itf;
    final /* synthetic */ b sCf;
    final /* synthetic */ int sCg;

    b$3(b bVar, int i, int i2) {
        this.sCf = bVar;
        this.itf = i;
        this.sCg = i2;
    }

    public final void run() {
        AppMethodBeat.i(1569);
        ab.i("MicroMsg.TopStory.TopStoryUIComponentImpl", "showNavBarShadow %s, %s", new Object[]{Integer.valueOf(this.itf), Integer.valueOf(this.sCg)});
        int i = this.itf + (16581375 * this.sCg);
        this.sCf.sBN.setBackgroundColor(i);
        this.sCf.sBN.setVisibility(0);
        if (VERSION.SDK_INT >= 21 && !b.Mt()) {
            this.sCf.sBH.getWindow().setStatusBarColor(ah.s(i, this.sCf.sBH.getResources().getColor(2131689495)));
        }
        this.sCf.sBS = true;
        this.sCf.sBN.setOnClickListener(new 1(this));
        if (this.sCf.sBU != null) {
            this.sCf.sBU.setScrollEnable(false);
        }
        AppMethodBeat.o(1569);
    }
}
