Home
last modified time | relevance | path

Searched refs:widthDefined_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/toggle/
H A Drender_toggle.cpp233 widthDefined_ = !NearZero(toggleComponent_->GetWidth().Value()); in Update()
262 double maxWidth = widthDefined_ ? toggleSize_.Width() : GetLayoutParam().GetMaxSize().Width(); in PerformLayout()
274 double width = widthDefined_ ? toggleSize_.Width() : childrenSize.Width(); in PerformLayout()
H A Drender_toggle.h79 bool widthDefined_ = false; variable
H A Drosen_render_toggle.cpp74 if (NearEqual(GetLayoutParam().GetMaxSize().Width(), Size::INFINITE_SIZE) || (!widthDefined_)) { in Measure()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drosen_render_button.cpp184 if (NearEqual(GetLayoutParam().GetMaxSize().Width(), Size::INFINITE_SIZE) || (!widthDefined_)) { in MeasureButtonSize()
196 if (buttonComponent_->GetRadiusState() || widthDefined_ || heightDefined_) { in MeasureButtonSize()
218 if (widthDefined_ || heightDefined_) { in MeasureCircle()
221 …minSize = widthDefined_ ? std::min(buttonSize_.Width(), buttonSize_.Height()) : buttonSize_.Height… in MeasureCircle()
H A Drender_button.cpp499 widthDefined_ = GreatOrEqual(buttonComponent_->GetWidth().Value(), 0.0); in PerformLayout()
547 double layoutWidth = widthDefined_ ? layoutSize_.Width() : childrenSize_.Width(); in CalculateLayoutSize()
551 if (heightDefined_ && !widthDefined_) { in CalculateLayoutSize()
H A Drender_button.h187 bool widthDefined_ = false; variable