Home
last modified time | relevance | path

Searched refs:childLayoutSize (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list_item.cpp157 Size childLayoutSize; in PerformLayout() local
175 childLayoutSize = child_->GetLayoutSize(); in PerformLayout()
178 double width = childLayoutSize.Width() + buttonLayoutSize.Width(); in PerformLayout()
179 double height = std::max(childLayoutSize.Height(), buttonLayoutSize.Height()); in PerformLayout()
182 child_->SetPosition(Offset(0.0, (height - childLayoutSize.Height()) / 2.0)); in PerformLayout()
186 … button_->SetPosition(Offset(childLayoutSize.Width(), (height - buttonLayoutSize.Height()) / 2.0)); in PerformLayout()
H A Drender_list.cpp970 const auto& childLayoutSize = child->GetLayoutSize(); in SetItemsPosition() local
971 double childMainSize = GetMainSize(childLayoutSize); in SetItemsPosition()
999 auto offsetCross = CalculateLaneCrossOffset(crossSize, GetCrossSize(childLayoutSize)); in SetItemsPosition()
1013 … GetMainAxis(offset), crossSize - GetCrossSize(childLayoutSize) - GetCrossAxis(offset)); in SetItemsPosition()
1016 … mainSize - GetMainSize(childLayoutSize) - GetMainAxis(offset), GetCrossAxis(offset)); in SetItemsPosition()
1034 crossSize = std::max(crossSize, GetCrossSize(childLayoutSize)); in SetItemsPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_layout_manager.cpp431 double childLayoutSize = renderList_.GetMainSize(itemChild->GetLayoutSize()); in PerformLayout() local
432 curMainSize += childLayoutSize; in PerformLayout()
433 curAnimateMainSize += childLayoutSize; in PerformLayout()