package com.tencent.liteav.beauty;

import android.graphics.Bitmap;
import com.tencent.matrix.trace.core.AppMethodBeat;

class b$4 implements Runnable {
    final /* synthetic */ float a;
    final /* synthetic */ Bitmap b;
    final /* synthetic */ float c;
    final /* synthetic */ Bitmap d;
    final /* synthetic */ float e;
    final /* synthetic */ b f;

    b$4(b bVar, float f, Bitmap bitmap, float f2, Bitmap bitmap2, float f3) {
        this.f = bVar;
        this.a = f;
        this.b = bitmap;
        this.c = f2;
        this.d = bitmap2;
        this.e = f3;
    }

    public void run() {
        AppMethodBeat.i(66829);
        if (b.a(this.f) != null) {
            a.a().d();
        }
        if (b.h(this.f) == null && b.i(this.f) == null) {
            if (b.a(this.f) != null) {
                b.a(this.f).d();
                b.a(this.f, null);
                AppMethodBeat.o(66829);
                return;
            }
        } else if (b.a(this.f) == null) {
            b.a(this.f, b.f(this.f), b.g(this.f), b.j(this.f), b.h(this.f), b.k(this.f), b.i(this.f), b.l(this.f));
            AppMethodBeat.o(66829);
            return;
        } else {
            b.a(this.f).a(this.a, this.b, this.c, this.d, this.e);
        }
        AppMethodBeat.o(66829);
    }
}
