Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java243 final float[] aspectRatios = new float[] { in getEntryDestinationBounds_returnBoundsMatchesAspectRatio() local
248 for (float aspectRatio : aspectRatios) { in getEntryDestinationBounds_returnBoundsMatchesAspectRatio()
292 final float[] aspectRatios = new float[] { in getEntryDestinationBounds_withMinSize_returnMinBounds() local
298 new Size((int) (100 * aspectRatios[0]), 100), in getEntryDestinationBounds_withMinSize_returnMinBounds()
299 new Size((int) (100 * aspectRatios[1]), 100), in getEntryDestinationBounds_withMinSize_returnMinBounds()
300 new Size((int) (100 * aspectRatios[2]), 100) in getEntryDestinationBounds_withMinSize_returnMinBounds()
302 for (int i = 0; i < aspectRatios.length; i++) { in getEntryDestinationBounds_withMinSize_returnMinBounds()
303 final float aspectRatio = aspectRatios[i]; in getEntryDestinationBounds_withMinSize_returnMinBounds()