Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/
H A Dside_bar_container_layout_algorithm.cpp33 constexpr int32_t DEFAULT_MIN_CHILDREN_SIZE = 3; variable
56 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in Measure()
129 …if (children.size() > DEFAULT_MIN_CHILDREN_SIZE) { // when sidebar only add one component, content… in Measure()
158 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in GetSideBarLayoutWrapper()
542 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in Layout()
563 …if (children.size() > DEFAULT_MIN_CHILDREN_SIZE) { // when sidebar only add one component, content… in Layout()
H A Dside_bar_container_pattern.cpp56 constexpr int32_t DEFAULT_MIN_CHILDREN_SIZE = 3; variable
194 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in OnUpdateShowDivider()
258 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in GetSideBarNode()
293 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in GetSideBarNodeOrFirstChild()
360 if (children.size() < DEFAULT_MIN_CHILDREN_SIZE) { in GetDividerNode()