Home
last modified time | relevance | path

Searched refs:cols_ (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ui_lite/interfaces/kits/layout/
H A Dgrid_layout.h54 GridLayout() : rows_(0), cols_(0) {} in GridLayout()
82 cols_ = cols; in SetCols()
100 uint16_t cols_; member in OHOS::GridLayout
/foundation/arkui/ui_lite/frameworks/layout/
H A Dgrid_layout.cpp25 if ((rows_ == 0) || (cols_ == 0)) { in LayoutChildren()
34 if (rows_ * cols_ < childrenNum) { in LayoutChildren()
56 int16_t layoutWidth = GetWidth() / cols_; in LayoutHorizontal()
61 for (int16_t j = 0; j < cols_; j++) { in LayoutHorizontal()
90 int16_t layoutWidth = GetWidth() / cols_; in LayoutVertical()
93 for (int16_t i = 0; i < cols_; i++) { in LayoutVertical()
/foundation/arkui/ui_lite/test/uitest/test_layout/
H A Dui_test_advanced_layout.cpp205 cols_ = 0; in OnClickButton()
207 gTarget_->SetCols(cols_); in OnClickButton()
228 cols_++; in OnClickButton()
229 gTarget_->SetCols(cols_); in OnClickButton()
231 cols_--; in OnClickButton()
232 gTarget_->SetCols(cols_); in OnClickButton()
H A Dui_test_advanced_layout.h90 int16_t cols_ = 0; member in OHOS::UITestAdvancedLayout

Completed in 2 milliseconds