/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_imf_adapter_impl.cpp | 28 bool ArkIMFAdapterImpl::Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) in Attach() argument 31 return real_->Attach(nullptr, isShowKeyboard); in Attach() 34 return real_->Attach(std::make_shared<ArkIMFTextListenerAdapterWrapper>(listener), isShowKeyboard); in Attach() 37 bool ArkIMFAdapterImpl::Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard, in Attach() argument 41 return real_->Attach(nullptr, isShowKeyboard, nullptr, isResetListener); in Attach() 43 return real_->Attach(std::make_shared<ArkIMFTextListenerAdapterWrapper>(listener), isShowKeyboard, in Attach() 47 nullptr, isShowKeyboard, std::make_shared<ArkIMFTextConfigAdapterWrapper>(config), isResetListener); in Attach() 50 std::make_shared<ArkIMFTextListenerAdapterWrapper>(listener), isShowKeyboard, nullptr, isResetListener); in Attach()
|
H A D | ark_imf_adapter_impl.h | 29 bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) override; 31 bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_imfadapter_wrapper.cpp | 28 bool ArkIMFAdapterWrapper::Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard) in Attach() argument 31 return ctocpp_->Attach(nullptr, isShowKeyboard); in Attach() 34 return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard); in Attach() 37 bool ArkIMFAdapterWrapper::Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard, in Attach() argument 41 return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard, in Attach() 44 return ctocpp_->Attach(nullptr, isShowKeyboard, nullptr, isResetListener); in Attach() 46 return ctocpp_->Attach(nullptr, isShowKeyboard, new ArkIMFTextConfigAdapterImpl(config), isResetListener); in Attach() 48 return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard, nullptr, isResetListener); in Attach()
|
H A D | ark_imfadapter_wrapper.h | 29 bool Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard) override; 31 bool Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 252 bool IMFAdapterImpl::Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) in Attach() argument 265 int32_t ret = MiscServices::InputMethodController::GetInstance()->Attach(textListener_, isShowKeyboard); in Attach() 273 void ReportImfErrorEvent(int32_t ret, bool isShowKeyboard) in ReportImfErrorEvent() argument 275 std::string isShowKeyboardStr = isShowKeyboard ? "true" : "false"; in ReportImfErrorEvent() 281 bool IMFAdapterImpl::Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard, in Attach() argument 286 ReportImfErrorEvent(IMF_LISTENER_NULL_POINT, isShowKeyboard); in Attach() 291 ReportImfErrorEvent(IMF_TEXT_CONFIG_NULL_POINT, isShowKeyboard); in Attach() 304 ReportImfErrorEvent(IMF_LISTENER_NULL_POINT, isShowKeyboard); in Attach() 323 WVLOG_I("web inputmethod attach, isShowKeyboard=%{public}d, textConfig=%{public}s", isShowKeyboard, in Attach() [all...] |
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_controller.cpp | 211 int32_t InputMethodController::Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard) in Attach() argument 215 return Attach(listener, isShowKeyboard, attribute); in Attach() 218 int32_t InputMethodController::Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard, in Attach() argument 224 return Attach(listener, isShowKeyboard, textConfig); in Attach() 227 int32_t InputMethodController::Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard, in Attach() argument 230 IMSA_HILOGI("isShowKeyboard %{public}d.", isShowKeyboard); in Attach() 241 clientInfo_.isShowKeyboard = isShowKeyboard; in Attach() 253 if (isShowKeyboard) { in Attach() [all...] |
/base/inputmethod/imf/test/fuzztest/perusersession_fuzzer/ |
H A D | perusersession_fuzzer.cpp | 104 clientInfo.isShowKeyboard = false; in FuzzPerUserSession() 106 clientInfo.isShowKeyboard = true; in FuzzPerUserSession()
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_imf_adapter.h | 153 virtual bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) = 0; 156 virtual bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/web/webview/ohos_adapter/inputmethodframework_adapter/include/ |
H A D | imf_adapter_impl.h | 99 bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) override; 101 bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_client_info.h | 42 bool isShowKeyboard{ false }; // soft keyboard status
|
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | imf_adapter.h | 182 virtual bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) = 0; 184 virtual bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/inputmethod/imf/services/src/ |
H A D | peruser_session.cpp | 124 auto isShowKeyboard = false; in RemoveClientInfo() local 127 { { UpdateFlag::BINDIMETYPE, bindImeType }, { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } }); in RemoveClientInfo() 157 info->isShowKeyboard = std::get<bool>(updateInfo.second); in UpdateClientInfo() 200 bool isShowKeyboard = false; in HideKeyboard() local 201 UpdateClientInfo(currentClient->AsObject(), { { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } }); in HideKeyboard() 224 bool isShowKeyboard = true; in ShowKeyboard() local 225 UpdateClientInfo(currentClient->AsObject(), { { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } }); in ShowKeyboard() 556 IMSA_HILOGD("start input with keyboard[%{public}d].", inputClientInfo.isShowKeyboard); in OnStartInput() 561 infoTemp.isShowKeyboard = inputClientInfo.isShowKeyboard; in OnStartInput() [all...] |
/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/ |
H A D | input_method_controller.h | 151 * @param isShowKeyboard Indicates the state, if you want to show soft keyboard, please pass in true. 155 IMF_API int32_t Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard); 164 * @param isShowKeyboard Indicates the state, if you want to show soft keyboard, please pass in true. 169 IMF_API int32_t Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard, const InputAttribute &attribute); 178 * @param isShowKeyboard Indicates the state, if you want to show soft keyboard, please pass in true. 184 IMF_API int32_t Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard, const TextConfig &textConfig);
|
/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 251 if (!Marshal(data, input.pid, input.uid, input.userID, input.isShowKeyboard, input.eventFlag, input.config, in Marshalling() 261 if (!Unmarshal(data, output.pid, output.uid, output.userID, output.isShowKeyboard, output.eventFlag, output.config, in Unmarshalling()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_ability.cpp | 209 IMSA_HILOGI("IMA isShowKeyboard: %{public}d, isBindFromClient: %{public}d.", clientInfo.isShowKeyboard, in StartInput() 226 auto showPanel = [&, needShow = clientInfo.isShowKeyboard] { in StartInput()
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_private_member_test.cpp | 316 bool isShowKeyboard = false; in HWTEST_F() local 317 userSession->UpdateClientInfo(nullptr, { { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } }); in HWTEST_F()
|
H A D | input_method_ability_test.cpp | 333 clientInfo.isShowKeyboard = true; in HWTEST_F()
|