public void Cancel()
        {
            ReleaseDisplayLink();

            IsRunning = false;
            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Esempio n. 2
0
        public void Cancel()
        {
            _valueAnimator?.Cancel();
            _coreAnimation?.Cancel();
            AnimationCancel?.Invoke(this, EventArgs.Empty);

            ReleaseCoreAnimation();
        }
        public void Cancel()
        {
            IsRunning = false;

            _scheduledFrame.Disposable = null;
            _watch.Reset();

            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Esempio n. 4
0
        /// <inheritdoc />
        public void Cancel()
        {
            CheckDisposed();

            IsRunning = false;
            _elapsed.Stop();
            DisableFrameReporting();

            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Esempio n. 5
0
        /// <inheritdoc />
        public void Cancel()
        {
            if (_isDisposed)
            {
                return;
            }

            IsRunning = false;
            _elapsed.Stop();
            DisableFrameReporting();

            AnimationCancel?.Invoke(this, EventArgs.Empty);
        }
Esempio n. 6
0
 public void OnAnimationCancel(Animator animation)
 {
     AnimationCancel?.Invoke(Context, new AnimatorEventArgs(animation));
 }
Esempio n. 7
0
 /// <summary>
 /// Cancel this instance.
 /// </summary>
 public void Cancel()
 {
     AnimationCancel?.Invoke(this, EventArgs.Empty);
 }