Lines Matching defs:windowName
37 std::string windowName = context->GetBundleName() + std::to_string(g_count++);
38 std::size_t pos = windowName.find_last_of('.');
39 return (pos == std::string::npos) ? windowName : windowName.substr(pos + 1); // skip '.'
120 sptr<Window> WindowScene::CreateWindow(const std::string& windowName, sptr<WindowOption>& option) const
123 if (windowName.empty() || mainWindow == nullptr || option == nullptr) {
124 TLOGE(WmsLogTag::WMS_MAIN, "new windowName: %{public}s", windowName.c_str());
129 TLOGD(WmsLogTag::WMS_SUB, "windowName: %{public}s, parentId: %{public}u",
130 windowName.c_str(), mainWindow->GetWindowId());
131 return SingletonContainer::Get<StaticCall>().CreateWindow(windowName, option, mainWindow->GetContext());