package com.tencent.mm.plugin.brandservice.ui.timeline.video.a;

import a.f.b.j;
import a.l;
import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.brandservice.ui.timeline.video.a.f.a;
import com.tencent.mm.sdk.platformtools.al;
import com.tencent.mm.ui.tools.e.b;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u0013\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H\u0016J\b\u0010\u0004\u001a\u00020\u0003H\u0016¨\u0006\u0005"}, dWq = {"com/tencent/mm/plugin/brandservice/ui/timeline/video/util/MPVideoImageAnimationHelper$handleAnimation$1$onPreDraw$1", "Lcom/tencent/mm/ui/tools/ImagePreviewAnimation$ICallback;", "onAnimationEnd", "", "onAnimationStart", "plugin-brandservice_release"})
public final class f$a$a implements b {
    final /* synthetic */ a jYL;

    f$a$a(a aVar) {
        this.jYL = aVar;
    }

    public final void onAnimationStart() {
    }

    public final void onAnimationEnd() {
        AppMethodBeat.i(15331);
        View findViewById = f.a(this.jYL.jYJ).findViewById(2131821891);
        j.o(findViewById, "animationView.findViewBy…View>(R.id.video_loading)");
        findViewById.setVisibility(0);
        al.n((Runnable) new a(this), 150);
        findViewById = this.jYL.jYJ.jYG;
        if (findViewById != null) {
            findViewById.setVisibility(8);
        }
        if (this.jYL.jYK != null) {
            this.jYL.jYK.onAnimationEnd();
        }
        AppMethodBeat.o(15331);
    }
}
