Searched refs:widthToHeightMultiplier (Results 1 – 1 of 1) sorted by relevance
211 float widthToHeightMultiplier = srcRect.height() / srcRect.width(); in transformRect() local212 if (origDestHeight > origDestWidth * widthToHeightMultiplier) { in transformRect()213 destRect.setHeight(origDestWidth * widthToHeightMultiplier); in transformRect()229 if (origDestWidth > origDestHeight / widthToHeightMultiplier) { in transformRect()230 destRect.setWidth(origDestHeight / widthToHeightMultiplier); in transformRect()249 float widthToHeightMultiplier = srcRect.height() / srcRect.width(); in transformRect() local251 if (origDestHeight < origDestWidth * widthToHeightMultiplier) { in transformRect()270 if (origDestWidth < origDestHeight / widthToHeightMultiplier) { in transformRect()