Searched refs:widthRatio (Results 1 – 4 of 4) sorted by relevance
63 final int widthRatio = Math.round((float) width / (float) reqWidth); in calculateInSampleSize() local68 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio; in calculateInSampleSize()
133 var widthRatio = containerWidth / width;135 …var finalFontSize = Math.floor(WebInspector.FontView._measureFontSize * Math.min(widthRatio, heigh…
191 float widthRatio = static_cast<float>(m_rect.width()) / maxRadiusWidth; in adjustRadii() local193 m_radii.scale(widthRatio < heightRatio ? widthRatio : heightRatio); in adjustRadii()
104 float widthRatio = bounds.width() / (2 * radii.width()); in ensureRadiiDoNotOverlap() local106 float reductionRatio = std::min<float>(widthRatio, heightRatio); in ensureRadiiDoNotOverlap()