Searched refs:mm_width (Results 1 – 5 of 5) sorted by relevance
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()
369 uint32_t mm_width = 0; in PopulateDisplayAttributes() local382 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()
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()
557 uint32_t mm_width = 0; in PopulateDisplayAttributes() local570 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()