Home
last modified time | relevance | path

Searched refs:pImpl_ (Results 1 – 12 of 12) sorted by relevance

/foundation/windowmanager/wm/src/
Dwindow_manager.cpp221 WindowManager::WindowManager() : pImpl_(std::make_unique<Impl>()) in WindowManager()
236 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_); in RegisterFocusChangedListener()
237 pImpl_->focusChangedListeners_.push_back(listener); in RegisterFocusChangedListener()
238 if (pImpl_->focusChangedListenerAgent_ == nullptr) { in RegisterFocusChangedListener()
239 pImpl_->focusChangedListenerAgent_ = new WindowManagerAgent(); in RegisterFocusChangedListener()
241 … WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS, pImpl_->focusChangedListenerAgent_); in RegisterFocusChangedListener()
252 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_); in UnregisterFocusChangedListener()
253 …auto iter = std::find(pImpl_->focusChangedListeners_.begin(), pImpl_->focusChangedListeners_.end()… in UnregisterFocusChangedListener()
254 if (iter == pImpl_->focusChangedListeners_.end()) { in UnregisterFocusChangedListener()
258 pImpl_->focusChangedListeners_.erase(iter); in UnregisterFocusChangedListener()
[all …]
/foundation/windowmanager/dm/src/
Ddisplay.cpp38 : pImpl_(new Impl(name, info)) in Display()
48 return pImpl_->GetDisplayInfo()->GetDisplayId(); in GetId()
53 return pImpl_->GetDisplayInfo()->GetName(); in GetName()
59 return pImpl_->GetDisplayInfo()->GetWidth(); in GetWidth()
65 return pImpl_->GetDisplayInfo()->GetHeight(); in GetHeight()
71 return pImpl_->GetDisplayInfo()->GetRefreshRate(); in GetFreshRate()
77 return pImpl_->GetDisplayInfo()->GetRefreshRate(); in GetRefreshRate()
83 return pImpl_->GetDisplayInfo()->GetScreenId(); in GetScreenId()
89 return pImpl_->GetDisplayInfo()->GetRotation(); in GetRotation()
95 return pImpl_->GetDisplayInfo()->GetOrientation(); in GetOrientation()
[all …]
Dscreen.cpp37 : pImpl_(new Impl(info)) in Screen()
48 return pImpl_->GetScreenInfo()->GetIsScreenGroup(); in IsGroup()
53 return pImpl_->GetScreenInfo()->GetName(); in GetName()
58 return pImpl_->GetScreenInfo()->GetScreenId(); in GetId()
85 return pImpl_->GetScreenInfo()->GetVirtualWidth(); in GetVirtualWidth()
91 return pImpl_->GetScreenInfo()->GetVirtualHeight(); in GetVirtualHeight()
97 return pImpl_->GetScreenInfo()->GetVirtualPixelRatio(); in GetVirtualPixelRatio()
103 return pImpl_->GetScreenInfo()->GetRotation(); in GetRotation()
109 return pImpl_->GetScreenInfo()->GetOrientation(); in GetOrientation()
114 return pImpl_->GetScreenInfo()->GetType() == ScreenType::REAL; in IsReal()
[all …]
Dscreen_group.cpp39 : Screen(info), pImpl_(new Impl(info)) in ScreenGroup()
50 pImpl_->SetScreenGroupInfo(info); in UpdateScreenGroupInfo()
66 return pImpl_->GetScreenGroupInfo()->GetCombination(); in GetCombination()
72 return pImpl_->GetScreenGroupInfo()->GetChildren(); in GetChildIds()
78 return pImpl_->GetScreenGroupInfo()->GetPosition(); in GetChildPositions()
Dscreen_manager.cpp64 ScreenManagerListener(sptr<Impl> impl) : pImpl_(impl) in ScreenManagerListener()
74 if (pImpl_ == nullptr) { in OnScreenConnect()
78 pImpl_->NotifyScreenConnect(screenInfo); in OnScreenConnect()
79 for (auto listener : pImpl_->screenListeners_) { in OnScreenConnect()
90 if (pImpl_ == nullptr) { in OnScreenDisconnect()
94 pImpl_->NotifyScreenDisconnect(screenId); in OnScreenDisconnect()
95 for (auto listener : pImpl_->screenListeners_) { in OnScreenDisconnect()
106 if (pImpl_ == nullptr) { in OnScreenChange()
111 pImpl_->NotifyScreenChange(screenInfo); in OnScreenChange()
112 for (auto listener: pImpl_->screenListeners_) { in OnScreenChange()
[all …]
Ddisplay_manager.cpp72 DisplayManagerListener(sptr<Impl> impl) : pImpl_(impl) in DisplayManagerListener()
82 if (pImpl_ == nullptr) { in OnDisplayCreate()
86 pImpl_->NotifyDisplayCreate(displayInfo); in OnDisplayCreate()
87 for (auto listener : pImpl_->displayListeners_) { in OnDisplayCreate()
98 if (pImpl_ == nullptr) { in OnDisplayDestroy()
102 pImpl_->NotifyDisplayDestroy(displayId); in OnDisplayDestroy()
103 for (auto listener : pImpl_->displayListeners_) { in OnDisplayDestroy()
114 if (pImpl_ == nullptr) { in OnDisplayChange()
119 pImpl_->NotifyDisplayChange(displayInfo); in OnDisplayChange()
120 for (auto listener : pImpl_->displayListeners_) { in OnDisplayChange()
[all …]
/foundation/windowmanager/interfaces/innerkits/dm/
Dscreen_group.h49 sptr<Impl> pImpl_; variable
Ddisplay.h58 sptr<Impl> pImpl_; variable
Dscreen_manager.h64 sptr<Impl> pImpl_; variable
Ddisplay_manager.h72 sptr<Impl> pImpl_; variable
Dscreen.h100 sptr<Impl> pImpl_; variable
/foundation/windowmanager/interfaces/innerkits/wm/
Dwindow_manager.h144 std::unique_ptr<Impl> pImpl_; variable