Esempio n. 1
0
        public void HidePopup()
        {
            popupAnimation.Stop();
            popupAnimation.Clear();

            optionButton.Show();
            contentBlurView.Deactivate();

            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(1.0f, 1.0f, 1.0f), 0, 200, timeCurve);
            popupAnimation.Play();

            menuPopup.Hide();
        }
Esempio n. 2
0
        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)");
        }