protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 1, 0),
         ObjectAnimator.OfFloat(view, "translationY", 0, -view.Bottom)
         );
 }
Beispiel #2
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 0, 1),
         ObjectAnimator.OfFloat(view, "translationY", (float)view.Height / 4, 0)
         );
 }
Beispiel #3
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "translationX", -view.Width, 30, -10, 0),
         ObjectAnimator.OfFloat(view, "alpha", 0, 1, 1, 1)
         );
 }
Beispiel #4
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "scaleX", 1, 1.25f, 0.75f, 1.15f, 1),
         ObjectAnimator.OfFloat(view, "scaleY", 1, 0.75f, 1.25f, 0.85f, 1)
         );
 }
Beispiel #5
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "translationY", view.MeasuredHeight, -30, 10, 0),
         ObjectAnimator.OfFloat(view, "alpha", 0, 1, 1, 1)
         );
 }
Beispiel #6
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "rotationX", 90, -15, 15, 0),
         ObjectAnimator.OfFloat(view, "alpha", 0.25f, 0.5f, 0.75f, 1)
         );
 }
Beispiel #7
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 1, 0),
         ObjectAnimator.OfFloat(view, "rotation", 0, 200)
         );
 }
Beispiel #8
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "scaleX", 1, 0.9f, 0.9f, 1.1f, 1.1f, 1.1f, 1.1f, 1.1f, 1.1f, 1),
         ObjectAnimator.OfFloat(view, "scaleY", 1, 0.9f, 0.9f, 1.1f, 1.1f, 1.1f, 1.1f, 1.1f, 1.1f, 1),
         ObjectAnimator.OfFloat(view, "rotation", 0, -3, -3, 3, -3, 3, -3, 3, -3, 0)
         );
 }
Beispiel #9
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 0, 1, 1, 1),
         ObjectAnimator.OfFloat(view, "scaleX", 0.3f, 1.05f, 0.9f, 1),
         ObjectAnimator.OfFloat(view, "scaleY", 0.3f, 1.05f, 0.9f, 1)
         );
 }
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         Glider.Glide <QuintEaseOut>(Duration, ObjectAnimator.OfFloat(view, "scaleX", 1f, 1.5f)),
         Glider.Glide <QuintEaseOut>(Duration, ObjectAnimator.OfFloat(view, "scaleY", 1f, 1.5f)),
         Glider.Glide <QuintEaseOut>(Duration, ObjectAnimator.OfFloat(view, "alpha", 1, 0))
         );
 }
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 0, 1),
         ObjectAnimator.OfFloat(view, "translationX", -(view.Width - view.PaddingLeft - view.PaddingRight), 0),
         ObjectAnimator.OfFloat(view, "rotation", -120, 0)
         );
 }
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 1, 0),
         ObjectAnimator.OfFloat(view, "translationX", 0, view.Width),
         ObjectAnimator.OfFloat(view, "rotation", 0, 120)
         );
 }
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "scaleX", 0.1f, 0.475f, 1),
         ObjectAnimator.OfFloat(view, "scaleY", 0.1f, 0.475f, 1),
         ObjectAnimator.OfFloat(view, "translationY", -view.Bottom, 60, 0),
         ObjectAnimator.OfFloat(view, "alpha", 0, 1, 1)
         );
 }
Beispiel #14
0
        protected override void Prepare(UIView view)
        {
            int distance = view.Top + view.Height;

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "alpha", 0, 1),
                ObjectAnimator.OfFloat(view, "translationY", -distance, 0)
                );
        }
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "scaleX", 0.1f, 0.475f, 1),
         ObjectAnimator.OfFloat(view, "scaleY", 0.1f, 0.475f, 1),
         ObjectAnimator.OfFloat(view, "translationX", view.Width + view.PaddingRight, -48, 0),
         ObjectAnimator.OfFloat(view, "alpha", 0, 1, 1)
         );
 }
        protected override void Prepare(View view)
        {
            int distance = view.Top + view.Height;

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "alpha", 0, 1),
                Glider.Glide <BounceEaseIn>(Duration, ObjectAnimator.OfFloat(view, "translationY", -distance, 0))
                );
        }
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 1, 1, 0),
         ObjectAnimator.OfFloat(view, "scaleX", 1, 0.475f, 0.1f),
         ObjectAnimator.OfFloat(view, "scaleY", 1, 0.475f, 0.1f),
         ObjectAnimator.OfFloat(view, "translationX", 0, 42, -view.Right)
         );
 }
Beispiel #18
0
        protected override void Prepare(View view)
        {
            float width = view.Width;
            float one   = (float)(width / 100.0);

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "translationX", 0 * one, -25 * one, 20 * one, -15 * one, 10 * one, -5 * one, 0 * one, 0),
                ObjectAnimator.OfFloat(view, "rotation", 0, -5, 3, -3, 2, -1, 0)
                );
        }
        protected override void Prepare(View view)
        {
            ViewGroup parent   = (ViewGroup)view.Parent;
            int       distance = parent.Width - view.Left;

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "alpha", 1, 0),
                ObjectAnimator.OfFloat(view, "translationX", 0, distance)
                );
        }
        protected override void Prepare(View view)
        {
            ViewGroup parent   = (ViewGroup)view.Parent;
            int       distance = parent.Height - view.Top;

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "alpha", 0, 1),
                ObjectAnimator.OfFloat(view, "translationY", distance, 0)
                );
        }
Beispiel #21
0
        protected override void Prepare(View view)
        {
            float x = (view.Width - view.PaddingLeft - view.PaddingRight) / 2f
                      + view.PaddingLeft;
            float y = view.Height - view.PaddingBottom;

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "rotation", 12, -12, 3, -3, 0),
                ObjectAnimator.OfFloat(view, "pivotX", x, x, x, x, x),
                ObjectAnimator.OfFloat(view, "pivotY", y, y, y, y, y)
                );
        }
Beispiel #22
0
        protected override void Prepare(View view)
        {
            float x = view.Width - view.PaddingRight;
            float y = view.Height - view.PaddingBottom;

            AnimatorAgent.PlayTogether(
                ObjectAnimator.OfFloat(view, "rotation", -90, 0),
                ObjectAnimator.OfFloat(view, "alpha", 0, 1),
                ObjectAnimator.OfFloat(view, "pivotX", x, x),
                ObjectAnimator.OfFloat(view, "pivotY", y, y)
                );
        }
        protected override void Prepare(View view)
        {
            float x = view.PaddingLeft;
            float y = view.PaddingTop;

            AnimatorAgent.PlayTogether(
                Glider.Glide <SineEaseInOut>(1300, ObjectAnimator.OfFloat(view, "rotation", 0, 80, 60, 80, 60, 60)),
                ObjectAnimator.OfFloat(view, "translationY", 0, 0, 0, 0, 0, 700),
                ObjectAnimator.OfFloat(view, "alpha", 1, 1, 1, 1, 1, 0),
                ObjectAnimator.OfFloat(view, "pivotX", x, x, x, x, x, x),
                ObjectAnimator.OfFloat(view, "pivotY", y, y, y, y, y, y)
                );

            Duration = 1300;
        }
 public BaseViewAnimator PlayTogether(params ObjectAnimator[] items)
 {
     //animators = new List<ObjectAnimator>(items);
     AnimatorAgent.PlayTogether(items);
     return(this);
 }
Beispiel #25
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "translationX", 0, 25, -25, 25, -25, 15, -15, 6, -6, 0));
 }
Beispiel #26
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "translationY", 0, 0, -30, 0, -15, 0, 0)
         );
 }
Beispiel #27
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "rotation", 0, 10, -10, 6, -6, 3, -3, 0));
 }
Beispiel #28
0
 protected override void Prepare(View view)
 {
     AnimatorAgent.PlayTogether(
         ObjectAnimator.OfFloat(view, "alpha", 0, 1)
         );
 }