Searched refs:cameraAspect (Results 1 – 1 of 1) sorted by relevance
193 float cameraAspect = mCameraAspectRatio; in adjustLayoutParamsIfNeeded() local199 cameraAspect = 1.0f / mCameraAspectRatio; in adjustLayoutParamsIfNeeded()207 float aspectDelta = Math.abs(cameraAspect - curAspect); in adjustLayoutParamsIfNeeded()208 if ((aspectDelta / cameraAspect) >= 0.01) { in adjustLayoutParamsIfNeeded()209 if (cameraAspect > curAspect) { in adjustLayoutParamsIfNeeded()212 layoutParams.height = (int)(curWidth / cameraAspect); in adjustLayoutParamsIfNeeded()215 layoutParams.width = (int)(curHeight * cameraAspect); in adjustLayoutParamsIfNeeded()