SwipeAnimation.animateOffset() returns the consumed velocity

It allows us to consume, even partially, the velocity during scrolling.
Allowing other components to consume the remaining velocity.

Before and after: b/336710600#comment24

Test: atest DraggableHandlerTest
Bug: 336710600
Flag: com.android.systemui.scene_container
Change-Id: If6b055f567ba308078227db92f36b17216b7f293
3 files changed