Searched refs:rootTaskBounds (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimationSpec.java | 61 public WindowAnimationSpec(Animation animation, Point position, Rect rootTaskBounds, in WindowAnimationSpec() argument 72 if (rootTaskBounds != null) { in WindowAnimationSpec() 73 mRootTaskBounds.set(rootTaskBounds); in WindowAnimationSpec()
|
D | TaskPositioner.java | 468 private void updateWindowDragBounds(int x, int y, Rect rootTaskBounds) { in updateWindowDragBounds() argument 473 final int maxLeft = rootTaskBounds.right - mMinVisibleWidth; in updateWindowDragBounds() 474 final int minLeft = rootTaskBounds.left + mMinVisibleWidth - mWindowOriginalBounds.width(); in updateWindowDragBounds() 478 final int minTop = rootTaskBounds.top; in updateWindowDragBounds() 479 final int maxTop = rootTaskBounds.bottom - mMinVisibleHeight; in updateWindowDragBounds()
|
D | RemoteAnimationController.java | 457 Rect localBounds, Rect rootTaskBounds, Rect startBounds) { 461 mRootTaskBounds.set(rootTaskBounds);
|
D | Task.java | 2540 private static void fitWithinBounds(Rect bounds, Rect rootTaskBounds, int overlapPxX, in fitWithinBounds() argument 2542 if (rootTaskBounds == null || rootTaskBounds.isEmpty() || rootTaskBounds.contains(bounds)) { in fitWithinBounds() 2551 if (bounds.right < (rootTaskBounds.left + overlapLR)) { in fitWithinBounds() 2552 horizontalDiff = overlapLR - (bounds.right - rootTaskBounds.left); in fitWithinBounds() 2553 } else if (bounds.left > (rootTaskBounds.right - overlapLR)) { in fitWithinBounds() 2554 horizontalDiff = -(overlapLR - (rootTaskBounds.right - bounds.left)); in fitWithinBounds() 2558 if (bounds.bottom < (rootTaskBounds.top + overlapTB)) { in fitWithinBounds() 2559 verticalDiff = overlapTB - (bounds.bottom - rootTaskBounds.top); in fitWithinBounds() 2560 } else if (bounds.top > (rootTaskBounds.bottom - overlapTB)) { in fitWithinBounds() 2561 verticalDiff = -(overlapTB - (rootTaskBounds.bottom - bounds.top)); in fitWithinBounds()
|