package com.tencent.mm.plugin.facedetectlight.ui.a;

import android.view.ViewGroup.MarginLayoutParams;
import android.view.animation.Animation;
import com.tencent.matrix.trace.core.AppMethodBeat;

class a$2 implements Runnable {
    final /* synthetic */ a meh;
    final /* synthetic */ Animation mei;
    final /* synthetic */ int val$height;
    final /* synthetic */ int val$width;

    a$2(a aVar, int i, int i2, Animation animation) {
        this.meh = aVar;
        this.val$width = i;
        this.val$height = i2;
        this.mei = animation;
    }

    public final void run() {
        AppMethodBeat.i(824);
        MarginLayoutParams marginLayoutParams = (MarginLayoutParams) this.meh.meg.getLayoutParams();
        marginLayoutParams.width = (int) (((double) this.val$width) * 0.7d);
        marginLayoutParams.height = (int) (((double) this.val$width) * 0.7d);
        marginLayoutParams.topMargin = (int) ((((double) this.val$height) * 0.4d) - (((double) this.val$width) * 0.35d));
        this.meh.meg.setLayoutParams(marginLayoutParams);
        this.meh.meg.setVisibility(0);
        this.meh.meg.startAnimation(this.mei);
        AppMethodBeat.o(824);
    }
}
