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 D | grid_layout_info.h | 155 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 D | grid_layout_info.cpp | 393 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 D | grid_pattern.cpp | 1617 return info.GetHeightInRange(0, info.startMainLineIndex_, mainGap); in GetEndOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_layout_range_solver.cpp | 55 float offset = -info_->GetHeightInRange(startRow, jumpLineIdx, mainGap); in FindRangeOnJump() 134 newOffset -= info_->GetHeightInRange(startLine, idx, mainGap); in SolveBackward()
|
H A D | grid_irregular_layout_algorithm.cpp | 225 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 D | grid_scroll_layout_algorithm.cpp | 225 …float mainPos = -gridLayoutInfo_.GetHeightInRange(start, gridLayoutInfo_.startMainLineIndex_, main… in Layout()
|