Searched refs:mm_height (Results 1 – 7 of 7) sorted by relevance
94 uint32_t mm_height() const;
146 uint32_t mm_height = 0; in PopulateDisplayAttributes() local158 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()
375 uint32_t mm_height = 0; in PopulateDisplayAttributes() local387 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()
354 uint32_t DrmConnector::mm_height() const { in mm_height() function in android::DrmConnector
460 uint32_t mm_height = 0; in PopulateDisplayAttributes() local472 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()
585 uint32_t mm_height = 0; in PopulateDisplayAttributes() local597 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()
590 uint32_t mm_height = 0; in PopulateDisplayAttributes() local602 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()