Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsAlgorithm.java237 size = getSizeForAspectRatio( in transformBoundsToAspectRatio()
247 size = getSizeForAspectRatio(aspectRatio, mDefaultMinSize, in transformBoundsToAspectRatio()
296 defaultSize = getSizeForAspectRatio(mDefaultAspectRatio, in getDefaultBounds()
405 public Size getSizeForAspectRatio(float aspectRatio, float minEdgeSize, int displayWidth, in getSizeForAspectRatio() method in PipBoundsAlgorithm
439 public Size getSizeForAspectRatio(Size size, float aspectRatio, float minEdgeSize) { in getSizeForAspectRatio() method in PipBoundsAlgorithm
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java122 final Size defaultSize = mPipBoundsAlgorithm.getSizeForAspectRatio(DEFAULT_ASPECT_RATIO, in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java391 Size expandedSize = mPipBoundsAlgorithm.getSizeForAspectRatio( in onMovementBoundsChanged()