Searched refs:windowModeListenerAgent_ (Results 1 – 4 of 4) sorted by relevance
68 sptr<WindowManagerAgentLite> windowModeListenerAgent_; member in OHOS::Rosen::WindowManagerLite::Impl533 if (pImpl_->windowModeListenerAgent_ == nullptr) { in RegisterWindowModeChangedListener()534 pImpl_->windowModeListenerAgent_ = new (std::nothrow) WindowManagerAgentLite(); in RegisterWindowModeChangedListener()537 … WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_WINDOW_MODE, pImpl_->windowModeListenerAgent_); in RegisterWindowModeChangedListener()540 pImpl_->windowModeListenerAgent_ = nullptr; in RegisterWindowModeChangedListener()567 if (pImpl_->windowModeListeners_.empty() && pImpl_->windowModeListenerAgent_ != nullptr) { in UnregisterWindowModeChangedListener()569 … WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_WINDOW_MODE, pImpl_->windowModeListenerAgent_); in UnregisterWindowModeChangedListener()571 pImpl_->windowModeListenerAgent_ = nullptr; in UnregisterWindowModeChangedListener()
76 sptr<WindowManagerAgent> windowModeListenerAgent_; member in OHOS::Rosen::WindowManager::Impl465 if (pImpl_->windowModeListenerAgent_ == nullptr) { in RegisterWindowModeChangedListener()466 pImpl_->windowModeListenerAgent_ = new WindowManagerAgent(); in RegisterWindowModeChangedListener()469 … WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_WINDOW_MODE, pImpl_->windowModeListenerAgent_); in RegisterWindowModeChangedListener()472 pImpl_->windowModeListenerAgent_ = nullptr; in RegisterWindowModeChangedListener()499 if (pImpl_->windowModeListeners_.empty() && pImpl_->windowModeListenerAgent_ != nullptr) { in UnregisterWindowModeChangedListener()501 … WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_WINDOW_MODE, pImpl_->windowModeListenerAgent_); in UnregisterWindowModeChangedListener()503 pImpl_->windowModeListenerAgent_ = nullptr; in UnregisterWindowModeChangedListener()
308 auto oldWindowManagerAgent = windowManager.pImpl_->windowModeListenerAgent_;310 windowManager.pImpl_->windowModeListenerAgent_ = nullptr;329 windowManager.pImpl_->windowModeListenerAgent_ = oldWindowManagerAgent;341 auto oldWindowManagerAgent = windowManager.pImpl_->windowModeListenerAgent_;343 windowManager.pImpl_->windowModeListenerAgent_ = nullptr;366 ASSERT_EQ(nullptr, windowManager.pImpl_->windowModeListenerAgent_);372 windowManager.pImpl_->windowModeListenerAgent_ = oldWindowManagerAgent;
466 auto oldWindowManagerAgent = windowManager.pImpl_->windowModeListenerAgent_;468 windowManager.pImpl_->windowModeListenerAgent_ = nullptr;476 ASSERT_EQ(nullptr, windowManager.pImpl_->windowModeListenerAgent_);487 windowManager.pImpl_->windowModeListenerAgent_ = oldWindowManagerAgent;499 auto oldWindowManagerAgent = windowManager.pImpl_->windowModeListenerAgent_;501 windowManager.pImpl_->windowModeListenerAgent_ = new WindowManagerAgent();522 ASSERT_EQ(nullptr, windowManager.pImpl_->windowModeListenerAgent_);528 windowManager.pImpl_->windowModeListenerAgent_ = oldWindowManagerAgent;