Home
last modified time | relevance | path

Searched refs:adjHeight (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsAlgorithm.java474 final int adjHeight; in adjustNormalBoundsToFitMenu() local
485 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()
487 adjHeight = minMenuSize.getHeight(); in adjustNormalBoundsToFitMenu()
488 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()
493 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()
496 adjHeight = minMenuSize.getHeight(); in adjustNormalBoundsToFitMenu()
497 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu()
499 adjustedNormalBounds.set(0, 0, adjWidth, adjHeight); in adjustNormalBoundsToFitMenu()