Home
last modified time | relevance | path

Searched refs:windowImpl (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ui_lite/frameworks/window/
H A Dwindow.cpp37 WindowImpl* windowImpl = dynamic_cast<WindowImpl*>(window); in DestroyWindow() local
38 if (windowImpl != nullptr) { in DestroyWindow()
39 windowImpl->RemoveFromDisplay(); in DestroyWindow()
40 windowImpl->UnbindRootView(); in DestroyWindow()
41 windowImpl->Destroy(); in DestroyWindow()
42 delete windowImpl; in DestroyWindow()
43 windowImpl = nullptr; in DestroyWindow()
/foundation/window/window_manager/interfaces/kits/napi/embeddable_window_stage/
H A Djs_embeddable_window_stage.cpp138 [windowImpl = windowExtensionSessionImpl_, sessionInfo = sessionInfo_] in OnGetMainWindow()
140 if (windowImpl != nullptr) { in OnGetMainWindow()
142 windowImpl, sessionInfo)); in OnGetMainWindow()
144 windowImpl->GetWindowId(), windowImpl->GetWindowName().c_str()); in OnGetMainWindow()
176 sptr<Window> windowImpl = windowExtensionSessionImpl_; in OnEvent() local
177 if (windowImpl == nullptr) { in OnEvent()
178 TLOGE(WmsLogTag::WMS_UIEXT, "[NAPI]windowImpl is null"); in OnEvent()
204 WmErrorCode ret = extwinRegisterManager_->RegisterListener(windowImpl, eventString, in OnEvent()
211 windowImpl in OnEvent()
218 sptr<Window> windowImpl = windowExtensionSessionImpl_; OffEvent() local
262 LoadContentTask(std::shared_ptr<NativeReference> contentStorage, std::string contextUrl, sptr<Window> windowImpl, napi_env env, NapiAsyncTask& task, sptr<IRemoteObject> parentToken, bool isLoadedByName) LoadContentTask() argument
[all...]
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_stage_impl.cpp37 sptr<CJWindowImpl> windowImpl = CreateCjWindowObject(window); in CreateCjSubWindowArrayObject() local
38 if (windowImpl == nullptr) { in CreateCjSubWindowArrayObject()
39 TLOGE(WmsLogTag::WMS_DIALOG, "[createCjSubWindowArrayObject] windowImpl is nullptr"); in CreateCjSubWindowArrayObject()
42 windowList[ret.len] = windowImpl->GetID(); in CreateCjSubWindowArrayObject()
60 auto windowImpl = CreateCjWindowObject(window); in GetMainWindow() local
61 if (windowImpl == nullptr) { in GetMainWindow()
62 TLOGE(WmsLogTag::WMS_DIALOG, "[getMainWindow] windowImpl is null"); in GetMainWindow()
65 windowId = windowImpl->GetID(); in GetMainWindow()
88 sptr<CJWindowImpl> windowImpl = CreateCjWindowObject(window); in CreateSubWindow() local
89 if (windowImpl in CreateSubWindow()
[all...]
H A Dwindow_manager_impl.cpp127 sptr<CJWindowImpl> windowImpl = FindCjWindowObject(name); in FindWindow() local
128 if (windowImpl != nullptr) { in FindWindow()
129 windowId = windowImpl->GetID(); in FindWindow()
H A Dwindow_impl.cpp51 sptr<CJWindowImpl> windowImpl = FindCjWindowObject(windowName); in CreateCjWindowObject() local
52 if (windowImpl != nullptr) { in CreateCjWindowObject()
54 return windowImpl; in CreateCjWindowObject()
57 windowImpl = FFI::FFIData::Create<CJWindowImpl>(window); in CreateCjWindowObject()
58 if (windowImpl == nullptr) { in CreateCjWindowObject()
63 g_cjWindowMap[windowName] = windowImpl; in CreateCjWindowObject()
64 return windowImpl; in CreateCjWindowObject()
/foundation/window/window_manager/previewer/src/
H A Dwindow.cpp36 sptr<WindowImpl> windowImpl = new(std::nothrow) WindowImpl(option); in Create() local
37 if (windowImpl == nullptr) { in Create()
41 WMError error = windowImpl->Create(option->GetParentId(), context); in Create()
47 return windowImpl; in Create()
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
H A Djs_extension_window.cpp308 sptr<Window> windowImpl = win->GetWindow(); in LoadContentTask() local
311 ret = windowImpl->SetUIContentByName(contextUrl, env, nativeStorage); in LoadContentTask()
313 ret = windowImpl->NapiSetUIContent(contextUrl, env, nativeStorage, BackupAndRestoreType::NONE, parentToken); in LoadContentTask()
321 windowImpl->GetWindowId(), windowImpl->GetWindowName().c_str(), ret); in LoadContentTask()
443 sptr<Window> windowImpl = extensionWindow_->GetWindow(); in OnGetWindowPropertiesSync() local
444 if (windowImpl == nullptr) { in OnGetWindowPropertiesSync()
448 auto objValue = CreateJsExtensionWindowProperties(env, windowImpl); in OnGetWindowPropertiesSync()
450 windowImpl->GetWindowId(), windowImpl in OnGetWindowPropertiesSync()
505 sptr<Window> windowImpl = extensionWindow_->GetWindow(); OnIsWindowShowingSync() local
706 sptr<Window> windowImpl = extensionWindow_->GetWindow(); OnRegisterExtensionWindowCallback() local
741 sptr<Window> windowImpl = extensionWindow_->GetWindow(); OnUnRegisterExtensionWindowCallback() local
787 sptr<Window> windowImpl = extensionWindow_->GetWindow(); OnHideNonSecureWindows() local
821 sptr<Window> windowImpl = extensionWindow_->GetWindow(); OnSetWaterMarkFlag() local
856 sptr<Window> windowImpl = extensionWindow_->GetWindow(); OnHidePrivacyContentForHost() local
[all...]
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_group_mgr_test.cpp79 sptr<WindowImpl> windowImpl = new WindowImpl(windowOption); in SetUpTestCase() local
80 windowImpl->SetWindowState(WindowState::STATE_SHOWN); in SetUpTestCase()
81 sptr<IWindow> window = new WindowAgent(windowImpl); in SetUpTestCase()
H A Dwindow_manager_stub_test.cpp447 sptr<WindowImpl> windowImpl = new WindowImpl(windowOption); in HWTEST_F() local
448 sptr<IWindow> window = new WindowAgent(windowImpl); in HWTEST_F()
479 sptr<WindowImpl> windowImpl = new WindowImpl(windowOption); in HWTEST_F() local
480 sptr<IWindow> window = new WindowAgent(windowImpl); in HWTEST_F()
/foundation/arkui/ui_lite/frameworks/core/
H A Drender_manager.cpp47 WindowImpl* windowImpl = reinterpret_cast<WindowImpl*>(winNode->data_); in Callback() local
48 windowImpl->Render(); in Callback()
191 WindowImpl* windowImpl = reinterpret_cast<WindowImpl*>(winNode->data_); in RefreshScreen() local
192 RootView* rootView = windowImpl->GetRootView(); in RefreshScreen()
/foundation/window/window_manager/wm/src/
H A Dwindow.cpp94 sptr<WindowImpl> windowImpl = sptr<WindowImpl>::MakeSptr(option); in Create() local
95 if (windowImpl == nullptr) { in Create()
96 WLOGFE("malloc windowImpl failed"); in Create()
99 WMError error = windowImpl->Create(option->GetParentId(), context); in Create()
104 return windowImpl; in Create()
H A Dwindow_agent.cpp26 WindowAgent::WindowAgent(sptr<WindowImpl>& windowImpl) in WindowAgent() argument
28 window_ = windowImpl; in WindowAgent()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_impl_test5.cpp1205 sptr<WindowImpl> windowImpl = new (std::nothrow) WindowImpl(option); in HWTEST_F() local
1206 ASSERT_NE(windowImpl, nullptr); in HWTEST_F()
1209 v.push_back(windowImpl); in HWTEST_F()
1235 sptr<WindowImpl> windowImpl = new (std::nothrow) WindowImpl(option); in HWTEST_F() local
1236 ASSERT_NE(windowImpl, nullptr); in HWTEST_F()
1239 v.push_back(windowImpl); in HWTEST_F()

Completed in 11 milliseconds