Lines Matching defs:GetDisplayInfo

55     if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {

56 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
59 return pImpl_->GetDisplayInfo()->GetDisplayId();
64 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
65 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
68 return pImpl_->GetDisplayInfo()->GetName();
74 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
75 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
78 return pImpl_->GetDisplayInfo()->GetWidth();
84 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
85 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
88 return pImpl_->GetDisplayInfo()->GetHeight();
94 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
95 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
98 return pImpl_->GetDisplayInfo()->GetPhysicalWidth();
104 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
105 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
108 return pImpl_->GetDisplayInfo()->GetPhysicalHeight();
114 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
115 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
118 return pImpl_->GetDisplayInfo()->GetRefreshRate();
124 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
125 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
128 return pImpl_->GetDisplayInfo()->GetScreenId();
134 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
135 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
138 return pImpl_->GetDisplayInfo()->GetRotation();
144 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
145 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
148 return pImpl_->GetDisplayInfo()->GetOrientation();
166 auto displayInfo = SingletonContainer::Get<DisplayManagerAdapter>().GetDisplayInfo(GetId());
173 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
174 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
177 return pImpl_->GetDisplayInfo()->GetVirtualPixelRatio();
185 sptr<DisplayInfo> Display::GetDisplayInfo() const
188 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
189 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
192 return pImpl_->GetDisplayInfo();
197 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
198 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
201 return pImpl_->GetDisplayInfo();