/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | input_method_manager_ohos.cpp | 175 auto textFieldManager = pipeline->GetTextFieldManager(); in CloseKeyboard() local 176 CHECK_NULL_VOID(textFieldManager); in CloseKeyboard() 177 if (!textFieldManager->GetImeShow() && !textFieldManager->GetIsImeAttached()) { in CloseKeyboard() 181 textFieldManager->SetNeedToRequestKeyboard(false); in CloseKeyboard()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_element.cpp | 40 auto textFieldManager = context->GetTextFieldManager(); in OnMount() local 41 textFieldManager->SetScrollElement(context->GetLastPage()->GetPageId(), WeakClaim(this)); in OnMount()
|
H A D | render_single_child_scroll.cpp | 249 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(context->GetTextFieldManager()); in PerformLayout() local 250 if (textFieldManager && moveStatus_.first && axis_ == Axis::VERTICAL) { in PerformLayout() 251 moveDistance_ = textFieldManager->GetClickPosition().GetY() - viewPort_.Height(); in PerformLayout() 256 if (textFieldManager && moveStatus_.second && !moveStatus_.first && axis_ == Axis::VERTICAL) { in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/page/ |
H A D | page_element.cpp | 39 auto textFieldManager = context->GetTextFieldManager(); in ~PageElement() local 40 if (textFieldManager) { in ~PageElement() 41 textFieldManager->RemovePageId(pageId_); in ~PageElement()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | on_text_changed_listener_impl.cpp | 350 … auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(pipeline->GetTextFieldManager()); in NotifyPanelStatusInfo() local 351 CHECK_NULL_VOID(textFieldManager); in NotifyPanelStatusInfo() 353 textFieldManager->SetImeShow(keyboardInfo.visible); in NotifyPanelStatusInfo() 480 … auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(pipeline->GetTextFieldManager()); in OnDetach() local 481 CHECK_NULL_VOID(textFieldManager); in OnDetach() 482 textFieldManager->SetIsImeAttached(false); in OnDetach()
|
H A D | text_field_pattern.cpp | 1311 if (textFieldManager) { in HandleBlurEvent() 3390 if (textFieldManager) { in OnDetachFromFrameNode() 3761 CHECK_NULL_VOID(textFieldManager); in UpdateTextFieldManager() 5095 CHECK_NULL_VOID(textFieldManager); in RequestKeyboardByFocusSwitch() 5102 if (textFieldManager && !textFieldManager->GetNeedToRequestKeyboard()) { in RequestKeyboardByFocusSwitch() 7920 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 7970 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 7982 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 7989 … auto caretPos = textFieldManager->GetFocusedNodeCaretRect().Top() + textFieldManager->GetHeight(); in OnBackPressed() 8651 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testthree_ng.cpp | 420 auto textFieldManager = AceType::MakeRefPtr<TextFieldManagerNG>(); variable 421 textFieldManager->SetHeight(20); 422 context->SetTextFieldManager(textFieldManager); 433 EXPECT_NE(textFieldManager->GetOnFocusTextField().Upgrade(), nullptr);
|
H A D | rich_editor_pattern_testone_ng.cpp | 463 auto textFieldManager = AceType::MakeRefPtr<TextFieldManagerNG>(); variable 464 textFieldManager->SetHeight(20); 465 MockPipelineContext::GetCurrent()->SetTextFieldManager(textFieldManager);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | grid_layout_test_ng.cpp | 106 auto textFieldManager = AceType::MakeRefPtr<TextFieldManagerNG>(); variable 107 MockPipelineContext::GetCurrent()->SetTextFieldManager(textFieldManager); 109 textFieldManager->SetOnFocusTextField(textFieldPattern); 111 textFieldManager->SetClickPosition(clickPosition); 142 auto textFieldManager = AceType::MakeRefPtr<TextFieldManagerNG>(); variable 143 MockPipelineContext::GetCurrent()->SetTextFieldManager(textFieldManager); 145 textFieldManager->SetOnFocusTextField(textFieldPattern); 147 textFieldManager->SetClickPosition(clickPosition);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_func_test.cpp | 515 auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(manager); variable 516 EXPECT_FALSE(textFieldManager == nullptr); 534 auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(manager); variable 535 EXPECT_FALSE(textFieldManager->onFocusTextField_.Invalid()); 1246 … auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(pipeline->GetTextFieldManager()); variable 1247 ASSERT_NE(textFieldManager, nullptr); 1249 EXPECT_TRUE(textFieldManager->needToRequestKeyboard_);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.cpp | 425 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(manager); in UpdateCaretInfoToController() local 426 CHECK_NULL_VOID(textFieldManager); in UpdateCaretInfoToController() 427 auto weakFocusedTextField = textFieldManager->GetOnFocusTextField(); in UpdateCaretInfoToController() 1124 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(manager); in ResetSlidingPanelParentHeight() local 1125 textFieldManager->ResetSlidingPanelParentHeight(); in ResetSlidingPanelParentHeight() 1138 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(manager); in ResetOnFocusForTextFieldManager() local 1139 textFieldManager->ClearOnFocusTextField(); in ResetOnFocusForTextFieldManager() 1190 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(manager); in RequestKeyboard() local 1191 textFieldManager->SetOnFocusTextField(WeakClaim(this)); in RequestKeyboard()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_presentation_pattern.cpp | 799 auto textFieldManager = DynamicCast<TextFieldManagerNG>(pipelineContext->GetTextFieldManager()); in GetSheetHeightChange() local 802 if (textFieldManager && !textFieldManager->GetOptionalClickPosition().has_value() && in GetSheetHeightChange() 812 inputH = textFieldManager ? pipelineContext->GetRootHeight() - in GetSheetHeightChange() 813 …textFieldManager->GetFocusedNodeCaretRect().Top() - textFieldManager->GetHeight() - sheetHeightUp_… in GetSheetHeightChange() 816 …inputH = textFieldManager ? (pipelineContext->GetRootHeight() - textFieldManager->GetClickPosition… in GetSheetHeightChange() 817 textFieldManager->GetHeight()) : 0.f; in GetSheetHeightChange()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/ |
H A D | render_grid_scroll.cpp | 361 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(context->GetTextFieldManager()); in SizeChangeOffset() local 363 if (textFieldManager && (useScrollable_ == SCROLLABLE::VERTICAL)) { in SizeChangeOffset() 365 if (!textFieldManager->GetOnFocusTextField().Upgrade()) { in SizeChangeOffset() 368 auto position = textFieldManager->GetClickPosition().GetY(); in SizeChangeOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 1414 auto textFieldManager = DynamicCast<TextFieldManagerNG>(textFieldManager_); in PostKeyboardAvoidTask() local 1415 CHECK_NULL_VOID(textFieldManager); in PostKeyboardAvoidTask() 1416 if (textFieldManager->UsingCustomKeyboardAvoid()) { in PostKeyboardAvoidTask() 1418 [weak = WeakPtr<TextFieldManagerNG>(textFieldManager)] { in PostKeyboardAvoidTask() 1426 CHECK_NULL_VOID(textFieldManager->GetLaterAvoid()); in PostKeyboardAvoidTask() 1430 …if (displayInfo && textFieldManager->GetLaterOrientation() != (int32_t)displayInfo->GetRotation())… in PostKeyboardAvoidTask() 1432 textFieldManager->SetLaterAvoid(false); in PostKeyboardAvoidTask() 1438 … [weakContext = WeakClaim(this), keyboardRect = textFieldManager->GetLaterAvoidKeyboardRect(), in PostKeyboardAvoidTask() 1439 positionY = textFieldManager->GetLaterAvoidPositionY(), in PostKeyboardAvoidTask() 1440 height = textFieldManager->GetLaterAvoidHeight(), in PostKeyboardAvoidTask() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 588 CHECK_NULL_VOID(textFieldManager); in ClearOnFocusTextField() 4576 if (host && textFieldManager) { in EnableStandardInput() 4581 textFieldManager->SetIsImeAttached(true); in EnableStandardInput() 7109 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 7119 auto textFieldManager = manager.Upgrade(); in OnBackPressed() local 7120 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 7138 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 7139 textFieldManager->ResetOptionalClickPosition(); in OnBackPressed() 7710 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() 8131 CHECK_NULL_VOID(textFieldManager); in OnBackPressed() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_manager_test_ng.cpp | 1643 auto textFieldManager = AceType::MakeRefPtr<TextFieldManagerNG>(); variable 1644 textFieldManager->SetHeight(20); 1645 MockPipelineContext::GetCurrent()->SetTextFieldManager(textFieldManager); 1659 textFieldManager->SetClickPosition(Offset(500, 1000)); 1667 textFieldManager->SetClickPosition(Offset(500, 300)); 1674 textFieldManager->SetClickPosition(Offset(500, 1900)); 1683 textFieldManager->SetClickPosition(Offset(500, 1900));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_layout_algorithm.cpp | 140 … auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(context->GetTextFieldManager()); in UpdateOffsetOnVirtualKeyboardHeightChange() local 141 CHECK_NULL_VOID(textFieldManager); in UpdateOffsetOnVirtualKeyboardHeightChange() 143 auto focused = textFieldManager->GetOnFocusTextField().Upgrade(); in UpdateOffsetOnVirtualKeyboardHeightChange() 145 auto position = textFieldManager->GetClickPosition().GetY(); in UpdateOffsetOnVirtualKeyboardHeightChange()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list.cpp | 3149 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(context->GetTextFieldManager()); in SizeChangeOffset() local 3151 if (textFieldManager && vertical_) { in SizeChangeOffset() 3153 if (!textFieldManager->GetOnFocusTextField().Upgrade()) { in SizeChangeOffset() 3156 auto position = textFieldManager->GetClickPosition().GetY(); in SizeChangeOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.cpp | 2011 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(textFieldManager_); in OnVirtualKeyboardHeightChange() local 2012 if (textFieldManager->ResetSlidingPanelParentHeight()) { in OnVirtualKeyboardHeightChange() 2020 auto textFieldManager = AceType::DynamicCast<TextFieldManager>(textFieldManager_); in OnVirtualKeyboardHeightChange() local 2021 if (textFieldManager->UpdatePanelForVirtualKeyboard(-offsetFix, height)) { in OnVirtualKeyboardHeightChange()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 457 …auto textFieldManager = AceType::DynamicCast<NG::TextFieldManagerNG>(pipeline->GetTextFieldManager… in LaterAvoid() local 458 CHECK_NULL_RETURN(textFieldManager, false); in LaterAvoid() 463 textFieldManager->SetLaterAvoid(false); in LaterAvoid() 477 if (textFieldManager->GetLaterAvoid()) { in LaterAvoid() 478 auto laterRect = textFieldManager->GetLaterAvoidKeyboardRect(); in LaterAvoid() 489 textFieldManager->SetLaterAvoidArgs(keyboardRect, positionY, height, lastRotation); in LaterAvoid()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_pattern.cpp | 970 auto textFieldManager = DynamicCast<TextFieldManagerNG>(context->GetTextFieldManager()); in IsSearchAttached() local 971 CHECK_NULL_RETURN(textFieldManager, false); in IsSearchAttached() 972 return textFieldManager->GetIsImeAttached(); in IsSearchAttached()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_layout_algorithm.cpp | 1595 … auto textFieldManager = AceType::DynamicCast<TextFieldManagerNG>(context->GetTextFieldManager()); in OnSurfaceChanged() local 1596 CHECK_NULL_VOID(textFieldManager); in OnSurfaceChanged() 1598 auto textField = textFieldManager->GetOnFocusTextField().Upgrade(); in OnSurfaceChanged()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 5397 auto textFieldManager = DynamicCast<TextFieldManagerNG>(context->GetTextFieldManager()); in UpdateOnFocusTextField() local 5398 CHECK_NULL_VOID(textFieldManager); in UpdateOnFocusTextField() 5399 isFocus ? textFieldManager->SetOnFocusTextField(WeakClaim(this)) in UpdateOnFocusTextField() 5400 : textFieldManager->ClearOnFocusTextField(host->GetId()); in UpdateOnFocusTextField()
|