示例#1
0
        private void CompanionAnimationEnd(object sender, Animation.AnimationEndEventArgs args)
        {
            ToggleButtons(true);

            companionButtons.Select(c => c.Animation).ClearAnimationEndListeners(CompanionAnimationEnd);
            enemyButtons.Select(c => c.Animation).ClearAnimationEndListeners(CompanionAnimationEnd);
        }
 private void AnimationSet_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     _parentActivity.Views.Remove(_lastView);
     //_parentActivity.RelativeLayout.RemoveView(_lastView);
     _lastView.Dispose();
     _parentActivity.SelectedViewIndex = -1;
 }
示例#3
0
        private void WelcomeTextAnimationEvent(object sender, Animation.AnimationEndEventArgs e)
        {
            //  Detach event not to be reproduced in the next animation
            animationFadeIn.AnimationEnd -= WelcomeTextAnimationEvent;

            //  Wait to reproduce the next animation
            System.Threading.Thread.Sleep(500);

            //  Clear animation
            animationFadeIn.Cancel();

            //  Detach animation to welcome text
            welcomeTvw.Animation = null;

            //  Apply animation to the button
            animationFadeIn.Duration = 800;
            continueBtn.Visibility   = ViewStates.Visible;
            continueBtn.Animation    = animationFadeIn;
            continueBtn.Animation.StartNow();

            //  Apply event to the button
            continueBtn.Click += delegate
            {
                StartActivity(typeof(LoginActivity));
            };
        }
        private void Sa_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            System.Threading.Thread.Sleep(Config.Profile.Delay);
            var sa = AnimationUtils.LoadAnimation(this.Context, Resource.Animation.translate);

            vistor.StartAnimation(sa);
        }
示例#5
0
文件: Produto.cs 项目: Atom-Tech/SGEA
        private void A_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            var       l = FindViewById <LinearLayout>(Resource.Id.root);
            Animation a = AnimationUtils.LoadAnimation(ApplicationContext,
                                                       Resource.Animation.leftToCenter);

            l.StartAnimation(a);
        }
示例#6
0
        private void anim_AnimationEndUp(object sender, Animation.AnimationEndEventArgs e)
        {
            mIsAnimating = false;
            mSearch.ClearFocus();
            InputMethodManager inputManager = (InputMethodManager)this.GetSystemService(Context.InputMethodService);

            inputManager.HideSoftInputFromWindow(this.CurrentFocus.WindowToken, HideSoftInputFlags.NotAlways);
        }
示例#7
0
        private void Animation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            mLinearLayout.Visibility = ViewStates.Visible;
            mFooterLayout.Visibility = ViewStates.Visible;

            editor.PutString("petSketch_username", "test_user");
            editor.PutString("petSketch_pwd", "test_pwd");
            editor.Apply();
        }
        private void MyAnimation_AnimationEndUp(object sender, Animation.AnimationEndEventArgs e)
        {
            isAnimating = false;
            mSearch.ClearFocus();
            //hide keyboard
            InputMethodManager inputManager = (InputMethodManager)GetSystemService(InputMethodService);

            inputManager.HideSoftInputFromWindow(CurrentFocus.WindowToken, HideSoftInputFlags.NotAlways);
        }
示例#9
0
        private void Sa_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            Thread.Sleep(Config.Profile.Delay * 10);

            this.RunOnUiThread(new Action(() =>
            {
                var sa = AnimationUtils.LoadAnimation(this, Resource.Animation.translate);
                vistor.StartAnimation(sa);
            }));
        }
 private void DisappearAnimation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     if (bt1.Visibility == ViewStates.Visible)
     {
         bt1.Visibility = ViewStates.Invisible;
     }
     else
     {
         bt1.Visibility = ViewStates.Visible;
     }
 }
示例#11
0
        /// <summary>
        /// Handles the AnimationEnd event of the fadeAnimation control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="Animation.AnimationEndEventArgs"/> instance containing the event data.</param>
        private void fadeAnimation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            lock (this)
            {
                if (!IsRunning)
                {
                    return;
                }

                Stopped();
            }
        }
示例#12
0
        void OutAnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            e.Animation.AnimationEnd -= OutAnimationEnd;
            e.Animation.Dispose();
            innerView.Visibility = ViewStates.Gone;

            var wm = Context.GetSystemService(Context.WindowService).JavaCast <IWindowManager>();

            wm.RemoveView(this);

            isShowing = false;
        }
示例#13
0
 private void anim_AnimationEndDown(object sender, Animation.AnimationEndEventArgs e)
 {
     mIsAnimating = false;
 }
示例#14
0
 void Animation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     relSingup.Alpha = 0.0f;
     setItemLogin();
     //setItemsContentRegister();
 }
示例#15
0
 private void LvProduct_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
 }
示例#16
0
 void Anim_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     bSignUp.Visibility = ViewStates.Gone;
     llInfo.Visibility  = ViewStates.Visible;
     ThreadPool.QueueUserWorkItem(o => SlowMethod());
 }
        private void Fadeoutanimation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
        {
            var fadeinanimation = AnimationUtils.LoadAnimation(Application.Context, Resource.Animation.abc_fade_in);

            Window.DecorView.StartAnimation(fadeinanimation);
        }
示例#18
0
 private void fadeIn_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     //Task startupWork = new Task(() => { SimulateStartup(); });
     //startupWork.Start();
     Finish();
 }
示例#19
0
 private void SlideIn_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     Finish();
 }
示例#20
0
 void InAnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     e.Animation.AnimationEnd -= InAnimationEnd;
     e.Animation.Dispose();
 }
示例#21
0
 private void Animation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     login_layout.Visibility  = ViewStates.Visible;
     footer_layout.Visibility = ViewStates.Visible;
 }
示例#22
0
 private void Anim_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     _animation.AnimationEnd -= Anim_AnimationEnd;
     Visibility = ViewStates.Gone;
 }
 private void Rotate_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     Finish();
     StartActivity(typeof(MainActivity));
 }
 void Anim_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     StopAnimation();
 }
示例#25
0
 private void Ani_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine("Animation end");
 }
 private void Rotate_AnimationEnd(object sender, Animation.AnimationEndEventArgs e)
 {
     StartActivity(typeof(MainActivity));
     Finish();
     //OverridePendingTransition(0, 0);
 }