Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 20f85cba authored by omarmt's avatar omarmt
Browse files

Improvements for stopping animations in SceneGestureHandler

The following improvements have been made:
- on onDragStarted(): When a new transition begins, the current
animation is stopped and the current drag offset is immediately obtained.
- New log: If the transition is a generic TransitionState.Transition, a
log is added, since it is not fully supported at the moment.
- on onDragStopped(): An animation has been added when the animation is
stopped when the state is TransitionState.Transition.
- on animateOffset(): animateOffset no longer waits for the coroutine to
 complete to reset the isAnimatingOffset state.

Test: atest SceneGestureHandlerTest
Bug: 291025415
Change-Id: I3d04ea2a2c822a2b17b377046d43a31757dcbd19
parent 08a4f97f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment