package com.davemorrissey.labs.subscaleview.view;

import android.graphics.Bitmap;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;

class SubsamplingScaleImageView$6 implements Runnable {
    final /* synthetic */ SubsamplingScaleImageView aKO;
    final /* synthetic */ int aKP;
    final /* synthetic */ boolean aKQ;
    final /* synthetic */ boolean aKR;
    final /* synthetic */ Bitmap val$bitmap;

    SubsamplingScaleImageView$6(SubsamplingScaleImageView subsamplingScaleImageView, int i, Bitmap bitmap, boolean z, boolean z2) {
        this.aKO = subsamplingScaleImageView;
        this.aKP = i;
        this.val$bitmap = bitmap;
        this.aKQ = z;
        this.aKR = z2;
    }

    public final void run() {
        AppMethodBeat.i(115647);
        long currentTimeMillis = System.currentTimeMillis();
        if (this.aKP != 0) {
            SubsamplingScaleImageView.b(this.aKO, this.aKO.a(this.val$bitmap, this.aKP));
        }
        long currentTimeMillis2 = System.currentTimeMillis();
        ab.i(SubsamplingScaleImageView.l(this.aKO), "alvinluo onImageLoaded rotaeAndScaleBitmap %d", new Object[]{Long.valueOf(currentTimeMillis2 - currentTimeMillis)});
        this.aKO.post(new 1(this));
        AppMethodBeat.o(115647);
    }
}
