Searched refs:mm_width (Results 1 – 7 of 7) sorted by relevance
93 uint32_t mm_width() const;
145 uint32_t mm_width = 0; in PopulateDisplayAttributes() local158 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()
374 uint32_t mm_width = 0; in PopulateDisplayAttributes() local387 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()
350 uint32_t DrmConnector::mm_width() const { in mm_width() function in android::DrmConnector
459 uint32_t mm_width = 0; in PopulateDisplayAttributes() local472 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()
584 uint32_t mm_width = 0; in PopulateDisplayAttributes() local597 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()
589 uint32_t mm_width = 0; in PopulateDisplayAttributes() local602 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()