Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java52 private static final float MIN_ASPECT_RATIO = 0.5f; field in PipBoundsAlgorithmTest
88 MIN_ASPECT_RATIO); in initializeMockResources()
222 mPipBoundsState.setAspectRatio(MIN_ASPECT_RATIO / 2); in getNormalBounds_invalidAspectRatio_returnsDefaultBounds()
232 MIN_ASPECT_RATIO, false /* useCurrentMinEdgeSize */, false /* useCurrentSize */); in getNormalBounds_validAspectRatio_returnsAdjustedDefaultBounds()
235 mPipBoundsState.setAspectRatio(MIN_ASPECT_RATIO); in getNormalBounds_validAspectRatio_returnsAdjustedDefaultBounds()
244 (MIN_ASPECT_RATIO + DEFAULT_ASPECT_RATIO) / 2, in getEntryDestinationBounds_returnBoundsMatchesAspectRatio()
260 MIN_ASPECT_RATIO / 2, in getEntryDestinationBounds_invalidAspectRatio_returnsDefaultAspectRatio()
293 (MIN_ASPECT_RATIO + DEFAULT_ASPECT_RATIO) / 2, in getEntryDestinationBounds_withMinSize_returnMinBounds()