Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.cpp153 if (backgroundStyle.IsValid()) { in Init()
819backgroundStyle.backgroundImage->SetImageRepeat(backgroundStyle.backgroundRepeat); in SetCurrentStyle()
2355 auto& backgroundStyle = in SetBorderImageFindUrl() local
2357 if (backgroundStyle.IsValid()) { in SetBorderImageFindUrl()
2368 if (!backgroundStyle.IsValid()) { in SetBorderImageGradientType()
2390 if (!backgroundStyle.IsValid()) { in SetBorderImageGradientDirections()
2456 if (!backgroundStyle.IsValid()) { in SetBorderImageGradientColor()
2559 if (!backgroundStyle.IsValid()) { in SetBackground()
2612 if (!backgroundStyle.IsValid()) { in SetGradientType()
2633 if (!backgroundStyle.IsValid()) { in SetGradientDirections()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dspan_node.cpp282 textStyle.SetTextBackgroundStyle(backgroundStyle); in UpdateParagraph()
659 if (backgroundStyle.has_value()) { in GetSameStyleSpanItem()
660 sameSpan->backgroundStyle = backgroundStyle; in GetSameStyleSpanItem()
721 if (backgroundStyle.has_value()) { in EncodeTlv()
947 textStyle.SetTextBackgroundStyle(backgroundStyle); in UpdateParagraph()
962 backgroundStyle = property->GetPlaceHolderStyle(); in UpdatePlaceholderBackgroundStyle()
982 if (backgroundStyle.has_value()) { in GetSameStyleSpanItem()
983 sameSpan->backgroundStyle = backgroundStyle; in GetSameStyleSpanItem()
1067 textStyle.SetTextBackgroundStyle(backgroundStyle); in UpdateParagraph()
1083 if (backgroundStyle.has_value()) { in GetSameStyleSpanItem()
[all …]
H A Dimage_span_view.cpp144 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle() local
145 CHECK_NULL_RETURN(frameNode, backgroundStyle); in GetSpanTextBackgroundStyle()
147 CHECK_NULL_RETURN(layoutProperty, backgroundStyle); in GetSpanTextBackgroundStyle()
148 return layoutProperty->GetPlaceHolderStyle().value_or(backgroundStyle); in GetSpanTextBackgroundStyle()
H A Dspan_model_ng.cpp540 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle() local
542 CHECK_NULL_RETURN(spanNode, backgroundStyle); in GetSpanTextBackgroundStyle()
543 return spanNode->GetTextBackgroundStyle().value_or(backgroundStyle); in GetSpanTextBackgroundStyle()
H A Dspan_node.h205 std::optional<TextBackgroundStyle> backgroundStyle; member
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.cpp888 spanItem->backgroundStyle = tempVal; in AddSpanStyle()
894 if (spanItem->backgroundStyle.has_value()) { in RemoveSpanStyle()
895 spanItem->backgroundStyle.reset(); in RemoveSpanStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
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()
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()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_testfive_ng.cpp1887 spanItem->backgroundStyle = TextBackgroundStyle();
1930 spanItem->backgroundStyle = textBackgroundStyle;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnative_node_test.cpp1554 …ArkUI_NumberValue backgroundStyle[] = {{.u32 = color}, {.f32 = size}, {.f32 = size}, {.f32 = size}, variable
1556 …ArkUI_AttributeItem backgroundStyleItem = {backgroundStyle, sizeof(backgroundStyle) / sizeof(ArkUI…
1578 backgroundStyle[2].f32 = -1.0f;
1582 backgroundStyle[1].f32 = -1.0f;