/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_imfadapter_wrapper.cpp | 28 …rWrapper::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 …rWrapper::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), isResetLi… in Attach() 48 …return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard, nullptr, isRes… in Attach()
|
H A D | ark_imfadapter_wrapper.h | 29 …bool Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard) ove… 31 bool Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_imf_adapter_impl.cpp | 28 …ol 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 …ol 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, isResetList… 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,
|
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 255 bool IMFAdapterImpl::Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) in Attach() argument 268 …_t ret = MiscServices::InputMethodController::GetInstance()->Attach(textListener_, isShowKeyboard); in Attach() 276 void ReportImfErrorEvent(int32_t ret, bool isShowKeyboard) in ReportImfErrorEvent() argument 278 std::string isShowKeyboardStr = isShowKeyboard ? "true" : "false"; in ReportImfErrorEvent() 284 bool IMFAdapterImpl::Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard, in Attach() argument 289 ReportImfErrorEvent(IMF_LISTENER_NULL_POINT, isShowKeyboard); in Attach() 294 ReportImfErrorEvent(IMF_TEXT_CONFIG_NULL_POINT, isShowKeyboard); in Attach() 307 ReportImfErrorEvent(IMF_LISTENER_NULL_POINT, isShowKeyboard); in Attach() 326 …WVLOG_I("web inputmethod attach, isShowKeyboard=%{public}d, textConfig=%{public}s", isShowKeyboard, in Attach() 328 …cServices::InputMethodController::GetInstance()->Attach(textListener_, isShowKeyboard, textConfig); in Attach() [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_controller.cpp | 242 clientInfo_.isShowKeyboard = isShowKeyboard; in Attach() 255 if (isShowKeyboard) { in Attach() 272 clientInfo_.isShowKeyboard = true; in ShowTextInput() 313 clientInfo_.isShowKeyboard = false; in HideCurrentInput() 334 clientInfo_.isShowKeyboard = true; in ShowCurrentInput() 616 bool isShowKeyboard = false; in RestoreAttachInfoInSaDied() local 619 isShowKeyboard = clientInfo_.isShowKeyboard; in RestoreAttachInfoInSaDied() 906 clientInfo_.isShowKeyboard = true; in ShowSoftKeyboard() 922 clientInfo_.isShowKeyboard = false; in HideSoftKeyboard() 1213 clientInfo_.isShowKeyboard = false; in SendKeyboardStatus() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_manager.cpp | 182 const SafeAreaInsets::Inset& bottomInset, bool isShowKeyboard) in ScrollToSafeAreaHelper() argument 199 if (isShowKeyboard) { in ScrollToSafeAreaHelper() 214 if (isShowKeyboard && diffTop <= 0 && LessNotEqual(bottomInset.start, in ScrollToSafeAreaHelper() 228 …if (isShowKeyboard && LessNotEqual((caretRect.Bottom() + RESERVE_BOTTOM_HEIGHT.ConvertToPx()), bot… in ScrollToSafeAreaHelper() 235 auto scrollBottom = isShowKeyboard && GreatOrEqual(scrollableRect.Bottom(), bottomInset.start) ? in ScrollToSafeAreaHelper() 250 bool isShowKeyboard = keyboardInset.IsValid(); in ScrollTextFieldToSafeArea() local 251 if (isShowKeyboard) { in ScrollTextFieldToSafeArea() 254 return ScrollToSafeAreaHelper(bottomInset, isShowKeyboard); in ScrollTextFieldToSafeArea() 257 return ScrollToSafeAreaHelper({0, 0}, isShowKeyboard); in ScrollTextFieldToSafeArea()
|
H A D | text_field_manager.h | 281 bool ScrollToSafeAreaHelper(const SafeAreaInsets::Inset& bottomInset, bool isShowKeyboard);
|
/ohos5.0/base/inputmethod/imf/test/fuzztest/perusersession_fuzzer/ |
H A D | perusersession_fuzzer.cpp | 105 clientInfo.isShowKeyboard = false; in FuzzPerUserSession() 107 clientInfo.isShowKeyboard = true; in FuzzPerUserSession()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_imf_adapter.h | 156 virtual bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) = 0; 159 virtual bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/include/ |
H A D | imf_adapter_impl.h | 101 bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) override; 103 bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | imf_adapter.h | 184 virtual bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) = 0; 186 virtual bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/ohos5.0/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/ |
H A D | input_method_controller.h | 155 IMF_API int32_t Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard); 169 …IMF_API int32_t Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard, const InputAttri… 184 …IMF_API int32_t Attach(sptr<OnTextChangedListener> listener, bool isShowKeyboard, const TextConfig…
|
/ohos5.0/base/inputmethod/imf/services/src/ |
H A D | peruser_session.cpp | 127 auto isShowKeyboard = false; in RemoveClientInfo() local 160 info->isShowKeyboard = std::get<bool>(updateInfo.second); in UpdateClientInfo() 203 bool isShowKeyboard = false; in HideKeyboard() local 204 UpdateClientInfo(currentClient->AsObject(), { { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } }); in HideKeyboard() 227 bool isShowKeyboard = true; in ShowKeyboard() local 228 UpdateClientInfo(currentClient->AsObject(), { { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } }); in ShowKeyboard() 548 IMSA_HILOGD("start input with keyboard[%{public}d].", inputClientInfo.isShowKeyboard); in OnStartInput() 553 infoTemp.isShowKeyboard = inputClientInfo.isShowKeyboard; in OnStartInput() 579 clientInfo->isShowKeyboard, isBindFromClient); in BindClientWithIme() 600 … { { UpdateFlag::BINDIMETYPE, type }, { UpdateFlag::ISSHOWKEYBOARD, clientInfo->isShowKeyboard }, in BindClientWithIme() [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_client_info.h | 42 bool isShowKeyboard{ false }; // soft keyboard status
|
/ohos5.0/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 253 …if (!Marshal(data, input.pid, input.uid, input.userID, input.isShowKeyboard, input.eventFlag, inpu… in Marshalling() 263 …if (!Unmarshal(data, output.pid, output.uid, output.userID, output.isShowKeyboard, output.eventFla… in Unmarshalling()
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_ability.cpp | 277 …_HILOGI("IMA isShowKeyboard: %{public}d, isBindFromClient: %{public}d.", clientInfo.isShowKeyboard, in StartInput() 297 isPendingShowKeyboard_ = clientInfo.isShowKeyboard; in StartInput() 298 if (clientInfo.isShowKeyboard) { in StartInput()
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_private_member_test.cpp | 314 bool isShowKeyboard = false; variable 315 userSession->UpdateClientInfo(nullptr, { { UpdateFlag::ISSHOWKEYBOARD, isShowKeyboard } });
|
H A D | input_method_ability_test.cpp | 346 clientInfo.isShowKeyboard = true;
|