Home
last modified time | relevance | path

Searched refs:widthScale (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutSize.h84 void scale(float widthScale, float heightScale) in scale() argument
86 m_width *= widthScale; in scale()
123 float widthScale = width().toFloat() / aspectRatio.width().toFloat(); in fitToAspectRatio() local
124 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow)) in fitToAspectRatio()
DIntSize.h66 void scale(float widthScale, float heightScale) in scale() argument
68 m_width = static_cast<int>(static_cast<float>(m_width) * widthScale); in scale()
DFloatRect.cpp262 float widthScale = destRect.width() / srcRect.width(); in mapRect() local
264 return FloatRect(destRect.x() + (r.x() - srcRect.x()) * widthScale, in mapRect()
266 r.width() * widthScale, r.height() * heightScale); in mapRect()
/external/chromium_org/third_party/WebKit/Source/core/html/
DImageDocument.cpp227 float widthScale = (float)windowSize.width() / imageSize.width(); in scale() local
230 return min(widthScale, heightScale); in scale()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DImageResource.cpp251 float widthScale = m_image->hasRelativeWidth() ? 1.0f : multiplier; in imageSizeForRenderer() local
254 imageSize.scale(widthScale, heightScale); in imageSizeForRenderer()