Home
last modified time | relevance | path

Searched refs:GetSpansMethod (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_controller.cpp81 return richEditorPattern->GetSpansInfo(start, end, GetSpansMethod::GETSPANS); in GetSpansInfo()
96 SelectionInfo value = richEditorPattern->GetSpansInfo(start, end, GetSpansMethod::GETSPANS); in GetSelectionSpansInfo()
H A Dselection_info.h38 enum GetSpansMethod : int32_t { enum
H A Drich_editor_pattern.cpp2991 auto textSelectInfo = GetSpansInfo(currentPosition, nextPosition, GetSpansMethod::ONSELECT); in HandleOnlyImageSelected()
3319 …= GetSpansInfo(textSelector_.GetTextStart(), textSelector_.GetTextEnd(), GetSpansMethod::ONSELECT); in JudgeContentDraggable()
6997 auto textSelectInfo = GetSpansInfo(selectStart, selectEnd, GetSpansMethod::ONSELECT); in OnBackPressed()
7207 auto textSelectInfo = GetSpansInfo(selectStart, selectEnd, GetSpansMethod::ONSELECT); in OnBackPressed()
7464 …= GetSpansInfo(textSelector_.GetTextStart(), textSelector_.GetTextEnd(), GetSpansMethod::ONSELECT); in OnBackPressed()
7606 auto textSelectInfo = GetSpansInfo(-1, -1, GetSpansMethod::ONSELECT); in OnBackPressed()
7908 UpdateSelectionType(GetSpansInfo(start, end, GetSpansMethod::ONSELECT)); in OnBackPressed()
8781 auto infos = GetSpansInfo(start, end, GetSpansMethod::ONSELECT); in OnBackPressed()
9262 …SelectionInfo textSelectInfo = GetSpansInfo(dragRange_.first, dragRange_.second, GetSpansMethod::O… in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_testfive_ng.cpp410 auto selectionInfo = textPattern->GetSpansInfo(0, 0, GetSpansMethod::GETSPANS);
413 selectionInfo = textPattern->GetSpansInfo(-1, 0, GetSpansMethod::GETSPANS);
416 selectionInfo = textPattern->GetSpansInfo(0, -1, GetSpansMethod::GETSPANS);
419 selectionInfo = textPattern->GetSpansInfo(-1, -1, GetSpansMethod::GETSPANS);
422 selectionInfo = textPattern->GetSpansInfo(1, 0, GetSpansMethod::GETSPANS);
425 selectionInfo = textPattern->GetSpansInfo(-1, -1, static_cast<GetSpansMethod>(-1));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp256 SelectionInfo TextPattern::GetSpansInfo(int32_t start, int32_t end, GetSpansMethod method) in GetSpansInfo()
264 if (method == GetSpansMethod::GETSPANS) { in GetSpansInfo()
272 } else if (method == GetSpansMethod::ONSELECT) { in GetSpansInfo()
279 (method == GetSpansMethod::ONSELECT && realStart == realEnd)) { in GetSpansInfo()
1665 auto textSelectInfo = GetSpansInfo(selectStart, selectEnd, GetSpansMethod::ONSELECT); in OnDragStart()
3629 UpdateSelectionType(GetSpansInfo(selectStart, selectEnd, GetSpansMethod::ONSELECT)); in UpdateSelectionSpanType()
H A Dtext_pattern.h88 SelectionInfo GetSpansInfo(int32_t start, int32_t end, GetSpansMethod method);