Searched refs:adjHeight (Results 1 – 2 of 2) sorted by relevance
111 int adjHeight = height; 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()
403 final int adjHeight; in adjustNormalBoundsToFitMenu() local414 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()416 adjHeight = minMenuSize.getHeight(); in adjustNormalBoundsToFitMenu()417 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()422 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()425 adjHeight = minMenuSize.getHeight(); in adjustNormalBoundsToFitMenu()426 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()428 adjustedNormalBounds.set(0, 0, adjWidth, adjHeight); in adjustNormalBoundsToFitMenu()