package com.tencent.mm.pluginsdk.ui.preference;

import android.text.Editable;
import android.text.TextWatcher;
import android.widget.TextView;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.pluginsdk.ui.preference.a.1;
import com.tencent.mm.ui.tools.f;

class a$1$1 implements TextWatcher {
    final /* synthetic */ TextView vqp;
    final /* synthetic */ 1 vqq;

    a$1$1(1 1, TextView textView) {
        this.vqq = 1;
        this.vqp = textView;
    }

    public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
    }

    public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
    }

    public final void afterTextChanged(Editable editable) {
        AppMethodBeat.i(28025);
        int bP = f.bP(100, editable.toString());
        if (this.vqp != null) {
            this.vqp.setText(String.valueOf(bP));
        }
        AppMethodBeat.o(28025);
    }
}
