Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.cpp34 constexpr int32_t GAP_DIVIDE_CONSTEXPR = 2; variable
271 double widthOffset = (colLen - child->GetLayoutSize().Width()) / GAP_DIVIDE_CONSTEXPR; in SetChildPosition()
272 double heightOffset = (rowLen - child->GetLayoutSize().Height()) / GAP_DIVIDE_CONSTEXPR; in SetChildPosition()
319 double widthOffset = (colLen - child->GetLayoutSize().Width()) / GAP_DIVIDE_CONSTEXPR; in CalcChildPosition()
320 double heightOffset = (rowLen - child->GetLayoutSize().Height()) / GAP_DIVIDE_CONSTEXPR; in CalcChildPosition()
1755 offsetY = rowGap_ / GAP_DIVIDE_CONSTEXPR; in CalDragRowIndex()
1776 offsetX = colGap_ / GAP_DIVIDE_CONSTEXPR; in CalDragColumIndex()
2773 dy = (GetTop().Value() + GetBottom().Value()) / GAP_DIVIDE_CONSTEXPR; in GetSpringStartPoint()
2775 dx = (GetLeft().Value() + GetRight().Value()) / GAP_DIVIDE_CONSTEXPR; in GetSpringStartPoint()
2787 dy = (GetTop().Value() + GetRight().Value()) / GAP_DIVIDE_CONSTEXPR; in GetSpringEndPoint()
[all …]