1 implementation of IAnimationManager
Microsoft.Maui (1)
Animations\AnimationManager.cs (1)
7
public class AnimationManager :
IAnimationManager
, IDisposable
23 references to IAnimationManager
Microsoft.Maui (10)
Animations\Animation.cs (7)
176
/// A reference to the <see cref="
IAnimationManager
"/> that manages this animation.
178
public
IAnimationManager
? AnimationManager => animationManger;
181
/// A reference to the <see cref="
IAnimationManager
"/> that manages this animation.
183
protected
IAnimationManager
? animationManger;
249
/// Sets the <see cref="
IAnimationManager
"/> for this animation.
251
/// <param name="animationManger">Reference to the <see cref="
IAnimationManager
"/> that will manage this animation.</param>
252
public void Commit(
IAnimationManager
animationManger)
Hosting\Animations\AppHostBuilderExtensions.cs (1)
21
builder.Services.TryAddScoped<
IAnimationManager
>(svcs => new AnimationManager(svcs.GetRequiredService<ITicker>()));
MauiContextExtensions.cs (2)
29
public static
IAnimationManager
GetAnimationManager(this IMauiContext mauiContext) =>
30
mauiContext.Services.GetRequiredService<
IAnimationManager
>();
Microsoft.Maui.Controls (13)
AnimationExtensions.cs (8)
65
public static int Add(this
IAnimationManager
animationManager, Action<double> step)
85
public static int Insert(this
IAnimationManager
animationManager, Func<long, bool> step)
106
public static void Remove(this
IAnimationManager
animationManager, int tickerId)
172
Action<T, bool> finished = null, Func<bool> repeat = null,
IAnimationManager
animationManager = null)
191
public static void AnimateKinetic(this IAnimatable self, string name, Func<double, double, bool> callback, double velocity, double drag, Action finished = null,
IAnimationManager
animationManager = null)
255
static void AnimateInternal<T>(IAnimatable self,
IAnimationManager
animationManager, string name, Func<double, T> transform, Action<T> callback,
286
static void AnimateKineticInternal(IAnimatable self,
IAnimationManager
animationManager, string name, Func<double, double, bool> callback, double velocity, double drag, Action finished = null)
396
public
IAnimationManager
AnimationManager { get; set; }
Tweener.cs (3)
68
readonly
IAnimationManager
_animationManager;
73
public Tweener(uint length,
IAnimationManager
animationManager)
81
public Tweener(uint length, uint rate,
IAnimationManager
animationManager)
ViewExtensions.cs (2)
290
internal static
IAnimationManager
GetAnimationManager(this IAnimatable animatable)
301
throw new ArgumentException($"Unable to find {nameof(
IAnimationManager
)} for '{animatable.GetType().FullName}'.", nameof(animatable));