4 writes to _context
Microsoft.Maui.Controls.Compatibility (4)
Android\VisualElementTracker.cs (4)
36
_context
= renderer.View.Context;
76
_context
= null;
221
_context
= null;
229
_context
= _renderer.View.Context;
16 references to _context
Microsoft.Maui.Controls.Compatibility (16)
Android\VisualElementTracker.cs (16)
89
var x = (int)
_context
.ToPixels(view.X + headlessOffset.X);
90
var y = (int)
_context
.ToPixels(view.Y + headlessOffset.Y);
91
var width = Math.Max(0, (int)
_context
.ToPixels(view.Width));
92
var height = Math.Max(0, (int)
_context
.ToPixels(view.Height));
268
var target = (float)(view.AnchorX *
_context
.ToPixels(view.Width));
280
var target = (float)(view.AnchorY *
_context
.ToPixels(view.Height));
336
formsViewGroup.SendBatchUpdate((float)(view.AnchorX *
_context
.ToPixels(view.Width)),
337
(float)(view.AnchorY *
_context
.ToPixels(view.Height)),
346
_context
.ToPixels(view.TranslationX),
347
_context
.ToPixels(view.TranslationY));
352
(float)(view.AnchorX *
_context
.ToPixels(view.Width)),
353
(float)(view.AnchorY *
_context
.ToPixels(view.Height)),
362
_context
.ToPixels(view.TranslationX),
363
_context
.ToPixels(view.TranslationY));
430
aview.TranslationX =
_context
.ToPixels(view.TranslationX);
439
aview.TranslationY =
_context
.ToPixels(view.TranslationY);