Searched refs:widthSoFar (Results 1 – 1 of 1) sorted by relevance
274 float widthSoFar = newInner.width(); in fixedAspectResizeInner() local306 if (newWidth < widthSoFar) in fixedAspectResizeInner()307 widthSoFar = newWidth; in fixedAspectResizeInner()311 float heightSoFar = widthSoFar / aspRatio; in fixedAspectResizeInner()314 ret.right = ret.left + widthSoFar; in fixedAspectResizeInner()317 ret.left = ret.right - widthSoFar; in fixedAspectResizeInner()320 ret.left = ret.right - widthSoFar; in fixedAspectResizeInner()323 ret.right = ret.left + widthSoFar; in fixedAspectResizeInner()