Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java489 int height1; in resizeDrag() local
494 height1 = Math.min(height, Math.round((float)width1 / MIN_ASPECT)); in resizeDrag()
495 if (height1 < mMinVisibleHeight) { in resizeDrag()
497 height1 = mMinVisibleHeight; in resizeDrag()
499 Math.min(mMaxVisibleSize.x, Math.round((float)height1 * MIN_ASPECT))); in resizeDrag()
513 height1 = Math.max(height, Math.round((float)width1 * MIN_ASPECT)); in resizeDrag()
514 if (height1 < mMinVisibleHeight) { in resizeDrag()
516 height1 = mMinVisibleHeight; in resizeDrag()
518 Math.min(mMaxVisibleSize.x, Math.round((float)height1 / MIN_ASPECT))); in resizeDrag()
534 if (grows == (width1 * height1 > width2 * height2)) { in resizeDrag()
[all …]