Searched refs:phyScreenLength (Results 1 – 2 of 2) sorted by relevance
30 auto phyScreenLength = sqrt(pow(screenSize.phyWidth, 2) + pow(screenSize.phyHeight, 2)); in HgmScreen() local31 if (phyScreenLength != 0) { in HgmScreen()32 ppi_ = screenLength / (phyScreenLength / INCH_2_MM); in HgmScreen()
266 auto phyScreenLength = sqrt(pow(displayInfo->GetWidth() / xDpi, 2) + in GetDpi() local268 if (phyScreenLength < EPS) { in GetDpi()271 ppi = screenLength / phyScreenLength; in GetDpi()274 displayInfo->GetWidth(), displayInfo->GetHeight(), phyScreenLength); in GetDpi()