Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_layout_algorithm.cpp443 auto hasMinSize = calcLayoutConstraint->minSize->Width().has_value(); in CalcSearchWidth() local
446 …if (hasMinSize && ((hasMaxSize && searchConstraint.minSize.Width() >= searchConstraint.maxSize.Wid… in CalcSearchWidth()
450 if (hasMinSize) { in CalcSearchWidth()
488 auto hasMinSize = calcLayoutConstraint->minSize.has_value() && in CalcSearchHeight() local
494 if (hasMinSize && ((hasMaxSize && constraint.minSize.Height() >= constraint.maxSize.Height()) in CalcSearchHeight()
498 if (hasMinSize) { in CalcSearchHeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.cpp48 …bool hasMinSize = property->GetMinSize().has_value() && !LessOrEqual(property->GetMinSizeValue().V… in CheckIsSingleCase() local
52 return !hasMinSize && (!hasPrevMargin && !hasNextMargin) && in CheckIsSingleCase()