Home
last modified time | relevance | path

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

/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DBitmapHelper.java62 final int heightRatio = Math.round((float) height / (float) reqHeight); in calculateInSampleSize() local
68 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio; in calculateInSampleSize()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DFontView.js134 var heightRatio = containerHeight / height;
135 …tSize = Math.floor(WebInspector.FontView._measureFontSize * Math.min(widthRatio, heightRatio)) - 2;
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp192 float heightRatio = static_cast<float>(m_rect.height()) / maxRadiusHeight; in adjustRadii() local
193 m_radii.scale(widthRatio < heightRatio ? widthRatio : heightRatio); in adjustRadii()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.cpp105 float heightRatio = bounds.height() / (2 * radii.height()); in ensureRadiiDoNotOverlap() local
106 float reductionRatio = std::min<float>(widthRatio, heightRatio); in ensureRadiiDoNotOverlap()