Home
last modified time | relevance | path

Searched refs:mm_width (Results 1 – 7 of 7) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmconnector.h93 uint32_t mm_width() const;
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp145 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
158 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
161 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
192 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp374 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
387 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
390 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
421 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmconnector.cpp350 uint32_t DrmConnector::mm_width() const { in mm_width() function in android::DrmConnector
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_device_drm.cpp459 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
472 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
475 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
508 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
509 mm_width = UINT32(((FLOAT(mode.hdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
514 display_attributes_[index].x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp584 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
597 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
600 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
633 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
634 mm_width = UINT32(((FLOAT(mode.hdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
639 display_attributes_[index].x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_device_drm.cpp589 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
602 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
605 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
642 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
643 mm_width = UINT32(((FLOAT(mode.hdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
648 display_attributes_[index].x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()