package com.tencent.mm.plugin.webview.ui.tools.fts;

import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.view.View;
import android.view.ViewTreeObserver.OnPreDrawListener;
import android.view.animation.AccelerateInterpolator;
import com.tencent.matrix.trace.core.AppMethodBeat;

class FTSSOSHomeWebViewUI$9 implements OnPreDrawListener {
    final /* synthetic */ FTSSOSHomeWebViewUI uBG;

    FTSSOSHomeWebViewUI$9(FTSSOSHomeWebViewUI fTSSOSHomeWebViewUI) {
        this.uBG = fTSSOSHomeWebViewUI;
    }

    public final boolean onPreDraw() {
        AppMethodBeat.i(8437);
        FTSSOSHomeWebViewUI.C(this.uBG).getViewTreeObserver().removeOnPreDrawListener(this);
        ObjectAnimator ofFloat = ObjectAnimator.ofFloat(FTSSOSHomeWebViewUI.C(this.uBG), View.TRANSLATION_Y, new float[]{(float) (-FTSSOSHomeWebViewUI.C(this.uBG).getHeight()), 0.0f});
        ObjectAnimator ofFloat2 = ObjectAnimator.ofFloat(FTSSOSHomeWebViewUI.D(this.uBG), View.ALPHA, new float[]{0.0f, 1.0f});
        AnimatorSet animatorSet = new AnimatorSet();
        animatorSet.setInterpolator(new AccelerateInterpolator());
        animatorSet.setDuration(300);
        animatorSet.playTogether(new Animator[]{ofFloat2, ofFloat});
        animatorSet.start();
        AppMethodBeat.o(8437);
        return true;
    }
}
