Home
last modified time | relevance | path

Searched refs:TextBackgroundStyle (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dimage_span_view.h36 static void SetPlaceHolderStyle(TextBackgroundStyle& radius);
43 static void SetPlaceHolderStyle(FrameNode* frameNode, TextBackgroundStyle& style);
44 static TextBackgroundStyle GetSpanTextBackgroundStyle(FrameNode* frameNode);
H A Dimage_span_view.cpp70 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 Dspan_model_ng.h91 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 Dspan_node.h205 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 Dspan_model_ng.cpp416 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 Dspan_model.h60 virtual void SetTextBackgroundStyle(const TextBackgroundStyle& style) {}; in SetTextBackgroundStyle()
H A Dspan_node.cpp88 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 DArkContainerSpan.ts17 class ContainerSpanTextBackgroundStyleModifier extends ModifierWithKey<TextBackgroundStyle> {
18 constructor(value: TextBackgroundStyle) {
54 textBackgroundStyle(value: TextBackgroundStyle): ContainerSpanAttribute {
H A DArkImageSpan.ts49 class ImageSpanTextBackgroundStyleModifier extends ModifierWithKey<TextBackgroundStyle> {
50 constructor(value: TextBackgroundStyle) {
161 textBackgroundStyle(value: TextBackgroundStyle): ImageSpanAttribute {
H A DArkSpan.ts85 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 Dcj_image_span_ffi.cpp44 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 Dts-basic-components-containerspan.md27 textBackgroundStyle(style: TextBackgroundStyle)
39 | style | [TextBackgroundStyle](ts-basic-components-span.md#textbackgroundstyle11对象说明) | 是 | 文本背…
H A Dts-basic-components-span.md248 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 Dtext_style.cpp61 void TextBackgroundStyle::ToJsonValue(std::unique_ptr<JsonValue>& json, in ToJsonValue()
62 const std::optional<TextBackgroundStyle>& style, const NG::InspectorFilter& filter) in ToJsonValue()
65TextBackgroundStyle exportStyle = { .backgroundColor = Color::TRANSPARENT, .backgroundRadius = def… in ToJsonValue()
H A Dtext_style.h230 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 Djs_container_span.cpp28 TextBackgroundStyle JSContainerSpan::ParseTextBackgroundStyle(const JSCallbackInfo& info) in ParseTextBackgroundStyle()
30 TextBackgroundStyle textBackgroundStyle; in ParseTextBackgroundStyle()
H A Djs_container_span.h33 static TextBackgroundStyle ParseTextBackgroundStyle(const JSCallbackInfo& info);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_container_span_modifier.cpp40 TextBackgroundStyle font; in SetContainerSpanTextBackgroundStyle()
56 TextBackgroundStyle font; in ResetContainerSpanTextBackgroundStyle()
H A Dnode_image_span_modifier.cpp91 TextBackgroundStyle font; in SetImageSpanTextBackgroundStyle()
107 TextBackgroundStyle font; in ResetImageSpanTextBackgroundStyle()
H A Dnode_span_modifier.cpp339 TextBackgroundStyle font; in SetSpanTextBackgroundStyle()
355 TextBackgroundStyle font; in ResetSpanTextBackgroundStyle()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-containerspan.md27 textBackgroundStyle(style: TextBackgroundStyle)
39 | style | [TextBackgroundStyle](ts-basic-components-span.md#textbackgroundstyle11) | Yes | Text b…
H A Dts-basic-components-span.md248 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 Dimage_layout_property.h80 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 Dspan_object.h255 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 Dspan_object.cpp860 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()

12