Lines Matching refs:GetDisplayInfo

41     sptr<DisplayInfo> GetDisplayInfo()  in GetDisplayInfo()  function in OHOS::Rosen::Display::Impl
69 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetId()
73 return pImpl_->GetDisplayInfo()->GetDisplayId(); in GetId()
78 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetName()
82 return pImpl_->GetDisplayInfo()->GetName(); in GetName()
88 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetWidth()
92 return pImpl_->GetDisplayInfo()->GetWidth(); in GetWidth()
98 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetHeight()
102 return pImpl_->GetDisplayInfo()->GetHeight(); in GetHeight()
108 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetPhysicalWidth()
112 return pImpl_->GetDisplayInfo()->GetPhysicalWidth(); in GetPhysicalWidth()
118 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetPhysicalHeight()
122 return pImpl_->GetDisplayInfo()->GetPhysicalHeight(); in GetPhysicalHeight()
128 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetRefreshRate()
132 return pImpl_->GetDisplayInfo()->GetRefreshRate(); in GetRefreshRate()
138 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetScreenId()
142 return pImpl_->GetDisplayInfo()->GetScreenId(); in GetScreenId()
148 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetRotation()
152 return pImpl_->GetDisplayInfo()->GetRotation(); in GetRotation()
158 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetOrientation()
162 return pImpl_->GetDisplayInfo()->GetOrientation(); in GetOrientation()
180 auto displayInfo = SingletonContainer::Get<DisplayManagerAdapter>().GetDisplayInfo(GetId()); in UpdateDisplayInfo()
187 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetVirtualPixelRatio()
191 return pImpl_->GetDisplayInfo()->GetVirtualPixelRatio(); in GetVirtualPixelRatio()
199 sptr<DisplayInfo> Display::GetDisplayInfo() const in GetDisplayInfo() function in OHOS::Rosen::Display
202 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetDisplayInfo()
206 return pImpl_->GetDisplayInfo(); in GetDisplayInfo()
211 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) { in GetDisplayInfoByJs()
215 return pImpl_->GetDisplayInfo(); in GetDisplayInfoByJs()