Refactoring Animation Update 67/159467/5
authorEunki Hong <eunkiki.hong@samsung.com>
Thu, 9 Nov 2017 05:22:19 +0000 (14:22 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Wed, 15 Nov 2017 09:10:50 +0000 (18:10 +0900)
commitc79aac9678d349a5afb9992a847ec1481ba09758
tree1d7c320c8899b193242d963ea274d5a27d83acf7
parent7824d67cb1635abc772aa7961c6251328983ab38
Refactoring Animation Update

Refactor animation update rootine so defeat some bugs.

1) ProgressReachedSignal works fine when speedfactor < 0
2) ProgressReachedSignal not works when marker value is out of range
3) ProgressReachedSignal works fine when looped

Also, use signvalue of speedfactor so reduce if-else branch of arithmetic comparision

Change-Id: Ia8a9d242b3d094f1acaa87633ac3107e6220ecfa
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/update/animation/scene-graph-animation.cpp