/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_base_test_ng.cpp | 330 ASSERT_NE(richEditorController, nullptr); 361 ASSERT_NE(richEditorController, nullptr); 426 ASSERT_NE(richEditorController, nullptr); 465 ASSERT_NE(richEditorController, nullptr); 495 ASSERT_NE(richEditorController, nullptr); 535 ASSERT_NE(richEditorController, nullptr); 572 ASSERT_NE(richEditorController, nullptr); 612 ASSERT_NE(richEditorController, nullptr); 653 EXPECT_NE(richEditorController, nullptr); 688 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_base_testone_ng.cpp | 72 ASSERT_NE(richEditorController, nullptr); 88 richEditorController->AddTextSpan(options2); 89 richEditorController->AddImageSpan(options3); 90 richEditorController->AddTextSpan(options2); 123 richEditorController->DeleteSpans(option); 128 richEditorController->DeleteSpans(option); 148 ASSERT_NE(richEditorController, nullptr); 323 ASSERT_NE(richEditorController, nullptr); 931 ASSERT_NE(richEditorController, nullptr); 963 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_test_ng.cpp | 790 ASSERT_NE(richEditorController, nullptr); 821 ASSERT_NE(richEditorController, nullptr); 886 ASSERT_NE(richEditorController, nullptr); 925 ASSERT_NE(richEditorController, nullptr); 955 ASSERT_NE(richEditorController, nullptr); 995 ASSERT_NE(richEditorController, nullptr); 1244 ASSERT_NE(richEditorController, nullptr); 1302 ASSERT_NE(richEditorController, nullptr); 1350 ASSERT_NE(richEditorController, nullptr); 1373 richEditorController->SetCaretOffset(2); [all …]
|
H A D | rich_editor_change_callback_test_ng.cpp | 936 ASSERT_NE(richEditorController, nullptr); 968 ASSERT_NE(richEditorController, nullptr); 993 ASSERT_NE(richEditorController, nullptr); 1037 ASSERT_NE(richEditorController, nullptr); 1071 ASSERT_NE(richEditorController, nullptr); 1094 ASSERT_NE(richEditorController, nullptr); 1111 richEditorController->StopEditing(); 1132 ASSERT_NE(richEditorController, nullptr); 1225 ASSERT_NE(richEditorController, nullptr); 1270 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_edit_testone_ng.cpp | 257 ASSERT_NE(richEditorController, nullptr); 301 ASSERT_NE(richEditorController, nullptr); 320 richEditorController->AddImageSpan(options); 634 ASSERT_NE(richEditorController, nullptr); 638 richEditorController->AddTextSpan(options); 665 ASSERT_NE(richEditorController, nullptr); 695 ASSERT_NE(richEditorController, nullptr); 790 ASSERT_NE(richEditorController, nullptr); 826 ASSERT_NE(richEditorController, nullptr); 857 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_keyboard_shortcut_test_ng.cpp | 122 ASSERT_NE(richEditorController, nullptr); 130 richEditorController->AddTextSpan(textOptions); 222 ASSERT_NE(richEditorController, nullptr); 230 richEditorController->AddTextSpan(textOptions); 273 ASSERT_NE(richEditorController, nullptr); 288 richEditorController->AddTextSpan(textOptions); 314 ASSERT_NE(richEditorController, nullptr); 320 richEditorController->AddTextSpan(textOptions); 346 ASSERT_NE(richEditorController, nullptr); 380 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_overlay_test_ng.cpp | 221 ASSERT_NE(richEditorController, nullptr); 269 ASSERT_NE(richEditorController, nullptr); 332 ASSERT_NE(richEditorController, nullptr); 605 ASSERT_NE(richEditorController, nullptr); 613 richEditorController->AddTextSpan(options); 616 auto info1 = richEditorController->GetSpansInfo(1, 2); 637 ASSERT_NE(richEditorController, nullptr); 643 richEditorController->AddTextSpan(options); 646 auto info1 = richEditorController->GetSpansInfo(1, 2); 1112 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_click_test_ng.cpp | 513 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 514 ASSERT_NE(richEditorController, nullptr); 538 richEditorController->SetUpdateSpanStyle(updateSpanStyle); 548 richEditorController->UpdateSpanStyle(0, 2, style, imageStyle); 586 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 587 ASSERT_NE(richEditorController, nullptr); 629 ASSERT_NE(richEditorController, nullptr); 655 auto info = richEditorController->GetSpansInfo(5, sizeof(INIT_VALUE_1)); 795 ASSERT_NE(richEditorController, nullptr); 874 ASSERT_NE(richEditorController, nullptr); [all …]
|
H A D | rich_editor_pattern_testone_ng.cpp | 235 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 236 ASSERT_NE(richEditorController, nullptr); 266 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 267 ASSERT_NE(richEditorController, nullptr); 401 ASSERT_NE(richEditorController, nullptr); 413 richEditorController->AddTextSpan(options2); 433 ASSERT_NE(richEditorController, nullptr); 445 richEditorController->AddTextSpan(options2); 585 ASSERT_NE(richEditorController, nullptr); 593 richEditorController->AddTextSpan(options2); [all …]
|
H A D | rich_editor_common_test_ng.cpp | 182 auto richEditorController = richEditorPattern->GetRichEditorController(); in OnDrawVerify() local 183 ASSERT_NE(richEditorController, nullptr); in OnDrawVerify() 184 richEditorController->AddSymbolSpan(options); in OnDrawVerify()
|
H A D | rich_editor_pattern_testfour_ng.cpp | 84 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 85 ASSERT_NE(richEditorController, nullptr); 451 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 452 ASSERT_NE(richEditorController, nullptr); 466 auto index1 = richEditorController->AddSymbolSpan(options); 468 auto index2 = richEditorController->AddSymbolSpan(options); 470 auto index3 = richEditorController->AddSymbolSpan(options); 472 auto index4 = richEditorController->AddSymbolSpan(options);
|
H A D | rich_editor_edit_test_ng.cpp | 1205 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 1206 ASSERT_NE(richEditorController, nullptr); 1217 richEditorController->AddTextSpan(options); 1225 auto info = richEditorController->GetSpansInfo(0, 6); 1250 auto richEditorController = richEditorPattern->GetRichEditorController(); variable 1251 ASSERT_NE(richEditorController, nullptr); 1270 richEditorController->AddImageSpan(options); 1271 auto info = richEditorController->GetSpansInfo(0, 1);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_richeditor_controller_ffi.cpp | 200 if (richEditorController) { in AddTextSpan() 201 spanIndex = richEditorController->AddTextSpan(options); in AddTextSpan() 280 if (richEditorController) { in AddImageSpan() 327 if (richEditorController) { in DeleteSpans() 328 richEditorController->DeleteSpans(options); in DeleteSpans() 338 if (richEditorController) { in DeleteAllSpans() 339 richEditorController->DeleteSpans(options); in DeleteAllSpans() 376 CHECK_NULL_VOID(richEditorController); in UpdateSpanStyleText() 396 CHECK_NULL_VOID(richEditorController); in UpdateSpanStyleImage() 419 if (richEditorController) { in GetSpans() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_richeditor.cpp | 1590 if (richEditorController) { in AddImageSpan() 1739 if (richEditorController) { in AddTextSpan() 1788 if (richEditorController) { in AddSymbolSpan() 1829 CHECK_NULL_VOID(richEditorController); in GetSpansInfo() 1857 CHECK_NULL_VOID(richEditorController); in DeleteSpans() 1914 if (richEditorController) { in AddPlaceholderSpan() 1946 CHECK_NULL_VOID(richEditorController); in GetSelection() 2139 CHECK_NULL_VOID(richEditorController); in UpdateSpanStyle() 2156 CHECK_NULL_VOID(richEditorController); in GetParagraphsInfo() 2185 CHECK_NULL_VOID(richEditorController); in UpdateParagraphStyle() [all …]
|