Home
last modified time | relevance | path

Searched refs:GetMaxMainHeight (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.cpp48 auto mainHeight = GetMaxMainHeight(); in UpdateStartIndex()
88 float WaterFlowLayoutInfo::GetMaxMainHeight() const in GetMaxMainHeight() function in OHOS::Ace::NG::WaterFlowLayoutInfo
116 return NearZero(maxHeight_) ? GetMaxMainHeight() : maxHeight_; in GetContentHeight()
432 maxHeight_ = GetMaxMainHeight(); in Sync()
591 res = mainSize - (GetMaxMainHeight() + currentOffset_ - delta); in CalcOverScroll()
614 auto estimateHeight = GetMaxMainHeight() / childCount * childrenCount_; in EstimateContentHeight()
H A Dwater_flow_layout_algorithm.cpp134 mainSize_ = layoutInfo_->GetMaxMainHeight() + footerMainSize_; in Measure()
298 auto mainOffset = layoutInfo_->GetMaxMainHeight() + layoutInfo_->currentOffset_; in LayoutFooter()
399 auto maxItemHeight = layoutInfo_->GetMaxMainHeight(); in ModifyCurrentOffsetWhenReachEnd()
H A Dwater_flow_layout_info.h62 float GetMaxMainHeight() const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_top_down_test.cpp122 float maxMainHeight = info->GetMaxMainHeight();
127 EXPECT_EQ(info->GetMaxMainHeight(), maxMainHeight + 1.0f);
517 …EXPECT_EQ(info->EstimateContentHeight(), info->GetMaxMainHeight() / childCount * info->childrenCou…