2 name: "elm/layout/ofono-efl/call";
5 * Represents the dialer ongoing voice call(s) screen.
8 * TEXT: elm.text.<CALL>.name
9 * TEXT: elm.text.<CALL>.status
10 * TEXT: elm.text.<CALL>.elapsed
11 * TEXT: elm.text.<CALL>.phone.type
12 * TEXT: elm.text.waiting
13 * SWALLOW: elm.swallow.multiparty-details
16 * Emit (source is "call"):
17 * pressed,<ID>: key <ID> was pressed
18 * released,<ID>: key <ID> was released
19 * clicked,<ID>: key <ID> was clicked (press and release in the key)
20 * Listen (source is "call"):
21 * show,answer: show "answer" action
22 * hide,answer: hide "answer" action
23 * show,waiting: show call waiting popup (hold+answer...)
24 * hide,waiting: hide call waiting popup
25 * show,<CALL>,elapsed: have elapsed (elm.text.<CALL>.elapsed)
26 * hide,<CALL>,elapsed: don't have elapsed and it should be hidden
27 * show,<CALL>,multiparty: call is multiparty
28 * hide,<CALL>,multiparty: call is not multiparty
29 * state,<CALL>,<STATE>: state changed to <STATE>
30 * disable,<ID>: disable action <ID>
31 * enable,<ID>: enable action <ID>
32 * toggle,on,<ID>: mark toggle action <ID> as selected
33 * toggle,off,<ID>: mark toggle action <ID> as unselected
34 * show,multiparty-details: ask the multiparty details to be visible
35 * hide,multiparty-details: ask the multiparty details to be hidden
36 * calls,1 single call mode
37 * calls,2 two calls mode
40 * 1 - FLOAT: speaker volume 0.0-1.0
41 * 2 - FLOAT: microphone volume 0.0-1.0
42 * 11 - FLOAT: elapsed time in seconds (> 0.0) for call #1
43 * 12 - FLOAT: elapsed time in seconds (> 0.0) for call #2
45 * Where <ID> is: numbers 0 to 9, star, hash, mute, keypad,
46 * speaker, add-call, merge, swap, contacts, answer, hangup,
47 * waiting-hangup, hold-answer, hangup-answer, <CALL>,multiparty,
48 * multiparty-details, actions.
50 * Where <STATE> is: disconnected, active, held, dialing, alerting,
53 * Where <CALL> is: 1 or 2.
59 image: "bg_call.jpg" COMP;
60 image: "ico_mute.png" COMP;
61 image: "ico_keypad.png" COMP;
62 image: "ico_speaker.png" COMP;
63 image: "ico_add_call.png" COMP;
64 image: "ico_merge.png" COMP;
65 image: "ico_swap.png" COMP;
66 image: "ico_contacts.png" COMP;
67 image: "ico_arrow_right.png" COMP;
77 color: 255 255 255 255;
78 color_class: "primary";
84 name: "notification.bar";
89 color: 255 255 255 255;
90 rel1.relative: 0.0 0.0;
93 offset: -1 NOTIFICATION_BAR_HEIGHT;
98 #define SEPARATOR(id, clip, rely, offy, relto) \
100 name: "separator.primary."##id; \
105 state: "default" 0.0; \
106 color: 255 255 255 255; \
107 color_class: "primary"; \
109 relative: 0.0 rely; \
114 relative: 1.0 rely; \
115 offset: -1 (offy + SEPARATOR_HEIGHT / 2); \
121 name: "separator.bg."##id; \
126 state: "default" 0.0; \
127 color: 255 255 255 255; \
130 relative: 0.0 rely; \
131 offset: 0 (offy + SEPARATOR_HEIGHT / 2); \
135 relative: 1.0 rely; \
136 offset: -1 (offy + SEPARATOR_HEIGHT); \
142 #define CALL(id, offy) \
146 clip_to: "clipper.multiparty-details-hidden"; \
148 state: "default" 0.0; \
150 to: "notification.bar"; \
152 offset: 0 (-SEPARATOR_HEIGHT + offy); \
155 to: "notification.bar"; \
157 offset: -1 (CALL_HEIGHT + offy); \
161 state: "hidden" 0.0; \
162 inherit: "default" 0.0; \
163 color: 255 255 255 0; \
168 SEPARATOR("call."##id, "call."##id, 0.0, 0, "call."##id); \
171 name: "clipper."##id".multiparty"; \
173 clip_to: "call."##id; \
175 state: "default" 0.0; \
176 color: 255 255 255 0; \
180 state: "multiparty" 0.0; \
181 inherit: "default" 0.0; \
182 color: 255 255 255 255; \
187 name: "button."##id".multiparty"; \
190 clip_to: "clipper."##id".multiparty"; \
192 state: "default" 0.0; \
193 color: 255 255 255 255; \
194 color_class: "action"; \
195 min: LIST_ICON_SIZE LIST_ICON_SIZE; \
196 max: LIST_ICON_SIZE LIST_ICON_SIZE; \
200 offset: (-LIST_ICON_SIZE - BORDER_PADDING) 0; \
205 offset: (-BORDER_PADDING -1) -1; \
207 image.normal: "ico_arrow_right.png"; \
210 state: "pressed" 0.0; \
211 inherit: "default" 0.0; \
212 color_class: "secondary"; \
217 signal: "mouse,up,1"; \
218 source: "button."##id".multiparty"; \
219 action: SIGNAL_EMIT "released,"##id",multiparty" "call"; \
220 after: "show_up_"##id"_multiparty"; \
221 api: ""##id"_multiparty_released" \
222 "call #"##id" multiparty was released"; \
225 name: "show_up_"##id"_multiparty"; \
226 action: STATE_SET "default" 0.0; \
227 transition: DECELERATE 0.1; \
228 target: "button."##id".multiparty"; \
231 signal: "mouse,down,1"; \
232 source: "button."##id".multiparty"; \
233 after: "show_down_"##id"_multiparty"; \
234 action: SIGNAL_EMIT "pressed,"##id",multiparty" "call"; \
235 api: ""##id"_multiparty_pressed" \
236 "call #"##id" multiparty was pressed"; \
239 name: "show_down_"##id"_multiparty"; \
240 action: STATE_SET "pressed" 0.0; \
241 transition: ACCELERATE 0.1; \
242 target: "button."##id".multiparty"; \
245 signal: "mouse,clicked,1"; \
246 source: "button."##id".multiparty"; \
247 action: SIGNAL_EMIT "clicked,"##id",multiparty" "call"; \
248 api: ""##id"_multiparty_clicked" \
249 "call #"##id" multiparty was clicked"; \
253 signal: "show,"##id",multiparty"; \
255 action: STATE_SET "multiparty" 0.0; \
256 target: "clipper."##id".multiparty"; \
257 target: "area."##id".name"; \
258 api: ""##id"_multiparty_show" \
259 "call #"##id" make multiparty visible"; \
262 signal: "hide,"##id",multiparty"; \
264 action: STATE_SET "default" 0.0; \
265 target: "clipper."##id".multiparty"; \
266 target: "area."##id".name"; \
267 api: ""##id"_multiparty_hide" \
268 "call #"##id" make multiparty hidden"; \
273 name: "area."##id".name"; \
277 clip_to: "call."##id; \
279 state: "default" 0.0; \
283 offset: BORDER_PADDING SEPARATOR_HEIGHT; \
288 offset: (-BORDER_PADDING - 1) (ACTION_HEIGHT - 1); \
292 state: "multiparty" 0.0; \
293 inherit: "default" 0.0; \
294 rel2.offset: (-BORDER_PADDING - ITEM_PADDING -LIST_ICON_SIZE - 1) (ACTION_HEIGHT - 1); \
298 name: "elm.text."##id".name"; \
302 clip_to: "call."##id; \
303 api: ""##id"_name" "remote party call name (call #"##id")"; \
305 state: "default" 0.0; \
306 color: 255 255 255 255; \
307 color_class: "action"; \
309 to: "elm.swallow.img."##id; \
311 offset: ITEM_PADDING 0; \
314 to: "area."##id".name"; \
316 offset: -1 -CALL_TEXT_OFFSET; \
322 size_range: SIZE_MEDIUM SIZE_MEDIUM; \
331 inherit: "default" 0.0; \
332 color_class: "secondary"; \
337 name: "elm.text."##id".status"; \
341 clip_to: "call."##id; \
342 api: ""##id"_status" "call status (call #"##id")"; \
344 state: "default" 0.0; \
345 color: 255 255 255 255; \
346 color_class: "secondary"; \
350 to_x: "elm.swallow.img."##id; \
351 to_y: "elm.text."##id".name"; \
353 offset: ITEM_PADDING -SEPARATOR_HEIGHT; \
356 to: "elm.swallow.img."##id; \
358 offset: ITEM_PADDING -1; \
361 text: "calling..."; \
371 name: "elm.text."##id".elapsed"; \
375 clip_to: "call."##id; \
376 api: "1_elapsed" "call elapsed formatted time (call #"##id")"; \
378 state: "default" 0.0; \
379 color: 255 255 255 255; \
380 color_class: "secondary"; \
384 to: "elm.text."##id".status"; \
386 offset: ITEM_PADDING 0; \
389 to: "elm.text."##id".status"; \
391 offset: ITEM_PADDING -1; \
404 name: "elm.swallow.border."##id; \
408 clip_to: "call."##id; \
410 state: "default" 0.0; \
411 color: 255 255 255 255; \
412 color_class: "action"; \
414 to: "elm.swallow.img."##id; \
419 to: "elm.swallow.img."##id; \
427 name: "elm.swallow.img.bg".#id; \
431 clip_to: "call."##id; \
433 state: "default" 0.0; \
434 color: 255 255 255 255; \
435 color_class: "primary"; \
437 to: "elm.swallow.img."##id; \
442 to: "elm.swallow.img."##id; \
450 name: "elm.swallow.img."##id; \
453 clip_to: "call."##id; \
456 state: "default" 0.0; \
458 min: CALL_PHOTO_SIZE CALL_PHOTO_SIZE; \
459 max: CALL_PHOTO_SIZE CALL_PHOTO_SIZE; \
461 to: "area."##id."name"; \
463 offset: 0 ITEM_PADDING; \
466 to: "area."##id."name"; \
468 offset: CALL_PHOTO_SIZE (CALL_PHOTO_SIZE + ITEM_PADDING); \
475 signal: "mouse,clicked,1"; \
476 source: "area."##id".name"; \
477 action: SIGNAL_EMIT "clicked,swap" "call"; \
480 signal: "state,"##id",held"; \
482 action: STATE_SET "held" 0.0; \
483 transition: ACCELERATE 0.1; \
484 target: "elm.text."##id".name"; \
487 signal: "state,"##id",active"; \
489 action: STATE_SET "default" 0.0; \
490 transition: ACCELERATE 0.1; \
491 target: "elm.text."##id".name"; \
497 CALL("2", CALL_HEIGHT + SEPARATOR_HEIGHT);
503 action: STATE_SET "hidden" 0.0;
504 transition: ACCELERATE 0.1;
510 action: STATE_SET "default" 0.0;
511 transition: ACCELERATE 0.1;
516 SEPARATOR("actions", "clipper.actions", 0.0, -SEPARATOR_HEIGHT, "bg.actions");
522 clip_to: "clipper.keypad-hidden";
524 state: "default" 0.0;
526 min: WIDTH ACTION_HEIGHT;
527 max: WIDTH 99999; /* keep it tight centered */
532 offset: 0 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
537 offset: -1 -SEPARATOR_HEIGHT;
542 name: "clipper.actions";
545 clip_to: "clipper.keypad-hidden";
547 state: "default" 0.0;
548 color: 255 255 255 0;
552 state: "visible" 0.0;
553 inherit: "default" 0.0;
554 color: 255 255 255 255;
560 name: "enable,actions1";
561 signal: "enable,actions";
564 target: "disable,actions1";
565 target: "disable,actions2";
566 after: "enable,actions2";
569 name: "enable,actions2";
570 action: STATE_SET "visible" 0.0;
571 transition: DECELERATE 0.3;
572 target: "clipper.actions";
576 name: "disable,actions1";
577 signal: "disable,actions";
580 target: "enable,actions1";
581 target: "enable,actions2";
582 after: "disable,actions2";
585 name: "disable,actions2";
586 action: STATE_SET "default" 0.0;
587 transition: ACCELERATE 0.3;
588 target: "clipper.actions";
592 #define ACTION_BUTTON(id, img, r1, r2) \
594 name: "clipper."##id; \
596 clip_to: "clipper.actions"; \
598 state: "default" 0.0; \
599 color: 255 255 255 255; \
600 rel1.to: "button."##id; \
601 rel2.to: "button."##id; \
604 state: "disabled" 0.0; \
605 inherit: "default" 0.0; \
606 color_class: "disabled"; \
609 state: "hidden" 0.0; \
610 inherit: "default" 0.0; \
611 color: 255 255 255 0; \
616 name: "button."##id; \
619 clip_to: "clipper."##id; \
621 state: "default" 0.0; \
622 color: 255 255 255 0; \
623 color_class: "action"; \
624 min: ACTION_HEIGHT ACTION_HEIGHT; \
625 max: ACTION_HEIGHT ACTION_HEIGHT; \
638 state: "pressed" 0.0; \
639 inherit: "default" 0.0; \
640 color: 255 255 255 255; \
644 name: "button.ico."##id; \
647 clip_to: "clipper."##id; \
649 state: "default" 0.0; \
650 color: 255 255 255 255; \
651 color_class: "action"; \
652 min: ACTION_HEIGHT ACTION_HEIGHT; \
653 max: ACTION_HEIGHT ACTION_HEIGHT; \
655 rel1.to: "button."##id; \
656 rel2.to: "button."##id; \
657 image.normal: "ico_"##img".png"; \
660 state: "pressed" 0.0; \
661 inherit: "default" 0.0; \
666 name: "blocker."##id; \
669 clip_to: "clipper."##id; \
671 state: "default" 0.0; \
674 rel1.to: "button."##id; \
675 rel2.to: "button."##id; \
678 state: "disabled" 0.0; \
679 inherit: "default" 0.0; \
685 signal: "mouse,up,1"; \
686 source: "button."##id; \
687 action: SIGNAL_EMIT "released,"##id "call"; \
688 after: "show_up_"##id; \
689 api: id"_released" id" was released"; \
692 name: "show_up_"##id; \
693 action: STATE_SET "default" 0.0; \
694 transition: DECELERATE 0.1; \
695 target: "button."##id; \
696 target: "button.ico."##id; \
699 signal: "mouse,down,1"; \
700 source: "button."##id; \
701 after: "show_down_"##id; \
702 action: SIGNAL_EMIT "pressed,"##id "call"; \
703 api: id"_pressed" id" was pressed"; \
706 name: "show_down_"##id; \
707 action: STATE_SET "pressed" 0.0; \
708 transition: ACCELERATE 0.1; \
709 target: "button."##id; \
710 target: "button.ico."##id; \
713 signal: "mouse,clicked,1"; \
714 source: "button."##id; \
715 action: SIGNAL_EMIT "clicked,"##id "call"; \
716 api: id"_clicked" id" was clicked"; \
719 signal: "disable,"##id; \
721 action: STATE_SET "disabled" 0.0; \
722 target: "blocker."##id; \
723 target: "clipper."##id; \
724 api: id"_disable" "disable "##id; \
727 signal: "enable,"##id; \
729 action: STATE_SET "default" 0.0; \
730 target: "blocker."##id; \
731 target: "clipper."##id; \
732 api: id"_enable" "enable "##id; \
736 #define ACTION_HIDEABLE(id, img, r1, r2) \
738 name: "clipper."##id; \
740 clip_to: "clipper.actions"; \
742 state: "default" 0.0; \
743 color: 255 255 255 255; \
744 rel1.to: "button."##id; \
745 rel2.to: "button."##id; \
748 state: "hidden" 0.0; \
749 inherit: "default" 0.0; \
750 color: 255 255 255 0; \
755 name: "button."##id; \
758 clip_to: "clipper."##id; \
760 state: "default" 0.0; \
761 color: 255 255 255 0; \
762 color_class: "action"; \
763 min: ACTION_HEIGHT ACTION_HEIGHT; \
764 max: ACTION_HEIGHT ACTION_HEIGHT; \
777 state: "pressed" 0.0; \
778 inherit: "default" 0.0; \
779 color: 255 255 255 255; \
783 name: "button.ico."##id; \
786 clip_to: "clipper."##id; \
788 state: "default" 0.0; \
789 color: 255 255 255 255; \
790 color_class: "action"; \
791 min: ACTION_HEIGHT ACTION_HEIGHT; \
792 max: ACTION_HEIGHT ACTION_HEIGHT; \
794 rel1.to: "button."##id; \
795 rel2.to: "button."##id; \
796 image.normal: "ico_"##img".png"; \
799 state: "pressed" 0.0; \
800 inherit: "default" 0.0; \
806 signal: "mouse,up,1"; \
807 source: "button."##id; \
808 action: SIGNAL_EMIT "released,"##id "call"; \
809 after: "show_up_"##id; \
810 api: id"_released" id" was released"; \
813 name: "show_up_"##id; \
814 action: STATE_SET "default" 0.0; \
815 transition: DECELERATE 0.1; \
816 target: "button."##id; \
817 target: "button.ico."##id; \
820 signal: "mouse,down,1"; \
821 source: "button."##id; \
822 after: "show_down_"##id; \
823 action: SIGNAL_EMIT "pressed,"##id "call"; \
824 api: id"_pressed" id" was pressed"; \
827 name: "show_down_"##id; \
828 action: STATE_SET "pressed" 0.0; \
829 transition: ACCELERATE 0.1; \
830 target: "button."##id; \
831 target: "button.ico."##id; \
834 signal: "mouse,clicked,1"; \
835 source: "button."##id; \
836 action: SIGNAL_EMIT "clicked,"##id "call"; \
837 api: id"_clicked" id" was clicked"; \
841 signal: "hide,"##id; \
843 action: STATE_SET "hidden" 0.0; \
844 target: "clipper."##id; \
845 api: id"_hide" "hide "##id; \
849 signal: "show,"##id; \
851 action: STATE_SET "default" 0.0; \
852 target: "clipper."##id; \
853 api: id"_show" "show "##id; \
857 #define ACTION_TOGGLE(id, img, r1, r2) \
859 name: "clipper."##id; \
861 clip_to: "clipper.actions"; \
863 state: "default" 0.0; \
864 color: 255 255 255 255; \
865 rel1.to: "button."##id; \
866 rel2.to: "button."##id; \
869 state: "disabled" 0.0; \
870 inherit: "default" 0.0; \
871 color_class: "disabled"; \
874 state: "hidden" 0.0; \
875 inherit: "default" 0.0; \
876 color: 255 255 255 0; \
881 name: "button."##id; \
884 clip_to: "clipper.toggle."##id; \
886 state: "default" 0.0; \
887 color: 255 255 255 0; \
888 color_class: "action"; \
889 min: ACTION_HEIGHT ACTION_HEIGHT; \
890 max: ACTION_HEIGHT ACTION_HEIGHT; \
903 state: "pressed" 0.0; \
904 inherit: "default" 0.0; \
905 color: 255 255 255 255; \
909 name: "button.ico."##id; \
912 clip_to: "clipper.toggle."##id; \
914 state: "default" 0.0; \
915 color: 255 255 255 255; \
916 color_class: "action"; \
917 min: ACTION_HEIGHT ACTION_HEIGHT; \
918 max: ACTION_HEIGHT ACTION_HEIGHT; \
920 rel1.to: "button."##id; \
921 rel2.to: "button."##id; \
922 image.normal: "ico_"##img".png"; \
925 state: "pressed" 0.0; \
926 inherit: "default" 0.0; \
931 name: "clipper.toggle."##id; \
933 clip_to: "clipper."##id; \
936 state: "default" 0.0; \
937 color: 255 255 255 255; \
942 inherit: "default" 0.0; \
943 color: 255 255 255 0; \
948 name: "button.toggle."##id; \
952 state: "default" 0.0; \
953 color: 255 255 255 0; \
954 color_class: "action"; \
955 min: ACTION_HEIGHT ACTION_HEIGHT; \
956 max: ACTION_HEIGHT ACTION_HEIGHT; \
971 inherit: "default" 0.0; \
972 color: 255 255 255 255; \
977 name: "button.toggle.ico."##id; \
981 state: "default" 0.0; \
982 color: 255 255 255 255; \
983 color_class: "action"; \
984 min: ACTION_HEIGHT ACTION_HEIGHT; \
985 max: ACTION_HEIGHT ACTION_HEIGHT; \
988 rel1.to: "button.toggle."##id; \
989 rel2.to: "button.toggle."##id; \
990 image.normal: "ico_"##img".png"; \
994 inherit: "default" 0.0; \
1000 name: "blocker."##id; \
1003 clip_to: "clipper."##id; \
1005 state: "default" 0.0; \
1008 rel1.to: "button."##id; \
1009 rel2.to: "button."##id; \
1012 state: "disabled" 0.0; \
1013 inherit: "default" 0.0; \
1019 signal: "mouse,up,1"; \
1020 source: "button."##id; \
1021 action: SIGNAL_EMIT "released,"##id "call"; \
1022 api: id"_released" id" was released"; \
1023 after: "show_up_"##id; \
1026 name: "show_up_"##id; \
1027 action: STATE_SET "default" 0.0; \
1028 transition: DECELERATE 0.1; \
1029 target: "button."##id; \
1030 target: "button.ico."##id; \
1033 signal: "mouse,down,1"; \
1034 source: "button."##id; \
1035 after: "show_down_"##id; \
1036 action: SIGNAL_EMIT "pressed,"##id "call"; \
1037 api: id"_pressed" id" was pressed"; \
1040 name: "show_down_"##id; \
1041 action: STATE_SET "pressed" 0.0; \
1042 transition: ACCELERATE 0.1; \
1043 target: "button."##id; \
1044 target: "button.ico."##id; \
1047 signal: "mouse,clicked,1"; \
1048 source: "button."##id; \
1049 action: SIGNAL_EMIT "clicked,"##id "call"; \
1050 api: id"_clicked" id" was clicked"; \
1053 signal: "mouse,clicked,1"; \
1054 source: "button.toggle."##id; \
1055 action: SIGNAL_EMIT "clicked,"##id "call"; \
1056 api: id"_clicked" id" was clicked"; \
1059 signal: "disable,"##id; \
1061 action: STATE_SET "disabled" 0.0; \
1062 target: "blocker."##id; \
1063 target: "clipper."##id; \
1064 api: id"_disable" "disable "##id; \
1067 signal: "enable,"##id; \
1069 action: STATE_SET "default" 0.0; \
1070 target: "blocker."##id; \
1071 target: "clipper."##id; \
1072 api: id"_enable" "enable "##id; \
1075 signal: "toggle,on,"##id; \
1077 action: STATE_SET "on" 0.0; \
1078 target: "clipper.toggle."##id; \
1079 target: "button.toggle."##id; \
1080 target: "button.toggle.ico."##id; \
1081 api: id"_toggle_on" "toggle on "##id; \
1084 signal: "toggle,off,"##id; \
1086 action: STATE_SET "default" 0.0; \
1087 target: "clipper.toggle."##id; \
1088 target: "button.toggle."##id; \
1089 target: "button.toggle.ico."##id; \
1090 api: id"_toggle_off" "toggle off "##id; \
1094 ACTION_TOGGLE("mute", "mute", 0.00 0.0, 0.25 1.0);
1095 ACTION_TOGGLE("speaker", "speaker", 0.25 0.0, 0.50 1.0);
1096 ACTION_BUTTON("keypad", "keypad", 0.50 0.0, 0.75 1.0);
1098 ACTION_HIDEABLE("merge", "merge", 0.75 0.0, 1.0 1.0);
1099 ACTION_HIDEABLE("add-call", "add_call", 0.75 0.0, 1.0 1.0);
1101 #undef ACTION_BUTTON
1102 #undef ACTION_TOGGLE
1104 SEPARATOR("answer", "clipper.answer", 0.0, -SEPARATOR_HEIGHT, "button.answer");
1105 SEPARATOR("hangup", "clipper.multiparty-details-hidden", 0.0, -SEPARATOR_HEIGHT, "button.hangup");
1109 signal: "enable,merge";
1111 after: "hide_add-call";
1112 after: "show_merge";
1115 signal: "disable,merge";
1117 after: "show_add-call";
1118 after: "hide_merge";
1123 name: "clipper.keypad-hidden";
1125 clip_to: "clipper.multiparty-details-hidden";
1127 state: "default" 0.0;
1128 color: 255 255 255 255;
1132 state: "alternate" 0.0;
1133 inherit: "default" 0.0;
1134 color: 255 255 255 0;
1139 name: "clipper.keypad-visible";
1141 clip_to: "clipper.multiparty-details-hidden";
1143 state: "default" 0.0;
1144 color: 255 255 255 0;
1146 rel2.offset: -1 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
1149 state: "alternate" 0.0;
1150 inherit: "default" 0.0;
1151 color: 255 255 255 255;
1158 SEPARATOR("hide-keypad", "clipper.keypad-visible", 0.0, -SEPARATOR_HEIGHT, "button.hide-keypad");
1159 SEPARATOR("keypad", "clipper.keypad-visible", 0.0, -SEPARATOR_HEIGHT, "bg.keypad");
1165 clip_to: "clipper.keypad-visible";
1167 state: "default" 0.0;
1169 min: WIDTH (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT);
1170 max: WIDTH (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT); /* keep it tight centered */
1173 offset: 0 (-HEIGHT + 2 * CALL_HEIGHT + 2 * ACTION_HEIGHT + 3 * SEPARATOR_HEIGHT);
1174 to_y: "button.hide-keypad";
1178 offset: 0 (-SEPARATOR_HEIGHT - 1);
1179 to_y: "button.hide-keypad";
1183 #define BUTTON(id, label, sub, ccls, r1, r2) \
1185 name: "button."##id; \
1188 clip_to: "clipper.keypad-visible"; \
1190 state: "default" 0.0; \
1191 color: 255 255 255 0; \
1192 color_class: "action"; \
1204 state: "pressed" 0.0; \
1205 inherit: "default" 0.0; \
1206 color: 255 255 255 255; \
1210 name: "label."##id; \
1213 clip_to: "clipper.keypad-visible"; \
1215 state: "default" 0.0; \
1216 color: 255 255 255 255; \
1217 color_class: ccls; \
1218 rel1.to: "button."##id; \
1220 to: "button."##id; \
1221 relative: 1.0 0.8; \
1225 font: FONT_NORMAL; \
1226 size: SIZE_MEDIUM; \
1231 state: "pressed" 0.0; \
1232 inherit: "default" 0.0; \
1233 color: 240 240 240 255; \
1234 color_class: "bg"; \
1241 clip_to: "clipper.keypad-visible"; \
1243 state: "default" 0.0; \
1244 color: 255 255 255 255; \
1245 color_class: "secondary"; \
1247 to: "button."##id; \
1248 relative: 0.0 0.5; \
1251 rel2.to: "button."##id; \
1260 state: "pressed" 0.0; \
1261 inherit: "default" 0.0; \
1262 color: 240 240 240 255; \
1263 color_class: "bg"; \
1268 signal: "mouse,up,1"; \
1269 source: "button."##id; \
1270 action: SIGNAL_EMIT "released,"##id "call"; \
1271 after: "show_up_"##id; \
1272 api: id"_released" id" was released"; \
1275 name: "show_up_"##id; \
1276 action: STATE_SET "default" 0.0; \
1277 transition: DECELERATE 0.1; \
1278 target: "button."##id; \
1279 target: "label."##id; \
1280 target: "sub."##id; \
1283 signal: "mouse,down,1"; \
1284 source: "button."##id; \
1285 after: "show_down_"##id; \
1286 action: SIGNAL_EMIT "pressed,"##id "call"; \
1287 api: id"_pressed" id" was pressed"; \
1290 name: "show_down_"##id; \
1291 action: STATE_SET "pressed" 0.0; \
1292 transition: ACCELERATE 0.3; \
1293 target: "button."##id; \
1294 target: "label."##id; \
1295 target: "sub."##id; \
1298 signal: "mouse,clicked,1"; \
1299 source: "button."##id; \
1300 action: SIGNAL_EMIT "clicked,"##id "call"; \
1301 api: id"_clicked" id" was clicked"; \
1305 BUTTON("1", "1", "", "action", 0.000 0.0, 0.333 0.25);
1306 BUTTON("2", "2", "ABC", "action", 0.333 0.0, 0.666 0.25);
1307 BUTTON("3", "3", "DEF", "action", 0.666 0.0, 1.000 0.25);
1309 BUTTON("4", "4", "GHI", "action", 0.000 0.25, 0.333 0.50);
1310 BUTTON("5", "5", "JKL", "action", 0.333 0.25, 0.666 0.50);
1311 BUTTON("6", "6", "MNO", "action", 0.666 0.25, 1.000 0.50);
1313 BUTTON("7", "7", "PQRS", "action", 0.000 0.50, 0.333 0.75);
1314 BUTTON("8", "8", "TUV", "action", 0.333 0.50, 0.666 0.75);
1315 BUTTON("9", "9", "WXYZ", "action", 0.666 0.50, 1.000 0.75);
1317 BUTTON("star", "*", "", "secondary", 0.000 0.75, 0.333 1.00);
1318 BUTTON("0", "0", "+", "action", 0.333 0.75, 0.666 1.00);
1319 BUTTON("hash", "#", "", "secondary", 0.666 0.75, 1.000 1.00);
1323 name: "area.hide-keypad";
1326 clip_to: "clipper.keypad-visible";
1328 state: "default" 0.0;
1332 to_y: "button.hangup";
1334 offset: 0 (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT);
1337 to_y: "button.hangup";
1339 offset: -1 (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT - 1);
1343 state: "alternate" 0.0;
1344 inherit: "default" 0.0;
1347 to_y: "button.hangup";
1349 offset: 0 -SEPARATOR_HEIGHT;
1352 to_y: "button.hangup";
1354 offset: -1 (-SEPARATOR_HEIGHT - 1);
1359 name: "button.hide-keypad";
1362 clip_to: "clipper.keypad-visible";
1364 state: "default" 0.0;
1365 color: 255 255 255 0;
1366 color_class: "action";
1367 rel1.to_y: "area.hide-keypad";
1368 rel2.to_y: "area.hide-keypad";
1371 state: "pressed" 0.0;
1372 inherit: "default" 0.0;
1373 color: 255 255 255 255;
1377 name: "label.hide-keypad";
1380 clip_to: "clipper.keypad-visible";
1382 state: "default" 0.0;
1383 color: 255 255 255 255;
1384 color_class: "action";
1385 rel1.to: "button.hide-keypad";
1386 rel2.to: "button.hide-keypad";
1388 text: "Hide Keypad";
1395 state: "pressed" 0.0;
1396 inherit: "default" 0.0;
1402 signal: "active,disconnected";
1404 after: "hide_keypad";
1407 name: "hide_keypad";
1408 signal: "clicked,hangup";
1410 action: STATE_SET "default" 0.0;
1411 target: "clipper.keypad-visible";
1412 target: "clipper.keypad-hidden";
1413 target: "area.hide-keypad";
1417 signal: "mouse,up,1";
1418 source: "button.hide-keypad";
1419 action: STATE_SET "default" 0.0;
1420 transition: DECELERATE 0.1;
1421 target: "button.hide-keypad";
1422 target: "label.hide-keypad";
1425 signal: "mouse,down,1";
1426 source: "button.hide-keypad";
1427 action: STATE_SET "pressed" 0.0;
1428 transition: ACCELERATE 0.3;
1429 target: "button.hide-keypad";
1430 target: "label.hide-keypad";
1434 name: "hide-keypad-phase1";
1435 signal: "mouse,clicked,1";
1436 source: "button.hide-keypad";
1437 action: STATE_SET "default" 0.0;
1438 transition: ACCELERATE 0.3;
1439 target: "clipper.keypad-visible";
1440 target: "area.hide-keypad";
1441 after: "hide-keypad-phase2";
1444 name: "hide-keypad-phase2";
1445 action: STATE_SET "default" 0.0;
1446 transition: ACCELERATE 0.3;
1447 target: "clipper.keypad-hidden";
1451 name: "show-keypad-phase1";
1452 signal: "mouse,clicked,1";
1453 source: "button.keypad";
1454 action: STATE_SET "alternate" 0.0;
1455 transition: ACCELERATE 0.3;
1456 target: "clipper.keypad-hidden";
1457 after: "show-keypad-phase2";
1460 name: "show-keypad-phase2";
1461 action: STATE_SET "alternate" 0.0;
1462 transition: ACCELERATE 0.3;
1463 target: "area.hide-keypad";
1464 target: "clipper.keypad-visible";
1473 clip_to: "clipper.keypad-hidden";
1475 state: "default" 0.0;
1477 rel1.to: "area.answer";
1478 rel2.to: "button.hangup";
1483 name: "clipper.answer";
1486 clip_to: "clipper.keypad-hidden";
1488 state: "default" 0.0;
1489 color: 255 255 255 0;
1493 state: "visible" 0.0;
1494 inherit: "default" 0.0;
1495 color: 255 255 255 255;
1500 name: "area.answer";
1503 clip_to: "clipper.answer";
1505 state: "default" 0.0;
1508 rel1.to_y: "button.hangup";
1509 rel2.to_y: "button.hangup";
1512 state: "visible" 0.0;
1513 inherit: "default" 0.0;
1516 to_y: "button.hangup";
1518 offset: 0 -SEPARATOR_HEIGHT;
1521 to_y: "button.hangup";
1523 offset: -1 (-SEPARATOR_HEIGHT - 1);
1528 name: "button.answer";
1531 clip_to: "clipper.answer";
1533 state: "default" 0.0;
1534 color: 255 255 255 0;
1535 color_class: "action";
1536 rel1.to_y: "area.answer";
1537 rel2.to_y: "area.answer";
1540 state: "pressed" 0.0;
1541 inherit: "default" 0.0;
1542 color: 255 255 255 255;
1546 name: "label.answer";
1549 clip_to: "clipper.answer";
1551 state: "default" 0.0;
1552 color: 255 255 255 255;
1553 color_class: "action";
1554 rel1.to: "button.answer";
1555 rel2.to: "button.answer";
1564 state: "pressed" 0.0;
1565 inherit: "default" 0.0;
1571 signal: "mouse,up,1";
1572 source: "button.answer";
1573 action: SIGNAL_EMIT "released,answer" "call";
1574 after: "show_up_answer";
1575 api: "answer_released" "answer was released";
1578 name: "show_up_answer";
1579 action: STATE_SET "default" 0.0;
1580 transition: DECELERATE 0.1;
1581 target: "button.answer";
1582 target: "label.answer";
1585 signal: "mouse,down,1";
1586 source: "button.answer";
1587 after: "show_down_answer";
1588 action: SIGNAL_EMIT "pressed,answer" "call";
1589 api: "answer_pressed" "answer was pressed";
1592 name: "show_down_answer";
1593 action: STATE_SET "pressed" 0.0;
1594 transition: ACCELERATE 0.3;
1595 target: "button.answer";
1596 target: "label.answer";
1599 signal: "mouse,clicked,1";
1600 source: "button.answer";
1601 action: SIGNAL_EMIT "clicked,answer" "call";
1602 api: "answer_clicked" "answer was clicked";
1606 signal: "show,answer";
1608 action: STATE_SET "visible" 0.0;
1609 target: "area.answer";
1610 target: "clipper.answer";
1611 api: "answer_show" "make answer button visible";
1614 signal: "hide,answer";
1616 action: STATE_SET "default" 0.0;
1617 target: "area.answer";
1618 target: "clipper.answer";
1619 api: "answer_hide" "make answer button hidden";
1624 name: "button.hangup";
1627 clip_to: "clipper.multiparty-details-hidden";
1629 state: "default" 0.0;
1630 color: 255 255 255 0;
1631 color_class: "caution";
1634 offset: 0 -ACTION_HEIGHT;
1642 state: "pressed" 0.0;
1643 inherit: "default" 0.0;
1644 color: 255 255 255 255;
1648 name: "label.hangup";
1651 clip_to: "clipper.multiparty-details-hidden";
1653 state: "default" 0.0;
1654 color: 255 255 255 255;
1655 color_class: "caution";
1656 rel1.to: "button.hangup";
1657 rel2.to: "button.hangup";
1666 state: "pressed" 0.0;
1667 inherit: "default" 0.0;
1673 signal: "mouse,up,1";
1674 source: "button.hangup";
1675 action: SIGNAL_EMIT "released,hangup" "call";
1676 api: "hangup_released" "hangup was released";
1677 after: "show_up_hangup";
1680 name: "show_up_hangup";
1681 action: STATE_SET "default" 0.0;
1682 transition: DECELERATE 0.1;
1683 target: "button.hangup";
1684 target: "label.hangup";
1687 signal: "mouse,down,1";
1688 source: "button.hangup";
1689 after: "show_down_hangup";
1690 action: SIGNAL_EMIT "pressed,hangup" "call";
1691 api: "hangup_pressed" "hangup was pressed";
1694 name: "show_down_hangup";
1695 action: STATE_SET "pressed" 0.0;
1696 transition: ACCELERATE 0.3;
1697 target: "button.hangup";
1698 target: "label.hangup";
1701 signal: "mouse,clicked,1";
1702 source: "button.hangup";
1703 action: SIGNAL_EMIT "clicked,hangup" "call";
1704 api: "hangup_clicked" "hangup was clicked";
1708 /* multiparty options */
1710 name: "clipper.multiparty-details-hidden";
1712 clip_to: "clipper.waiting-hidden";
1714 state: "default" 0.0;
1715 color: 255 255 255 255;
1719 state: "alternate" 0.0;
1720 inherit: "default" 0.0;
1721 color: 255 255 255 0;
1726 name: "clipper.multiparty-details-visible";
1728 clip_to: "clipper.waiting-hidden";
1730 state: "default" 0.0;
1731 color: 255 255 255 0;
1735 state: "alternate" 0.0;
1736 inherit: "default" 0.0;
1737 color: 255 255 255 255;
1742 name: "label.multiparty";
1746 clip_to: "clipper.multiparty-details-visible";
1748 state: "default" 0.0;
1749 color: 255 255 255 255;
1750 color_class: "action";
1752 rel1.offset: BORDER_PADDING 0;
1755 offset: (-BORDER_PADDING - 1) ACTION_HEIGHT;
1761 size_range: SIZE_TINY SIZE_MEDIUM;
1768 SEPARATOR("multiparty-details", "clipper.multiparty-details-visible", 0.0, -SEPARATOR_HEIGHT, "elm.swallow.multiparty-details");
1771 name: "elm.swallow.multiparty-details";
1774 clip_to: "clipper.multiparty-details-visible";
1775 api: "multiparty_details" "swallow to hold the multiparty details";
1777 state: "default" 0.0;
1781 offset: 0 (ACTION_HEIGHT + SEPARATOR_HEIGHT);
1785 offset: -1 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
1789 state: "alternate" 0.0;
1790 inherit: "default" 0.0;
1794 offset: 0 (ACTION_HEIGHT + SEPARATOR_HEIGHT);
1798 offset: -1 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
1803 SEPARATOR("multiparty-details-back", "clipper.multiparty-details-visible", 0.0, -SEPARATOR_HEIGHT, "button.multiparty-details-back");
1805 name: "button.multiparty-details-back";
1808 clip_to: "clipper.multiparty-details-visible";
1810 state: "default" 0.0;
1811 color: 255 255 255 255;
1815 offset: 0 -ACTION_HEIGHT;
1823 state: "pressed" 0.0;
1824 inherit: "default" 0.0;
1825 color_class: "action";
1829 name: "label.multiparty-details-back";
1832 clip_to: "clipper.multiparty-details-visible";
1834 state: "default" 0.0;
1835 color: 255 255 255 255;
1836 color_class: "action";
1837 rel1.to: "button.multiparty-details-back";
1838 rel2.to: "button.multiparty-details-back";
1847 state: "pressed" 0.0;
1848 inherit: "default" 0.0;
1854 signal: "mouse,up,1";
1855 source: "button.multiparty-details-back";
1856 action: STATE_SET "default" 0.0;
1857 transition: DECELERATE 0.1;
1858 target: "button.multiparty-details-back";
1859 target: "label.multiparty-details-back";
1862 signal: "mouse,down,1";
1863 source: "button.multiparty-details-back";
1864 action: STATE_SET "pressed" 0.0;
1865 transition: ACCELERATE 0.3;
1866 target: "button.multiparty-details-back";
1867 target: "label.multiparty-details-back";
1870 signal: "mouse,clicked,1";
1871 source: "button.multiparty-details-back";
1872 action: SIGNAL_EMIT "hide,multiparty-details" "call";
1875 signal: "multiparty,private";
1877 action: SIGNAL_EMIT "hide,multiparty-details" "call";
1883 name: "hide-multiparty-details-phase1";
1884 signal: "hide,multiparty-details";
1886 action: STATE_SET "default" 0.0;
1887 transition: ACCELERATE 0.3;
1888 target: "clipper.multiparty-details-visible";
1889 target: "elm.swallow.multiparty-details";
1890 after: "hide-multiparty-details-phase2";
1891 api: "multiparty_details_hide" "make multiparty-details popup hidden";
1894 name: "hide-multiparty-details-phase2";
1895 action: STATE_SET "default" 0.0;
1896 transition: ACCELERATE 0.3;
1897 target: "clipper.multiparty-details-hidden";
1901 signal: "clicked,2,multiparty";
1903 after: "show-multiparty-details-phase1";
1907 name: "show-multiparty-details-phase1";
1908 signal: "clicked,1,multiparty"; /* just show on user request */
1910 action: STATE_SET "alternate" 0.0;
1911 transition: ACCELERATE 0.3;
1912 target: "clipper.multiparty-details-hidden";
1913 after: "show-multiparty-details-phase2";
1914 api: "multiparty_details_show" "make multiparty-details popup visible";
1917 name: "show-multiparty-details-phase2";
1918 action: STATE_SET "alternate" 0.0;
1919 transition: ACCELERATE 0.3;
1920 target: "elm.swallow.multiparty-details";
1921 target: "clipper.multiparty-details-visible";
1927 name: "clipper.waiting-hidden";
1930 state: "default" 0.0;
1931 color: 255 255 255 255;
1935 state: "alternate" 0.0;
1936 inherit: "default" 0.0;
1937 color: 255 255 255 0;
1942 name: "clipper.waiting-visible";
1945 state: "default" 0.0;
1946 color: 255 255 255 0;
1950 state: "alternate" 0.0;
1951 inherit: "default" 0.0;
1952 color: 255 255 255 255;
1957 name: "area.waiting";
1959 mouse_events: 1; /* block events going to the call screen below it */
1961 state: "default" 0.0;
1964 rel1.relative: 0.0 1.0;
1965 rel2.relative: 1.0 2.0;
1968 state: "alternate" 0.0;
1969 inherit: "default" 0.0;
1971 rel1.relative: 0.0 0.0;
1972 rel2.relative: 1.0 1.0;
1976 #define BUTTON(id, label, colcls, prev) \
1977 SEPARATOR(id, "clipper."##id, 0.0, -SEPARATOR_HEIGHT, "button."##id); \
1979 name: "clipper."##id; \
1981 clip_to: "clipper.waiting-visible"; \
1983 state: "default" 0.0; \
1984 color: 255 255 255 255; \
1987 state: "hidden" 0.0; \
1988 inherit: "default" 0.0; \
1989 color: 255 255 255 0; \
1994 name: "button."##id; \
1997 clip_to: "clipper."##id; \
1999 state: "default" 0.0; \
2000 color: 255 255 255 0; \
2001 color_class: colcls; \
2004 relative: 0.0 0.0; \
2005 offset: 0 -ACTION_HEIGHT; \
2009 relative: 1.0 0.0; \
2014 state: "pressed" 0.0; \
2015 inherit: "default" 0.0; \
2016 color: 255 255 255 255; \
2019 state: "hidden" 0.0; \
2020 inherit: "default" 0.0; \
2023 relative: 0.0 0.0; \
2024 offset: 0 SEPARATOR_HEIGHT; \
2028 relative: 1.0 0.0; \
2029 offset: -1 (ACTION_HEIGHT + SEPARATOR_HEIGHT - 1); \
2034 name: "label."##id; \
2037 clip_to: "clipper."##id; \
2039 state: "default" 0.0; \
2040 color: 255 255 255 255; \
2041 color_class: colcls; \
2043 to: "button."##id; \
2044 offset: BORDER_PADDING 0; \
2047 to: "button."##id; \
2048 offset: (-BORDER_PADDING - 1) -1; \
2052 font: FONT_NORMAL; \
2058 state: "pressed" 0.0; \
2059 inherit: "default" 0.0; \
2060 color_class: "bg"; \
2065 signal: "mouse,up,1"; \
2066 source: "button."##id; \
2067 action: SIGNAL_EMIT "released,"##id "call"; \
2068 api: id"_released" id" was released"; \
2069 after: "show_up_"##id; \
2072 name: "show_up_"##id; \
2073 action: STATE_SET "default" 0.0; \
2074 transition: DECELERATE 0.1; \
2075 target: "button."##id; \
2076 target: "label."##id; \
2079 signal: "mouse,down,1"; \
2080 source: "button."##id; \
2081 after: "show_down_"##id; \
2082 action: SIGNAL_EMIT "pressed,"##id "call"; \
2083 api: id"_pressed" id" was pressed"; \
2086 name: "show_down_"##id; \
2087 action: STATE_SET "pressed" 0.0; \
2088 transition: ACCELERATE 0.3; \
2089 target: "button."##id; \
2090 target: "label."##id; \
2093 signal: "mouse,clicked,1"; \
2094 source: "button."##id; \
2095 action: SIGNAL_EMIT "clicked,"##id "call"; \
2096 api: id"_clicked" id" was clicked"; \
2100 BUTTON("waiting-hangup", "Decline", "action", "separator.primary.hold-answer");
2101 BUTTON("hold-answer", "Hold + Answer", "action", "separator.primary.hangup-answer");
2102 BUTTON("hangup-answer", "Hangup + Answer", "caution", "separator.primary.waiting-last");
2105 SEPARATOR("waiting-last", "clipper.waiting-visible", 1.0, 0, "");
2106 SEPARATOR("waiting", "clipper.waiting-visible", 0.0, 0, "area.waiting");
2108 name: "elm.text.waiting";
2112 clip_to: "clipper.waiting-visible";
2113 api: "waiting" "waiting call name";
2115 state: "default" 0.0;
2116 color: 255 255 255 255;
2117 color_class: "action";
2119 to: "elm.swallow.waiting.photo";
2121 offset: ITEM_PADDING 0;
2124 to: "notification.bar";
2126 offset: -BORDER_PADDING ACTION_HEIGHT;
2132 size_range: SIZE_TINY SIZE_MEDIUM;
2141 name: "waiting.img.border";
2145 clip_to: "clipper.waiting-visible";
2147 state: "default" 0.0;
2148 color: 255 255 255 255;
2149 color_class: "action";
2151 to: "elm.swallow.waiting.photo";
2156 to: "elm.swallow.waiting.photo";
2164 name: "waiting.img.bg";
2168 clip_to: "clipper.waiting-visible";
2170 state: "default" 0.0;
2171 color: 255 255 255 255;
2172 color_class: "primary";
2174 to: "elm.swallow.waiting.photo";
2179 to: "elm.swallow.waiting.photo";
2187 name: "elm.swallow.waiting.photo";
2190 clip_to: "clipper.waiting-visible";
2193 state: "default" 0.0;
2194 min: CALL_PHOTO_SIZE CALL_PHOTO_SIZE;
2195 max: CALL_PHOTO_SIZE CALL_PHOTO_SIZE;
2197 to: "notification.bar";
2199 offset: BORDER_PADDING ITEM_PADDING;
2202 to: "notification.bar";
2204 offset: (CALL_PHOTO_SIZE + BORDER_PADDING) (CALL_PHOTO_SIZE + ITEM_PADDING);
2210 name: "label.waiting";
2214 clip_to: "clipper.waiting-visible";
2216 state: "default" 0.0;
2217 color: 255 255 255 255;
2218 color_class: "secondary";
2222 to: "elm.text.waiting";
2227 to: "elm.text.waiting";
2243 name: "hide-waiting-phase1";
2244 signal: "hide,waiting";
2246 action: STATE_SET "default" 0.0;
2247 transition: ACCELERATE 0.3;
2248 target: "clipper.waiting-visible";
2249 after: "hide-waiting-phase2";
2250 api: "waiting_hide" "make waiting popup hidden";
2253 name: "hide-waiting-phase2";
2254 action: STATE_SET "default" 0.0;
2255 transition: ACCELERATE 0.3;
2256 target: "area.waiting";
2257 after: "hide-waiting-phase3";
2260 name: "hide-waiting-phase3";
2261 action: STATE_SET "default" 0.0;
2262 transition: ACCELERATE 0.3;
2263 target: "clipper.waiting-hidden";
2267 name: "show-waiting-phase1";
2268 signal: "show,waiting";
2270 action: STATE_SET "alternate" 0.0;
2271 transition: ACCELERATE 0.3;
2272 target: "clipper.waiting-hidden";
2273 after: "show-waiting-phase2";
2274 api: "waiting_show" "make waiting popup visible";
2277 name: "show-waiting-phase2";
2278 action: STATE_SET "alternate" 0.0;
2279 transition: ACCELERATE 0.3;
2280 target: "area.waiting";
2281 after: "show-waiting-phase3";
2284 name: "show-waiting-phase3";
2285 action: STATE_SET "alternate" 0.0;
2286 transition: ACCELERATE 0.3;
2287 target: "clipper.waiting-visible";
2291 signal: "enable,merge";
2293 action: STATE_SET "hidden" 0.0;
2294 target: "button.hold-answer";
2295 target: "clipper.hold-answer";
2298 signal: "disable,merge";
2300 action: STATE_SET "default" 0.0;
2301 target: "button.hold-answer";
2302 target: "clipper.hold-answer";
2312 name: "elm/layout/ofono-efl/activecall";
2315 * Represents the active call in the other screens (not callscreen)
2318 * TEXT: elm.text.name
2319 * TEXT: elm.text.phone.type
2320 * TEXT: elm.text.status
2321 * TEXT: elm.text.elapsed
2323 * Emit (source is "call"):
2325 * Listen (source is "call"):
2326 * show,multiparty: active call is multiparty
2327 * hide,multiparty: active call is not multiparty
2328 * state,<STATE>: state changed to <STATE>
2330 * Where <STATE> is: disconnected, active, held, dialing, alerting,
2331 * incoming, waiting.
2340 state: "default" 0.0;
2341 color: 255 255 255 255;
2342 color_class: "action";
2343 max: 99999 (ACTION_HEIGHT / 2);
2344 min: 0 (ACTION_HEIGHT / 2);
2351 signal: "mouse,clicked,1";
2353 action: SIGNAL_EMIT "clicked" "call";
2358 name: "elm.text.name";
2362 state: "default" 0.0;
2363 color: 255 255 255 255;
2364 color_class: "primary";
2366 offset: BORDER_PADDING 0;
2370 to_x: "elm.text.elapsed";
2372 offset: (-ITEM_PADDING - 1) -1;
2385 name: "elm.text.elapsed";
2389 state: "default" 0.0;
2390 color: 255 255 255 255;
2391 color_class: "primary";
2396 offset: (-BORDER_PADDING - 1) 0;
2400 offset: (-BORDER_PADDING - 1) -1;
2416 name: "elm/icon/multiparty/default";
2419 image: "ico_multiparty.png" COMP;
2427 state: "default" 0.0;
2429 color_class: "action";
2430 aspect_preference: BOTH;
2431 image.normal: "ico_multiparty.png";