Home
last modified time | relevance | path

Searched refs:estimateHeight (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_scroll_controller.cpp45 double estimateHeight = waterFlow->GetEstimatedHeight(); in UpdateScrollPosition() local
46 if (NearZero(estimateHeight)) { in UpdateScrollPosition()
49 double activeHeight = height * height / estimateHeight; in UpdateScrollPosition()
54 double value = offset * estimateHeight / height; in UpdateScrollPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_scroll_bar_controller.cpp46 double estimateHeight = list->GetEstimatedHeight(); in UpdateScrollPosition() local
47 if (NearZero(estimateHeight) || NearZero(height)) { in UpdateScrollPosition()
50 double activeHeight = height * height / estimateHeight; in UpdateScrollPosition()
52 double value = offset * estimateHeight / height; in UpdateScrollPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Dgrid_scroll_controller.cpp46 double estimateHeight = grid->GetEstimatedHeight(); in UpdateScrollPosition() local
47 double activeHeight = height * height / estimateHeight; in UpdateScrollPosition()
49 double value = offset * estimateHeight / height; in UpdateScrollPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_pattern.h210 float GetEstimateHeight(float estimateHeight, Axis axis) const;
H A Dlist_item_pattern.cpp1139 float ListItemPattern::GetEstimateHeight(float estimateHeight, Axis axis) const in GetEstimateHeight() argument
1148 return estimateHeight; in GetEstimateHeight()
1151 CHECK_NULL_RETURN(host, estimateHeight); in GetEstimateHeight()
1153 CHECK_NULL_RETURN(geometryNode, estimateHeight); in GetEstimateHeight()
H A Dlist_item_group_pattern.cpp200 float estimateHeight = GetEstimateHeight(averageHeight); in GetEstimateOffset() local
202 return height + estimateHeight - targetPos.second; in GetEstimateOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.cpp614 auto estimateHeight = GetMaxMainHeight() / childCount * childrenCount_; in EstimateContentHeight() local
615 return estimateHeight; in EstimateContentHeight()