Move more swipe animation logic into SwipeAnimation

This CL moves more code from DraggableHandler.kt to SwipeAnimation.kt,
so that this logic is shared with other usages of SwipeAnimation.

Bug: 353679003
Test: Existing tests
Flag: com.android.systemui.scene_container
Change-Id: I149a338290760d052e6d45d85a634bce86532d7d
2 files changed