1 write to _hScrollView
Microsoft.Maui.Controls.Compatibility (1)
Android\Renderers\ScrollViewRenderer.cs (1)
487
_hScrollView
= new AHorizontalScrollView(Context, this);
25 references to _hScrollView
Microsoft.Maui.Controls.Compatibility (25)
Android\Renderers\ScrollViewRenderer.cs (25)
128
if (_prevLayoutDirection != flowDirection &&
_hScrollView
!= null)
131
_hScrollView
.LayoutDirection = flowDirection;
270
if (_view.Content != null &&
_hScrollView
!= null)
271
_hScrollView
.Layout(0, 0, right - left, Math.Max(bottom - top, (int)Context.ToPixels(_view.Content.Height)));
276
if (!_checkedForRtlScroll &&
_hScrollView
!= null && Element is IVisualElementController controller && controller.EffectiveFlowDirection.IsRightToLeft())
278
Post(() => UpdateScrollPosition(
_hScrollView
.ScrollX, ScrollY));
301
x = context.FromPixels(
_hScrollView
.ScrollX);
396
int currentX = _view.Orientation == ScrollOrientation.Horizontal || _view.Orientation == ScrollOrientation.Both ?
_hScrollView
.ScrollX : ScrollX;
397
int currentY = _view.Orientation == ScrollOrientation.Vertical || _view.Orientation == ScrollOrientation.Both ? ScrollY :
_hScrollView
.ScrollY;
426
_hScrollView
.ScrollTo(distX, distY);
432
_hScrollView
.ScrollTo(distX, distY);
451
_hScrollView
.ScrollTo(x, y);
457
_hScrollView
.ScrollTo(x, y);
485
if (
_hScrollView
== null)
488
_hScrollView
.HorizontalFadingEdgeEnabled = HorizontalFadingEdgeEnabled;
489
_hScrollView
.SetFadingEdgeLength(HorizontalFadingEdgeLength);
493
((AHorizontalScrollView)
_hScrollView
).IsBidirectional = _isBidirectional = _view.Orientation == ScrollOrientation.Both;
495
if (
_hScrollView
.Parent != this)
498
_hScrollView
.AddView(_container);
499
AddView(
_hScrollView
);
507
if (
_hScrollView
!= null)
508
_hScrollView
.RemoveFromParent();
516
if (
_hScrollView
!= null)
520
_defaultHorizontalScrollVisibility =
_hScrollView
.HorizontalScrollBarEnabled ? ScrollBarVisibility.Always : ScrollBarVisibility.Never;
530
_hScrollView
.HorizontalScrollBarEnabled = newHorizontalScrollVisiblility == ScrollBarVisibility.Always;