From bdf7ab913d08da7d2d2dc7d4cd459bf6e84d8a13 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 6 Dec 2018 12:23:17 +0900 Subject: [PATCH] elementary animation_view: add since_tizen tag. Change-Id: I769f7ce7b28a8043642e850327593a4c351fc972 --- src/lib/elementary/elm_animation_view.eo | 47 ++++++++++++++++++++------ src/lib/elementary/elm_animation_view_legacy.h | 4 +++ 2 files changed, 40 insertions(+), 11 deletions(-) diff --git a/src/lib/elementary/elm_animation_view.eo b/src/lib/elementary/elm_animation_view.eo index 5e65100..c06903f 100644 --- a/src/lib/elementary/elm_animation_view.eo +++ b/src/lib/elementary/elm_animation_view.eo @@ -15,7 +15,10 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) it turns to pause state then resume animation when it's visible again. Warning: This auto play will be only affected to the next animation source. - So must be called before elm_animation_view_file_set().]] + So must be called before elm_animation_view_file_set(). + + \@since_tizen 5.5 + ]] set { } get { @@ -28,7 +31,10 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) [[Turn on/off animation looping. If $auto_repeat is $true, it repeats animation when animation frame is reached to - end. This auto repeat mode is valid to both play and play_back cases.]] + end. This auto repeat mode is valid to both play and play_back cases. + + \@since_tizen 5.5 + ]] set { } get { @@ -44,7 +50,10 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) animation double-time faster, you can give $speed 2. If you want to play animation double-time slower, you can give $speed 0.5. - Warning: speed must be greater than zero.]] + Warning: speed must be greater than zero. + + \@since_tizen 5.5 + ]] set { return: bool; [[$true when it's successful. $false otherwise.]] } @@ -58,7 +67,10 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) [[Get the duration of animation in seconds. This API returns total duration time of current animation in the seconds. - If current animation source isn't animatable, it returns zero.]] + If current animation source isn't animatable, it returns zero. + + \@since_tizen 5.5 + ]] get { } values { @@ -71,7 +83,10 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) When you required to jump on a certain frame instantly, you can change current keyframe by using this API. - Warning: The range of keyframe is 0 ~ 1.]] + Warning: The range of keyframe is 0 ~ 1. + + \@since_tizen 5.5 + ]] set { } get { @@ -87,8 +102,10 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) play forward from there. Warning: Play request will be ignored if animation source is not set yet or - animation is paused state or it's already on playing.]] + animation is paused state or it's already on playing. + \@since_tizen 5.5 + ]] return: bool; [[$true when it's successful. $false otherwise.]] } play_back { @@ -98,8 +115,9 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) play backward from there. Warning: Play back request will be ignored if animation source is not set yet or - animation is paused state or it's already on playing back.]] + animation is paused state or it's already on playing back. + \@since_tizen 5.5]] return: bool; [[$true when it's successful. $false otherwise.]] } pause { @@ -107,15 +125,19 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) Once animation is paused, animation view must get resume to play continue again. - Warning: Animation must be on playing or playing back status.]] + Warning: Animation must be on playing or playing back status. + \@since_tizen 5.5 + ]] return: bool; [[$true when it's successful. $false otherwise.]] } resume { [[Resume paused animation to continue animation. - Warning: This resume must be called on animation paused status. ]] + Warning: This resume must be called on animation paused status. + \@since_tizen 5.5 + ]] return: bool; [[$true when it's successful. $false otherwise.]] } stop { @@ -123,14 +145,17 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File) Stop animation instatly regardless of it's status and reset to show first frame of animation. Even though current animation is paused, - the animation status will be stopped.]] + the animation status will be stopped. + \@since_tizen 5.5]] return: bool; [[$true when it's successful. $false otherwise.]] } @property default_size { get { [[Get the default view size that specified from vector resource. - @since 1.22]] + @since 1.22 + \@since_tizen 5.5 + ]] } values { size: Eina.Size2D; diff --git a/src/lib/elementary/elm_animation_view_legacy.h b/src/lib/elementary/elm_animation_view_legacy.h index 81b5851..f9e2dcd 100644 --- a/src/lib/elementary/elm_animation_view_legacy.h +++ b/src/lib/elementary/elm_animation_view_legacy.h @@ -18,6 +18,7 @@ typedef enum * @ingroup Elm_Animation_View * * @since 1.22 + * @since_tizen 5.5 */ EAPI Elm_Animation_View *elm_animation_view_add(Evas_Object *parent); @@ -39,6 +40,7 @@ NULL, otherwise. * @ingroup Elm_Animation_View * * @since 1.22 + * @since_tizen 5.5 */ EAPI Eina_Bool elm_animation_view_file_set(Elm_Animation_View *obj, const char *file, const char *key); @@ -52,6 +54,7 @@ EAPI Eina_Bool elm_animation_view_file_set(Elm_Animation_View *obj, const * @ingroup Elm_Animation_View * * @since 1.22 + * @since_tizen 5.5 */ EAPI Elm_Animation_View_State elm_animation_view_state_get(const Elm_Animation_View *obj); @@ -65,6 +68,7 @@ EAPI Elm_Animation_View_State elm_animation_view_state_get(const Elm_Animation_V * @warning If animation view is not on playing, it will return @c EINA_FALSE. * * @since 1.22 + * @since_tizen 5.5 */ EAPI Eina_Bool elm_animation_view_is_playing_back(const Elm_Animation_View *obj); -- 2.7.4