/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_container_span.cpp | 50 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 D | node_container_span_modifier.cpp | 42 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 D | node_image_span_modifier.cpp | 104 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 D | node_span_modifier.cpp | 338 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 D | cj_image_span_ffi.cpp | 50 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 D | text_style.cpp | 65 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 D | text_style.h | 232 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 D | ui_slider.h | 225 * @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 D | image_span_view.cpp | 70 style.backgroundColor.has_value() || style.backgroundRadius.has_value()); in SetPlaceHolderStyle() 80 style.backgroundColor.has_value() || style.backgroundRadius.has_value(), frameNode); in SetPlaceHolderStyle()
|
H A D | span_node.cpp | 672 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 D | patternlock_modifier.cpp | 118 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 D | constants_converter.cpp | 703 auto radius = textBackgroundStyle->backgroundRadius; in ConvertTxtStyle() 845 auto radius = textBackgroundStyle->backgroundRadius; in ConvertTxtStyle()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_string_test_ng.cpp | 1441 textBackgroundStyle.backgroundRadius = borderRadius; in HWTEST_F() 1481 textBackgroundStyle.backgroundRadius = borderRadius; in HWTEST_F()
|
H A D | text_testfive_ng.cpp | 2007 textBackgroundStyle.backgroundRadius = NG::BorderRadiusProperty(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_object.cpp | 1592 "BorderRadiusProperty", backgroundColorStyle.backgroundRadius->ToString()); in GetBackgroundColor()
|