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.java327 float savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), movementBounds); in animateToExpandedState() local
328 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction); in animateToExpandedState()
330 return savedSnapFraction; in animateToExpandedState()
336 void animateToUnexpandedState(Rect normalBounds, float savedSnapFraction, in animateToUnexpandedState() argument
339 if (savedSnapFraction < 0f) { in animateToUnexpandedState()
341 savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), in animateToUnexpandedState()
344 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction); in animateToUnexpandedState()