예제 #1
0
 /// <summary>
 /// Called when the host application resumes.
 /// </summary>
 public void OnResume()
 {
     _suspended = false;
     if (!_renderingHandled)
     {
         EcoreCallbackHandle = EcoreAnimator.AddAnimator(DoFrameSafeFromEcore);
         _renderingHandled   = true;
     }
 }
예제 #2
0
 private void CreateAnimator()
 {
     if (animator == IntPtr.Zero)
     {
         animator = EcoreAnimator.AddAnimator(() =>
         {
             Evas.evas_object_image_pixels_dirty_set(evasImage, true);
             return(true);
         });
     }
 }
예제 #3
0
        /// <summary>
        /// Called when the host receives the resume event.
        /// </summary>
        public void OnResume()
        {
            Log.Info(ReactConstants.Tag, ">>>>>>>>> OnResume <<<<<<<<<<");
            //CompositionTarget.Rendering += _animatedFrameCallback;

            if (IntPtr.Zero == _anim)
            {
                _anim = EcoreAnimator.AddAnimator(OnEcoreRender);
            }

            // start watch
            sw = Stopwatch.StartNew();
        }
예제 #4
0
 private void List_ScrollAnimationStarted(object sender, EventArgs e)
 {
     _ecoreCount      = 0;
     _anim            = EcoreAnimator.AddAnimator(OnEcoreCheck);
     list.RenderPost += List_RenderPostFrame;
 }