Home
last modified time | relevance | path

Searched refs:firstInfo (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/
H A Dselect_overlay_proxy.cpp55 const SelectHandleInfo& firstInfo, const SelectHandleInfo& secondInfo) const in UpdateFirstAndSecondHandleInfo() argument
59 pattern->UpdateFirstAndSecondHandleInfo(firstInfo, secondInfo); in UpdateFirstAndSecondHandleInfo()
H A Dselect_overlay_proxy.h41 …void UpdateFirstAndSecondHandleInfo(const SelectHandleInfo& firstInfo, const SelectHandleInfo& sec…
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_test_ng.cpp1009 RichEditorAbstractSpanResult& firstInfo = changeValue.originalSpans_.front(); variable
1010 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1011 firstInfo.SetEraseLength(firstLength);
1192 RichEditorAbstractSpanResult& firstInfo = changeValue.originalSpans_.front(); variable
1193 firstInfo.SetValue("");
1206 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1207 firstInfo.SetEraseLength(firstLength);
1267 RichEditorAbstractSpanResult& firstInfo = changeValue.originalSpans_.front(); variable
1269 firstInfo.SetEraseLength(firstLength);
1270 auto spanIndex = firstInfo.GetSpanIndex();
[all …]
H A Drich_editor_keyboard_shortcut_test_ng.cpp927 RichEditorAbstractSpanResult& firstInfo = changeValue.originalSpans_.front(); variable
928 firstInfo.SetValue("test123\n");
934 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
935 firstInfo.SetEraseLength(firstLength);
949 firstInfo.SetSpanIndex(1);
H A Drich_editor_edit_testone_ng.cpp1204 RichEditorAbstractSpanResult& firstInfo = changeValue.originalSpans_.front(); variable
1205 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1206 firstInfo.SetEraseLength(firstLength);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_pattern.cpp551 const SelectHandleInfo& firstInfo, const SelectHandleInfo& secondInfo) in UpdateFirstAndSecondHandleInfo() argument
553 if (info_->firstHandle == firstInfo && info_->secondHandle == secondInfo) { in UpdateFirstAndSecondHandleInfo()
556 if (info_->firstHandle != firstInfo && !firstHandleDrag_) { in UpdateFirstAndSecondHandleInfo()
557 info_->firstHandle = firstInfo; in UpdateFirstAndSecondHandleInfo()
H A Dselect_overlay_pattern.h96 …void UpdateFirstAndSecondHandleInfo(const SelectHandleInfo& firstInfo, const SelectHandleInfo& sec…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp3983 SelectHandleInfo firstInfo; in HideHandleAndQuickMenuIfNecessary() local
3994 firstInfo.isShow = false; in HideHandleAndQuickMenuIfNecessary()
3995 firstInfo.paintRect = ComputeTouchHandleRect(startSelectionHandle_); in HideHandleAndQuickMenuIfNecessary()
3998 selectOverlayProxy_->UpdateFirstAndSecondHandleInfo(firstInfo, secondInfo); in HideHandleAndQuickMenuIfNecessary()
4004 firstInfo.paintRect = ComputeTouchHandleRect(startSelectionHandle_); in HideHandleAndQuickMenuIfNecessary()
4006 CheckHandles(firstInfo, startSelectionHandle_); in HideHandleAndQuickMenuIfNecessary()
4008 if (firstInfo.isShow || secondInfo.isShow) { in HideHandleAndQuickMenuIfNecessary()
4017 selectOverlayProxy_->UpdateFirstAndSecondHandleInfo(firstInfo, secondInfo); in HideHandleAndQuickMenuIfNecessary()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp9466 const RichEditorAbstractSpanResult& firstInfo = originalSpans.front(); in OnBackPressed() local
9468 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length()); in OnBackPressed()
9470 if (firstInfo.GetEraseLength() == firstLength && lastInfo.GetEraseLength() == lastLength) { in OnBackPressed()
9476 } else if (firstInfo.GetEraseLength() == firstLength) { in OnBackPressed()