Lines Matching refs:displayInfo
28 void DisplayGroupInfo::Init(ScreenId displayGroupId, const sptr<DisplayInfo>& displayInfo)
31 AddDisplayInfo(displayInfo);
34 void DisplayGroupInfo::AddDisplayInfo(const sptr<DisplayInfo>& displayInfo)
36 DisplayId displayId = displayInfo->GetDisplayId();
41 displayInfosMap_.insert(std::make_pair(displayId, displayInfo));
114 auto& displayInfo = displayInfosMap_[displayId];
115 displayInfo->SetOffsetX(displayRect.posX_);
116 displayInfo->SetOffsetY(displayRect.posY_);
117 displayInfo->SetWidth(displayRect.width_);
118 displayInfo->SetHeight(displayRect.height_);
130 auto& displayInfo = displayInfosMap_[displayId];
131 rotation = displayInfo->GetRotation();
140 auto& displayInfo = displayInfosMap_[displayId];
141 type = displayInfo->GetDisplayStateChangeType();
150 auto& displayInfo = displayInfosMap_[displayId];
151 vpr = displayInfo->GetVirtualPixelRatio();
160 auto& displayInfo = elem.second;
161 Rect displayRect = { displayInfo->GetOffsetX(), displayInfo->GetOffsetY(),
162 displayInfo->GetWidth(), displayInfo->GetHeight() };
172 auto& displayInfo = displayInfosMap_[displayId];
173 rect = { displayInfo->GetOffsetX(), displayInfo->GetOffsetY(),
174 displayInfo->GetWidth(), displayInfo->GetHeight() };
195 void DisplayGroupInfo::UpdateDisplayInfo(sptr<DisplayInfo> displayInfo) const
197 DisplayId displayId = displayInfo->GetDisplayId();
199 displayInfosMap_[displayId] = displayInfo;
200 WLOGFD("Update displayInfo");