Home
last modified time | relevance | path

Searched refs:GetHeightInRange (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.h155 float GetHeightInRange(int32_t startLine, int32_t endLine, float mainGap) const;
180 return currentOffset_ + GetHeightInRange(startMainLineIndex_, line, mainGap); in GetItemTopPos()
193 …return currentOffset_ + GetHeightInRange(startMainLineIndex_, line + itemHeight, mainGap) - mainGa… in GetItemBottomPos()
H A Dgrid_layout_info.cpp393 float knownHeight = GetHeightInRange(lineHeightMap_.begin()->first, startMainLineIndex_, 0.0f); in GetIrregularOffset()
931 float GridLayoutInfo::GetHeightInRange(int32_t startLine, int32_t endLine, float mainGap) const in GetHeightInRange() function in OHOS::Ace::NG::GridLayoutInfo
958 float halfLen = (GetHeightInRange(startLine, startLine + lineCnt, mainGap) - mainGap) / 2.0f; in FindItemCenter()
H A Dgrid_pattern.cpp1617 return info.GetHeightInRange(0, info.startMainLineIndex_, mainGap); in GetEndOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_layout_range_solver.cpp55 float offset = -info_->GetHeightInRange(startRow, jumpLineIdx, mainGap); in FindRangeOnJump()
134 newOffset -= info_->GetHeightInRange(startLine, idx, mainGap); in SolveBackward()
H A Dgrid_irregular_layout_algorithm.cpp225 return info.GetHeightInRange(info.startMainLineIndex_, info.endMainLineIndex_, mainGap); in GetPrevHeight()
581 … float height = info.GetHeightInRange(info.startMainLineIndex_, info.endMainLineIndex_ + 1, 0.0f); in SkipLinesBackward()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp225 …float mainPos = -gridLayoutInfo_.GetHeightInRange(start, gridLayoutInfo_.startMainLineIndex_, main… in Layout()