Searched refs:backgroundStyle (Results 1 – 11 of 11) sorted by relevance
153 if (backgroundStyle.IsValid()) { in Init()819 … backgroundStyle.backgroundImage->SetImageRepeat(backgroundStyle.backgroundRepeat); in SetCurrentStyle()2355 auto& backgroundStyle = in SetBorderImageFindUrl() local2357 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 …]
282 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 …]
144 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle() local145 CHECK_NULL_RETURN(frameNode, backgroundStyle); in GetSpanTextBackgroundStyle()147 CHECK_NULL_RETURN(layoutProperty, backgroundStyle); in GetSpanTextBackgroundStyle()148 return layoutProperty->GetPlaceHolderStyle().value_or(backgroundStyle); in GetSpanTextBackgroundStyle()
540 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle() local542 CHECK_NULL_RETURN(spanNode, backgroundStyle); in GetSpanTextBackgroundStyle()543 return spanNode->GetTextBackgroundStyle().value_or(backgroundStyle); in GetSpanTextBackgroundStyle()
205 std::optional<TextBackgroundStyle> backgroundStyle; member
114 auto& backgroundStyle = in LoadGradient() local116 if (!backgroundStyle.IsValid()) { in LoadGradient()121 decoration_->SetGradient(backgroundStyle.gradient); in LoadGradient()
888 spanItem->backgroundStyle = tempVal; in AddSpanStyle()894 if (spanItem->backgroundStyle.has_value()) { in RemoveSpanStyle()895 spanItem->backgroundStyle.reset(); in RemoveSpanStyle()
282 auto& backgroundStyle = in ResetInitializedStyle() local284 if (declaration_->HasBackGroundColor() && backgroundStyle.IsValid()) { in ResetInitializedStyle()285 listComponent_->SetBackgroundColor(backgroundStyle.backgroundColor); in ResetInitializedStyle()
1517 auto& backgroundStyle = in UpdateBoxComponent() local1519 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()
1887 spanItem->backgroundStyle = TextBackgroundStyle();1930 spanItem->backgroundStyle = textBackgroundStyle;
1554 …ArkUI_NumberValue backgroundStyle[] = {{.u32 = color}, {.f32 = size}, {.f32 = size}, {.f32 = size}, variable1556 …ArkUI_AttributeItem backgroundStyleItem = {backgroundStyle, sizeof(backgroundStyle) / sizeof(ArkUI…1578 backgroundStyle[2].f32 = -1.0f;1582 backgroundStyle[1].f32 = -1.0f;