1 type derived from Animation
Microsoft.Maui.Controls (1)
Tweener.cs (1)
33
internal class TweenerAnimation :
Animation
6 instantiations of Animation
Microsoft.Maui.Controls (6)
Animation.cs (1)
153
var child = new
Animation
(callback, start, end, easing);
AnimationExtensions.cs (1)
68
var animation = new
Animation
ViewExtensions.cs (4)
56
new
Animation
(UpdateProperty, start, end, easing).Commit(view, name, 16, length, finished: (f, a) => tcs.SetResult(a));
281
new
Animation
283
{ 0, 1, new
Animation
(translateX, view.TranslationX, x, easing: easing) },
284
{ 0, 1, new
Animation
(translateY, view.TranslationY, y, easing: easing) }
26 references to Animation
Microsoft.Maui.Controls (26)
Animation.cs (19)
17
/// Creates a new <see cref="
Animation
" /> object with default values.
25
/// Creates a new <see cref = "
Animation
" /> object with the specified parameters.
40
/// Adds an <see cref="
Animation
"/> object to this <see cref="
Animation
"/> that begins at <paramref name="beginAt"/> and finishes at <paramref name="finishAt"/>.
45
public void Add(double beginAt, double finishAt,
Animation
animation)
77
/// Returns a callback that recursively runs the eased animation step on this <see cref="
Animation
" /> object and those of its children that have begun and not finished.
79
/// <returns>A callback that recursively runs the eased animation step on this <see cref="
Animation
" /> object and those of its children that have begun and not finished.</returns>
85
foreach (
Animation
animation in childrenAnimations)
117
/// Adds an <see cref="
Animation
" /> object to this <see cref="
Animation
" /> that begins at <paramref name="beginAt" /> and finishes at <paramref name="finishAt" />.
122
public
Animation
Insert(double beginAt, double finishAt,
Animation
animation)
129
/// Adds <paramref name="animation" /> to the children of this <see cref="
Animation
" /> object and sets the start and end times of <paramref name="animation" /> to <paramref name="beginAt" /> and <paramref name="finishAt" />, respectively.
134
public
Animation
WithConcurrent(
Animation
animation, double beginAt = 0.0f, double finishAt = 1.0f)
143
/// Creates a new <see cref="
Animation
" /> object with the specified <paramref name="callback" />, and adds it to the children of this <see cref="
Animation
" /> object.
151
public
Animation
WithConcurrent(Action<double> callback, double start = 0.0f, double end = 1.0f, Easing easing = null, double beginAt = 0.0f, double finishAt = 1.0f)
153
var
child = new Animation(callback, start, end, easing);
AnimationExtensions.cs (7)
46
static readonly ConcurrentDictionary<int,
Animation
> s_tweeners;
62
s_tweeners = new ConcurrentDictionary<int,
Animation
>();
68
var
animation = new Animation
88
Animation
animation = null;
108
if (s_tweeners.TryRemove(tickerId, out
Animation
animation))
136
public static void Animate(this IAnimatable self, string name,
Animation
animation, uint rate = 16, uint length = 250, Easing easing = null, Action<double, bool> finished = null,
246
if (s_tweeners.TryGetValue(ticker, out
Animation
animation))