Searched refs:savedSnapFraction (Results 1 – 1 of 1) sorted by relevance
333 float savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), movementBounds); in animateToExpandedState() local334 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction); in animateToExpandedState()336 return savedSnapFraction; in animateToExpandedState()342 void animateToUnexpandedState(Rect normalBounds, float savedSnapFraction, in animateToUnexpandedState() argument345 if (savedSnapFraction < 0f) { in animateToUnexpandedState()347 savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), in animateToUnexpandedState()350 mSnapAlgorithm.applySnapFraction(normalBounds, normalMovementBounds, savedSnapFraction); in animateToUnexpandedState()