/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipBoundsAlgorithm.java | 278 getMovementBounds(stackBounds), mPipBoundsState.getStashedState()); in transformBoundsToAspectRatio() 292 mSnapAlgorithm.applySnapFraction(stackBounds, getMovementBounds(stackBounds), snapFraction); in transformBoundsToAspectRatio() 304 final Rect movementBounds = getMovementBounds(defaultBounds); in getDefaultBounds() 321 final Rect movementBounds = getMovementBounds(defaultBounds); in getDefaultBounds() 348 public Rect getMovementBounds(Rect stackBounds) { in getMovementBounds() method in PipBoundsAlgorithm 349 return getMovementBounds(stackBounds, true /* adjustForIme */); in getMovementBounds() 356 public Rect getMovementBounds(Rect stackBounds, boolean adjustForIme) { in getMovementBounds() method in PipBoundsAlgorithm 361 getMovementBounds(stackBounds, movementBounds, movementBounds, in getMovementBounds() 371 public void getMovementBounds(Rect stackBounds, Rect insetBounds, Rect movementBoundsOut, in getMovementBounds() method in PipBoundsAlgorithm 387 return getSnapFraction(stackBounds, getMovementBounds(stackBounds)); in getSnapFraction() [all …]
|
D | PipBoundsState.java | 190 public Rect getMovementBounds() { in getMovementBounds() method in PipBoundsState
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandler.java | 368 mPipBoundsAlgorithm.getMovementBounds(outBounds, insetBounds, toMovementBounds, 0); in adjustBoundsForRotation() 369 final int prevBottom = mPipBoundsState.getMovementBounds().bottom in adjustBoundsForRotation() 399 mPipBoundsAlgorithm.getMovementBounds(normalBounds, insetBounds, in onMovementBoundsChanged() 402 if (mPipBoundsState.getMovementBounds().isEmpty()) { in onMovementBoundsChanged() 405 mPipBoundsAlgorithm.getMovementBounds(curBounds, insetBounds, in onMovementBoundsChanged() 406 mPipBoundsState.getMovementBounds(), 0 /* bottomOffset */); in onMovementBoundsChanged() 415 mPipBoundsAlgorithm.getMovementBounds( in onMovementBoundsChanged() 442 mPipBoundsState.getNormalMovementBounds(), mPipBoundsState.getMovementBounds(), in onMovementBoundsChanged() 711 mPipBoundsAlgorithm.getMovementBounds(maxBounds, mInsetBounds, maxMovementBounds, in animateToMaximizedState() 714 mPipBoundsState.getMovementBounds(), maxMovementBounds, in animateToMaximizedState() [all …]
|
D | PipMotionHelper.java | 368 mFloatingAllowedArea.set(mPipBoundsState.getMovementBounds()); in onMovementBoundsChanged() 429 : mPipBoundsState.getMovementBounds().left; in movetoTarget() 433 : mPipBoundsState.getMovementBounds().right; in movetoTarget() 468 mPipBoundsState.getMovementBounds().bottom + getBounds().height() * 2, 522 mPipBoundsState.getBounds().left == mPipBoundsState.getMovementBounds().left 571 mPipBoundsState.getMovementBounds().left, 572 mPipBoundsState.getMovementBounds().right); 574 mPipBoundsState.getMovementBounds().top, 575 mPipBoundsState.getMovementBounds().bottom);
|
D | PipResizeGestureHandler.java | 392 final Rect movementBounds = mPipBoundsAlgorithm.getMovementBounds(finalBounds); 429 .getMovementBounds(mLastResizeBounds);
|
D | PipController.java | 802 mPipBoundsAlgorithm.getMovementBounds(postChangeBounds), in onDisplayChangedUncheck() 816 final Rect postChangeMovementBounds = mPipBoundsAlgorithm.getMovementBounds( in onDisplayChangedUncheck() 1147 mPipBoundsAlgorithm.getMovementBounds(postChangeStackBounds), in onDisplayRotationChanged() 1160 final Rect postChangeMovementBounds = mPipBoundsAlgorithm.getMovementBounds( in onDisplayRotationChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTouchHandler.java | 377 mPipBoundsAlgorithm.getMovementBounds(outBounds, insetBounds, toMovementBounds, 0); in adjustBoundsForRotation() 378 final int prevBottom = mPipBoundsState.getMovementBounds().bottom in adjustBoundsForRotation() 408 mPipBoundsAlgorithm.getMovementBounds(normalBounds, insetBounds, in onMovementBoundsChanged() 411 if (mPipBoundsState.getMovementBounds().isEmpty()) { in onMovementBoundsChanged() 414 mPipBoundsAlgorithm.getMovementBounds(curBounds, insetBounds, in onMovementBoundsChanged() 415 mPipBoundsState.getMovementBounds(), 0 /* bottomOffset */); in onMovementBoundsChanged() 424 mPipBoundsAlgorithm.getMovementBounds( in onMovementBoundsChanged() 448 mPipBoundsState.getNormalMovementBounds(), mPipBoundsState.getMovementBounds(), in onMovementBoundsChanged() 720 mPipBoundsAlgorithm.getMovementBounds(maxBounds, mInsetBounds, maxMovementBounds, in animateToMaximizedState() 723 mPipBoundsState.getMovementBounds(), maxMovementBounds, in animateToMaximizedState() [all …]
|
D | PipMotionHelper.java | 360 mFloatingAllowedArea.set(mPipBoundsState.getMovementBounds()); in onMovementBoundsChanged() 421 : mPipBoundsState.getMovementBounds().left; in movetoTarget() 425 : mPipBoundsState.getMovementBounds().right; in movetoTarget() 460 mPipBoundsState.getMovementBounds().bottom + getBounds().height() * 2, 514 mPipBoundsState.getBounds().left == mPipBoundsState.getMovementBounds().left 565 mPipBoundsAlgorithm.getMovementBounds(getBounds()).left, 566 mPipBoundsAlgorithm.getMovementBounds(getBounds()).right); 568 mPipBoundsAlgorithm.getMovementBounds(getBounds()).top, 569 mPipBoundsAlgorithm.getMovementBounds(getBounds()).bottom);
|
D | PipResizeGestureHandler.java | 400 final Rect movementBounds = mPipBoundsAlgorithm.getMovementBounds(finalBounds); 442 .getMovementBounds(mLastResizeBounds);
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandlerTest.java | 162 mPipBoundsAlgorithm.getMovementBounds(mPipBounds, mInsetBounds, expectedMovementBounds, in updateMovementBounds_minMaxBounds()
|