Searched refs:previewAspect (Results 1 – 1 of 1) sorted by relevance
1393 float previewAspect = ((float) width) / height; in layoutPreview() local1398 if ( previewAspect > viewAspect) { in layoutPreview()1399 viewHeight = (int) (viewWidth / previewAspect); in layoutPreview()1401 viewWidth = (int) (viewHeight * previewAspect); in layoutPreview()1410 if ( previewAspect > callbackAspect) { in layoutPreview()1411 callbackHeight = (int) (callbackWidth / previewAspect); in layoutPreview()1413 callbackWidth = (int) (callbackHeight * previewAspect); in layoutPreview()