Searched refs:customSpan (Results 1 – 9 of 9) sorted by relevance
94 auto customSpan = DynamicCast<CustomSpan>(spanBase); in AddCustomSpan() local95 if (!customSpan) { in AddCustomSpan()98 customSpan->AddStyledString(Referenced::WeakClaim(this)); in AddCustomSpan()109 auto customSpan = DynamicCast<CustomSpan>(spanBase); in RemoveCustomSpan() local110 if (!customSpan) { in RemoveCustomSpan()321 CHECK_NULL_VOID(customSpan); in AddSpecialSpan()322 spanItem = MakeCustomSpanItem(customSpan); in AddSpecialSpan()363 spanItem->interval.first = customSpan->GetStartIndex(); in MakeCustomSpanItem()364 spanItem->interval.second = customSpan->GetEndIndex(); in MakeCustomSpanItem()365 spanItem->onDraw = customSpan->GetOnDraw(); in MakeCustomSpanItem()[all …]
111 RefPtr<NG::CustomSpanItem> MakeCustomSpanItem(const RefPtr<CustomSpan>& customSpan);
121 auto customSpan = AceType::MakeRefPtr<CustomSpan>(); in CreateCustomSpanStyledString() local122 return AceType::MakeRefPtr<MutableSpanString>(customSpan); in CreateCustomSpanStyledString()
117 auto customSpan = AceType::MakeRefPtr<CustomSpan>(); in CreateCustomSpanStyledString() local118 return AceType::MakeRefPtr<MutableSpanString>(customSpan); in CreateCustomSpanStyledString()
929 auto customSpan = Referenced::MakeRefPtr<JSNativeCustomSpan>(); in Constructor() local930 customSpan->IncRefCount(); in Constructor()931 args.SetReturnValue(Referenced::RawPtr(customSpan)); in Constructor()934 void JSNativeCustomSpan::Destructor(JSNativeCustomSpan* customSpan) in Destructor() argument936 if (customSpan != nullptr) { in Destructor()937 customSpan->DecRefCount(); in Destructor()1037 auto customSpan = DynamicCast<JSCustomSpan>(other); in IsAttributesEqual() local1038 if (!customSpan) { in IsAttributesEqual()1041 return (customSpan->customSpanObj_) in IsAttributesEqual()
166 RefPtr<CustomSpan> customSpan = JSSpanString::ParseJsCustomSpan(args); in Constructor() local167 spanString = AceType::MakeRefPtr<SpanString>(customSpan); in Constructor()905 RefPtr<CustomSpan> customSpan = JSSpanString::ParseJsCustomSpan(args); in Constructor() local906 spanString = AceType::MakeRefPtr<MutableSpanString>(customSpan); in Constructor()
341 auto customSpan = AceType::MakeRefPtr<CustomSpan>(); variable342 auto spanString = AceType::MakeRefPtr<MutableSpanString>(customSpan);383 auto customSpan = AceType::MakeRefPtr<CustomSpan>(); variable384 auto spanString = AceType::MakeRefPtr<MutableSpanString>(customSpan);1393 auto customSpan = AceType::MakeRefPtr<CustomSpan>(); variable1395 customSpan->ApplyToSpanItem(spanItem, SpanOperation::ADD);1396 customSpan->ApplyToSpanItem(customSpanItem, SpanOperation::ADD);1397 customSpan->ApplyToSpanItem(customSpanItem, SpanOperation::REMOVE);1398 buffer = customSpan->ToString();
2961 auto customSpan = customSpanNode->GetSpanItem(); in AddChildSpanItem() local2962 customSpan->placeholderSpanNodeId = customSpanNode->GetId(); in AddChildSpanItem()2963 spans_.emplace_back(customSpan); in AddChildSpanItem()
11023 auto customSpan = MakeRefPtr<CustomSpan>(); in OnBackPressed() local11025 customSpan->SetOnMeasure(customSpanItem->onMeasure.value()); in OnBackPressed()11028 customSpan->SetOnDraw(customSpanItem->onDraw.value()); in OnBackPressed()11030 auto spanString = MakeRefPtr<MutableSpanString>(customSpan); in OnBackPressed()