Searched defs:snapFraction (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
H A D | PipSnapAlgorithmTest.java | 58 final float snapFraction = 0.25f; in testApplySnapFraction_topEdge() local 69 final float snapFraction = 1.5f; in testApplySnapFraction_rightEdge() local 80 final float snapFraction = 2.25f; in testApplySnapFraction_bottomEdge() local 91 final float snapFraction = 3.75f; in testApplySnapFraction_leftEdge() local 102 final float snapFraction = 2f; in testApplySnapFraction_notStashed_isNotOffBounds() local 115 final float snapFraction = 3f; in testApplySnapFraction_stashedLeft() local 129 final float snapFraction = 2f; in testApplySnapFraction_stashedRight() local 142 final float snapFraction = 2f; in testApplySnapFraction_stashedRight_withInset() local 222 final float snapFraction = mPipSnapAlgorithm.getSnapFraction(bounds, MOVEMENT_BOUNDS); in testGetSnapFraction_leftEdge() local 233 final float snapFraction = mPipSnapAlgorithm.getSnapFraction(bounds, MOVEMENT_BOUNDS); in testGetSnapFraction_rightEdge() local [all …]
|
H A D | PipBoundsStateTest.java | 93 final float snapFraction = 0.5f; in testSetReentryState() local 105 final float snapFraction = 0.5f; in testClearReentryState() local
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
H A D | PipSnapAlgorithm.java | 88 public void applySnapFraction(Rect stackBounds, Rect movementBounds, float snapFraction) { in applySnapFraction() 111 public void applySnapFraction(Rect stackBounds, Rect movementBounds, float snapFraction, in applySnapFraction()
|
H A D | PipBoundsAlgorithm.java | 250 final float snapFraction = mSnapAlgorithm.getSnapFraction(stackBounds, in transformBoundsToAspectRatio() local 272 private Rect getDefaultBounds(float snapFraction, Size size) { in getDefaultBounds() 374 public void applySnapFraction(Rect stackBounds, float snapFraction) { in applySnapFraction()
|
H A D | PhonePipKeepClearAlgorithm.java | 88 float snapFraction = pipBoundsAlgorithm.getSnapFraction(startingBounds); in adjust() local
|
H A D | PipBoundsState.java | 583 PipReentryState(@Nullable Size size, float snapFraction) { in PipReentryState()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipController.java | 796 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeBounds, in onDisplayChangedUncheck() local 842 mTouchHandler.userResizeTo(mPipBoundsState.getNormalBounds(), snapFraction); in onDisplayChangedUncheck() local 1046 float snapFraction = mPipBoundsAlgorithm.getSnapFraction(pipBounds); in saveReentryState() local 1146 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayRotationChanged() local
|
H A D | PipResizeGestureHandler.java | 589 final float snapFraction = mPipBoundsAlgorithm.getSnapFraction( local
|