/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_stage_impl.h | 27 explicit CJWindowStageImpl(const std::shared_ptr<WindowScene>& windowScene): windowScene_(windowScene) {} in CJWindowStageImpl() argument 34 static std::shared_ptr<CJWindowStageImpl> CreateCJWindowStage(std::shared_ptr<WindowScene> windowScene);
|
H A D | window_stage_impl.cpp | 186 std::shared_ptr<WindowScene> windowScene) in CreateCJWindowStage() 188 auto ptr = FFIData::Create<CJWindowStageImpl>(windowScene); in CreateCJWindowStage() 197 FFI_EXPORT int64_t OHOS_CreateCJWindowStage(const std::shared_ptr<WindowScene>& windowScene) in OHOS_CreateCJWindowStage() argument 199 auto ptr = OHOS::FFI::FFIData::Create<OHOS::Rosen::CJWindowStageImpl>(windowScene); in OHOS_CreateCJWindowStage() 185 CreateCJWindowStage( std::shared_ptr<WindowScene> windowScene) CreateCJWindowStage() argument
|
/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/ |
H A D | windowscene_fuzzer.cpp | 167 sptr<WindowScene> windowScene = new WindowScene(); in DoSomethingInterestingWithMyAPI() local 172 windowScene->Init(displayId, nullptr, listener, option); in DoSomethingInterestingWithMyAPI() 181 sptr<Window> window = windowScene->CreateWindow(windowName, windowOption); in DoSomethingInterestingWithMyAPI() 184 windowScene->GoForeground(reason); in DoSomethingInterestingWithMyAPI() 189 windowScene->SetSystemBarProperty(type, systemBarProperty); in DoSomethingInterestingWithMyAPI() 191 windowScene->GoBackground(reason); in DoSomethingInterestingWithMyAPI() 195 windowScene->GoDestroy(); in DoSomethingInterestingWithMyAPI() 198 windowScene->NotifyMemoryLevel(level); in DoSomethingInterestingWithMyAPI() 200 windowScene->OnNewWant(want); in DoSomethingInterestingWithMyAPI() 202 windowScene in DoSomethingInterestingWithMyAPI() [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi/ |
H A D | js_window_stage.h | 32 WINDOW_EXPORT napi_value CreateJsWindowStage(napi_env env, std::shared_ptr<Rosen::WindowScene> windowScene); 35 explicit JsWindowStage(const std::shared_ptr<Rosen::WindowScene>& windowScene);
|
H A D | js_window_stage.cpp | 35 JsWindowStage::JsWindowStage(const std::shared_ptr<Rosen::WindowScene>& windowScene) in JsWindowStage() argument 36 : windowScene_(windowScene) in JsWindowStage() 635 auto windowScene = windowScene_.lock(); in OnCreateSubWindowWithOptions() local 636 if (windowScene == nullptr) { in OnCreateSubWindowWithOptions() 657 !windowScene->GetMainWindow()->IsPcOrPadFreeMultiWindowMode()) { in OnCreateSubWindowWithOptions() 671 [where, windowScene, windowName = std::move(windowName), option] in OnCreateSubWindowWithOptions() 676 auto window = windowScene->CreateWindow(windowName, option); in OnCreateSubWindowWithOptions() 694 napi_value CreateJsWindowStage(napi_env env, std::shared_ptr<Rosen::WindowScene> windowScene) in CreateJsWindowStage() argument 700 std::unique_ptr<JsWindowStage> jsWindowStage = std::make_unique<JsWindowStage>(windowScene); in CreateJsWindowStage()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | simulator.cpp | 115 std::unique_ptr<NativeReference> CreateJsWindowStage(const std::shared_ptr<Rosen::WindowScene> &windowScene); 635 auto windowScene = std::make_shared<Rosen::WindowScene>(); in DispatchStartLifecycle() local 636 if (windowScene == nullptr) { in DispatchStartLifecycle() 640 windowScene->Init(-1, context_, listener); in DispatchStartLifecycle() 641 auto jsWindowStage = CreateJsWindowStage(windowScene); in DispatchStartLifecycle() 650 windowScenes_.emplace(currentId_, windowScene); in DispatchStartLifecycle() 655 const std::shared_ptr<Rosen::WindowScene> &windowScene) in CreateJsWindowStage() 657 napi_value jsWindowStage = Rosen::CreateJsWindowStage(nativeEngine_, windowScene); in CreateJsWindowStage() 654 CreateJsWindowStage( const std::shared_ptr<Rosen::WindowScene> &windowScene) CreateJsWindowStage() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_customdialog_controller_ffi.cpp | 145 if (currentObj && currentObj->IsScenceBoardWindow() && !dialogProperties_.windowScene.Upgrade()) { in OpenDialog() 156 dialogProperties_.windowScene = parent; in OpenDialog()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_custom_dialog_controller.cpp | 285 if (container && container->IsScenceBoardWindow() && !dialogProperties_.windowScene.Upgrade()) { in JsOpenDialog() 296 dialogProperties_.windowScene = parent; in JsOpenDialog()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.h | 347 void MountFilterToWindowScene(const RefPtr<FrameNode>& columnNode, const RefPtr<UINode>& windowScene); 349 const RefPtr<FrameNode>& columnNode, const RefPtr<UINode>& windowScene, bool isDragPixelMap = false); 350 void MountEventToWindowScene(const RefPtr<FrameNode>& columnNode, const RefPtr<UINode>& windowScene); 562 const RefPtr<UINode>& windowScene);
|
H A D | overlay_manager.cpp | 835 root = dialogPattern->GetDialogProperties().windowScene.Upgrade(); in OpenDialogAnimation() 962 root = dialogPattern->GetDialogProperties().windowScene.Upgrade(); in SetDialogTransitionEffect() 2175 for (const auto& windowScene : windowSceneSet_) { in HideAllMenus() 2176 if (!windowScene.Upgrade()) { in HideAllMenus() 2179 for (const auto& child : windowScene.Upgrade()->GetChildren()) { in HideAllMenus() 5499 // it expects to receive the target component bound by the pop-up component to find the windowScene component. 5502 // And the parent component will be the windowScene component exactly. 5519 void OverlayManager::MountFilterToWindowScene(const RefPtr<FrameNode>& columnNode, const RefPtr<UINode>& windowScene) in MountFilterToWindowScene() argument 5521 CHECK_NULL_VOID(windowScene); in MountFilterToWindowScene() 5522 columnNode->MountToParent(windowScene); in MountFilterToWindowScene() 5535 MountPixelMapToWindowScene( const RefPtr<FrameNode>& columnNode, const RefPtr<UINode>& windowScene, bool isDragPixelMap) MountPixelMapToWindowScene() argument 5551 MountEventToWindowScene(const RefPtr<FrameNode>& columnNode, const RefPtr<UINode>& windowScene) MountEventToWindowScene() argument 6434 MountGatherNodeToWindowScene(const RefPtr<FrameNode>& frameNode, const std::vector<GatherNodeChildInfo>& gatherNodeChildrenInfo, const RefPtr<UINode>& windowScene) MountGatherNodeToWindowScene() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | drag_event.cpp | 912 auto windowScene = manager->FindWindowScene(frameNode); in SetFilter() local 913 manager->MountFilterToWindowScene(columnNode, windowScene); in SetFilter() 1104 auto windowScene = manager->FindWindowScene(frameNode); in MountPixelMap() local 1105 manager->MountPixelMapToWindowScene(columnNode, windowScene, isDragPixelMap); in MountPixelMap() 1245 auto windowScene = manager->FindWindowScene(frameNode); in SetPixelMap() local 1246 manager->MountPixelMapToWindowScene(columnNode, windowScene); in SetPixelMap() 1427 auto windowScene = manager->FindWindowScene(frameNode); in SetEventColumn() local 1428 manager->MountEventToWindowScene(columnNode, windowScene); in SetEventColumn() 2040 auto windowScene = overlayManager->FindWindowScene(frameNode); in MountGatherNode() local 2041 overlayManager->MountGatherNodeToWindowScene(gatherNode, gatherNodeChildrenInfo, windowScene); in MountGatherNode() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/dialog/ |
H A D | dialog_properties.h | 265 WeakPtr<NG::UINode> windowScene; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_handler.cpp | 369 auto windowScene = windowSceneFrameNode->GetPattern<SystemWindowScene>(); in GetWindowSceneWindowId() local 370 CHECK_NULL_RETURN(windowScene, false); in GetWindowSceneWindowId() 371 auto session = windowScene->GetSession(); in GetWindowSceneWindowId()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | cj_ui_ability.cpp | 65 sptr<Rosen::CJWindowStageImpl> CreateCJWindowStage(std::shared_ptr<Rosen::WindowScene> windowScene) in CreateCJWindowStage() argument 83 auto id = func(windowScene); in CreateCJWindowStage()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_view.cpp | 800 auto windowScene = manager->FindWindowScene(targetNode); in SetFilter() local 801 manager->MountFilterToWindowScene(columnNode, windowScene); in SetFilter()
|