Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dfocusable_grid.cpp55 int32_t nextCol = focusCol_; in FocusMove() local
66 AceApplicationInfo::GetInstance().IsRightToLeft() ? ++nextCol : --nextCol; in FocusMove()
69 AceApplicationInfo::GetInstance().IsRightToLeft() ? --nextCol : ++nextCol; in FocusMove()
74 if (nextCol < 0) { in FocusMove()
80 nextCol = colCount_ - 1; in FocusMove()
82 if (nextCol >= colCount_) { in FocusMove()
84 FocusChanged(focusIndex_, GetIndexByGrid(nextRow, nextCol)); in FocusMove()
89 nextCol = 0; in FocusMove()
91 if ((nextRow < 0) || (nextCol < 0) || (nextRow >= rowCount_) || (nextCol >= colCount_)) { in FocusMove()
94 next = GetIndexByGrid(nextRow, nextCol); in FocusMove()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp226 auto nextCol = nextC->second; in GetItemSize() local
227 auto nextColRow = nextCol.find(col); in GetItemSize()
228 if (nextColRow != nextCol.end()) { in GetItemSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.cpp168 int32_t nextCol = focusCol_ < 0 ? 0 : focusCol_; in focusMove() local
179 --nextCol; in focusMove()
182 ++nextCol; in focusMove()
187 if (nextRow < 0 || nextCol < 0 || nextRow >= rowCount_ || nextCol >= colCount_) { in focusMove()
190 next = GetIndexByGrid(nextRow, nextCol); in focusMove()
193 focusCol_ = nextCol; in focusMove()