Home
last modified time | relevance | path

Searched refs:sizeStyle (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/declaration/piece/
H A Dpiece_declaration.cpp42 auto& sizeStyle = MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE); in InitializeStyle() local
43 if (sizeStyle.IsValid()) { in InitializeStyle()
44 sizeStyle.height = theme->GetHeight(); in InitializeStyle()
74 auto& sizeStyle = MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE); in InitializeStyle() local
75 if (sizeStyle.IsValid()) { in InitializeStyle()
76 sizeStyle.height = theme->GetHeight(); in InitializeStyle()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.h527 auto& sizeStyle = declaration_->MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE); in SetHeight() local
528 if (sizeStyle.IsValid()) { in SetHeight()
529 sizeStyle.height = height; in SetHeight()
537 auto& sizeStyle = declaration_->MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE); in SetWidth() local
538 if (sizeStyle.IsValid()) { in SetWidth()
539 sizeStyle.width = width; in SetWidth()
548 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); in GetHeight() local
549 if (sizeStyle.IsValid()) { in GetHeight()
550 height = sizeStyle.height; in GetHeight()
560 auto& sizeStyle in GetCalcHeight() local
572 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); GetWidth() local
584 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); GetCalcWidth() local
[all...]
H A Ddom_list_item.cpp392 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); in PrepareSpecializedComponent() local
393 if (sizeStyle.IsValid()) { in PrepareSpecializedComponent()
394 boxComponent_->SetAspectRatio(sizeStyle.aspectRatio); in PrepareSpecializedComponent()
395 boxComponent_->SetMinWidth(sizeStyle.minWidth); in PrepareSpecializedComponent()
396 boxComponent_->SetMinHeight(sizeStyle.minHeight); in PrepareSpecializedComponent()
397 boxComponent_->SetMaxWidth(sizeStyle.maxWidth); in PrepareSpecializedComponent()
398 boxComponent_->SetMaxHeight(sizeStyle.maxHeight); in PrepareSpecializedComponent()
399 boxComponent_->SetBoxSizing(sizeStyle.boxSizing); in PrepareSpecializedComponent()
H A Ddom_node.cpp1409 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); in UpdateFlexItemComponent() local
1410 if (sizeStyle.IsValid()) { in UpdateFlexItemComponent()
1412 flexItemComponent_->SetMaxHeight(sizeStyle.maxHeight); in UpdateFlexItemComponent()
1413 flexItemComponent_->SetMaxWidth(sizeStyle.maxWidth); in UpdateFlexItemComponent()
1414 flexItemComponent_->SetMinHeight(sizeStyle.minHeight); in UpdateFlexItemComponent()
1415 flexItemComponent_->SetMinWidth(sizeStyle.minWidth); in UpdateFlexItemComponent()
1417 if (GreatNotEqual(sizeStyle.aspectRatio, 0.0)) { in UpdateFlexItemComponent()
1491 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); in UpdateBoxComponent() local
1492 if (sizeStyle.IsValid()) { in UpdateBoxComponent()
1493 boxComponent_->SetAspectRatio(sizeStyle in UpdateBoxComponent()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/input/
H A Dinput_declaration.cpp176 auto& sizeStyle = static_cast<CommonSizeStyle&>(GetStyle(StyleTag::COMMON_SIZE_STYLE)); in PrepareTextField() local
177 if (sizeStyle.IsValid() && GreatOrEqual(sizeStyle.height.Value(), 0.0)) { in PrepareTextField()
178 textFieldDeclaration->SetHeight(sizeStyle.height); in PrepareTextField()
/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Dtext_component.cpp190 auto& sizeStyle = static_cast<CommonSizeStyle&>(declaration_->GetStyle(StyleTag::COMMON_SIZE_STYLE)); in GetDeclarationHeight() local
191 if (sizeStyle.IsValid()) { in GetDeclarationHeight()
192 return sizeStyle.height; in GetDeclarationHeight()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.cpp773 auto& sizeStyle = declaration.MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE);
774 if (sizeStyle.IsValid()) {
775 sizeStyle.aspectRatio = StringToDouble(value);
1054 auto& sizeStyle = declaration.MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE);
1055 if (sizeStyle.IsValid()) {
1056 sizeStyle.boxSizing = ConvertStrToBoxSizing(value);
1160 auto& sizeStyle = declaration.MaybeResetStyle<CommonSizeStyle>(StyleTag::COMMON_SIZE_STYLE);
1161 if (sizeStyle.IsValid()) {
1162 sizeStyle.height = declaration.ParseCalcDimension(value);
1270 auto& sizeStyle
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/search/
H A Dsearch_declaration.cpp62 auto& sizeStyle = static_cast<CommonSizeStyle&>(GetStyle(StyleTag::COMMON_SIZE_STYLE)); in InitializeStyle() local
63 if (sizeStyle.IsValid()) { in InitializeStyle()
64 sizeStyle.height = searchTheme->GetHeight(); in InitializeStyle()

Completed in 10 milliseconds