Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DSizeSpecSource.kt33 fun getSizeForAspectRatio(size: Size, aspectRatio: Float): Size in getMaxSize() method
DLegacySizeSpecSource.kt142 override fun getSizeForAspectRatio(size: Size, aspectRatio: Float): Size { in getSizeForAspectRatio() method in com.android.wm.shell.common.pip.LegacySizeSpecSource
DPhoneSizeSpecSource.kt223 override fun getSizeForAspectRatio(size: Size, aspectRatio: Float): Size { in getSizeForAspectRatio() method in com.android.wm.shell.common.pip.PhoneSizeSpecSource
DPipBoundsAlgorithm.java283 size = mSizeSpecSource.getSizeForAspectRatio( in transformBoundsToAspectRatio()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPhoneSizeSpecSourceTest.java243 Size actualSize = mSizeSpecSource.getSizeForAspectRatio(initSize, 9f / 16); in testGetSizeForAspectRatio_noOverrideMinSize()
256 Size actualSize = mSizeSpecSource.getSizeForAspectRatio(initSize, 9f / 16); in testGetSizeForAspectRatio_withOverrideMinSize()