[Tizen] Make InternalState for animation. So ensure Stop() Play() make the playstate... 80/312080/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 4 Jun 2024 02:26:51 +0000 (11:26 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 4 Jun 2024 05:17:53 +0000 (14:17 +0900)
commit02d1c00b6f532d4b8081cd21689b9ebd348f4d5d
treee9ead19f4f73c9d05e543374d285d676efac3e2d
parentdc9bd4bdaa399e772ef1435749f0f657d3f3ec64
[Tizen] Make InternalState for animation. So ensure Stop() Play() make the playstate is Playing

Since there is no way to determine that Animation::HasFinished() function called
due to we call Stop() API, or Animation finished normally.

To seperate the state, let we make new internal state
: STOPPING, PLAYING_DURING_STOPPING, PAUSED_DURING_STOPPING

STOPPING will be changed as STOPPED after Animation::HasFinished() function called.

And also, make CLEARED state so we can easly control Clear() function call.

Change-Id: I2acccfaaa034dd1edc956e4a23b0726b5d1b65e7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/event/animation/animation-impl.cpp
dali/internal/event/animation/animation-impl.h