Home
last modified time | relevance | path

Searched refs:selectionInfo (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_richeditor_ffi.cpp159 auto selectionInfo = eventInfo->GetSelection(); in FfiOHOSAceFrameworkRichEditorOnSelect() local
161 auto selectionStart = selectionInfo.selection[0]; in FfiOHOSAceFrameworkRichEditorOnSelect()
162 auto selectionEnd = selectionInfo.selection[1]; in FfiOHOSAceFrameworkRichEditorOnSelect()
164 const std::list<ResultObject>& spanObjectList = selectionInfo.resultObjects; in FfiOHOSAceFrameworkRichEditorOnSelect()
H A Dcj_richeditor_controller_ffi.cpp423 SelectionInfo selectionInfo = richEditorController->GetSpansInfo(start, end); in GetSpans() local
424 const std::list<ResultObject>& spanObjectList = selectionInfo.GetSelection().resultObjects; in GetSpans()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_pattern.h66 void initSelecitonInfo(SelectPositionInfo selectionInfo, bool oneLineSelected) in initSelecitonInfo()
68 selectPosition_ = selectionInfo; in initSelecitonInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dbase_text_select_overlay.cpp287 HoldSelectionInfo selectionInfo; in SetSelectionHoldCallback() local
288 selectionInfo.resetSelectionCallback = [weak = WeakClaim(this)]() { in SetSelectionHoldCallback()
293selectionInfo.checkTouchInArea = [weak = WeakClaim(this), manager = WeakClaim(AceType::RawPtr(over… in SetSelectionHoldCallback()
305selectionInfo.eventFilter = [weak = WeakClaim(this)](SourceType sourceType, TouchType touchType) { in SetSelectionHoldCallback()
310 overlayManager->SetHoldSelectionCallback(GetOwnerId(), selectionInfo); in SetSelectionHoldCallback()
/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); variable
411 ASSERT_NE(selectionInfo.selection_.resultObjects.size(), 0);
413 selectionInfo = textPattern->GetSpansInfo(-1, 0, GetSpansMethod::GETSPANS);
414 ASSERT_NE(selectionInfo.selection_.resultObjects.size(), 0);
416 selectionInfo = textPattern->GetSpansInfo(0, -1, GetSpansMethod::GETSPANS);
417 ASSERT_NE(selectionInfo.selection_.resultObjects.size(), 0);
419 selectionInfo = textPattern->GetSpansInfo(-1, -1, GetSpansMethod::GETSPANS);
420 ASSERT_NE(selectionInfo.selection_.resultObjects.size(), 0);
422 selectionInfo = textPattern->GetSpansInfo(1, 0, GetSpansMethod::GETSPANS);
423 ASSERT_NE(selectionInfo.selection_.resultObjects.size(), 0);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/
H A Dselect_content_overlay_manager.h57 void SetHoldSelectionCallback(int32_t id, const HoldSelectionInfo& selectionInfo);
H A Dselect_content_overlay_manager.cpp909 …ContentOverlayManager::SetHoldSelectionCallback(int32_t id, const HoldSelectionInfo& selectionInfo) in SetHoldSelectionCallback() argument
918 holdSelectionInfo_ = selectionInfo; in SetHoldSelectionCallback()