Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp146 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
158 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
162 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
193 display_attributes_.y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp375 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
387 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
391 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
422 display_attributes_.y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp370 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
382 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
386 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
417 display_attributes_.y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_device_drm.cpp460 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
472 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
476 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
508 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
510 mm_height = UINT32(((FLOAT(mode.vdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
515 display_attributes_[index].y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp558 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
570 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
574 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
606 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
608 mm_height = UINT32(((FLOAT(mode.vdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
613 display_attributes_[index].y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()