Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_edit_test_ng.cpp170 richEditorPattern->moveLength_ = 0;
178 richEditorPattern->moveLength_ = 0;
493 richEditorPattern->moveLength_ = 2;
954 richEditorPattern->moveLength_ = 2;
H A Drich_editor_click_test_ng.cpp487 richEditorPattern->moveLength_ = 0;
968 richEditorPattern->moveLength_ = 1;
971 EXPECT_EQ(richEditorPattern->moveLength_, 0);
H A Drich_editor_overlay_test_ng.cpp770 richEditorPattern->moveLength_ = 1;
777 richEditorPattern->moveLength_ = 1;
782 richEditorPattern->moveLength_ = 1;
H A Drich_editor_test_ng.cpp1113 richEditorPattern->moveLength_ = 0;
1121 richEditorPattern->moveLength_ = 0;
1693 richEditorPattern->moveLength_ = 1;
1700 richEditorPattern->moveLength_ = 1;
1705 richEditorPattern->moveLength_ = 1;
1916 richEditorPattern->moveLength_ = 2;
1921 richEditorPattern->moveLength_ = -1;
1925 richEditorPattern->moveLength_ = 5;
1948 richEditorPattern->moveLength_ = 2;
1978 richEditorPattern->moveLength_ = 0;
H A Drich_editor_pattern_test_ng.cpp358 ASSERT_EQ(richEditorPattern->moveLength_, 0);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1567 …if (it != spans_.end() && (*it)->unicode != 0 && (*it)->position - caretPosition_ + moveLength_ ==… in GetSpanPositionInfo()
1569 moveLength_++; in GetSpanPositionInfo()
5065 record.beforeCaretPosition = caretPosition_ + moveLength_; in ProcessInsertValue()
5304 moveLength_ += insertValueLength; in AfterInsertValue()
6220 …if (it != spans_.end() && (*it)->unicode != 0 && (*it)->position - caretPosition_ + moveLength_ ==… in OnBackPressed()
6222 moveLength_++; in OnBackPressed()
6230 …caretPosition_ + moveLength_ - ((*it)->position - StringUtils::ToWstring((*it)->content).length())… in OnBackPressed()
6553 …std::clamp((caretPosition_ - moveLength_), 0, static_cast<int32_t>(GetTextContentLength())), false… in OnBackPressed()
6557 …std::clamp((caretPosition_ + moveLength_), 0, static_cast<int32_t>(GetTextContentLength())), false… in OnBackPressed()
6562 moveLength_ = 0; in OnBackPressed()
[all …]
H A Drich_editor_pattern.h1359 int32_t moveLength_ = 0; variable