Home
last modified time | relevance | path

Searched refs:backgroundRadius (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_container_span.cpp50 textBackgroundStyle.backgroundRadius = { radius, radius, radius, radius }; in ParseTextBackgroundStyle()
51 textBackgroundStyle.backgroundRadius->multiValued = false; in ParseTextBackgroundStyle()
59 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
60 textBackgroundStyle.backgroundRadius->multiValued = true; in ParseTextBackgroundStyle()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_container_span_modifier.cpp42 font.backgroundRadius = borderRadius; in SetContainerSpanTextBackgroundStyle()
43 font.backgroundRadius->multiValued = true; in SetContainerSpanTextBackgroundStyle()
58 font.backgroundRadius = borderRadius; in ResetContainerSpanTextBackgroundStyle()
59 font.backgroundRadius->multiValued = true; in ResetContainerSpanTextBackgroundStyle()
H A Dnode_image_span_modifier.cpp104 font.backgroundRadius = borderRadius; in SetImageSpanTextBackgroundStyle()
105 font.backgroundRadius->multiValued = true; in SetImageSpanTextBackgroundStyle()
120 font.backgroundRadius = borderRadius; in ResetImageSpanTextBackgroundStyle()
121 font.backgroundRadius->multiValued = true; in ResetImageSpanTextBackgroundStyle()
131 options->topLeft = styleOptions.backgroundRadius->radiusTopLeft->Value(); in GetImageSpanTextBackgroundStyle()
132 options->topRight = styleOptions.backgroundRadius->radiusTopRight->Value(); in GetImageSpanTextBackgroundStyle()
133 options->bottomLeft = styleOptions.backgroundRadius->radiusBottomLeft->Value(); in GetImageSpanTextBackgroundStyle()
134 options->bottomLeft = styleOptions.backgroundRadius->radiusBottomLeft->Value(); in GetImageSpanTextBackgroundStyle()
H A Dnode_span_modifier.cpp338 font.backgroundRadius = borderRadius; in SetSpanTextBackgroundStyle()
339 font.backgroundRadius->multiValued = true; in SetSpanTextBackgroundStyle()
354 font.backgroundRadius = borderRadius; in ResetSpanTextBackgroundStyle()
355 font.backgroundRadius->multiValued = true; in ResetSpanTextBackgroundStyle()
365 options->topLeft = styleOptions.backgroundRadius->radiusTopLeft->Value(); in GetSpanTextBackgroundStyle()
366 options->topRight = styleOptions.backgroundRadius->radiusTopRight->Value(); in GetSpanTextBackgroundStyle()
367 options->bottomLeft = styleOptions.backgroundRadius->radiusBottomLeft->Value(); in GetSpanTextBackgroundStyle()
368 options->bottomLeft = styleOptions.backgroundRadius->radiusBottomLeft->Value(); in GetSpanTextBackgroundStyle()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_image_span_ffi.cpp50 textBackgroundStyle.backgroundRadius = { radius, radius, radius, radius }; in ParseTextBackgroundStyle()
51 textBackgroundStyle.backgroundRadius->multiValued = false; in ParseTextBackgroundStyle()
72 textBackgroundStyle.backgroundRadius = { topLeft, topRight, bottomRight, bottomLeft }; in ParseTextBackgroundStyle()
73 textBackgroundStyle.backgroundRadius->multiValued = false; in ParseTextBackgroundStyle()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.cpp65 TextBackgroundStyle exportStyle = { .backgroundColor = Color::TRANSPARENT, .backgroundRadius = defaultRadius }; in ToJsonValue()
68 exportStyle.backgroundRadius = style.value().backgroundRadius.value_or(defaultRadius); in ToJsonValue()
74 exportStyle.backgroundRadius->ToJsonValue(radiusJson, styleJson, filter); in ToJsonValue()
H A Dtext_style.h232 std::optional<NG::BorderRadiusProperty> backgroundRadius; member
240 return backgroundColor == value.backgroundColor && backgroundRadius == value.backgroundRadius && in operator ==()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_slider.h225 * @param backgroundRadius Indicates the background corner radius to set.
230 void SetSliderRadius(int16_t backgroundRadius, int16_t foregroundRadius) in SetSliderRadius() argument
232 SetBackgroundStyle(STYLE_BORDER_RADIUS, backgroundRadius); in SetSliderRadius()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dimage_span_view.cpp70 style.backgroundColor.has_value() || style.backgroundRadius.has_value()); in SetPlaceHolderStyle()
80 style.backgroundColor.has_value() || style.backgroundRadius.has_value(), frameNode); in SetPlaceHolderStyle()
H A Dspan_node.cpp672 if (backgroundStyle->backgroundRadius.has_value()) { in EncodeTlv()
674 TLVUtil::WriteBorderRadiusProperty(buff, backgroundStyle->backgroundRadius.value()); in EncodeTlv()
738 sameSpan->backgroundStyle->backgroundRadius = TLVUtil::ReadBorderRadiusProperty(buff, cursor); in DecodeTlv()
1040 SetHasTextBackgroundStyle(style.backgroundColor.has_value() || style.backgroundRadius.has_value()); in SetTextBackgroundStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_modifier.cpp118 auto backgroundRadius = AceType::MakeRefPtr<AnimatablePropertyFloat>(0.0f); in PatternLockModifier() local
119 AttachProperty(backgroundRadius); in PatternLockModifier()
120 backgroundCircleRadius_.emplace_back(backgroundRadius); in PatternLockModifier()
/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Dconstants_converter.cpp703 auto radius = textBackgroundStyle->backgroundRadius; in ConvertTxtStyle()
845 auto radius = textBackgroundStyle->backgroundRadius; in ConvertTxtStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dspan_string_test_ng.cpp1441 textBackgroundStyle.backgroundRadius = borderRadius; in HWTEST_F()
1481 textBackgroundStyle.backgroundRadius = borderRadius; in HWTEST_F()
H A Dtext_testfive_ng.cpp2007 textBackgroundStyle.backgroundRadius = NG::BorderRadiusProperty(); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_object.cpp1592 "BorderRadiusProperty", backgroundColorStyle.backgroundRadius->ToString()); in GetBackgroundColor()

Completed in 21 milliseconds