summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-24 10:11:26 -0400
committerCedric Bail <cedric.bail@free.fr>2019-09-24 15:23:13 -0700
commit89bee7a11a61d08cc758b061fd2f5e705d1f9029 (patch)
tree57aa57a904d08688cbdf5430862241b26fd91949 /src/bin
parent9b0197e2afbfca7ffa94f09ff5cac8fa9c7fe413 (diff)
efl/player: merge start+stop methods into 'playing' property
this has some overlap with the existing 'play' property which will soon be renamed. the intent here is that there is a property for controlling the 'playing' state and then another property for managing 'pausing' the play state ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10113
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_efl_anim_alpha.c2
-rw-r--r--src/bin/elementary/test_efl_anim_group_parallel.c2
-rw-r--r--src/bin/elementary/test_efl_anim_group_sequential.c2
-rw-r--r--src/bin/elementary/test_efl_anim_interpolator.c4
-rw-r--r--src/bin/elementary/test_efl_anim_pause.c2
-rw-r--r--src/bin/elementary/test_efl_anim_repeat.c2
-rw-r--r--src/bin/elementary/test_efl_anim_rotate.c2
-rw-r--r--src/bin/elementary/test_efl_anim_scale.c2
-rw-r--r--src/bin/elementary/test_efl_anim_start_delay.c2
-rw-r--r--src/bin/elementary/test_efl_anim_translate.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/elementary/test_efl_anim_alpha.c b/src/bin/elementary/test_efl_anim_alpha.c
index 0a42b92..d75733f 100644
--- a/src/bin/elementary/test_efl_anim_alpha.c
+++ b/src/bin/elementary/test_efl_anim_alpha.c
@@ -53,7 +53,7 @@ _btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
53 } 53 }
54 54
55 //Let Animation Object start animation 55 //Let Animation Object start animation
56 efl_player_start(ad->anim_obj); 56 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
57} 57}
58 58
59static void 59static void
diff --git a/src/bin/elementary/test_efl_anim_group_parallel.c b/src/bin/elementary/test_efl_anim_group_parallel.c
index b712888..6283e22 100644
--- a/src/bin/elementary/test_efl_anim_group_parallel.c
+++ b/src/bin/elementary/test_efl_anim_group_parallel.c
@@ -54,7 +54,7 @@ _btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
54 } 54 }
55 55
56 //Let Animation Object start animation 56 //Let Animation Object start animation
57 efl_player_start(ad->anim_obj); 57 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
58} 58}
59 59
60static void 60static void
diff --git a/src/bin/elementary/test_efl_anim_group_sequential.c b/src/bin/elementary/test_efl_anim_group_sequential.c
index 655c37c..3488149 100644
--- a/src/bin/elementary/test_efl_anim_group_sequential.c
+++ b/src/bin/elementary/test_efl_anim_group_sequential.c
@@ -53,7 +53,7 @@ _btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
53 } 53 }
54 54
55 //Let Animation Object start animation 55 //Let Animation Object start animation
56 efl_player_start(ad->anim_obj); 56 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
57} 57}
58 58
59static void 59static void
diff --git a/src/bin/elementary/test_efl_anim_interpolator.c b/src/bin/elementary/test_efl_anim_interpolator.c
index ca2e244..be177d7 100644
--- a/src/bin/elementary/test_efl_anim_interpolator.c
+++ b/src/bin/elementary/test_efl_anim_interpolator.c
@@ -113,7 +113,7 @@ _anim_start(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
113 int index = (uintptr_t)evas_object_data_get(obj, "index"); 113 int index = (uintptr_t)evas_object_data_get(obj, "index");
114 114
115 //Let Animation Object start animation 115 //Let Animation Object start animation
116 efl_player_start(ad->anim_obj[index]); 116 efl_player_playing_set(ad->anim_obj[index], EINA_TRUE);
117 117
118 elm_object_disabled_set(obj, EINA_TRUE); 118 elm_object_disabled_set(obj, EINA_TRUE);
119 elm_object_disabled_set(ad->start_all_btn, EINA_TRUE); 119 elm_object_disabled_set(ad->start_all_btn, EINA_TRUE);
@@ -128,7 +128,7 @@ _anim_start_all(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
128 for (i = 0; i < INTERP_NUM; i++) 128 for (i = 0; i < INTERP_NUM; i++)
129 { 129 {
130 //Let Animation Object start animation 130 //Let Animation Object start animation
131 efl_player_start(ad->anim_obj[i]); 131 efl_player_playing_set(ad->anim_obj[i], EINA_TRUE);
132 elm_object_disabled_set(ad->btn[i], EINA_TRUE); 132 elm_object_disabled_set(ad->btn[i], EINA_TRUE);
133 } 133 }
134 134
diff --git a/src/bin/elementary/test_efl_anim_pause.c b/src/bin/elementary/test_efl_anim_pause.c
index c73b7bc..748599b 100644
--- a/src/bin/elementary/test_efl_anim_pause.c
+++ b/src/bin/elementary/test_efl_anim_pause.c
@@ -69,7 +69,7 @@ _start_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED
69 efl_text_set(obj, "Start Alpha Animation from 0.0 to 1.0"); 69 efl_text_set(obj, "Start Alpha Animation from 0.0 to 1.0");
70 } 70 }
71 //Let Animation Object start animation 71 //Let Animation Object start animation
72 efl_player_start(ad->anim_obj); 72 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
73} 73}
74 74
75static void 75static void
diff --git a/src/bin/elementary/test_efl_anim_repeat.c b/src/bin/elementary/test_efl_anim_repeat.c
index 50df203..d853f9c 100644
--- a/src/bin/elementary/test_efl_anim_repeat.c
+++ b/src/bin/elementary/test_efl_anim_repeat.c
@@ -106,7 +106,7 @@ _start_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED
106 } 106 }
107 107
108 //Let Animation Object start animation 108 //Let Animation Object start animation
109 efl_player_start(ad->anim_obj); 109 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
110} 110}
111 111
112static void 112static void
diff --git a/src/bin/elementary/test_efl_anim_rotate.c b/src/bin/elementary/test_efl_anim_rotate.c
index 454ca0f..10df8ca 100644
--- a/src/bin/elementary/test_efl_anim_rotate.c
+++ b/src/bin/elementary/test_efl_anim_rotate.c
@@ -53,7 +53,7 @@ _btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
53 } 53 }
54 54
55 //Let Animation Object start animation 55 //Let Animation Object start animation
56 efl_player_start(ad->anim_obj); 56 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
57} 57}
58 58
59static void 59static void
diff --git a/src/bin/elementary/test_efl_anim_scale.c b/src/bin/elementary/test_efl_anim_scale.c
index bd380bd..5e5f9ab 100644
--- a/src/bin/elementary/test_efl_anim_scale.c
+++ b/src/bin/elementary/test_efl_anim_scale.c
@@ -53,7 +53,7 @@ _btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
53 } 53 }
54 54
55 //Let Animation Object start animation 55 //Let Animation Object start animation
56 efl_player_start(ad->anim_obj); 56 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
57} 57}
58 58
59static void 59static void
diff --git a/src/bin/elementary/test_efl_anim_start_delay.c b/src/bin/elementary/test_efl_anim_start_delay.c
index c94b515..e3c7b25 100644
--- a/src/bin/elementary/test_efl_anim_start_delay.c
+++ b/src/bin/elementary/test_efl_anim_start_delay.c
@@ -68,7 +68,7 @@ _start_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED
68 } 68 }
69 69
70 //Let Animation Object start animation 70 //Let Animation Object start animation
71 efl_player_start(ad->anim_obj); 71 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
72} 72}
73 73
74static void 74static void
diff --git a/src/bin/elementary/test_efl_anim_translate.c b/src/bin/elementary/test_efl_anim_translate.c
index a562d17..9f30cc3 100644
--- a/src/bin/elementary/test_efl_anim_translate.c
+++ b/src/bin/elementary/test_efl_anim_translate.c
@@ -53,7 +53,7 @@ _btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
53 } 53 }
54 54
55 //Let Animation Object start animation 55 //Let Animation Object start animation
56 efl_player_start(ad->anim_obj); 56 efl_player_playing_set(ad->anim_obj, EINA_TRUE);
57} 57}
58 58
59static void 59static void