Home
last modified time | relevance | path

Searched refs:inputMethod (Results 1 - 9 of 9) sorted by relevance

/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dinput_method_manager_ohos.cpp183 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboard() local
184 if (inputMethod) { in CloseKeyboard()
185 inputMethod->Close(); in CloseKeyboard()
194 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboardInPipelineDestroy() local
195 if (inputMethod) { in CloseKeyboardInPipelineDestroy()
196 inputMethod->Close(); in CloseKeyboardInPipelineDestroy()
222 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in HideKeyboardAcrossProcesses() local
223 if (inputMethod) { in HideKeyboardAcrossProcesses()
224 inputMethod->RequestHideInput(); in HideKeyboardAcrossProcesses()
225 inputMethod in HideKeyboardAcrossProcesses()
234 auto inputMethod = MiscServices::InputMethodController::GetInstance(); CloseKeyboardInProcess() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/helper/
H A Dwindow_scene_helper.cpp150 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in IsWindowSceneCloseKeyboard() local
151 if (inputMethod) { in IsWindowSceneCloseKeyboard()
152 inputMethod->RequestHideInput(); in IsWindowSceneCloseKeyboard()
153 inputMethod->Close(); in IsWindowSceneCloseKeyboard()
172 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in IsCloseKeyboard() local
173 if (inputMethod) { in IsCloseKeyboard()
174 inputMethod->Close(); in IsCloseKeyboard()
/foundation/arkui/ui_lite/test/uitest/test_edit_text/
H A Dui_test_edit_text.cpp33 CustomInputMethod* inputMethod = new CustomInputMethod(); in SetUp() local
34 InputMethodManager::GetInstance().SetInputMethodListener(inputMethod); in SetUp()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_select_overlay.cpp278 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in OnUpdateMenuInfo() local
279 auto isSupportCameraInput = inputMethod && in OnUpdateMenuInfo()
280 inputMethod->IsInputTypeSupported(MiscServices::InputType::CAMERA_INPUT) && in OnUpdateMenuInfo()
H A Dtext_field_pattern.cpp1621 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in HandleOnCameraInput() local
1622 if (!inputMethod) { in HandleOnCameraInput()
1627 inputMethod->StartInputType(MiscServices::InputType::CAMERA_INPUT); in HandleOnCameraInput()
1642 auto ret = inputMethod->Attach(textChangeListener_, false, textConfig); in HandleOnCameraInput()
1650 inputMethod->StartInputType(MiscServices::InputType::CAMERA_INPUT); in HandleOnCameraInput()
1651 inputMethod->ShowTextInput(); in HandleOnCameraInput()
2787 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CheckIfNeedToResetKeyboard() local
2788 CHECK_NULL_VOID(inputMethod); in CheckIfNeedToResetKeyboard()
2794 inputMethod->OnConfigurationChange(config); in CheckIfNeedToResetKeyboard()
3821 auto inputMethod in RequestKeyboard() local
4027 auto inputMethod = MiscServices::InputMethodController::GetInstance(); CloseKeyboard() local
4051 auto inputMethod = MiscServices::InputMethodController::GetInstance(); RequestCustomKeyboard() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp1263 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in RequestKeyboard() local
1264 if (!inputMethod) { in RequestKeyboard()
1272 inputMethod->SetCallingWindow(context->GetFocusWindowId()); in RequestKeyboard()
1278 inputMethod->Attach(textChangeListener_, needShowSoftKeyboard, textConfig); in RequestKeyboard()
1322 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboard() local
1323 if (!inputMethod) { in CloseKeyboard()
1327 inputMethod->HideTextInput(); in CloseKeyboard()
1328 inputMethod->Close(); in CloseKeyboard()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp3242 auto inputMethod = MiscServices::InputMethodController::GetInstance();
3243 CHECK_NULL_RETURN(inputMethod, false);
3244 inputMethod->HideTextInput();
3245 inputMethod->Close();
4512 auto inputMethod = MiscServices::InputMethodController::GetInstance();
4513 CHECK_NULL_RETURN(inputMethod, false);
4530 auto ret = inputMethod->Attach(richEditTextChangeListener_, needShowSoftKeyboard, textconfig);
4536 inputMethod->SetCallingWindow(context->GetWindowId());
4729 auto inputMethod = MiscServices::InputMethodController::GetInstance();
4730 if (inputMethod) {
8935 auto inputMethod = MiscServices::InputMethodController::GetInstance(); HandleOnCameraInput() local
9433 auto inputMethod = MiscServices::InputMethodController::GetInstance(); ResetKeyboardIfNeed() local
[all...]
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp1494 for (auto& inputMethod : inputMethodVector) { in GetKeyboardAvoidArea()
1495 if (inputMethod->GetSessionState() != SessionState::STATE_FOREGROUND && in GetKeyboardAvoidArea()
1496 inputMethod->GetSessionState() != SessionState::STATE_ACTIVE) { in GetKeyboardAvoidArea()
1499 SessionGravity gravity = inputMethod->GetKeyboardGravity(); in GetKeyboardAvoidArea()
1505 if (inputMethod && inputMethod->GetKeyboardPanelSession()) { in GetKeyboardAvoidArea()
1506 keyboardRect = inputMethod->GetKeyboardPanelSession()->GetSessionRect(); in GetKeyboardAvoidArea()
1512 WSRect inputMethodRect = inputMethod->GetSessionRect(); in GetKeyboardAvoidArea()
4453 TLOGE(WmsLogTag::WMS_KEYBOARD, "Session is null, notify inputMethod framework hide keyboard failed!"); in RequestHideKeyboard()
4456 TLOGI(WmsLogTag::WMS_KEYBOARD, "Notify inputMethod framewor in RequestHideKeyboard()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp5540 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in OnBackPressed() local
5541 CHECK_NULL_RETURN(inputMethod, false); in OnBackPressed()
5542 inputMethod->HideTextInput(); in OnBackPressed()
5543 inputMethod->Close(); in OnBackPressed()

Completed in 45 milliseconds