Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipSnapAlgorithmTest.java56 final float snapFraction = 0.25f; in testApplySnapFraction_topEdge() local
67 final float snapFraction = 1.5f; in testApplySnapFraction_rightEdge() local
78 final float snapFraction = 2.25f; in testApplySnapFraction_bottomEdge() local
89 final float snapFraction = 3.75f; in testApplySnapFraction_leftEdge() local
100 final float snapFraction = 2f; in testApplySnapFraction_notStashed_isNotOffBounds() local
113 final float snapFraction = 3f; in testApplySnapFraction_stashedLeft() local
127 final float snapFraction = 2f; in testApplySnapFraction_stashedRight() local
140 final float snapFraction = 2f; in testApplySnapFraction_stashedRight_withInset() local
220 final float snapFraction = mPipSnapAlgorithm.getSnapFraction(bounds, MOVEMENT_BOUNDS); in testGetSnapFraction_leftEdge() local
231 final float snapFraction = mPipSnapAlgorithm.getSnapFraction(bounds, MOVEMENT_BOUNDS); in testGetSnapFraction_rightEdge() local
[all …]
DPipBoundsStateTest.java76 final float snapFraction = 0.5f; in testSetReentryState() local
88 final float snapFraction = 0.5f; in testClearReentryState() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/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.java225 final float snapFraction = mSnapAlgorithm.getSnapFraction(stackBounds, in transformBoundsToAspectRatio() local
274 private Rect getDefaultBounds(float snapFraction, Size size) { in getDefaultBounds()
385 public void applySnapFraction(Rect stackBounds, float snapFraction) { in applySnapFraction()
DPipBoundsState.java479 PipReentryState(@Nullable Size size, float snapFraction) { in PipReentryState()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java459 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayChanged() local
586 float snapFraction = mPipBoundsAlgorithm.getSnapFraction(pipBounds); in saveReentryState() local
673 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayRotationChanged() local