Searched refs:mMinVisibleHeight (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 109 private int mMinVisibleHeight; field in TaskPositioner 312 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, mDisplayMetrics); in register() 476 height = Math.max(mMinVisibleHeight, height - deltaY); in resizeDrag() 478 height = Math.max(mMinVisibleHeight, height + deltaY); in resizeDrag() 495 if (height1 < mMinVisibleHeight) { in resizeDrag() 497 height1 = mMinVisibleHeight; in resizeDrag() 502 height2 = Math.max(mMinVisibleHeight, Math.min(mMaxVisibleSize.y, height)); in resizeDrag() 507 height2 = Math.max(mMinVisibleHeight, in resizeDrag() 514 if (height1 < mMinVisibleHeight) { in resizeDrag() 516 height1 = mMinVisibleHeight; in resizeDrag() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 54 private int mMinVisibleHeight; field in TaskPositionerTests 66 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, dm); in setUp() 106 new Rect(r.left + MOUSE_DELTA_X, r.bottom - mMinVisibleHeight, r.right, r.bottom), in testBasicFreeWindowResizing() 252 new Rect(r.left + MOUSE_DELTA_X, r.bottom - mMinVisibleHeight, r.right, r.bottom), in testLandscapePreservedWindowResizingDragTopLeft() 329 h = mMinVisibleHeight; in testLandscapePreservedWindowResizingDragTop() 360 final int w = Math.max(mMinVisibleWidth, Math.round(mMinVisibleHeight / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTopLeft() 361 final int h = Math.max(mMinVisibleHeight, Math.round(w * MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTopLeft() 442 h = Math.max(mMinVisibleHeight, Math.round(mMinVisibleWidth * MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTop()
|