Home
last modified time | relevance | path

Searched refs:spanIndex (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_richeditor_controller_ffi.cpp91 spanPosition.spanIndex = spanObject.spanPosition.spanIndex; in ParseRichEditorTextSpanResult()
124 spanPosition.spanIndex = spanObject.GetSpanIndex(); in ParseRichEditorAbstractTextSpanResult()
197 int32_t spanIndex = 0; in AddTextSpan() local
201 spanIndex = richEditorController->AddTextSpan(options); in AddTextSpan()
203 return spanIndex; in AddTextSpan()
239 int32_t spanIndex = 0; in AddImageSpan() local
281 spanIndex = richEditorController->AddImageSpan(options); in AddImageSpan()
283 return spanIndex; in AddImageSpan()
H A Dcj_richeditor_controller_ffi.h96 int32_t spanIndex; member
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Doh_audio_buffer.cpp672 uint32_t spanIndex = deltaToBase / spanSizeInFrame_; in GetSpanInfo() local
673 …CHECK_AND_RETURN_RET_LOG(spanIndex < spanConut_, nullptr, "invalid spanIndex:%{public}d", spanInde… in GetSpanInfo()
674 return &spanInfoList_[spanIndex]; in GetSpanInfo()
679 SpanInfo *OHAudioBuffer::GetSpanInfoByIndex(uint32_t spanIndex) in GetSpanInfoByIndex() argument
681 …CHECK_AND_RETURN_RET_LOG(spanIndex < spanConut_, nullptr, "invalid spanIndex:%{public}d", spanInde… in GetSpanInfoByIndex()
682 return &spanInfoList_[spanIndex]; in GetSpanInfoByIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp976 return spanIndex; in AddImageSpan()
1083 return spanIndex; in AddPlaceholderSpan()
1178 return spanIndex; in AddTextSpanOperation()
1274 return spanIndex; in AddSymbolSpanOperation()
2350 resultObject.spanIndex = spanIndex; in GetSelectSpanSplit()
2363 resultObject.spanIndex = spanIndex; in GetSelectSpanSplit()
2371 resultObject.spanIndex = spanIndex; in GetSelectSpanSplit()
2372 spanIndex++; in GetSelectSpanSplit()
2390 resultObject.spanIndex = spanIndex; in GetSelectSpanInfo()
9532 spanIndex = insertInSpan ? spanIndex + 1 : spanIndex; in OnBackPressed()
[all …]
H A Drich_editor_event_hub.h29 void SetSpanIndex(int32_t spanIndex) in SetSpanIndex() argument
31 spanIndex_ = spanIndex; in SetSpanIndex()
83 void SetSpanIndex(int32_t spanIndex);
H A Drich_editor_event_hub.cpp54 void RichEditorAbstractSpanResult::SetSpanIndex(int32_t spanIndex) in SetSpanIndex() argument
56 spanIndex_ = spanIndex; in SetSpanIndex()
H A Dselection_info.h66 int32_t spanIndex = 0; member
H A Drich_editor_pattern.h1182 …<struct UpdateParagraphStyle>& spanParaStyle, const RefPtr<SpanNode>& spanNode, int32_t spanIndex);
1189 …oid CreateSpanResult(RichEditorChangeValue& changeValue, int32_t& innerPosition, int32_t spanIndex,
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-richeditor.md666 | spanIndex | number | 是 | Span索引值。 |
1913 console.log("spanIndex:" + value.spanPosition.spanIndex)
1925 console.log("spanIndex:" + item.spanPosition.spanIndex)
2723 console.log("spanIndex:" + value.spanPosition.spanIndex)
2735 console.log("spanIndex:" + item.spanPosition.spanIndex)
3426 …builder span index " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range : " +…
3429 …urceStr + ", index : " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range: " +
3447 …builder span index " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range : " +…
3450 …urceStr + ", index : " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range: " +
3508 console.log("spanIndex:" + value.spanPosition.spanIndex)
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/include/
H A Doh_audio_buffer.h168 SpanInfo *GetSpanInfoByIndex(uint32_t spanIndex);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp85 auto spanIndex = span->GetStartIndex(); in RemoveSpecialSpans() local
86 if (start <= spanIndex && spanIndex < end) { in RemoveSpecialSpans()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.cpp1589 int32_t spanIndex = 0; in AddImageSpan() local
1591 spanIndex = richEditorController->AddImageSpan(options); in AddImageSpan()
1593 args.SetReturnValue(JSRef<JSVal>::Make(ToJSValue(spanIndex))); in AddImageSpan()
1738 int32_t spanIndex = 0; in AddTextSpan() local
1740 spanIndex = richEditorController->AddTextSpan(options); in AddTextSpan()
1744 args.SetReturnValue(JSRef<JSVal>::Make(ToJSValue(spanIndex))); in AddTextSpan()
1787 int32_t spanIndex = 0; in AddSymbolSpan() local
1789 spanIndex = richEditorController->AddSymbolSpan(options); in AddSymbolSpan()
1791 args.SetReturnValue(JSRef<JSVal>::Make(ToJSValue(spanIndex))); in AddSymbolSpan()
1913 int32_t spanIndex = 0; in AddPlaceholderSpan() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_edit_testone_ng.cpp1213 int32_t spanIndex = 0; variable
1219 …hEditorPattern->GetChangeSpanStyle(changeValue, spanTextStyle, spanParaStyle, spanNode, spanIndex);
1227 …hEditorPattern->GetChangeSpanStyle(changeValue, spanTextStyle, spanParaStyle, spanNode, spanIndex);
1233 …hEditorPattern->GetChangeSpanStyle(changeValue, spanTextStyle, spanParaStyle, spanNode, spanIndex);
H A Drich_editor_pattern_test_ng.cpp1018 int32_t spanIndex = 0; variable
1030 …hEditorPattern->GetChangeSpanStyle(changeValue, spanTextStyle, spanParaStyle, spanNode, spanIndex);
1270 auto spanIndex = firstInfo.GetSpanIndex(); variable
1272 EXPECT_EQ(spanIndex, firstInfo.GetSpanIndex());
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Daudio_service_common_unit_test.cpp317 uint32_t spanIndex = 2; variable
318 SpanInfo *spanInfoFromIndex = oHAudioBuffer->GetSpanInfoByIndex(spanIndex);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-richeditor.md668 | spanIndex | number | Yes | Span index. |
1914 console.log("spanIndex:" + value.spanPosition.spanIndex)
1926 console.log("spanIndex:" + item.spanPosition.spanIndex)
2721 console.log("spanIndex:" + value.spanPosition.spanIndex)
2733 console.log("spanIndex:" + item.spanPosition.spanIndex)
3413 …builder span index " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range : " +…
3416 …urceStr + ", index : " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range: " +
3434 …builder span index " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range : " +…
3437 …urceStr + ", index : " + (item as RichEditorImageSpanResult).spanPosition.spanIndex + ", range: " +
3495 console.log("spanIndex:" + value.spanPosition.spanIndex)
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp246 obj.spanPosition.spanIndex = imageIndex; in GetSpansInfoInStyledString()
1735 …auto builderNode = DynamicCast<FrameNode>(pattern->GetChildByIndex(result.spanPosition.spanIndex)); in ProcessNormalUdmfData()
1817 if (resultObj.spanPosition.spanIndex >= static_cast<int32_t>(pattern->spans_.size())) { in UpdateSpanItemDragStatus()
1821 std::advance(it, resultObj.spanPosition.spanIndex); in UpdateSpanItemDragStatus()
1844 …uto imageNode = DynamicCast<FrameNode>(pattern->GetChildByIndex(resultObj.spanPosition.spanIndex)); in UpdateSpanItemDragStatus()
2068 resultObject.spanPosition.spanIndex = index; in GetSymbolSpanResultObject()
3716 resultObject.spanPosition.spanIndex = index; in GetBuilderResultObject()
3830 resultObject.spanPosition.spanIndex = index; in GetTextResultObject()
3859 resultObject.spanPosition.spanIndex = index; in GetImageResultObject()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_rich_editor_bridge.cpp485 panda::NumberRef::New(vm, resultObject.spanPosition.spanIndex), spanRangeArray in CreateSpanResultObject()