Searched refs:textFieldEventHub (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_model_ng.cpp | 426 CHECK_NULL_VOID(textFieldEventHub); in SetInputFilter() 427 textFieldEventHub->SetOnInputFilterError(onError); in SetInputFilter() 441 CHECK_NULL_VOID(textFieldEventHub); in SetInputFilter() 442 textFieldEventHub->SetOnInputFilterError(onError); in SetInputFilter() 452 CHECK_NULL_VOID(textFieldEventHub); in SetOnEditChanged() 453 textFieldEventHub->SetOnEditChanged(std::move(func)); in SetOnEditChanged() 551 CHECK_NULL_VOID(textFieldEventHub); in SetOnTextSelectionChange() 562 CHECK_NULL_VOID(textFieldEventHub); in SetOnScroll() 1706 CHECK_NULL_VOID(textFieldEventHub); in SetOnEditChange() 1716 CHECK_NULL_VOID(textFieldEventHub); in SetOnTextSelectionChange() [all …]
|
H A D | search_pattern.cpp | 467 auto textFieldEventHub = textFieldFrameNode->GetEventHub<EventHub>(); in InitTextFieldDragEvent() local 468 CHECK_NULL_VOID(textFieldEventHub); in InitTextFieldDragEvent() 474 textFieldEventHub->SetOnDragStart(std::move(dragStart)); in InitTextFieldDragEvent() 479 … textFieldEventHub->SetCustomerOnDragFunc(DragFuncType::DRAG_ENTER, std::move(customerDragEnter)); in InitTextFieldDragEvent() 484 … textFieldEventHub->SetCustomerOnDragFunc(DragFuncType::DRAG_LEAVE, std::move(customerDragLeave)); in InitTextFieldDragEvent() 489 … textFieldEventHub->SetCustomerOnDragFunc(DragFuncType::DRAG_MOVE, std::move(customerDragMove)); in InitTextFieldDragEvent() 494 … textFieldEventHub->SetCustomerOnDragFunc(DragFuncType::DRAG_DROP, std::move(customerDragDrop)); in InitTextFieldDragEvent() 499 … textFieldEventHub->SetCustomerOnDragFunc(DragFuncType::DRAG_END, std::move(customerDragEnd)); in InitTextFieldDragEvent()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_testtwo_ng.cpp | 40 auto textFieldEventHub = textFieldChild->GetEventHub<TextFieldEventHub>(); variable 41 textFieldEventHub->SetOnEditChanged([](bool isChanged) { in __anond0d3067b0202() 452 auto textFieldEventHub = textFieldFrameNode->GetEventHub<EventHub>(); variable 461 ASSERT_NE(textFieldEventHub->onDragStart_, nullptr); 469 ASSERT_NE(textFieldEventHub->customerOnDragEnter_, nullptr); 477 ASSERT_NE(textFieldEventHub->customerOnDragLeave_, nullptr); 485 ASSERT_NE(textFieldEventHub->customerOnDragMove_, nullptr); 493 ASSERT_NE(textFieldEventHub->customerOnDrop_, nullptr); 501 ASSERT_NE(textFieldEventHub->customerOnDragEnd_, nullptr);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_pattern.cpp | 5053 auto textFieldEventHub = tmpHost->GetEventHub<TextFieldEventHub>(); in UpdateInputFilterErrorText() local 5054 CHECK_NULL_VOID(textFieldEventHub); in UpdateInputFilterErrorText() 5055 textFieldEventHub->FireOnInputFilterError(errorText); in UpdateInputFilterErrorText()
|