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; }
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); }
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); }
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); }
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); }
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; } }
/// <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(); } }
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; }
private void anim_AnimationEndDown(object sender, Animation.AnimationEndEventArgs e) { mIsAnimating = false; }
void Animation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e) { relSingup.Alpha = 0.0f; setItemLogin(); //setItemsContentRegister(); }
private void LvProduct_AnimationEnd(object sender, Animation.AnimationEndEventArgs e) { }
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); }
private void fadeIn_AnimationEnd(object sender, Animation.AnimationEndEventArgs e) { //Task startupWork = new Task(() => { SimulateStartup(); }); //startupWork.Start(); Finish(); }
private void SlideIn_AnimationEnd(object sender, Animation.AnimationEndEventArgs e) { Finish(); }
void InAnimationEnd(object sender, Animation.AnimationEndEventArgs e) { e.Animation.AnimationEnd -= InAnimationEnd; e.Animation.Dispose(); }
private void Animation_AnimationEnd(object sender, Animation.AnimationEndEventArgs e) { login_layout.Visibility = ViewStates.Visible; footer_layout.Visibility = ViewStates.Visible; }
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(); }
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); }