STL SwipeAnimation progress bounded between 0 and 1

Updates SwipeAnimation to explicitly bound the progress value between 0
and 1, ensuring that the animation behaves as expected even when the
user swipes beyond the target.

Test: atest SceneTransitionLayoutTest
Bug: 378470603
Flag: com.android.systemui.scene_container
Change-Id: I454e7e935a952de412e9bb1fe84736fe6f3af894
2 files changed