3 writes to _currentBitmap
Microsoft.Maui.Controls.Compatibility (3)
Android\Renderers\AndroidGIFImageParser.cs (3)
337
_currentBitmap
= Bitmap.CreateBitmap(header.Width, header.Height, Bitmap.Config.Argb8888);
375
_currentBitmap
= null;
393
_currentBitmap
= null;
13 references to _currentBitmap
Microsoft.Maui.Controls.Compatibility (13)
Android\Renderers\AndroidGIFImageParser.cs (13)
325
System.Diagnostics.Debug.Assert(
_currentBitmap
== null);
336
if (
_currentBitmap
== null)
339
System.Diagnostics.Debug.Assert(
_currentBitmap
.Width == header.Width);
340
System.Diagnostics.Debug.Assert(
_currentBitmap
.Height == header.Height);
342
_currentBitmap
.SetPixels(gifBitmap.Data, 0, header.Width, 0, 0, header.Width, header.Height);
348
bitmap = Bitmap.CreateScaledBitmap(
_currentBitmap
, scaledWidth, scaledHeight, true);
350
System.Diagnostics.Debug.Assert(!
_currentBitmap
.Equals(bitmap));
371
if (
_currentBitmap
!= null)
373
_currentBitmap
.Recycle();
374
_currentBitmap
.Dispose();
389
if (
_currentBitmap
!= null)
391
_currentBitmap
.Recycle();
392
_currentBitmap
.Dispose();