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

import a.f.b.j;
import a.f.b.k;
import a.l;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import android.view.animation.AnimationUtils;
import com.tencent.matrix.trace.core.AppMethodBeat;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0000\u001a\n \u0002*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0002\b\u0003"}, dWq = {"<anonymous>", "Landroid/view/animation/Animation;", "kotlin.jvm.PlatformType", "invoke"})
final class RadarStateView$b extends k implements a.f.a.a<Animation> {
    final /* synthetic */ RadarStateView pDg;

    @l(dWo = {1, 1, 13}, dWp = {"\u0000!\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\b\u0003\n\u0002\b\u0003*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0016J\u0010\u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0016J\u0010\u0010\u0007\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0016¨\u0006\b¸\u0006\u0000"}, dWq = {"com/tencent/mm/plugin/radar/ui/RadarStateView$slideInAnim$2$1$1", "Landroid/view/animation/Animation$AnimationListener;", "onAnimationEnd", "", "animation", "Landroid/view/animation/Animation;", "onAnimationRepeat", "onAnimationStart", "plugin-radar_release"})
    public static final class a implements AnimationListener {
        final /* synthetic */ RadarStateView$b pDh;

        a(RadarStateView$b radarStateView$b) {
            this.pDh = radarStateView$b;
        }

        public final void onAnimationStart(Animation animation) {
            AppMethodBeat.i(103033);
            j.p(animation, "animation");
            AppMethodBeat.o(103033);
        }

        public final void onAnimationEnd(Animation animation) {
            AppMethodBeat.i(103034);
            j.p(animation, "animation");
            RadarStateView.b(this.pDh.pDg);
            this.pDh.pDg.setVisibility(8);
            AppMethodBeat.o(103034);
        }

        public final void onAnimationRepeat(Animation animation) {
            AppMethodBeat.i(103035);
            j.p(animation, "animation");
            AppMethodBeat.o(103035);
        }
    }

    RadarStateView$b(RadarStateView radarStateView) {
        this.pDg = radarStateView;
        super(0);
    }

    public final /* synthetic */ Object invoke() {
        AppMethodBeat.i(103036);
        Animation loadAnimation = AnimationUtils.loadAnimation(this.pDg.getContext(), 2131034234);
        loadAnimation.setAnimationListener(new a(this));
        AppMethodBeat.o(103036);
        return loadAnimation;
    }
}
