Home
last modified time | relevance | path

Searched refs:backgroundStyle (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.cpp152 auto& backgroundStyle = MaybeResetStyle<CommonBackgroundStyle>(StyleTag::COMMON_BACKGROUND_STYLE); in Init() local
153 if (backgroundStyle.IsValid()) { in Init()
154 backgroundStyle.backgroundImage = AceType::MakeRefPtr<BackgroundImage>(); in Init()
155 backgroundStyle.borderImage = AceType::MakeRefPtr<BorderImage>(); in Init()
791 auto& backgroundStyle =
793 if (backgroundStyle.IsValid()) {
795 backgroundStyle.backgroundColor = backgroundColor;
803 auto& backgroundStyle =
805 if (backgroundStyle.IsValid()) {
806 backgroundStyle
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dimage_span_view.cpp137 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle() local
138 CHECK_NULL_RETURN(frameNode, backgroundStyle); in GetSpanTextBackgroundStyle()
140 CHECK_NULL_RETURN(layoutProperty, backgroundStyle); in GetSpanTextBackgroundStyle()
141 return layoutProperty->GetPlaceHolderStyle().value_or(backgroundStyle); in GetSpanTextBackgroundStyle()
H A Dspan_node.cpp88 TextBackgroundStyle::ToJsonValue(json, backgroundStyle, filter); in ToJsonValue()
125 TextBackgroundStyle::ToJsonValue(json, backgroundStyle, filter); in ToJsonValue()
206 spanItem_->backgroundStyle = GetTextBackgroundStyle(); in SetTextBackgroundStyle()
212 spanItem_->backgroundStyle = GetTextBackgroundStyle(); in UpdateTextBackgroundFromParent()
277 spanTextStyle.SetTextBackgroundStyle(backgroundStyle); in UpdateParagraph()
605 if (backgroundStyle.has_value()) { in GetSameStyleSpanItem()
606 sameSpan->backgroundStyle = backgroundStyle; in GetSameStyleSpanItem()
667 if (backgroundStyle.has_value()) { in EncodeTlv()
668 if (backgroundStyle in EncodeTlv()
[all...]
H A Dspan_model_ng.cpp561 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle() local
563 CHECK_NULL_RETURN(spanNode, backgroundStyle); in GetSpanTextBackgroundStyle()
564 return spanNode->GetTextBackgroundStyle().value_or(backgroundStyle); in GetSpanTextBackgroundStyle()
H A Dspan_node.h204 std::optional<TextBackgroundStyle> backgroundStyle; member
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_mask_painter.cpp114 auto& backgroundStyle = in LoadGradient() local
116 if (!backgroundStyle.IsValid()) { in LoadGradient()
121 decoration_->SetGradient(backgroundStyle.gradient); in LoadGradient()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.cpp1517 auto& backgroundStyle = in UpdateBoxComponent() local
1519 if (backgroundStyle.IsValid() && backgroundStyle.gradient.IsValid()) { in UpdateBoxComponent()
1520 backDecoration->SetGradient(backgroundStyle.gradient); in UpdateBoxComponent()
1522 if (backgroundStyle.IsValid() && backgroundStyle.gradientBorderImage.IsValid()) { in UpdateBoxComponent()
1523 backDecoration->SetBorderImageGradient(backgroundStyle.gradientBorderImage); in UpdateBoxComponent()
H A Ddom_list.cpp282 auto& backgroundStyle = in ResetInitializedStyle() local
284 if (declaration_->HasBackGroundColor() && backgroundStyle.IsValid()) { in ResetInitializedStyle()
285 listComponent_->SetBackgroundColor(backgroundStyle.backgroundColor); in ResetInitializedStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.cpp879 spanItem->backgroundStyle = tempVal; in AddSpanStyle()
885 if (spanItem->backgroundStyle.has_value()) { in RemoveSpanStyle()
886 spanItem->backgroundStyle.reset(); in RemoveSpanStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_testfive_ng.cpp1965 spanItem->backgroundStyle = TextBackgroundStyle(); in HWTEST_F()
2008 spanItem->backgroundStyle = textBackgroundStyle; in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnative_node_test.cpp1550 ArkUI_NumberValue backgroundStyle[] = {{.u32 = color}, {.f32 = size}, {.f32 = size}, {.f32 = size}, in HWTEST_F() local
1552 ArkUI_AttributeItem backgroundStyleItem = {backgroundStyle, sizeof(backgroundStyle) / sizeof(ArkUI_NumberValue)}; in HWTEST_F()
1574 backgroundStyle[2].f32 = -1.0f; in HWTEST_F()
1578 backgroundStyle[1].f32 = -1.0f; in HWTEST_F()

Completed in 26 milliseconds