/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | panel_listener_impl.cpp | 38 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 D | panel_listener_impl.h | 50 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 D | inputmethod_text_config_capi.cpp | 74 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 D | input_method_engine_listener_impl.cpp | 52 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 D | panel_status_listener.h | 29 virtual void OnPanelStatus(uint32_t windowId, bool isShow) = 0; 30 virtual void OnSizeChange(uint32_t windowId, const WindowSize &size) = 0;
|
H A D | i_input_method_agent.h | 51 virtual void SetCallingWindow(uint32_t windowId) = 0;
|
H A D | input_method_agent_proxy.h | 44 void SetCallingWindow(uint32_t windowId) override;
|
H A D | input_method_agent_stub.h | 36 void SetCallingWindow(uint32_t windowId) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_res_sched_client_adapter_impl.cpp | 29 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 D | ark_res_sched_client_adapter_wrapper.cpp | 29 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 D | resschedadapter_fuzz.cpp | 41 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 D | ark_res_sched_client_adapter.h | 31 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 D | input_method_engine_listener_impl.h | 44 static bool WaitSetCallingWindow(uint32_t windowId); 51 void OnSetCallingWindow(uint32_t windowId) override;
|
/base/inputmethod/imf/interfaces/kits/c/ |
H A D | inputmethod_text_config_capi.h | 125 * @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 D | input_method_attach_test.cpp | 251 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 D | input_method_agent_proxy.cpp | 60 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 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::AccessibilityWindowInfo> info) { in GetWindowScale() 39 return windowId == info->wid_; in GetWindowScale() 77 // {windowId, zOrder} in CheckOtherWindowCoverComp()
|
H A D | window_info_helper.h | 26 static float GetWindowScale(int32_t windowId);
|
/base/web/webview/ohos_adapter/res_sched_adapter/src/ |
H A D | res_sched_client_adapter_impl.cpp | 93 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 D | res_sched_client_adapter.h | 77 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 D | input_method_engine_listener.h | 33 virtual void OnSetCallingWindow(uint32_t windowId) = 0;
|
/base/security/security_component_manager/interfaces/inner_api/security_component_common/ |
H A D | sec_comp_info_helper.h | 44 static float GetWindowScale(int32_t windowId);
|
/base/inputmethod/imf/frameworks/cj/include/ |
H A D | input_method_ffi_structs.h | 86 uint32_t windowId; member
|
/base/inputmethod/imf/frameworks/ndk/include/ |
H A D | native_inputmethod_types.h | 45 int32_t windowId; member
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_utils.h | 176 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()
|