Searched refs:scrollBarSize (Results 1 – 2 of 2) sorted by relevance
94 Size scrollBarSize = scrollBar->GetLayoutSize(); in NotifyScrollableNode() local104 auto scrollBarDeltaSize = scrollBarSize - scrollBarChildSize; in NotifyScrollableNode()149 Size scrollBarSize = scrollBar->GetLayoutSize(); in NotifyScrollBar() local161 LessOrEqual((scrollBarSize - scrollBarChildSize).Height(), 0.0)) { in NotifyScrollBar()164 … auto positionY = scrollableChildPosition.GetY() * (scrollBarSize - scrollBarChildSize).Height() / in NotifyScrollBar()166 positionY = std::clamp(positionY, 0.0, (scrollBarSize - scrollBarChildSize).Height()); in NotifyScrollBar()170 LessOrEqual((scrollBarSize - scrollBarChildSize).Width(), 0.0)) { in NotifyScrollBar()173 … auto positionX = scrollableChildPosition.GetX() * (scrollBarSize - scrollBarChildSize).Width() / in NotifyScrollBar()175 positionX = std::clamp(positionX, 0.0, (scrollBarSize - scrollBarChildSize).Width()); in NotifyScrollBar()
372 auto scrollBarSize = scrollBar->GetGeometryNode()->GetFrameSize(); in IsInScrollBar() local373 …VerticalScrollBar = (locationInfo_.GetX() >= 0 && locationInfo_.GetX() <= scrollBarSize.Width()) && in IsInScrollBar()374 … (locationInfo_.GetY() >= 0 && locationInfo_.GetY() <= scrollBarSize.Height()); in IsInScrollBar()