Searched defs:heightScale (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DIntSize.h65 void scale(float widthScale, float heightScale) argument
68 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale);
H A DFloatRect.cpp257 float heightScale = destRect.height() / srcRect.height(); local
259 destRect.y() + (r.y() - srcRect.y()) * heightScale,
260 r.width() * widthScale, r.height() * heightScale);
H A DLayoutSize.h82 void scale(float widthScale, float heightScale) argument
85 m_height *= heightScale;
120 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); local
122 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow))
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DImageDocument.cpp231 float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat(); local
233 return min(widthScale, heightScale);
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DImageResource.cpp280 float heightScale = m_image->hasRelativeHeight() ? 1.0f : multiplier; local
282 imageSize.scale(widthScale, heightScale);

Completed in 267 milliseconds