summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-12-05 14:39:20 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-12-05 16:18:32 +0900
commit7b3fde4d4b9047b39a1dc0c7794500364f689325 (patch)
tree67f5cf82a90013a6540743dac327e70a16c87466 /src/tests
parentb3435831f71a22c738849ddfa407e9bd7a0f4625 (diff)
edje: rename intf Efl.Canvas.Layout.Signal to Efl.Layout.Signal
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/edje/edje_test_edje.c8
-rw-r--r--src/tests/emotion/emotion_test_main-eo.c30
2 files changed, 19 insertions, 19 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index 3ea0a34acf..4d83f48949 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -835,7 +835,7 @@ START_TEST(edje_test_message_send_eo)
835 835
836 eina_value_setup(&v, EINA_VALUE_TYPE_STRING); 836 eina_value_setup(&v, EINA_VALUE_TYPE_STRING);
837 eina_value_set(&v, "hello world"); 837 eina_value_set(&v, "hello world");
838 efl_canvas_layout_signal_message_send(obj, 0, v); 838 efl_layout_signal_message_send(obj, 0, v);
839 eina_value_flush(&v); 839 eina_value_flush(&v);
840 edje_message_signal_process(); 840 edje_message_signal_process();
841 edje_object_calc_force(obj); 841 edje_object_calc_force(obj);
@@ -843,7 +843,7 @@ START_TEST(edje_test_message_send_eo)
843 843
844 eina_value_setup(&v, EINA_VALUE_TYPE_INT); 844 eina_value_setup(&v, EINA_VALUE_TYPE_INT);
845 eina_value_set(&v, 42); 845 eina_value_set(&v, 42);
846 efl_canvas_layout_signal_message_send(obj, 1, v); 846 efl_layout_signal_message_send(obj, 1, v);
847 eina_value_flush(&v); 847 eina_value_flush(&v);
848 edje_message_signal_process(); 848 edje_message_signal_process();
849 edje_object_calc_force(obj); 849 edje_object_calc_force(obj);
@@ -851,7 +851,7 @@ START_TEST(edje_test_message_send_eo)
851 851
852 eina_value_setup(&v, EINA_VALUE_TYPE_FLOAT); 852 eina_value_setup(&v, EINA_VALUE_TYPE_FLOAT);
853 eina_value_set(&v, 0.12); 853 eina_value_set(&v, 0.12);
854 efl_canvas_layout_signal_message_send(obj, 2, v); 854 efl_layout_signal_message_send(obj, 2, v);
855 eina_value_flush(&v); 855 eina_value_flush(&v);
856 edje_message_signal_process(); 856 edje_message_signal_process();
857 edje_object_calc_force(obj); 857 edje_object_calc_force(obj);
@@ -862,7 +862,7 @@ START_TEST(edje_test_message_send_eo)
862 eina_value_array_append(va, 12); 862 eina_value_array_append(va, 12);
863 eina_value_array_append(va, 42); 863 eina_value_array_append(va, 42);
864 eina_value_array_append(va, 255); 864 eina_value_array_append(va, 255);
865 efl_canvas_layout_signal_message_send(obj, 3, *va); 865 efl_layout_signal_message_send(obj, 3, *va);
866 eina_value_free(va); 866 eina_value_free(va);
867 edje_message_signal_process(); 867 edje_message_signal_process();
868 edje_object_calc_force(obj); 868 edje_object_calc_force(obj);
diff --git a/src/tests/emotion/emotion_test_main-eo.c b/src/tests/emotion/emotion_test_main-eo.c
index 66bcfa922f..d3e4218408 100644
--- a/src/tests/emotion/emotion_test_main-eo.c
+++ b/src/tests/emotion/emotion_test_main-eo.c
@@ -434,7 +434,7 @@ video_obj_signal_play_cb(void *data, Evas_Object *o, const char *emission EINA_U
434{ 434{
435 Evas_Object *ov = data; 435 Evas_Object *ov = data;
436 emotion_object_play_set(ov, EINA_TRUE); 436 emotion_object_play_set(ov, EINA_TRUE);
437 efl_canvas_layout_signal_emit(o, "video_state", "play"); 437 efl_layout_signal_emit(o, "video_state", "play");
438} 438}
439 439
440static void 440static void
@@ -442,7 +442,7 @@ video_obj_signal_pause_cb(void *data, Evas_Object *o, const char *emission EINA_
442{ 442{
443 Evas_Object *ov = data; 443 Evas_Object *ov = data;
444 emotion_object_play_set(ov, EINA_FALSE); 444 emotion_object_play_set(ov, EINA_FALSE);
445 efl_canvas_layout_signal_emit(o, "video_state", "pause"); 445 efl_layout_signal_emit(o, "video_state", "pause");
446} 446}
447 447
448static void 448static void
@@ -451,7 +451,7 @@ video_obj_signal_stop_cb(void *data, Evas_Object *o, const char *emission EINA_U
451 Evas_Object *ov = data; 451 Evas_Object *ov = data;
452 emotion_object_play_set(ov, EINA_FALSE); 452 emotion_object_play_set(ov, EINA_FALSE);
453 emotion_object_position_set(ov, 0.0); 453 emotion_object_position_set(ov, 0.0);
454 efl_canvas_layout_signal_emit(o, "video_state", "stop"); 454 efl_layout_signal_emit(o, "video_state", "stop");
455} 455}
456 456
457static void 457static void
@@ -634,22 +634,22 @@ init_video_object(const char *module_filename, const char *filename)
634 634
635 efl_event_callback_array_add(o, emotion_object_test_callbacks(), oe); 635 efl_event_callback_array_add(o, emotion_object_test_callbacks(), oe);
636 636
637 efl_canvas_layout_signal_callback_add(oe, "video_control", "play", video_obj_signal_play_cb, o); 637 efl_layout_signal_callback_add(oe, "video_control", "play", video_obj_signal_play_cb, o);
638 efl_canvas_layout_signal_callback_add(oe, "video_control", "pause", video_obj_signal_pause_cb, o); 638 efl_layout_signal_callback_add(oe, "video_control", "pause", video_obj_signal_pause_cb, o);
639 efl_canvas_layout_signal_callback_add(oe, "video_control", "stop", video_obj_signal_stop_cb, o); 639 efl_layout_signal_callback_add(oe, "video_control", "stop", video_obj_signal_stop_cb, o);
640 efl_canvas_layout_signal_callback_add(oe, "drag", "video_progress", video_obj_signal_jump_cb, o); 640 efl_layout_signal_callback_add(oe, "drag", "video_progress", video_obj_signal_jump_cb, o);
641 efl_canvas_layout_signal_callback_add(oe, "drag", "video_alpha", video_obj_signal_alpha_cb, o); 641 efl_layout_signal_callback_add(oe, "drag", "video_alpha", video_obj_signal_alpha_cb, o);
642 efl_canvas_layout_signal_callback_add(oe, "drag", "video_volume", video_obj_signal_vol_cb, o); 642 efl_layout_signal_callback_add(oe, "drag", "video_volume", video_obj_signal_vol_cb, o);
643 efl_canvas_layout_signal_callback_add(oe, "frame_move", "start", video_obj_signal_frame_move_start_cb, oe); 643 efl_layout_signal_callback_add(oe, "frame_move", "start", video_obj_signal_frame_move_start_cb, oe);
644 efl_canvas_layout_signal_callback_add(oe, "frame_move", "stop", video_obj_signal_frame_move_stop_cb, oe); 644 efl_layout_signal_callback_add(oe, "frame_move", "stop", video_obj_signal_frame_move_stop_cb, oe);
645 efl_canvas_layout_signal_callback_add(oe, "frame_resize", "start", video_obj_signal_frame_resize_start_cb, oe); 645 efl_layout_signal_callback_add(oe, "frame_resize", "start", video_obj_signal_frame_resize_start_cb, oe);
646 efl_canvas_layout_signal_callback_add(oe, "frame_resize", "stop", video_obj_signal_frame_resize_stop_cb, oe); 646 efl_layout_signal_callback_add(oe, "frame_resize", "stop", video_obj_signal_frame_resize_stop_cb, oe);
647 efl_canvas_layout_signal_callback_add(oe, "mouse, move", "*", video_obj_signal_frame_move_cb, oe); 647 efl_layout_signal_callback_add(oe, "mouse, move", "*", video_obj_signal_frame_move_cb, oe);
648 efl_ui_drag_value_set(efl_part(oe, "video_alpha"), 0.0, 1.0); 648 efl_ui_drag_value_set(efl_part(oe, "video_alpha"), 0.0, 1.0);
649 efl_text_set(efl_part(oe, "video_alpha_txt"), "alpha 255"); 649 efl_text_set(efl_part(oe, "video_alpha_txt"), "alpha 255");
650 efl_ui_drag_value_set(efl_part(oe, "video_volume"), 0.0, 0.5); 650 efl_ui_drag_value_set(efl_part(oe, "video_volume"), 0.0, 0.5);
651 efl_text_set(efl_part(oe, "video_volume_txt"), "vol 0.50"); 651 efl_text_set(efl_part(oe, "video_volume_txt"), "vol 0.50");
652 efl_canvas_layout_signal_emit(oe, "video_state", "play"); 652 efl_layout_signal_emit(oe, "video_state", "play");
653 efl_gfx_visible_set(oe, EINA_TRUE); 653 efl_gfx_visible_set(oe, EINA_TRUE);
654} 654}
655 655