Home
last modified time | relevance | path

Searched refs:widthRatio (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DBitmapHelper.java63 final int widthRatio = Math.round((float) width / (float) reqWidth); in calculateInSampleSize() local
68 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio; in calculateInSampleSize()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DFontView.js133 var widthRatio = containerWidth / width;
135 …var finalFontSize = Math.floor(WebInspector.FontView._measureFontSize * Math.min(widthRatio, heigh…
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp191 float widthRatio = static_cast<float>(m_rect.width()) / maxRadiusWidth; in adjustRadii() local
193 m_radii.scale(widthRatio < heightRatio ? widthRatio : heightRatio); in adjustRadii()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.cpp104 float widthRatio = bounds.width() / (2 * radii.width()); in ensureRadiiDoNotOverlap() local
106 float reductionRatio = std::min<float>(widthRatio, heightRatio); in ensureRadiiDoNotOverlap()