Home
last modified time | relevance | path

Searched defs:snapFraction (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipSnapAlgorithmTest.java58 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 …]
DPipBoundsStateTest.java117 final float snapFraction = 0.5f; in testSetReentryState() local
127 final float snapFraction = 0.5f; in testClearReentryState() local
/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()
111 public void applySnapFraction(Rect stackBounds, Rect movementBounds, float snapFraction, in applySnapFraction()
DPipBoundsAlgorithm.java277 final float snapFraction = mSnapAlgorithm.getSnapFraction(stackBounds, in transformBoundsToAspectRatio() local
299 private Rect getDefaultBounds(float snapFraction, Size size) { in getDefaultBounds()
401 public void applySnapFraction(Rect stackBounds, float snapFraction) { in applySnapFraction()
DPhonePipKeepClearAlgorithm.java88 float snapFraction = pipBoundsAlgorithm.getSnapFraction(startingBounds); in adjust() local
DPipBoundsState.java638 PipReentryState(float boundsScale, float snapFraction) { in PipReentryState()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipResizeGestureHandler.java447 final float snapFraction = mPipBoundsAlgorithm.getSnapFraction( local
527 float snapFraction = mPipBoundsAlgorithm.getSnapFraction( in onPipTransitionStateChanged() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java801 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeBounds, in onDisplayChangedUncheck() local
1061 float snapFraction = mPipBoundsAlgorithm.getSnapFraction(pipBounds); in saveReentryState() local
1146 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayRotationChanged() local
DPipResizeGestureHandler.java434 final float snapFraction = mPipBoundsAlgorithm.getSnapFraction( local