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