Home
last modified time | relevance | path

Searched refs:destHeight (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/skia/
DNativeImageSkia.cpp102 int destHeight, in shouldCacheResampling() argument
116 if (destWidth * destHeight <= kSmallBitmapSize) in shouldCacheResampling()
123 m_lastRequestSize.height() == destHeight) { in shouldCacheResampling()
129 m_lastRequestSize = IntSize(destWidth, destHeight); in shouldCacheResampling()
135 int destSize = destWidth * destHeight; in shouldCacheResampling()
DImageSkia.cpp70 …ext, const NativeImageSkia& bitmap, int srcWidth, int srcHeight, float destWidth, float destHeight) in computeResamplingMode() argument
79 destHeight = dstSize.height(); in computeResamplingMode()
83 int destIHeight = static_cast<int>(destHeight); in computeResamplingMode()
110 || destHeight <= kSmallImageSizeThreshold) { in computeResamplingMode()
116 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) { in computeResamplingMode()
123 if (srcWidth == destWidth || srcHeight == destHeight) in computeResamplingMode()
132 && (fabs(destHeight - srcHeight) / srcHeight < kFractionalChangeThreshold)) { in computeResamplingMode()
292 …ons(const SkMatrix& matrix, float srcWidth, float srcHeight, float* destWidth, float* destHeight) { in TransformDimensions() argument
305 *destHeight = SkScalarToFloat((dest_points[2] - dest_points[0]).length()); in TransformDimensions()
DNativeImageSkia.h85 int destHeight,