1 instantiation of FormsAnimationDrawable
Microsoft.Maui.Controls.Compatibility (1)
Android\Renderers\AndroidGIFImageParser.cs (1)
311 Animation = new FormsAnimationDrawable();
19 references to FormsAnimationDrawable
Microsoft.Maui.Controls.Compatibility (19)
Android\Extensions\ImageViewExtensions.cs (2)
108 if (formsAnimation is FormsAnimationDrawable animation) 143 if (imageView.Drawable is FormsAnimationDrawable animation)
Android\FastRenderers\ImageElementManager.cs (4)
113 if (!(view.Drawable is FormsAnimationDrawable) && imageElement.IsAnimationPlaying) 116 if (view.Drawable is FormsAnimationDrawable animation) 133 if (Control.Drawable is FormsAnimationDrawable currentAnimation) 160 if (Control.Drawable is FormsAnimationDrawable updatedAnimation)
Android\Renderers\AndroidGIFImageParser.cs (10)
138 FormsAnimationDrawable animation = null; 182 FormsAnimationDrawable animation = null; 213 FormsAnimationDrawable animation = null; 253 internal static async Task<FormsAnimationDrawable> GetFormsAnimationDrawableFromResource(int resourceId, Context context, BitmapFactory.Options options) 255 FormsAnimationDrawable animation = null; 263 internal static async Task<FormsAnimationDrawable> GetFormsAnimationDrawableFromFile(string file, Context context, BitmapFactory.Options options) 265 FormsAnimationDrawable animation = null; 273 internal static async Task<FormsAnimationDrawable> GetFormsAnimationDrawableFromStream(Stream stream, Context context, BitmapFactory.Options options) 275 FormsAnimationDrawable animation = null; 319 public FormsAnimationDrawable Animation { get; private set; }
Android\Renderers\FileImageSourceHandler.cs (1)
65 return FormsAnimationDrawable.LoadImageAnimationAsync(imagesource, context, cancelationToken);
Android\Renderers\ImageLoaderSourceHandler.cs (1)
36 return FormsAnimationDrawable.LoadImageAnimationAsync(imagesource, context, cancelationToken);
Android\Renderers\StreamImagesourceHandler.cs (1)
33 return FormsAnimationDrawable.LoadImageAnimationAsync(imagesource, context, cancelationToken);