Searched defs:snapFraction (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
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 …]
|
D | PipBoundsStateTest.java | 117 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/ |
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()
|
D | PipBoundsAlgorithm.java | 277 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()
|
D | PhonePipKeepClearAlgorithm.java | 88 float snapFraction = pipBoundsAlgorithm.getSnapFraction(startingBounds); in adjust() local
|
D | PipBoundsState.java | 638 PipReentryState(float boundsScale, float snapFraction) { in PipReentryState()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipResizeGestureHandler.java | 447 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/ |
D | PipController.java | 801 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
|
D | PipResizeGestureHandler.java | 434 final float snapFraction = mPipBoundsAlgorithm.getSnapFraction( local
|