package com.tencent.mm.plugin.story.ui.view.gallery;

import a.f.b.j;
import a.l;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout.LayoutParams;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.bz.a;
import com.tencent.mm.ui.ah;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, dWq = {"<anonymous>", "", "run"})
final class g$2 implements Runnable {
    final /* synthetic */ g sos;

    g$2(g gVar) {
        this.sos = gVar;
    }

    public final void run() {
        AppMethodBeat.i(110739);
        int fromDPToPix = a.fromDPToPix(g.d(this.sos).getContext(), 112);
        View inflate = LayoutInflater.from(g.d(this.sos).getContext()).inflate(2130970901, (ViewGroup) g.d(this.sos), false);
        g.a(this.sos, inflate);
        View findViewById = inflate.findViewById(2131828192);
        j.o(findViewById, "layout.findViewById(R.id…tory_scroll_up_hint_icon)");
        ((ImageView) findViewById).setImageDrawable(ah.f(g.d(this.sos).getContext(), 2131231124, -1));
        LayoutParams layoutParams = new LayoutParams(-1, fromDPToPix);
        layoutParams.addRule(12, 1);
        g.d(this.sos).addView(inflate, layoutParams);
        j.o(inflate, "layout");
        inflate.setAlpha(0.0f);
        inflate.animate().alpha(1.0f).start();
        g.b(this.sos).ce(fromDPToPix);
        g.h(this.sos);
        AppMethodBeat.o(110739);
    }
}
