package com.tencent.mm.plugin.appbrand.widget.input;

import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.page.aj;

class k$2 implements Runnable {
    final /* synthetic */ k jeD;

    k$2(k kVar) {
        this.jeD = kVar;
    }

    public final void run() {
        AppMethodBeat.i(123653);
        if (k.a(this.jeD).isRunning()) {
            View b = k.b(this.jeD);
            if (b != null) {
                b.scrollTo(0, 0);
                if (k.c(this.jeD) != 0) {
                    aj aJz = k.a(this.jeD).aJz();
                    if (aJz != null) {
                        b = aJz.getContentView();
                        if (b != null) {
                            b.scrollBy(b.getScrollX(), -k.c(this.jeD));
                        }
                    }
                }
                k.d(this.jeD);
            }
            AppMethodBeat.o(123653);
            return;
        }
        AppMethodBeat.o(123653);
    }
}
