summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author omarmt <omarmt@google.com> 2023-10-18 14:30:09 +0000
committer omarmt <omarmt@google.com> 2023-10-24 09:46:22 +0000
commit20f85cbadd597a513bb4323b871a684a2433573d (patch)
treed8c71939b3027179b6dbbba7905f7448baaa25cf /libs/hwui/FrameInfoVisualizer.cpp
parent08a4f97fcd075dac9d944b2557a1747224c8aafa (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions