Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMotionHelper.java333 float savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), movementBounds); in animateToExpandedState() local
334 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction); in animateToExpandedState()
336 return savedSnapFraction; in animateToExpandedState()
342 void animateToUnexpandedState(Rect normalBounds, float savedSnapFraction, in animateToUnexpandedState() argument
345 if (savedSnapFraction < 0f) { in animateToUnexpandedState()
347 savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), in animateToUnexpandedState()
350 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction); in animateToUnexpandedState()