Searched refs:savedSnapFraction (Results 1 – 1 of 1) sorted by relevance
327 float savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), movementBounds); in animateToExpandedState() local328 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction); in animateToExpandedState()330 return savedSnapFraction; in animateToExpandedState()336 void animateToUnexpandedState(Rect normalBounds, float savedSnapFraction, in animateToUnexpandedState() argument339 if (savedSnapFraction < 0f) { in animateToUnexpandedState()341 savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), in animateToUnexpandedState()344 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction); in animateToUnexpandedState()