Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java117 private final Point mMaxVisibleSize = new Point(); field in TaskPositioner
313 mDisplay.getRealSize(mMaxVisibleSize); in register()
493 width1 = Math.max(mMinVisibleWidth, Math.min(mMaxVisibleSize.x, width)); in resizeDrag()
499 Math.min(mMaxVisibleSize.x, Math.round((float)height1 * MIN_ASPECT))); in resizeDrag()
502 height2 = Math.max(mMinVisibleHeight, Math.min(mMaxVisibleSize.y, height)); in resizeDrag()
508 Math.min(mMaxVisibleSize.y, Math.round((float)width2 / MIN_ASPECT))); in resizeDrag()
512 width1 = Math.max(mMinVisibleWidth, Math.min(mMaxVisibleSize.x, width)); in resizeDrag()
518 Math.min(mMaxVisibleSize.x, Math.round((float)height1 / MIN_ASPECT))); in resizeDrag()
521 height2 = Math.max(mMinVisibleHeight, Math.min(mMaxVisibleSize.y, height)); in resizeDrag()
527 Math.min(mMaxVisibleSize.y, Math.round((float)width2 * MIN_ASPECT))); in resizeDrag()
[all …]