Lines Matching defs:info
66 sptr<ScreenInfo> info = new(std::nothrow) ScreenInfo();
67 if (info == nullptr) {
70 FillScreenInfo(info);
71 return info;
357 void AbstractScreen::FillScreenInfo(sptr<ScreenInfo> info) const
359 if (info == nullptr) {
360 WLOGE("FillScreenInfo failed! info is nullptr");
363 info->id_ = dmsId_;
364 info->name_ = name_;
378 info->virtualPixelRatio_ = virtualPixelRatio;
379 info->virtualHeight_ = height / virtualPixelRatio;
380 info->virtualWidth_ = width / virtualPixelRatio;
381 info->lastParent_ = lastGroupDmsId_;
382 info->parent_ = groupDmsId_;
383 info->isScreenGroup_ = isScreenGroup_;
384 info->rotation_ = rotation_;
385 info->orientation_ = orientation_;
386 info->sourceMode_ = sourceMode;
387 info->type_ = type_;
388 info->modeId_ = activeIdx_;
389 info->modes_ = modes_;
438 sptr<SupportedScreenModes> info = GetActiveScreenMode();
439 if (info == nullptr) {
443 bool isVerticalScreen = info->width_ < info->height_;