Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.cpp506 bool GridLayoutInfo::GetLineIndexByIndex(int32_t targetIndex, int32_t& targetLineIndex) const in GetLineIndexByIndex()
511 targetLineIndex = lineIndex; in GetLineIndexByIndex()
520 float GridLayoutInfo::GetTotalHeightFromZeroIndex(int32_t targetLineIndex, float mainGap) const in GetTotalHeightFromZeroIndex() argument
524 if (targetLineIndex > lineIndex) { in GetTotalHeightFromZeroIndex()
595 int32_t targetLineIndex = -1; in GetGridItemAnimatePos() local
598 CHECK_NULL_RETURN(GetLineIndexByIndex(targetIndex, targetLineIndex), false); in GetGridItemAnimatePos()
601 targetPos = GetTotalHeightFromZeroIndex(targetLineIndex, mainGap); in GetGridItemAnimatePos()
604 auto targetItem = lineHeightMap_.find(targetLineIndex); in GetGridItemAnimatePos()
640 if ((startMainLineIndex == targetLineIndex) && (endMainLineIndex == targetLineIndex)) { in GetGridItemAnimatePos()
645 if (startMainLineIndex >= targetLineIndex) { in GetGridItemAnimatePos()
[all …]
H A Dgrid_layout_info.h313 bool GetLineIndexByIndex(int32_t targetIndex, int32_t& targetLineIndex) const;
314 float GetTotalHeightFromZeroIndex(int32_t targetLineIndex, float mainGap) const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp2139 int32_t targetLineIndex = 0; in SupplyAllData2ZeroIndex() local
2142 … while (!(LessNotEqual(lineHeight, 0.0) || IsIndexInMatrix(targetIndex.value(), targetLineIndex))); in SupplyAllData2ZeroIndex()