Lines Matching refs:display

52 // set the output width of display
114 .append("|dump all display information in the system\n")
117 .append(" -d {display id} ")
118 .append("|dump specified display information\n");
128 dumpInfo.append("The screen or display is invalid, ")
129 .append("you can enter '-s -a' or '-d -a' to get valid screen or display id.");
261 auto display = abstractDisplayController_->GetAbstractDisplay(displayId);
262 if (display == nullptr) {
263 WLOGFE("display is null");
266 GetDisplayInfo(display, oss);
274 auto display = abstractDisplayController_->GetAbstractDisplay(displayId);
275 if (display == nullptr) {
276 WLOGFE("display is null");
280 oss << "DisplayId: " << display->GetId() << std::endl;
281 oss << "ScreenId: " << display->GetAbstractScreenId() << std::endl;
282 oss << "RefreshRate: " << display->GetRefreshRate() << std::endl;
283 oss << "VPR: " << display->GetVirtualPixelRatio() << std::endl;
284 oss << "Rotation: " << static_cast<uint32_t>(display->GetRotation()) << std::endl;
285 oss << "Orientation: " << static_cast<uint32_t>(display->GetOrientation()) << std::endl;
286 oss << "DisplayOrientation: " << static_cast<uint32_t>(display->GetDisplayOrientation()) << std::endl;
287 oss << "FreezeFlag: " << static_cast<uint32_t>(display->GetFreezeFlag()) << std::endl;
289 << display->GetOffsetX() << ", " << display->GetOffsetY() << ", "
290 << display->GetWidth() << ", " << display->GetHeight() << " ]" << std::endl;
358 void DisplayDumper::GetDisplayInfo(const sptr<AbstractDisplay>& display, std::ostringstream& oss) const
360 if (display == nullptr) {
361 WLOGFE("display is null");
365 oss << std::left << std::setw(W_DISPLAY_ID) << display->GetId()
366 << std::left << std::setw(W_ABSTR_SCREEN_ID) << display->GetAbstractScreenId()
367 << std::left << std::setw(W_REFRESH_RATE) << display->GetRefreshRate()
368 << std::left << std::setw(W_VIR_PIXEL_RATIO) << display->GetVirtualPixelRatio()
369 << std::left << std::setw(W_DISPLAY_ROTATION) << static_cast<uint32_t>(display->GetRotation())
370 << std::left << std::setw(W_ORIENTATION) << static_cast<uint32_t>(display->GetOrientation())
371 << std::left << std::setw(W_DISPLAY_ORIENTATION) << static_cast<uint32_t>(display->GetDisplayOrientation())
372 << std::left << std::setw(W_DISPLAY_FREEZE_FLAG) << static_cast<uint32_t>(display->GetFreezeFlag())
374 << std::left << std::setw(W_DISPLAY_OFFSET_X) << display->GetOffsetX()
375 << std::left << std::setw(W_DISPLAY_OFFSET_Y) << display->GetOffsetY()
376 << std::left << std::setw(W_DISPLAY_WIDTH) << display->GetWidth()
377 << std::left << std::setw(W_DISPLAY_HEITHT) << display->GetHeight()