Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dtemplates_parser.cpp218 int32_t countNonRepeat = 0; in ParseArgsWithAutoFill() local
234 ++countNonRepeat; in ParseArgsWithAutoFill()
243 if (countNonRepeat + countRepeat > 0 && (countNonRepeat + countRepeat - 1) * gap > size) { in ParseArgsWithAutoFill()
246 double sizeNonRepeatGap = GreatNotEqual(countNonRepeat, 0) ? (countNonRepeat - 1) * gap : 0; in ParseArgsWithAutoFill()
253 if (childrenCount >= countNonRepeat && !retTemplates.empty()) { in ParseArgsWithAutoFill()
254 …count = ceil((size - countNonRepeat) * 1.0 / (static_cast<int32_t>(retTemplates.size()) - countNon… in ParseArgsWithAutoFill()
402 size_t countNonRepeat = 0; in ParseArgsWithAutoFit() local
420 ++countNonRepeat; in ParseArgsWithAutoFit()
430 double sizeNonRepeatGap = GreatNotEqual(countNonRepeat, 0) ? (countNonRepeat - 1) * gap : 0; in ParseArgsWithAutoFit()
437 if (childrenCount >= static_cast<int32_t>(countNonRepeat) && !retTemplates.empty()) { in ParseArgsWithAutoFit()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dtemplates_parser.cpp195 size_t countNonRepeat = 0; in ParseArgsWithAutoFill() local
211 ++countNonRepeat; in ParseArgsWithAutoFill()
220 double sizeNonRepeatGap = GreatNotEqual(countNonRepeat, 0) ? (countNonRepeat - 1) * gap : 0; in ParseArgsWithAutoFill()
231 if (children >= countNonRepeat && !retTemplates.empty()) { in ParseArgsWithAutoFill()
232 count = ceil((size - countNonRepeat) * 1.0 / (retTemplates.size() - countNonRepeat)); in ParseArgsWithAutoFill()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.cpp3360 uint32_t countNonRepeat = 0; in ParseArgsWithAutoFill() local
3374 ++countNonRepeat; in ParseArgsWithAutoFill()
3383 double sizeNonRepeatGap = GreatNotEqual(countNonRepeat, 0) ? (countNonRepeat - 1) * gap : 0; in ParseArgsWithAutoFill()
3389 if (GetChildren().size() >= countNonRepeat && retTemplates.size() > 0) { in ParseArgsWithAutoFill()
3390 …count = ceil((GetChildren().size() - countNonRepeat) * 1.0 / (retTemplates.size() - countNonRepeat in ParseArgsWithAutoFill()