Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java108 private int mMinVisibleWidth; field in TaskPositioner
311 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, mDisplayMetrics); in register()
471 width = Math.max(mMinVisibleWidth, width - deltaX); in resizeDrag()
473 width = Math.max(mMinVisibleWidth, width + deltaX); in resizeDrag()
493 width1 = Math.max(mMinVisibleWidth, Math.min(mMaxVisibleSize.x, width)); in resizeDrag()
498 width1 = Math.max(mMinVisibleWidth, in resizeDrag()
504 if (width2 < mMinVisibleWidth) { in resizeDrag()
506 width2 = mMinVisibleWidth; in resizeDrag()
512 width1 = Math.max(mMinVisibleWidth, Math.min(mMaxVisibleSize.x, width)); in resizeDrag()
517 width1 = Math.max(mMinVisibleWidth, in resizeDrag()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskPositionerTests.java53 private int mMinVisibleWidth; field in TaskPositionerTests
65 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, dm); in setUp()
100 new Rect(r.right - mMinVisibleWidth, r.top + MOUSE_DELTA_Y, r.right, r.bottom), in testBasicFreeWindowResizing()
244 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragTopLeft()
281 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragLeft()
360 final int w = Math.max(mMinVisibleWidth, Math.round(mMinVisibleHeight / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTopLeft()
394 w = mMinVisibleWidth; in testPortraitPreservedWindowResizingDragLeft()
442 h = Math.max(mMinVisibleHeight, Math.round(mMinVisibleWidth * MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTop()