package com.tencent.mm.plugin.luckymoney.ui;

import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ak;

class LuckyMoneyPrepareUI$34 implements OnFocusChangeListener {
    final /* synthetic */ boolean gnT = false;
    final /* synthetic */ EditText gnV;
    final /* synthetic */ int gnX;
    final /* synthetic */ LuckyMoneyPrepareUI ohI;
    boolean ohP;

    LuckyMoneyPrepareUI$34(LuckyMoneyPrepareUI luckyMoneyPrepareUI, int i, EditText editText) {
        this.ohI = luckyMoneyPrepareUI;
        this.gnX = i;
        this.gnV = editText;
        this.ohP = true;
    }

    public final void onFocusChange(View view, boolean z) {
        AppMethodBeat.i(42983);
        if (!view.isFocused() || this.gnT) {
            new ak().postDelayed(new 2(this), 200);
            AppMethodBeat.o(42983);
            return;
        }
        ((InputMethodManager) this.ohI.mController.ylL.getSystemService("input_method")).hideSoftInputFromWindow(view.getWindowToken(), 0);
        new ak().postDelayed(new 1(this, view), 300);
        AppMethodBeat.o(42983);
    }
}
