Home
last modified time | relevance | path

Searched refs:heightScale (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/extensions/renderer/resources/
Dimage_util.js30 var heightScale = imageSpec.height / img.height;
31 if (heightScale < scaleFactor)
32 scaleFactor = heightScale;
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutSize.h82 void scale(float widthScale, float heightScale) in scale() argument
85 m_height *= heightScale; in scale()
120 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); in fitToAspectRatio() local
122 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow)) in fitToAspectRatio()
DIntSize.h65 void scale(float widthScale, float heightScale) in scale() argument
68 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale); in scale()
DFloatRect.cpp257 float heightScale = destRect.height() / srcRect.height(); in mapRect() local
259 destRect.y() + (r.y() - srcRect.y()) * heightScale, in mapRect()
260 r.width() * widthScale, r.height() * heightScale); in mapRect()
/external/chromium_org/third_party/WebKit/Source/core/html/
DImageDocument.cpp231 float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat(); in scale() local
233 return min(widthScale, heightScale); in scale()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DImageResource.cpp280 float heightScale = m_image->hasRelativeHeight() ? 1.0f : multiplier; in imageSizeForRenderer() local
282 imageSize.scale(widthScale, heightScale); in imageSizeForRenderer()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumMac.mm789 CGFloat heightScale = r.height() / kSquareSize;
791 heightScale, 0, // A B
792 0, heightScale, // C D