Home
last modified time | relevance | path

Searched refs:windowName (Results 1 – 22 of 22) sorted by relevance

/foundation/windowmanager/wm/src/
Dwindow_scene.cpp70 std::string windowName = context->GetBundleName() + std::to_string(count++); in GenerateMainWindowName() local
71 std::size_t pos = windowName.find_last_of('.'); in GenerateMainWindowName()
72 return (pos == std::string::npos) ? windowName : windowName.substr(pos + 1); // skip '.' in GenerateMainWindowName()
76 sptr<Window> WindowScene::CreateWindow(const std::string& windowName, sptr<WindowOption>& option) c… in CreateWindow() argument
78 if (windowName.empty() || mainWindow_ == nullptr || option == nullptr) { in CreateWindow()
79 WLOGFE("WindowScene Name: %{public}s", windowName.c_str()); in CreateWindow()
84 …return SingletonContainer::Get<StaticCall>().CreateWindow(windowName, option, mainWindow_->GetCont… in CreateWindow()
Dwindow.cpp27 sptr<Window> Window::Create(const std::string& windowName, sptr<WindowOption>& option, in Create() argument
30 if (windowName.empty()) { in Create()
46 option->SetWindowName(windowName); in Create()
59 sptr<Window> Window::Find(const std::string& windowName) in Find() argument
61 return WindowImpl::Find(windowName); in Find()
Dstatic_call.cpp22 sptr<Window> StaticCall::CreateWindow(const std::string& windowName, in WM_IMPLEMENT_SINGLE_INSTANCE()
25 return Window::Create(windowName, option, context); in WM_IMPLEMENT_SINGLE_INSTANCE()
Dwindow_option.cpp78 void WindowOption::SetWindowName(const std::string& windowName) in SetWindowName() argument
80 windowName_ = windowName; in SetWindowName()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_stage_napi/
Dwindow_stage.js37 createSubWindow(windowName, asyncCallback) { argument
38 return this.__window_stage__.createSubWindow(windowName, asyncCallback)
Djs_window_stage.cpp320 std::string windowName; in OnCreateSubWindow() local
321 if (!ConvertFromJsValue(engine, info.argv[0], windowName)) { in OnCreateSubWindow()
335 auto window = windowScene_->CreateWindow(windowName, windowOption); in OnCreateSubWindow()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_manager_napi/
Djs_window_manager.cpp152 static void CreateSystemWindowTask(void* contextPtr, std::string windowName, WindowType winType, in CreateSystemWindowTask() argument
184 sptr<Window> window = Window::Create(windowName, windowOption, context->lock()); in CreateSystemWindowTask()
194 static void CreateSubWindowTask(std::string parentWinName, std::string windowName, WindowType winTy… in CreateSubWindowTask() argument
208 sptr<Window> window = Window::Create(windowName, windowOption); in CreateSubWindowTask()
239 std::string windowName; in OnCreateWindow() local
241 if (!ConvertFromJsValue(engine, nativeString, windowName)) { in OnCreateWindow()
260 return CreateSystemWindowTask(contextPtr, windowName, winType, engine, task); in OnCreateWindow()
262 return CreateSubWindowTask(parentName, windowName, winType, engine, task); in OnCreateWindow()
274 std::string windowName; in OnFindWindow() local
280 if (!ConvertFromJsValue(engine, info.argv[0], windowName)) { in OnFindWindow()
[all …]
/foundation/windowmanager/wm/test/unittest/
Dmock_static_call.h28 MOCK_METHOD3(CreateWindow, sptr<Window>(const std::string& windowName,
/foundation/ace/ace_engine/frameworks/base/test/mock/
Dmock_drag_window.cpp19 RefPtr<DragWindow> DragWindow::CreateDragWindow(const std::string& windowName, int32_t x, int32_t y… in CreateDragWindow() argument
/foundation/windowmanager/wm/include/
Dstatic_call.h29 virtual sptr<Window> CreateWindow(const std::string& windowName,
Dwindow_impl.h215 inline void NotifyBeforeDestroy(std::string windowName) const in NotifyBeforeDestroy() argument
219 notifyNativefunc_(windowName); in NotifyBeforeDestroy()
/foundation/distributedhardware/distributedscreen/services/screenclient/src/
Dscreen_client_window_adapter.cpp62 std::string windowName = SCREEN_CLIENT_WINDOW + std::to_string(windowId); in CreateWindow() local
63 sptr<Rosen::Window> window = Rosen::Window::Create(windowName, option); in CreateWindow()
77 DHLOGD("Create window name is %s.", windowName.c_str()); in CreateWindow()
/foundation/ace/ace_engine/frameworks/base/window/
Ddrag_window.h27 …static RefPtr<DragWindow> CreateDragWindow(const std::string& windowName, int32_t x, int32_t y, ui…
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp34 NotifyNativeWinDestroyFunc func = [](std::string windowName) { in JsWindow() argument
35 WLOGE("NotifyNativeWinDestroyFunc is called %{public}s", windowName.c_str()); in JsWindow()
37 if (windowName.empty() || g_jsWindowMap.count(windowName) == 0) { in JsWindow()
38 WLOGE("windowName not exist %{public}s", windowName.c_str()); in JsWindow()
41 g_jsWindowMap.erase(windowName); in JsWindow()
42 …WLOGFI("JsWindow::NotifyNativeWinDestroyFuncwindowName %{public}s is destroyed", windowName.c_str(… in JsWindow()
69 std::string windowName = jsWin->GetWindowName(); in Finalizer() local
70 WLOGFI("JsWindow::Finalizer windowName : %{public}s", windowName.c_str()); in Finalizer()
72 if (g_jsWindowMap.find(windowName) != g_jsWindowMap.end()) { in Finalizer()
73 WLOGFI("JsWindow::windowName %{public}s is destroyed", windowName.c_str()); in Finalizer()
[all …]
Djs_window.h29 std::shared_ptr<NativeReference> FindJsWindowObject(std::string windowName);
/foundation/windowmanager/interfaces/innerkits/wm/
Dwindow.h48 using NotifyNativeWinDestroyFunc = std::function<void(std::string windowName)>;
108 static sptr<Window> Create(const std::string& windowName,
110 static sptr<Window> Find(const std::string& windowName);
Dwindow_scene.h42 sptr<Window> CreateWindow(const std::string& windowName, sptr<WindowOption>& option) const;
Dwindow_option.h41 void SetWindowName(const std::string& windowName);
/foundation/ace/ace_engine/adapter/ohos/entrance/window/
Ddrag_window_ohos.cpp101 const std::string& windowName, int32_t x, int32_t y, uint32_t width, uint32_t height) in CreateDragWindow() argument
107 OHOS::sptr<OHOS::Rosen::Window> dragWindow = OHOS::Rosen::Window::Create(windowName, option); in CreateDragWindow()
/foundation/multimodalinput/input/service/window_manager/src/
Dpointer_drawing_manager.cpp118 std::string windowName = "pointer window"; in CreatePointerWindow() local
119 pointerWindow_ = OHOS::Rosen::Window::Create(windowName, option, nullptr); in CreatePointerWindow()
/foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/
Dui_mgr_service.cpp247 std::string windowName = "system_dialog_window"; in ShowDialog() local
248 windowName += std::to_string(dialogId); in ShowDialog()
249 dialogWindow = OHOS::Rosen::Window::Create(windowName, option); in ShowDialog()
/foundation/windowmanager/wmserver/src/
Dwindow_node_container.cpp854 const std::string& windowName = node->GetWindowName().size() < WINDOW_NAME_MAX_LENGTH ? in DumpScreenWindowTree() local
858 windowName.c_str(), node->GetWindowId(), node->GetWindowType(), node->GetWindowMode(), in DumpScreenWindowTree()