Searched refs:adjWidth (Results 1 – 2 of 2) sorted by relevance
112 int adjWidth = width; in getDefaultFreeformSize() local118 adjHeight = (int) (adjWidth / minAspectRatio + 0.5f); in getDefaultFreeformSize()121 adjWidth = (int) (adjHeight / minAspectRatio + 0.5f); in getDefaultFreeformSize()127 adjHeight = (int) (adjWidth / maxAspectRatio + 0.5f); in getDefaultFreeformSize()130 adjWidth = (int) (adjHeight / maxAspectRatio + 0.5f); in getDefaultFreeformSize()134 return new Size(adjWidth, adjHeight); in getDefaultFreeformSize()
429 final int adjWidth; in adjustNormalBoundsToFitMenu() local440 adjWidth = minMenuSize.getWidth(); in adjustNormalBoundsToFitMenu()441 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()444 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()448 adjWidth = minMenuSize.getWidth(); in adjustNormalBoundsToFitMenu()449 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()453 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()455 adjustedNormalBounds.set(0, 0, adjWidth, adjHeight); in adjustNormalBoundsToFitMenu()