Home
last modified time | relevance | path

Searched refs:windowId (Results 1 – 25 of 40) sorted by relevance

12

/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Dpanel_listener_impl.cpp40 …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 …]
Dpanel_listener_impl.h35 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/
Dinput_method_engine_listener_impl.cpp48 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/
Dinput_method_attach_test.cpp192 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 …]
Dinput_method_controller_test.cpp443 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/
Dinput_method_engine_listener_impl.h39 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/
Dwindow_info_helper.cpp30 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()
Dwindow_info_helper.h26 static float GetWindowScale(int32_t windowId);
Dsec_comp_info_helper.h47 static float GetWindowScale(int32_t windowId);
/base/web/webview/ohos_adapter/interfaces/
Dres_sched_client_adapter.h67 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/
Dinput_method_agent_proxy.cpp60 void InputMethodAgentProxy::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument
63 …SET_CALLING_WINDOW_ID, [windowId](MessageParcel &data) { return ITypesUtil::Marshal(data, windowId in SetCallingWindow()
Dinput_method_agent_stub.cpp112 void InputMethodAgentStub::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument
114 InputMethodAbility::GetInstance()->SetCallingWindow(windowId); in SetCallingWindow()
Dinput_method_ability.cpp315 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()
Dinput_method_panel.cpp248 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/
Dpanel_status_listener.h24 virtual void OnPanelStatus(uint32_t windowId, bool isShow) = 0;
Di_input_method_agent.h48 virtual void SetCallingWindow(uint32_t windowId) = 0;
Dinput_method_agent_proxy.h45 void SetCallingWindow(uint32_t windowId) override;
Dinput_method_agent_stub.h38 void SetCallingWindow(uint32_t windowId) override;
Dinput_method_panel.h49 int32_t SetCallingWindow(uint32_t windowId);
/base/web/webview/ohos_adapter/res_sched_adapter/src/
Dres_sched_client_adapter_impl.cpp213 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/
Dinput_method_engine_listener.h30 virtual void OnSetCallingWindow(uint32_t windowId) = 0;
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_utils.h165 uint32_t windowId = INVALID_WINDOW_ID; variable
174 uint32_t windowId = INVALID_WINDOW_ID; member
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_method_controller.cpp225 …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/
Ddrag_params.cpp60 parcel.WriteInt32(dropResult_.windowId) && in Marshalling()
75 parcel.ReadInt32(dropResult_.windowId) && in Unmarshalling()
/base/web/webview/test/unittest/common/
Dnweb_create_window.h280 void RegisterScreenLockFunction(int32_t windowId, const SetKeepScreenOn&& handle) override in RegisterScreenLockFunction() argument
282 void UnRegisterScreenLockFunction(int32_t windowId) override in UnRegisterScreenLockFunction() argument

12