Home
last modified time | relevance | path

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

/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/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp369 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
382 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
385 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
416 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/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.cpp557 uint32_t mm_width = 0; in PopulateDisplayAttributes() local
570 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
573 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
606 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
607 mm_width = UINT32(((FLOAT(mode.hdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
612 display_attributes_[index].x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()