Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DTaskResizingAlgorithm.java75 Point maxVisibleSize, boolean preserveOrientation, in resizeDrag() argument
92 width = Math.max(minVisibleWidth, Math.min(width - deltaX, maxVisibleSize.x)); in resizeDrag()
94 width = Math.max(minVisibleWidth, Math.min(width + deltaX, maxVisibleSize.x)); in resizeDrag()
97 height = Math.max(minVisibleHeight, Math.min(height - deltaY, maxVisibleSize.y)); in resizeDrag()
99 height = Math.max(minVisibleHeight, Math.min(height + deltaY, maxVisibleSize.y)); in resizeDrag()
114 width1 = Math.max(minVisibleWidth, Math.min(maxVisibleSize.x, width)); in resizeDrag()
120 Math.min(maxVisibleSize.x, Math.round((float) height1 * MIN_ASPECT))); in resizeDrag()
123 height2 = Math.max(minVisibleHeight, Math.min(maxVisibleSize.y, height)); in resizeDrag()
129 Math.min(maxVisibleSize.y, Math.round((float) width2 / MIN_ASPECT))); in resizeDrag()
133 width1 = Math.max(minVisibleWidth, Math.min(maxVisibleSize.x, width)); in resizeDrag()
[all …]