Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmconnector.h94 uint32_t mm_height() const;
/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/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmconnector.cpp354 uint32_t DrmConnector::mm_height() const { in mm_height() function in android::DrmConnector
/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.cpp585 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
597 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
601 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
633 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
635 mm_height = UINT32(((FLOAT(mode.vdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
640 display_attributes_[index].y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_device_drm.cpp590 uint32_t mm_height = 0; in PopulateDisplayAttributes() local
602 res_mgr->GetDisplayDimInMM(&mm_width, &mm_height); in PopulateDisplayAttributes()
606 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
642 if (INT(mm_width) <= 0 || INT(mm_height) <= 0) { in PopulateDisplayAttributes()
644 mm_height = UINT32(((FLOAT(mode.vdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
649 display_attributes_[index].y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()