/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | image_span_view.h | 36 static void SetPlaceHolderStyle(TextBackgroundStyle& radius); 43 static void SetPlaceHolderStyle(FrameNode* frameNode, TextBackgroundStyle& style); 44 static TextBackgroundStyle GetSpanTextBackgroundStyle(FrameNode* frameNode);
|
H A D | image_span_view.cpp | 70 void ImageSpanView::SetPlaceHolderStyle(TextBackgroundStyle& style) in SetPlaceHolderStyle() 82 void ImageSpanView::SetPlaceHolderStyle(FrameNode* frameNode, TextBackgroundStyle& style) in SetPlaceHolderStyle() 142 TextBackgroundStyle ImageSpanView::GetSpanTextBackgroundStyle(FrameNode* frameNode) in GetSpanTextBackgroundStyle() 144 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle()
|
H A D | span_model_ng.h | 91 void SetTextBackgroundStyle(const TextBackgroundStyle& style) override; 92 static void SetTextBackgroundStyle(UINode* uiNode, const TextBackgroundStyle& style); 93 static void SetTextBackgroundStyleByBaseSpan(UINode* uiNode, const TextBackgroundStyle& style); 94 static TextBackgroundStyle GetSpanTextBackgroundStyle(UINode* uiNode);
|
H A D | span_node.h | 205 std::optional<TextBackgroundStyle> backgroundStyle; 376 virtual void SetTextBackgroundStyle(const TextBackgroundStyle& style); 377 virtual void UpdateTextBackgroundFromParent(const std::optional<TextBackgroundStyle>& style) in UpdateTextBackgroundFromParent() 382 const std::optional<TextBackgroundStyle> GetTextBackgroundStyle() const in GetTextBackgroundStyle() 398 std::optional<TextBackgroundStyle> textBackgroundStyle_; 415 void SetTextBackgroundStyle(const TextBackgroundStyle& style) override; 416 void UpdateTextBackgroundFromParent(const std::optional<TextBackgroundStyle>& style) override;
|
H A D | span_model_ng.cpp | 416 void SpanModelNG::SetTextBackgroundStyle(const TextBackgroundStyle& style) in SetTextBackgroundStyle() 423 void SpanModelNG::SetTextBackgroundStyle(UINode* uiNode, const TextBackgroundStyle& style) in SetTextBackgroundStyle() 430 void SpanModelNG::SetTextBackgroundStyleByBaseSpan(UINode* uiNode, const TextBackgroundStyle& style) in SetTextBackgroundStyleByBaseSpan() 538 TextBackgroundStyle SpanModelNG::GetSpanTextBackgroundStyle(UINode* uiNode) in GetSpanTextBackgroundStyle() 540 TextBackgroundStyle backgroundStyle; in GetSpanTextBackgroundStyle()
|
H A D | span_model.h | 60 virtual void SetTextBackgroundStyle(const TextBackgroundStyle& style) {}; in SetTextBackgroundStyle()
|
H A D | span_node.cpp | 88 TextBackgroundStyle::ToJsonValue(json, backgroundStyle, filter); in ToJsonValue() 125 TextBackgroundStyle::ToJsonValue(json, backgroundStyle, filter); in ToJsonValue() 201 void SpanNode::SetTextBackgroundStyle(const TextBackgroundStyle& style) in SetTextBackgroundStyle() 207 void SpanNode::UpdateTextBackgroundFromParent(const std::optional<TextBackgroundStyle>& style) in UpdateTextBackgroundFromParent() 1089 void BaseSpan::SetTextBackgroundStyle(const TextBackgroundStyle& style) in SetTextBackgroundStyle() 1099 TextBackgroundStyle::ToJsonValue(json, GetTextBackgroundStyle(), filter); in ToJsonValue()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkContainerSpan.ts | 17 class ContainerSpanTextBackgroundStyleModifier extends ModifierWithKey<TextBackgroundStyle> { 18 constructor(value: TextBackgroundStyle) { 54 textBackgroundStyle(value: TextBackgroundStyle): ContainerSpanAttribute {
|
H A D | ArkImageSpan.ts | 49 class ImageSpanTextBackgroundStyleModifier extends ModifierWithKey<TextBackgroundStyle> { 50 constructor(value: TextBackgroundStyle) { 161 textBackgroundStyle(value: TextBackgroundStyle): ImageSpanAttribute {
|
H A D | ArkSpan.ts | 85 class SpanTextBackgroundStyleModifier extends ModifierWithKey<TextBackgroundStyle> { 86 constructor(value: TextBackgroundStyle) { 972 textBackgroundStyle(value: TextBackgroundStyle): SpanAttribute {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_image_span_ffi.cpp | 44 TextBackgroundStyle ParseTextBackgroundStyle(uint32_t color, double radiusDouble, int32_t unit) in ParseTextBackgroundStyle() 46 TextBackgroundStyle textBackgroundStyle; in ParseTextBackgroundStyle() 59 TextBackgroundStyle ParseTextBackgroundStyle(uint32_t color, CBorderRadiuses radiusValue) in ParseTextBackgroundStyle() 61 TextBackgroundStyle textBackgroundStyle; in ParseTextBackgroundStyle()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-containerspan.md | 27 textBackgroundStyle(style: TextBackgroundStyle) 39 | style | [TextBackgroundStyle](ts-basic-components-span.md#textbackgroundstyle11对象说明) | 是 | 文本背…
|
H A D | ts-basic-components-span.md | 248 textBackgroundStyle(style: TextBackgroundStyle): T 260 | style | [TextBackgroundStyle](#textbackgroundstyle11对象说明) | 是 | 背景样式。<br />默认值:<br />{<br /> … 290 ## TextBackgroundStyle<sup>11+</sup>对象说明
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.cpp | 61 void TextBackgroundStyle::ToJsonValue(std::unique_ptr<JsonValue>& json, in ToJsonValue() 62 const std::optional<TextBackgroundStyle>& style, const NG::InspectorFilter& filter) in ToJsonValue() 65 …TextBackgroundStyle exportStyle = { .backgroundColor = Color::TRANSPARENT, .backgroundRadius = def… in ToJsonValue()
|
H A D | text_style.h | 230 struct TextBackgroundStyle { struct 235 …void ToJsonValue(std::unique_ptr<JsonValue>& json, const std::optional<TextBackgroundStyle>& style, argument 238 bool operator==(const TextBackgroundStyle& value) const 694 void SetTextBackgroundStyle(const std::optional<TextBackgroundStyle>& style) in SetTextBackgroundStyle() 699 const std::optional<TextBackgroundStyle>& GetTextBackgroundStyle() const in GetTextBackgroundStyle() 809 std::optional<TextBackgroundStyle> textBackgroundStyle_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_container_span.cpp | 28 TextBackgroundStyle JSContainerSpan::ParseTextBackgroundStyle(const JSCallbackInfo& info) in ParseTextBackgroundStyle() 30 TextBackgroundStyle textBackgroundStyle; in ParseTextBackgroundStyle()
|
H A D | js_container_span.h | 33 static TextBackgroundStyle ParseTextBackgroundStyle(const JSCallbackInfo& info);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_container_span_modifier.cpp | 40 TextBackgroundStyle font; in SetContainerSpanTextBackgroundStyle() 56 TextBackgroundStyle font; in ResetContainerSpanTextBackgroundStyle()
|
H A D | node_image_span_modifier.cpp | 91 TextBackgroundStyle font; in SetImageSpanTextBackgroundStyle() 107 TextBackgroundStyle font; in ResetImageSpanTextBackgroundStyle()
|
H A D | node_span_modifier.cpp | 339 TextBackgroundStyle font; in SetSpanTextBackgroundStyle() 355 TextBackgroundStyle font; in ResetSpanTextBackgroundStyle()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-containerspan.md | 27 textBackgroundStyle(style: TextBackgroundStyle) 39 | style | [TextBackgroundStyle](ts-basic-components-span.md#textbackgroundstyle11) | Yes | Text b…
|
H A D | ts-basic-components-span.md | 248 textBackgroundStyle(style: TextBackgroundStyle): T 260 | style | [TextBackgroundStyle](#textbackgroundstyle11) | Yes | Background style.<br>Default valu… 290 ## TextBackgroundStyle<sup>11+</sup>
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_layout_property.h | 80 TextBackgroundStyle::ToJsonValue(json, GetPlaceHolderStyle(), filter); in ToJsonValue() 171 …ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(PlaceHolderStyle, TextBackgroundStyle, PROPERTY_UPDATE_NORM…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | span_object.h | 255 explicit BackgroundColorSpan(std::optional<TextBackgroundStyle> textBackgroundStyle_); 256 …BackgroundColorSpan(std::optional<TextBackgroundStyle> textBackgroundStyle_, int32_t start, int32_… 257 TextBackgroundStyle GetBackgroundColor() const; 265 std::optional<TextBackgroundStyle> textBackgroundStyle_;
|
H A D | span_object.cpp | 860 std::optional<TextBackgroundStyle> textBackgroundStyle, int32_t start, int32_t end) in BackgroundColorSpan() 876 BackgroundColorSpan::BackgroundColorSpan(std::optional<TextBackgroundStyle> textBackgroundStyle) in BackgroundColorSpan() 887 TextBackgroundStyle tempVal = GetBackgroundColor(); in AddSpanStyle() 899 TextBackgroundStyle BackgroundColorSpan::GetBackgroundColor() const in GetBackgroundColor()
|