Searched refs:adjWidth (Results 1 – 2 of 2) sorted by relevance
110 int adjWidth = width; in getDefaultFreeformSize() local116 adjHeight = (int) (adjWidth / minAspectRatio + 0.5f); in getDefaultFreeformSize()119 adjWidth = (int) (adjHeight / minAspectRatio + 0.5f); in getDefaultFreeformSize()125 adjHeight = (int) (adjWidth / maxAspectRatio + 0.5f); in getDefaultFreeformSize()128 adjWidth = (int) (adjHeight / maxAspectRatio + 0.5f); in getDefaultFreeformSize()132 return new Size(adjWidth, adjHeight); in getDefaultFreeformSize()
402 final int adjWidth; in adjustNormalBoundsToFitMenu() local413 adjWidth = minMenuSize.getWidth(); in adjustNormalBoundsToFitMenu()414 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()417 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()421 adjWidth = minMenuSize.getWidth(); in adjustNormalBoundsToFitMenu()422 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()426 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()428 adjustedNormalBounds.set(0, 0, adjWidth, adjHeight); in adjustNormalBoundsToFitMenu()