Home
last modified time | relevance | path

Searched refs:applySnapFraction (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipSnapAlgorithmTest.java61 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/
DPipSnapAlgorithm.java88 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()
DPipBoundsAlgorithm.java292 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/
DPipAccessibilityInteractionConnection.java174 mSnapAlgorithm.applySnapFraction(mExpandedBounds, mExpandedMovementBounds, in setToExpandedBounds()
185 mSnapAlgorithm.applySnapFraction(mNormalBounds, mNormalMovementBounds, savedSnapFraction); in setToNormalBounds()
DPipResizeGestureHandler.java398 mPipBoundsAlgorithm.applySnapFraction(finalBounds, snapFraction);
436 mPipBoundsAlgorithm.applySnapFraction(mLastResizeBounds, snapFraction);
DPipMotionHelper.java486 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction);
503 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction,
DPipController.java818 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/
DPipResizeGestureHandler.java406 mPipBoundsAlgorithm.applySnapFraction(finalBounds, snapFraction);
449 mPipBoundsAlgorithm.applySnapFraction(mLastResizeBounds, snapFraction);
DPipMotionHelper.java478 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction);
495 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction,