Home
last modified time | relevance | path

Searched refs:windowId (Results 1 - 25 of 52) sorted by relevance

123

/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Dpanel_listener_impl.cpp38 void PanelListenerImpl::Subscribe(uint32_t windowId, const std::string &type, in Subscribe() argument
41 callbacks_.Compute(windowId, in Subscribe()
42 [cbObject, &type](auto windowId, std::map<std::string, std::shared_ptr<JSCallbackObject>> &cbs) { in Subscribe()
45 IMSA_HILOGI("start to subscribe type: %{public}s of windowId: %{public}u.", type.c_str(), windowId); in Subscribe()
47 IMSA_HILOGD("type: %{public}s of windowId: %{public}u already subscribed.", type.c_str(), windowId); in Subscribe()
53 void PanelListenerImpl::RemoveInfo(const std::string &type, uint32_t windowId) in RemoveInfo() argument
55 callbacks_.ComputeIfPresent(windowId, in RemoveInfo()
56 [&type](auto windowId, st in RemoveInfo()
62 OnPanelStatus(uint32_t windowId, bool isShow) OnPanelStatus() argument
83 OnSizeChange(uint32_t windowId, const WindowSize &size) OnSizeChange() argument
126 GetCallback(uint32_t windowId, const std::string &type) GetCallback() argument
[all...]
H A Dpanel_listener_impl.h50 void OnPanelStatus(uint32_t windowId, bool isShow) override;
51 void OnSizeChange(uint32_t windowId, const WindowSize &size) override;
52 void Subscribe(uint32_t windowId, const std::string &type, std::shared_ptr<JSCallbackObject> cbObject);
53 void RemoveInfo(const std::string &type, uint32_t windowId);
55 std::shared_ptr<JSCallbackObject> GetCallback(uint32_t windowId, const std::string &type);
/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_text_config_capi.cpp74 InputMethod_ErrorCode OH_TextConfig_SetWindowId(InputMethod_TextConfig *config, int32_t windowId) in OH_TextConfig_SetWindowId() argument
81 config->windowId = windowId; in OH_TextConfig_SetWindowId()
176 InputMethod_ErrorCode OH_TextConfig_GetWindowId(InputMethod_TextConfig *config, int32_t *windowId) in OH_TextConfig_GetWindowId() argument
182 if (windowId == nullptr) { in OH_TextConfig_GetWindowId()
183 IMSA_HILOGE("windowId is nullptr"); in OH_TextConfig_GetWindowId()
186 *windowId = config->windowId; in OH_TextConfig_GetWindowId()
/base/inputmethod/imf/test/common/src/
H A Dinput_method_engine_listener_impl.cpp52 void InputMethodEngineListenerImpl::OnSetCallingWindow(uint32_t windowId) in OnSetCallingWindow() argument
54 IMSA_HILOGI("InputMethodEngineListenerImpl::OnSetCallingWindow %{public}d", windowId); in OnSetCallingWindow()
55 windowId_ = windowId; in OnSetCallingWindow()
99 bool InputMethodEngineListenerImpl::WaitSetCallingWindow(uint32_t windowId) in WaitSetCallingWindow() argument
102 imeListenerCv_.wait_for(lock, std::chrono::seconds(1), [&windowId]() { return windowId_ == windowId; }); in WaitSetCallingWindow()
103 return windowId_ == windowId; in WaitSetCallingWindow()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
H A Dpanel_status_listener.h29 virtual void OnPanelStatus(uint32_t windowId, bool isShow) = 0;
30 virtual void OnSizeChange(uint32_t windowId, const WindowSize &size) = 0;
H A Di_input_method_agent.h51 virtual void SetCallingWindow(uint32_t windowId) = 0;
H A Dinput_method_agent_proxy.h44 void SetCallingWindow(uint32_t windowId) override;
H A Dinput_method_agent_stub.h36 void SetCallingWindow(uint32_t windowId) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_res_sched_client_adapter_impl.cpp29 bool ArkResSchedClientAdapter::ReportWindowStatus(int32_t statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) in ReportWindowStatus() argument
32 (NWeb::ResSchedStatusAdapter)statusAdapter, pid, windowId, nwebId); in ReportWindowStatus()
46 void ArkResSchedClientAdapter::ReportWindowId(int32_t windowId, int32_t nwebId) in ReportWindowId() argument
48 return NWeb::ResSchedClientAdapter::ReportWindowId(windowId, nwebId); in ReportWindowId()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_res_sched_client_adapter_wrapper.cpp29 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) in ReportWindowStatus()
31 return OHOS::ArkWeb::ArkResSchedClientAdapter::ReportWindowStatus((int32_t)statusAdapter, pid, windowId, nwebId); in ReportWindowStatus()
45 void ResSchedClientAdapter::ReportWindowId(int32_t windowId, int32_t nwebId) in ReportWindowId() argument
47 return OHOS::ArkWeb::ArkResSchedClientAdapter::ReportWindowId(windowId, nwebId); in ReportWindowId()
28 ReportWindowStatus( ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) ReportWindowStatus() argument
/base/web/webview/test/fuzztest/ohos_adapter/resschedadapter_fuzzer/
H A Dresschedadapter_fuzz.cpp41 uint32_t windowId = static_cast<uint32_t>(size); in ResSchedAdapterFuzzTest() local
62 adapter.ReportWindowId(windowId, nwebId); in ResSchedAdapterFuzzTest()
71 adapter.ReportWindowStatus(status, pid, windowId, nwebId); in ResSchedAdapterFuzzTest()
85 adapter.ReportWindowStatus(statuses[0], pid, windowId, -1); in ResSchedAdapterFuzzTest()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_res_sched_client_adapter.h31 static bool ReportWindowStatus(int32_t statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId);
40 static void ReportWindowId(int32_t windowId, int32_t nwebId);
/base/inputmethod/imf/test/common/include/
H A Dinput_method_engine_listener_impl.h44 static bool WaitSetCallingWindow(uint32_t windowId);
51 void OnSetCallingWindow(uint32_t windowId) override;
/base/inputmethod/imf/interfaces/kits/c/
H A Dinputmethod_text_config_capi.h125 * @param windowId The window ID of the application currently bound to the input method.
132 InputMethod_ErrorCode OH_TextConfig_SetWindowId(InputMethod_TextConfig *config, int32_t windowId);
217 * @param windowId The window ID of the application currently bound to the input method.
224 InputMethod_ErrorCode OH_TextConfig_GetWindowId(InputMethod_TextConfig *config, int32_t *windowId);
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_attach_test.cpp251 config.windowId = 10; in HWTEST_F()
269 EXPECT_EQ(textConfig.windowId, config.windowId); in HWTEST_F()
370 config.windowId = 10; in HWTEST_F()
384 EXPECT_EQ(totalConfig.windowId, config.windowId); in HWTEST_F()
534 config.windowId = 88; in HWTEST_F()
538 uint32_t windowId = 99; in HWTEST_F() local
539 ret = inputMethodController_->SetCallingWindow(windowId); in HWTEST_F()
545 EXPECT_EQ(totalConfig.windowId, windowI in HWTEST_F()
661 uint32_t windowId = 88; HWTEST_F() local
[all...]
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_agent_proxy.cpp60 void InputMethodAgentProxy::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument
63 [windowId](MessageParcel &data) { return ITypesUtil::Marshal(data, windowId); }); in SetCallingWindow()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A 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::AccessibilityWindowInfo> info) { in GetWindowScale()
39 return windowId == info->wid_; in GetWindowScale()
77 // {windowId, zOrder} in CheckOtherWindowCoverComp()
H A Dwindow_info_helper.h26 static float GetWindowScale(int32_t windowId);
/base/web/webview/ohos_adapter/res_sched_adapter/src/
H A Dres_sched_client_adapter_impl.cpp93 constexpr char WINDOW_ID[] = "windowId";
217 pid_t pid, uint32_t windowId, int32_t nwebId, bool isSiteManage) in ReportStatusData()
246 { WINDOW_ID, std::to_string(windowId) }, { SERIAL_NUMBER, std::to_string(serialNum) }, in ReportStatusData()
251 WVLOG_D("ReportWindowStatus status: %{public}d, uid: %{public}s, pid: %{public}d, windowId: %{public}d, " in ReportStatusData()
253 static_cast<int32_t>(status), GetUidString().c_str(), pid, windowId, nwebId, serialNum); in ReportStatusData()
354 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) in ReportWindowStatus()
366 ReportWindowId(windowId, nwebId); in ReportWindowStatus()
369 ReportStatusData(statusAdapter, pid, windowId, nwebId, true); in ReportWindowStatus()
374 ReportStatusData(statusAdapter, pidInNweb, windowId, nwebId, true); in ReportWindowStatus()
394 void ResSchedClientAdapter::ReportWindowId(int32_t windowId, int32_ argument
216 ReportStatusData(ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId, bool isSiteManage) ReportStatusData() argument
353 ReportWindowStatus( ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) ReportWindowStatus() argument
[all...]
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dres_sched_client_adapter.h77 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId = -1);
81 static void ReportWindowId(int32_t windowId, int32_t nwebId = -1);
/base/inputmethod/imf/interfaces/inner_api/inputmethod_ability/include/
H A Dinput_method_engine_listener.h33 virtual void OnSetCallingWindow(uint32_t windowId) = 0;
/base/security/security_component_manager/interfaces/inner_api/security_component_common/
H A Dsec_comp_info_helper.h44 static float GetWindowScale(int32_t windowId);
/base/inputmethod/imf/frameworks/cj/include/
H A Dinput_method_ffi_structs.h86 uint32_t windowId; member
/base/inputmethod/imf/frameworks/ndk/include/
H A Dnative_inputmethod_types.h45 int32_t windowId; member
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_utils.h176 uint32_t windowId = INVALID_WINDOW_ID; member
187 config.append(" windowId/y/height: " + std::to_string(windowId) + "/" + std::to_string(positionY) + "/" + in ToString()
202 uint32_t windowId = INVALID_WINDOW_ID; member
213 config.append(" windowId/y/height: " + std::to_string(windowId) + "/" + std::to_string(positionY) + "/" + in ToString()

Completed in 8 milliseconds

123