/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | panel_listener_impl.cpp | 40 …stenerImpl::SaveInfo(napi_env env, const std::string &type, napi_value callback, uint32_t windowId) in SaveInfo() argument 44 auto result = callbacks_.Find(windowId); in SaveInfo() 46 …MSA_HILOGI("start to subscribe, type = %{public}s, windowId = %{public}u", type.c_str(), windowId); in SaveInfo() 49 callbacks_.Insert(windowId, cbs); in SaveInfo() 53 …IMSA_HILOGD("type: %{public}s of windowId: %{public}u already subscribed", type.c_str(), windowId); in SaveInfo() 56 …IMSA_HILOGI("start to subscribe type: %{public}s of windowId: %{public}u", type.c_str(), windowId); in SaveInfo() 58 callbacks_.InsertOrAssign(windowId, result.second); in SaveInfo() 62 void PanelListenerImpl::RemoveInfo(const std::string &type, uint32_t windowId) in RemoveInfo() argument 64 auto result = callbacks_.Find(windowId); in RemoveInfo() 68 callbacks_.Erase(windowId); in RemoveInfo() [all …]
|
D | panel_listener_impl.h | 35 void OnPanelStatus(uint32_t windowId, bool isShow) override; 36 void SaveInfo(napi_env env, const std::string &type, napi_value callback, uint32_t windowId); 37 void RemoveInfo(const std::string &type, uint32_t windowId);
|
/base/inputmethod/imf/test/common/src/ |
D | input_method_engine_listener_impl.cpp | 48 void InputMethodEngineListenerImpl::OnSetCallingWindow(uint32_t windowId) in OnSetCallingWindow() argument 50 IMSA_HILOGI("InputMethodEngineListenerImpl::OnSetCallingWindow %{public}d", windowId); in OnSetCallingWindow() 51 windowId_ = windowId; in OnSetCallingWindow() 87 bool InputMethodEngineListenerImpl::WaitSetCallingWindow(uint32_t windowId) in WaitSetCallingWindow() argument 90 …eListenerCv_.wait_for(lock, std::chrono::seconds(1), [&windowId]() { return windowId_ == windowId;… in WaitSetCallingWindow() 91 return windowId_ == windowId; in WaitSetCallingWindow()
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
D | input_method_attach_test.cpp | 192 config.windowId = 10; 209 EXPECT_EQ(textConfig.windowId, config.windowId); 309 config.windowId = 10; 322 EXPECT_EQ(totalConfig.windowId, config.windowId); 471 config.windowId = 88; 475 uint32_t windowId = 99; variable 476 ret = inputMethodController_->SetCallingWindow(windowId); 482 EXPECT_EQ(totalConfig.windowId, windowId); 598 uint32_t windowId = 88; variable 599 ret = inputMethodController_->SetCallingWindow(windowId); [all …]
|
D | input_method_controller_test.cpp | 443 EXPECT_EQ(imeListener_->windowId_, config.windowId); in CheckTextConfig() 497 uint32_t windowId = 10; variable 499 …inputAttribute = attribute, .cursorInfo = cursorInfo, .range = selectionRange, .windowId = windowId 509 windowId = 11; 511 …inputAttribute = attribute, .cursorInfo = cursorInfo, .range = selectionRange, .windowId = windowId 528 uint32_t windowId = 3; variable 529 ret = inputMethodController_->SetCallingWindow(windowId); 531 EXPECT_EQ(windowId, imeListener_->windowId_);
|
/base/inputmethod/imf/test/common/include/ |
D | input_method_engine_listener_impl.h | 39 static bool WaitSetCallingWindow(uint32_t windowId); 44 void OnSetCallingWindow(uint32_t windowId) override;
|
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
D | window_info_helper.cpp | 30 float WindowInfoHelper::GetWindowScale(int32_t windowId) in GetWindowScale() argument 38 …auto iter = std::find_if(infos.begin(), infos.end(), [windowId](const sptr<Rosen::AccessibilityWin… in GetWindowScale() 39 return windowId == info->wid_; in GetWindowScale()
|
D | window_info_helper.h | 26 static float GetWindowScale(int32_t windowId);
|
D | sec_comp_info_helper.h | 47 static float GetWindowScale(int32_t windowId);
|
/base/web/webview/ohos_adapter/interfaces/ |
D | res_sched_client_adapter.h | 67 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId = -1); 71 static void ReportWindowId(int32_t windowId, int32_t nwebId = -1);
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
D | input_method_agent_proxy.cpp | 60 void InputMethodAgentProxy::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument 63 …SET_CALLING_WINDOW_ID, [windowId](MessageParcel &data) { return ITypesUtil::Marshal(data, windowId… in SetCallingWindow()
|
D | input_method_agent_stub.cpp | 112 void InputMethodAgentStub::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument 114 InputMethodAbility::GetInstance()->SetCallingWindow(windowId); in SetCallingWindow()
|
D | input_method_ability.cpp | 315 void InputMethodAbility::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument 321 IMSA_HILOGD("InputMethodAbility windowId: %{public}d", windowId); in SetCallingWindow() 322 …panels_.ForEach([windowId](const PanelType &panelType, const std::shared_ptr<InputMethodPanel> &pa… in SetCallingWindow() 323 panel->SetCallingWindow(windowId); in SetCallingWindow() 326 imeListener_->OnSetCallingWindow(windowId); in SetCallingWindow() 467 if (textConfig.windowId == INVALID_WINDOW_ID) { in InvokeTextChangeCallback() 472 panel->SetCallingWindow(textConfig.windowId); in InvokeTextChangeCallback() 481 imeListener_->OnSetCallingWindow(textConfig.windowId); in InvokeTextChangeCallback()
|
D | input_method_panel.cpp | 248 int32_t InputMethodPanel::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument 250 IMSA_HILOGD("InputMethodPanel run in, windowId: %{public}d", windowId); in SetCallingWindow() 255 auto ret = window_->SetCallingWindow(windowId); in SetCallingWindow() 256 IMSA_HILOGI("ret = %{public}d, windowId = %{public}u", ret, windowId); in SetCallingWindow()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/ |
D | panel_status_listener.h | 24 virtual void OnPanelStatus(uint32_t windowId, bool isShow) = 0;
|
D | i_input_method_agent.h | 48 virtual void SetCallingWindow(uint32_t windowId) = 0;
|
D | input_method_agent_proxy.h | 45 void SetCallingWindow(uint32_t windowId) override;
|
D | input_method_agent_stub.h | 38 void SetCallingWindow(uint32_t windowId) override;
|
D | input_method_panel.h | 49 int32_t SetCallingWindow(uint32_t windowId);
|
/base/web/webview/ohos_adapter/res_sched_adapter/src/ |
D | res_sched_client_adapter_impl.cpp | 213 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) in ReportWindowStatus() argument 236 { WINDOW_ID, std::to_string(windowId) }, { SERIAL_NUMBER, std::to_string(serial_num) }, in ReportWindowStatus() 241 … "%{public}d", static_cast<int32_t>(status), GetUidString().c_str(), pid, windowId, serial_num); in ReportWindowStatus() 265 void ResSchedClientAdapter::ReportWindowId(int32_t windowId, int32_t nwebId) in ReportWindowId() argument 268 g_windowId = windowId; in ReportWindowId()
|
/base/inputmethod/imf/interfaces/inner_api/inputmethod_ability/include/ |
D | input_method_engine_listener.h | 30 virtual void OnSetCallingWindow(uint32_t windowId) = 0;
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
D | input_method_utils.h | 165 uint32_t windowId = INVALID_WINDOW_ID; variable 174 uint32_t windowId = INVALID_WINDOW_ID; member
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
D | input_method_controller.cpp | 225 …xtConfig.inputAttribute.inputPattern, textConfig.inputAttribute.enterKeyType, textConfig.windowId); in SaveTextConfig() 793 config.windowId = textConfig_.windowId; in GetTextConfig() 812 int32_t InputMethodController::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument 824 textConfig_.windowId = windowId; in SetCallingWindow() 831 IMSA_HILOGI("windowId = %{public}d", windowId); in SetCallingWindow() 832 agent->SetCallingWindow(windowId); in SetCallingWindow()
|
/base/msdp/device_status/intention/drag/data/src/ |
D | drag_params.cpp | 60 parcel.WriteInt32(dropResult_.windowId) && in Marshalling() 75 parcel.ReadInt32(dropResult_.windowId) && in Unmarshalling()
|
/base/web/webview/test/unittest/common/ |
D | nweb_create_window.h | 280 void RegisterScreenLockFunction(int32_t windowId, const SetKeepScreenOn&& handle) override in RegisterScreenLockFunction() argument 282 void UnRegisterScreenLockFunction(int32_t windowId) override in UnRegisterScreenLockFunction() argument
|