summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-12-31 09:53:23 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-12-31 09:53:23 -0500
commite3b77fcff8e9ed822fb747d815807ab43f1ddae9 (patch)
tree90340f014edb92ccddc96c6b9323144dedb03ab1 /src/bin
parent43288c7acec339ccbd8175963501243357258d45 (diff)
Efl.Ui.Vg_Animation: Implaments Efl.Playable interface
Summary: Change API .duration_time => Efl.Playable.length.get ref T8476 Depends on D10939 Test Plan: N/A Reviewers: Hermet, bu5hm4n, kimcinoo, segfaultxavi, zmike Reviewed By: segfaultxavi, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D10953
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_efl_gfx_vg_value_provider.c2
-rw-r--r--src/bin/elementary/test_efl_ui_vg_animation.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_efl_gfx_vg_value_provider.c b/src/bin/elementary/test_efl_gfx_vg_value_provider.c
index 697c255..c8f55c8 100644
--- a/src/bin/elementary/test_efl_gfx_vg_value_provider.c
+++ b/src/bin/elementary/test_efl_gfx_vg_value_provider.c
@@ -487,7 +487,7 @@ test_efl_gfx_vg_value_provider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNU
487 487
488 488
489 //Duration Text 489 //Duration Text
490 snprintf(buf, sizeof(buf), "Duration: %1.2fs", efl_ui_vg_animation_duration_time_get(anim_view)); 490 snprintf(buf, sizeof(buf), "Duration(Length): %1.2fs", efl_playable_length_get(anim_view));
491 efl_add(EFL_UI_TEXTBOX_CLASS, box_sub, 491 efl_add(EFL_UI_TEXTBOX_CLASS, box_sub,
492 efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0), 492 efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0),
493 efl_gfx_hint_fill_set(efl_added, EINA_FALSE, EINA_FALSE), 493 efl_gfx_hint_fill_set(efl_added, EINA_FALSE, EINA_FALSE),
diff --git a/src/bin/elementary/test_efl_ui_vg_animation.c b/src/bin/elementary/test_efl_ui_vg_animation.c
index 6ab7a08..8c6f38d 100644
--- a/src/bin/elementary/test_efl_ui_vg_animation.c
+++ b/src/bin/elementary/test_efl_ui_vg_animation.c
@@ -208,7 +208,7 @@ test_efl_ui_vg_animation(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, v
208 208
209 209
210 //Duration Text 210 //Duration Text
211 snprintf(buf, sizeof(buf), "Duration: %1.2fs", efl_ui_vg_animation_duration_time_get(anim_view)); 211 snprintf(buf, sizeof(buf), "Duration(Length): %1.2fs", efl_playable_length_get(anim_view));
212 efl_add(EFL_UI_TEXTBOX_CLASS, box2, 212 efl_add(EFL_UI_TEXTBOX_CLASS, box2,
213 efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0), 213 efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0),
214 efl_gfx_hint_fill_set(efl_added, EINA_FALSE, EINA_FALSE), 214 efl_gfx_hint_fill_set(efl_added, EINA_FALSE, EINA_FALSE),