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 D | rich_editor_controller.cpp | 81 return richEditorPattern->GetSpansInfo(start, end, GetSpansMethod::GETSPANS); in GetSpansInfo() 96 SelectionInfo value = richEditorPattern->GetSpansInfo(start, end, GetSpansMethod::GETSPANS); in GetSelectionSpansInfo()
|
H A D | selection_info.h | 38 enum GetSpansMethod : int32_t { enum
|
H A D | rich_editor_pattern.cpp | 2991 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 D | text_testfive_ng.cpp | 410 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 D | text_pattern.cpp | 256 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 D | text_pattern.h | 88 SelectionInfo GetSpansInfo(int32_t start, int32_t end, GetSpansMethod method);
|