public void ShowPopup() { popupAnimation.Stop(); popupAnimation.Clear(); optionButton.Hide(); contentBlurView.Activate(); popupAnimation.Duration = 200; AlphaFunction timeCurve = new AlphaFunction(new Vector2(0.45f, 0.03f), new Vector2(0.41f, 1.0f)); popupAnimation.AnimateTo(message, "scale", new Vector3(0.8f, 0.8f, 1.0f), 0, 200, timeCurve); popupAnimation.Play(); menuPopup.Show(); }
public void GaussianBlurViewActivate() { tlog.Debug(tag, $"GaussianBlurViewActivate START"); var testingTarget = new GaussianBlurView(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <GaussianBlurView>(testingTarget, "Should be an Instance of GaussianBlurView!"); try { testingTarget.Activate(); testingTarget.Deactivate(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"GaussianBlurViewActivate END (OK)"); }