/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipSnapAlgorithmTest.java | 61 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction); in testApplySnapFraction_topEdge() 72 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction); in testApplySnapFraction_rightEdge() 83 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction); in testApplySnapFraction_bottomEdge() 94 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction); in testApplySnapFraction_leftEdge() 105 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction, in testApplySnapFraction_notStashed_isNotOffBounds() 118 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction, in testApplySnapFraction_stashedLeft() 132 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction, in testApplySnapFraction_stashedRight() 145 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, snapFraction, in testApplySnapFraction_stashedRight_withInset() 206 mPipSnapAlgorithm.applySnapFraction(bounds, MOVEMENT_BOUNDS, 3.5f, in testSnapRectToClosestEdge_stashed_unStahesBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipSnapAlgorithm.java | 88 public void applySnapFraction(Rect stackBounds, Rect movementBounds, float snapFraction) { in applySnapFraction() method in PipSnapAlgorithm 111 public void applySnapFraction(Rect stackBounds, Rect movementBounds, float snapFraction, in applySnapFraction() method in PipSnapAlgorithm 114 applySnapFraction(stackBounds, movementBounds, snapFraction); in applySnapFraction()
|
D | PipBoundsAlgorithm.java | 292 mSnapAlgorithm.applySnapFraction(stackBounds, getMovementBounds(stackBounds), snapFraction); in transformBoundsToAspectRatio() 305 mSnapAlgorithm.applySnapFraction(defaultBounds, movementBounds, snapFraction); in getDefaultBounds() 322 mSnapAlgorithm.applySnapFraction(defaultBounds, movementBounds, snapFraction); in getDefaultBounds() 401 public void applySnapFraction(Rect stackBounds, float snapFraction) { in applySnapFraction() method in PipBoundsAlgorithm 403 mSnapAlgorithm.applySnapFraction(stackBounds, movementBounds, snapFraction); in applySnapFraction()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipAccessibilityInteractionConnection.java | 174 mSnapAlgorithm.applySnapFraction(mExpandedBounds, mExpandedMovementBounds, in setToExpandedBounds() 185 mSnapAlgorithm.applySnapFraction(mNormalBounds, mNormalMovementBounds, savedSnapFraction); in setToNormalBounds()
|
D | PipResizeGestureHandler.java | 398 mPipBoundsAlgorithm.applySnapFraction(finalBounds, snapFraction); 436 mPipBoundsAlgorithm.applySnapFraction(mLastResizeBounds, snapFraction);
|
D | PipMotionHelper.java | 486 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction); 503 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction,
|
D | PipController.java | 818 pipSnapAlgorithm.applySnapFraction(postChangeBounds, postChangeMovementBounds, in onDisplayChangedUncheck() 1162 pipSnapAlgorithm.applySnapFraction(postChangeStackBounds, postChangeMovementBounds, in onDisplayRotationChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipResizeGestureHandler.java | 406 mPipBoundsAlgorithm.applySnapFraction(finalBounds, snapFraction); 449 mPipBoundsAlgorithm.applySnapFraction(mLastResizeBounds, snapFraction);
|
D | PipMotionHelper.java | 478 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction); 495 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction,
|