Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java274 float widthSoFar = newInner.width(); in fixedAspectResizeInner() local
306 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()