Searched refs:adjHeight (Results 1 – 2 of 2) sorted by relevance
113 int adjHeight = height; 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()
430 final int adjHeight; in adjustNormalBoundsToFitMenu() local441 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()443 adjHeight = minMenuSize.getHeight(); in adjustNormalBoundsToFitMenu()444 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()449 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()452 adjHeight = minMenuSize.getHeight(); in adjustNormalBoundsToFitMenu()453 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()455 adjustedNormalBounds.set(0, 0, adjWidth, adjHeight); in adjustNormalBoundsToFitMenu()