Searched refs:BackgroundColorSpan (Results 1 – 9 of 9) sorted by relevance
859 BackgroundColorSpan::BackgroundColorSpan( in BackgroundColorSpan() function in OHOS::Ace::BackgroundColorSpan876 BackgroundColorSpan::BackgroundColorSpan(std::optional<TextBackgroundStyle> textBackgroundStyle) in BackgroundColorSpan() function in OHOS::Ace::BackgroundColorSpan879 RefPtr<SpanBase> BackgroundColorSpan::GetSubSpan(int32_t start, int32_t end) in GetSubSpan()884 void BackgroundColorSpan::AddSpanStyle(const RefPtr<NG::SpanItem>& spanItem) const in AddSpanStyle()892 void BackgroundColorSpan::RemoveSpanStyle(const RefPtr<NG::SpanItem>& spanItem) in RemoveSpanStyle()899 TextBackgroundStyle BackgroundColorSpan::GetBackgroundColor() const in GetBackgroundColor()904 void BackgroundColorSpan::SetBackgroundColorGroupId(int32_t groupId) in SetBackgroundColorGroupId()909 SpanType BackgroundColorSpan::GetSpanType() const in GetSpanType()914 std::string BackgroundColorSpan::ToString() const in ToString()926 bool BackgroundColorSpan::IsAttributesEqual(const RefPtr<SpanBase>& other) const in IsAttributesEqual()[all …]
251 class BackgroundColorSpan : public SpanBase {252 DECLARE_ACE_TYPE(BackgroundColorSpan, SpanBase);254 BackgroundColorSpan() = default;255 explicit BackgroundColorSpan(std::optional<TextBackgroundStyle> textBackgroundStyle_);256 …BackgroundColorSpan(std::optional<TextBackgroundStyle> textBackgroundStyle_, int32_t start, int32_…
537 return MakeRefPtr<BackgroundColorSpan>(); in GetDefaultSpan()603 auto backgroundColorSpan = DynamicCast<BackgroundColorSpan>(span); in SetGroupId()
107 ListNode<BackgroundColorSpan>* node_backColor = input->backgroundColorList_.Begin(); in SetSpannableString()377 BackgroundColorSpan inputSpan; in SetBackgroundColor()385 ListNode<BackgroundColorSpan>* tempSpan = backgroundColorList_.Begin(); in SetBackgroundColor()393 needAddNode = EqualInsert<BackgroundColorSpan>( in SetBackgroundColor()397 BackgroundColorSpan tempLeft; in SetBackgroundColor()401 BackgroundColorSpan tempRight; in SetBackgroundColor()405 needAddNode = UnequalInsert<BackgroundColorSpan>( in SetBackgroundColor()410 BackgroundColorSpan inputSpan; in SetBackgroundColor()424 ListNode<BackgroundColorSpan>* tempSpan = backgroundColorList_.Begin(); in GetBackgroundColor()
222 static RefPtr<BackgroundColorSpan> ParseJSBackgroundColorSpan(const JSCallbackInfo& info);226 RefPtr<BackgroundColorSpan>& GetBackgroundColorSpan();227 void SetBackgroundColorSpan(const RefPtr<BackgroundColorSpan>& backgroundColorSpan);231 RefPtr<BackgroundColorSpan> backgroundColorSpan_;
1566 RefPtr<BackgroundColorSpan> span; in Constructor()1568 span = AceType::MakeRefPtr<BackgroundColorSpan>(); in Constructor()1584 RefPtr<BackgroundColorSpan> JSBackgroundColorSpan::ParseJSBackgroundColorSpan(const JSCallbackInfo&… in ParseJSBackgroundColorSpan()1587 return AceType::MakeRefPtr<BackgroundColorSpan>(textBackgroundValue); in ParseJSBackgroundColorSpan()1605 RefPtr<BackgroundColorSpan>& JSBackgroundColorSpan::GetBackgroundColorSpan() in GetBackgroundColorSpan()1610 void JSBackgroundColorSpan::SetBackgroundColorSpan(const RefPtr<BackgroundColorSpan>& backgroundCol… in SetBackgroundColorSpan()
392 auto span = AceType::DynamicCast<BackgroundColorSpan>(spanObject); in CreateJSBackgroundColorSpan()544 return AceType::MakeRefPtr<BackgroundColorSpan>( in ParseJSBackgroundColorSpan()
43 struct BackgroundColorSpan : public HeapBase { struct109 List<BackgroundColorSpan> backgroundColorList_;
1443 spanString->AddSpan(AceType::MakeRefPtr<BackgroundColorSpan>(textBackgroundStyle, 7, 9));1446 auto backgroundColorSpan = AceType::MakeRefPtr<BackgroundColorSpan>(textBackgroundStyle);1483 spanString->AddSpan(AceType::MakeRefPtr<BackgroundColorSpan>(textBackgroundStyle, 8, 10));1489 auto backgroundColorSpan = AceType::DynamicCast<BackgroundColorSpan>(firstSpans[0]);