package com.tencent.mm.plugin.game.f;

import android.graphics.Bitmap;
import android.view.View;
import android.widget.ImageView;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.at.a.c.g;
import com.tencent.mm.plugin.game.f.e.a;
import com.tencent.mm.plugin.game.f.e.b;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.al;
import com.tencent.mm.sdk.platformtools.d;

class e$2 implements g {
    final /* synthetic */ ImageView mAX;
    final /* synthetic */ e nnF;
    final /* synthetic */ b nnG;
    final /* synthetic */ a nnH;

    e$2(e eVar, b bVar, a aVar, ImageView imageView) {
        this.nnF = eVar;
        this.nnG = bVar;
        this.nnH = aVar;
        this.mAX = imageView;
    }

    public final void sH(String str) {
        AppMethodBeat.i(112328);
        ab.d("MicroMsg.GameImageUtil", "onImageLoadStart, url: ".concat(String.valueOf(str)));
        AppMethodBeat.o(112328);
    }

    public final Bitmap a(String str, View view, com.tencent.mm.at.a.d.b bVar) {
        return null;
    }

    public final void b(String str, View view, com.tencent.mm.at.a.d.b bVar) {
        AppMethodBeat.i(112329);
        ab.d("MicroMsg.GameImageUtil", "onImageLoadFinish, url: ".concat(String.valueOf(str)));
        if (!(bVar == null || bVar.bitmap == null)) {
            Object obj = bVar.bitmap;
            if (this.nnH.nnP) {
                obj = e.N(obj);
            }
            if (this.nnH.iPY != 0) {
                obj = d.a(obj, true, (float) this.nnH.iPY);
            }
            if (this.nnH.ePF) {
                e.b(this.nnF).k(str, obj);
            }
            al.d(new 1(this, obj));
            if (this.nnG != null) {
                this.nnG.a(view, obj);
            }
        }
        AppMethodBeat.o(112329);
    }
}
