Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/util/
H A DTaskViewSimulatorTest.java157 Point smallestSize = i.getArgument(0); in verifyNoTransforms()
159 smallestSize.x = smallestSize.y = Math.min(mDisplaySize.x, mDisplaySize.y); in verifyNoTransforms()
162 smallestSize.x -= mDisplayInsets.left + mDisplayInsets.right; in verifyNoTransforms()
165 smallestSize.y -= mDisplayInsets.top + mDisplayInsets.bottom; in verifyNoTransforms()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DDisplayController.java359 Point smallestSize = new Point(); in getSupportedBoundsForDisplay() local
361 display.getCurrentSizeRange(smallestSize, largestSize); in getSupportedBoundsForDisplay()
367 smallestSize.x, largestSize.y)); in getSupportedBoundsForDisplay()
369 largestSize.x, smallestSize.y)); in getSupportedBoundsForDisplay()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipBoundsAlgorithm.java440 final int smallestSize = Math.min(size.getWidth(), size.getHeight()); in getSizeForAspectRatio() local
441 final int minSize = (int) Math.max(minEdgeSize, smallestSize); in getSizeForAspectRatio()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
H A DQuickstepTransitionManager.java1721 float smallestSize = Math.min(windowTargetBounds.height(), windowTargetBounds.width()); in AnimOpenProperties() local
1722 float maxScaleX = smallestSize / launcherIconBounds.width(); in AnimOpenProperties()
1723 float maxScaleY = smallestSize / launcherIconBounds.height(); in AnimOpenProperties()