Searched refs:MIN_ASPECT (Results 1 – 1 of 1) sorted by relevance
55 public static final float MIN_ASPECT = 1.2f; field in TaskResizingAlgorithm104 if (preserveOrientation && ((startOrientationWasLandscape && aspect < MIN_ASPECT) in resizeDrag()105 || (!startOrientationWasLandscape && aspect > (1.0 / MIN_ASPECT)))) { in resizeDrag()115 height1 = Math.min(height, Math.round((float) width1 / MIN_ASPECT)); in resizeDrag()120 Math.min(maxVisibleSize.x, Math.round((float) height1 * MIN_ASPECT))); in resizeDrag()124 width2 = Math.max(width, Math.round((float) height2 * MIN_ASPECT)); in resizeDrag()129 Math.min(maxVisibleSize.y, Math.round((float) width2 / MIN_ASPECT))); in resizeDrag()134 height1 = Math.max(height, Math.round((float) width1 * MIN_ASPECT)); in resizeDrag()139 Math.min(maxVisibleSize.x, Math.round((float) height1 / MIN_ASPECT))); in resizeDrag()143 width2 = Math.min(width, Math.round((float) height2 / MIN_ASPECT)); in resizeDrag()[all …]