Searched refs:heightScale (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/extensions/renderer/resources/ |
D | image_util.js | 30 var heightScale = imageSpec.height / img.height; 31 if (heightScale < scaleFactor) 32 scaleFactor = heightScale;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutSize.h | 82 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()
|
D | IntSize.h | 65 void scale(float widthScale, float heightScale) in scale() argument 68 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale); in scale()
|
D | FloatRect.cpp | 257 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/ |
D | ImageDocument.cpp | 231 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/ |
D | ImageResource.cpp | 280 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/ |
D | RenderThemeChromiumMac.mm | 789 CGFloat heightScale = r.height() / kSquareSize; 791 heightScale, 0, // A B 792 0, heightScale, // C D
|