Home
last modified time | relevance | path

Searched refs:childrenRect (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_scroll_view.cpp262 Rect childrenRect = GetAllChildRelativeRect(); in RefreshScrollBar() local
264 …int16_t totalLen = childrenRect.GetHeight() + 2 * scrollBlankSize_; // 2: two blank space on both … in RefreshScrollBar()
269 …yScrollBar_->SetScrollProgress(static_cast<float>(scrollBlankSize_ - childrenRect.GetTop()) / (tot… in RefreshScrollBar()
273 … totalLen = childrenRect.GetWidth() + 2 * scrollBlankSize_; // 2: two blank space on both sizes in RefreshScrollBar()
276 … xScrollBar_->SetScrollProgress(static_cast<float>(scrollBlankSize_ - childrenRect.GetLeft()) / in RefreshScrollBar()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/container_modal/
H A Dcontainer_modal_test_ng.cpp630 auto childrenRect = firstButtonRect.CombineRectT(lastButtonRect); variable
631 childrenRect.SetLeft(childrenRect.GetX() - TITLE_PADDING_START.ConvertToPx());
632 childrenRect.SetTop(0);
633 childrenRect.SetHeight(pattern_->titleHeight_.ConvertToPx());
634childrenRect.SetWidth(childrenRect.Width() + (TITLE_PADDING_START + TITLE_PADDING_END).ConvertToPx…
635 EXPECT_EQ(buttonsRect, childrenRect);