/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_paint_method.cpp | 46 …if (richEditorPattern->GetTextContentLength() > 0 && selection.GetTextStart() != selection.GetText… in UpdateOverlayModifier() 47 …overlayMod->SetSelectedRects(pManager_->GetRects(selection.GetTextStart(), selection.GetTextEnd())… in UpdateOverlayModifier() 61 …if (richEditorPattern->GetTextContentLength() > 0 && selection.GetTextStart() != selection.GetText… in UpdateOverlayModifier() 62 selectedRects = pManager_->GetRects(selection.GetTextStart(), selection.GetTextEnd()); in UpdateOverlayModifier()
|
H A D | rich_editor_styled_string_controller.cpp | 49 auto start = std::max(richEditorPattern->GetTextSelector().GetTextStart(), 0); in GetSelection()
|
H A D | rich_editor_pattern.cpp | 284 changeStart = textSelector_.GetTextStart(); in InsertValueInStyledString() 397 start = textSelector_.GetTextStart(); in DeleteValueInStyledString() 3566 auto selectStart = textSelector_.GetTextStart(); in HandleDoubleClickOrLongPress() 4317 changeStart = textSelector_.GetTextStart(); in InsertStyledStringByPaste() 4364 …DeleteForward(textSelector_.GetTextStart(), textSelector_.GetTextEnd() - textSelector_.GetTextStar… in AddSpansByPaste() 6691 auto selectStart = textSelector_.GetTextStart(); in OnBackPressed() 7205 auto selectStart = textSelector_.GetTextStart(); in OnBackPressed() 10414 return textSelector_.GetTextStart(); in OnBackPressed() 10693 if (start == textSelector_.GetTextStart()) { in OnBackPressed() 10942 info.selectStart = textSelector_.GetTextStart(); in OnBackPressed() [all …]
|
H A D | rich_editor_controller.cpp | 89 auto start = std::max(richEditorPattern->GetTextSelector().GetTextStart(), 0); in GetSelectionSpansInfo()
|
H A D | rich_editor_select_overlay.cpp | 489 initSelector_ = { pattern->textSelector_.GetTextStart(), pattern->textSelector_.GetTextEnd() }; in OnHandleMoveStart()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_testtwo_ng.cpp | 713 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1); 754 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 809 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 812 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1321 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1359 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1368 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1376 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1384 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1393 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); [all …]
|
H A D | text_testthree_ng.cpp | 482 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -2); 835 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1); 868 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 872 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1); 923 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 930 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 981 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 1039 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 2); 1097 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 5); 1360 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1);
|
H A D | text_test_ng.cpp | 478 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0); 490 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_paint_method.cpp | 133 if (selection.GetTextStart() != selection.GetTextEnd()) { in UpdateOverlayModifier() 134 auto rects = pManager->GetParagraphsRects(selection.GetTextStart(), selection.GetTextEnd()); in UpdateOverlayModifier()
|
H A D | text_accessibility_property.cpp | 53 return textSelector.GetTextStart(); in GetTextSelectionStart()
|
H A D | text_base.h | 195 start = textSelector_.GetTextStart(); in GetSelectIndex()
|
H A D | text_pattern.cpp | 520 auto start = textSelector_.GetTextStart(); in OnHandleMove() 527 return textSelector_.GetTextStart() == 0 && in IsSelectAll() 577 auto value = GetSelectedText(textSelector_.GetTextStart(), textSelector_.GetTextEnd()); in HandleOnCopy() 596 auto subSpanString = styledString_->GetSubSpanString(textSelector_.GetTextStart(), in HandleOnCopySpanString() 597 textSelector_.GetTextEnd() - textSelector_.GetTextStart()); in HandleOnCopySpanString() 1636 GreatNotEqual(textSelector_.GetTextEnd(), textSelector_.GetTextStart())) { in IsDraggable() 1661 auto selectStart = textSelector_.GetTextStart(); in OnDragStart() 1784 auto start = textSelector_.GetTextStart(); in OnDragStartNoChild() 2112 return pManager_->GetRects(textSelector_.GetTextStart(), textSelector_.GetTextEnd()); in GetTextBoxes() 2584 auto start = textSelector_.GetTextStart(); in UpdateSelectOverlayOrCreate() [all …]
|
H A D | text_select_overlay.cpp | 238 textPattern->UpdateSelectionSpanType(textSelector.GetTextStart(), textSelector.GetTextEnd()); in OnHandleMoveDone() 259 auto start = textPattern->GetTextSelector().GetTextStart(); in GetSelectedText()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_drag_test_ng.cpp | 108 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1); 162 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0);
|
H A D | rich_editor_keyboard_shortcut_test_ng.cpp | 234 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 19); 240 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 19); 246 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 0); 252 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 0); 294 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 0); 358 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 4);
|
H A D | rich_editor_overlay_test_ng.cpp | 1178 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 0); 1227 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 1); 1273 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 0); 1290 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 1);
|
H A D | rich_editor_pattern_testone_ng.cpp | 210 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 1); 1073 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 1);
|
H A D | rich_editor_pattern_testthree_ng.cpp | 182 …EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), richEditorPattern->textSelector_.GetSta…
|
H A D | rich_editor_pattern_testfour_ng.cpp | 143 EXPECT_EQ(richEditorPattern->textSelector_.GetTextStart(), 1);
|
H A D | rich_editor_test_ng.cpp | 4163 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1); 4217 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_test_ng.cpp | 108 EXPECT_EQ(pattern->textSelector_.GetTextStart(), -1); 162 EXPECT_EQ(pattern->textSelector_.GetTextStart(), 0);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_selector.h | 131 inline int32_t GetTextStart() const in GetTextStart() function
|