Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsAlgorithm.java234 final int minEdgeSize = useCurrentMinEdgeSize ? mPipBoundsState.getMinEdgeSize() in transformBoundsToAspectRatio() local
238 new Size(stackBounds.width(), stackBounds.height()), aspectRatio, minEdgeSize); in transformBoundsToAspectRatio()
405 public Size getSizeForAspectRatio(float aspectRatio, float minEdgeSize, int displayWidth, in getSizeForAspectRatio() argument
408 final int minSize = (int) Math.max(minEdgeSize, smallestDisplaySize * mDefaultSizePercent); in getSizeForAspectRatio()
439 public Size getSizeForAspectRatio(Size size, float aspectRatio, float minEdgeSize) { in getSizeForAspectRatio() argument
441 final int minSize = (int) Math.max(minEdgeSize, smallestSize); in getSizeForAspectRatio()
DPipBoundsState.java294 public void setMinEdgeSize(int minEdgeSize) { in setMinEdgeSize() argument
295 mMinEdgeSize = minEdgeSize; in setMinEdgeSize()