3 implementations of IImageRendererController
Microsoft.Maui.Controls.Compatibility (3)
Android\AppCompat\ImageButtonRenderer.cs (1)
24
IImageRendererController
,
Android\FastRenderers\ImageRenderer.cs (1)
16
public class ImageRenderer : AImageView, IVisualElementRenderer,
IImageRendererController
, IViewRenderer, ITabStop,
Android\Renderers\FormsImageView.cs (1)
9
internal class FormsImageView : ImageView,
IImageRendererController
20 references to IImageRendererController
Microsoft.Maui.Controls.Compatibility (20)
Android\AppCompat\ImageButtonRenderer.cs (4)
49
bool IDisposedState.IsDisposed => ((
IImageRendererController
)this).IsDisposed;
61
void
IImageRendererController
.SkipInvalidate() => _skipInvalidate = true;
62
bool
IImageRendererController
.IsDisposed => _disposed || !Control.IsAlive();
345
void
IImageRendererController
.SetFormsAnimationDrawable(IFormsAnimationDrawable value)
Android\Extensions\ImageViewExtensions.cs (1)
38
(imageView as
IImageRendererController
)?.SkipInvalidate();
Android\FastRenderers\ImageElementManager.cs (10)
41
if (renderer is
IImageRendererController
imageRenderer)
57
var
rendererController = renderer as
IImageRendererController
;
89
await TryUpdateBitmap(renderer as
IImageRendererController
, (ImageView)renderer.View, (IImageElement)renderer.Element).ConfigureAwait(false);
94
UpdateAspect(renderer as
IImageRendererController
, (ImageView)renderer.View, (IImageElement)renderer.Element);
105
IImageRendererController
imageRendererController = renderer as
IImageRendererController
;
126
async static Task TryUpdateBitmap(
IImageRendererController
rendererController, ImageView Control, IImageElement newImage, IImageElement previous = null)
149
Application.Current?.FindMauiContext()?.CreateLogger<
IImageRendererController
>()?.LogWarning(ex, "Error loading image");
175
static void UpdateAspect(
IImageRendererController
rendererController, ImageView Control, IImageElement newImage, IImageElement previous = null)
Android\FastRenderers\ImageRenderer.cs (3)
29
bool
IImageRendererController
.IsDisposed => _disposed || !Control.IsAlive();
186
void
IImageRendererController
.SkipInvalidate() => _skipInvalidate = true;
187
void
IImageRendererController
.SetFormsAnimationDrawable(IFormsAnimationDrawable value)
Android\Renderers\FormsImageView.cs (2)
37
void
IImageRendererController
.SetFormsAnimationDrawable(IFormsAnimationDrawable formsAnimationDrawable)
42
bool
IImageRendererController
.IsDisposed => false || !this.IsAlive();