2 name: "elm/layout/dialer/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;
81 normal: "bg_call.jpg";
89 name: "notification.bar";
95 rel1.relative: 0.0 0.0;
98 offset: -1 NOTIFICATION_BAR_HEIGHT;
103 #define SEPARATOR(id, clip, rely, offy, relto) \
105 name: "separator.dark."##id; \
110 state: "default" 0.0; \
111 color: 255 255 255 255; \
112 color_class: "dark"; \
114 relative: 0.0 rely; \
119 relative: 1.0 rely; \
120 offset: -1 (offy + SEPARATOR_HEIGHT / 2); \
126 name: "separator.bg."##id; \
131 state: "default" 0.0; \
132 color: 255 255 255 255; \
135 relative: 0.0 rely; \
136 offset: 0 (offy + SEPARATOR_HEIGHT / 2); \
140 relative: 1.0 rely; \
141 offset: -1 (offy + SEPARATOR_HEIGHT); \
147 #define CALL(id, offy) \
151 clip_to: "clipper.multiparty-details-hidden"; \
153 state: "default" 0.0; \
155 to: "notification.bar"; \
157 offset: 0 (-SEPARATOR_HEIGHT + offy); \
160 to: "notification.bar"; \
162 offset: -1 (CALL_HEIGHT + offy); \
166 state: "hidden" 0.0; \
167 inherit: "default" 0.0; \
168 color: 255 255 255 0; \
173 SEPARATOR("call."##id, "call."##id, 0.0, 0, "call."##id); \
176 name: "clipper."##id".multiparty"; \
178 clip_to: "call."##id; \
180 state: "default" 0.0; \
181 color: 255 255 255 0; \
185 state: "multiparty" 0.0; \
186 inherit: "default" 0.0; \
187 color: 255 255 255 255; \
192 name: "button."##id".multiparty"; \
195 clip_to: "clipper."##id".multiparty"; \
197 state: "default" 0.0; \
198 color: 255 255 255 255; \
199 color_class: "action"; \
200 min: LIST_ICON_SIZE LIST_ICON_SIZE; \
201 max: LIST_ICON_SIZE LIST_ICON_SIZE; \
205 offset: (-LIST_ICON_SIZE - BORDER_PADDING) 0; \
210 offset: (-BORDER_PADDING -1) -1; \
212 image.normal: "ico_arrow_right.png"; \
215 state: "pressed" 0.0; \
216 inherit: "default" 0.0; \
217 color_class: "light"; \
222 signal: "mouse,up,1"; \
223 source: "button."##id".multiparty"; \
224 action: SIGNAL_EMIT "released,"##id",multiparty" "call"; \
225 after: "show_up_"##id"_multiparty"; \
226 api: ""##id"_multiparty_released" \
227 "call #"##id" multiparty was released"; \
230 name: "show_up_"##id"_multiparty"; \
231 action: STATE_SET "default" 0.0; \
232 transition: DECELERATE 0.1; \
233 target: "button."##id".multiparty"; \
236 signal: "mouse,down,1"; \
237 source: "button."##id".multiparty"; \
238 after: "show_down_"##id"_multiparty"; \
239 action: SIGNAL_EMIT "pressed,"##id",multiparty" "call"; \
240 api: ""##id"_multiparty_pressed" \
241 "call #"##id" multiparty was pressed"; \
244 name: "show_down_"##id"_multiparty"; \
245 action: STATE_SET "pressed" 0.0; \
246 transition: ACCELERATE 0.1; \
247 target: "button."##id".multiparty"; \
250 signal: "mouse,clicked,1"; \
251 source: "button."##id".multiparty"; \
252 action: SIGNAL_EMIT "clicked,"##id",multiparty" "call"; \
253 api: ""##id"_multiparty_clicked" \
254 "call #"##id" multiparty was clicked"; \
258 signal: "show,"##id",multiparty"; \
260 action: STATE_SET "multiparty" 0.0; \
261 target: "clipper."##id".multiparty"; \
262 target: "area."##id".name"; \
263 api: ""##id"_multiparty_show" \
264 "call #"##id" make multiparty visible"; \
267 signal: "hide,"##id",multiparty"; \
269 action: STATE_SET "default" 0.0; \
270 target: "clipper."##id".multiparty"; \
271 target: "area."##id".name"; \
272 api: ""##id"_multiparty_hide" \
273 "call #"##id" make multiparty hidden"; \
278 name: "area."##id".name"; \
282 clip_to: "call."##id; \
284 state: "default" 0.0; \
288 offset: BORDER_PADDING SEPARATOR_HEIGHT; \
293 offset: (-BORDER_PADDING - 1) (ACTION_HEIGHT - 1); \
297 state: "multiparty" 0.0; \
298 inherit: "default" 0.0; \
299 rel2.offset: (-BORDER_PADDING - ITEM_PADDING -LIST_ICON_SIZE - 1) (ACTION_HEIGHT - 1); \
303 name: "elm.text."##id".name"; \
307 clip_to: "call."##id; \
308 api: ""##id"_name" "remote party call name (call #"##id")"; \
310 state: "default" 0.0; \
311 color: 255 255 255 255; \
312 color_class: "action"; \
314 to: "elm.swallow.img."##id; \
316 offset: ITEM_PADDING 0; \
319 to: "area."##id".name"; \
321 offset: -1 -CALL_TEXT_OFFSET; \
324 text: "Gustavo Barbieri"; \
327 size_range: SIZE_MEDIUM SIZE_HUGE; \
336 inherit: "default" 0.0; \
337 color_class: "light"; \
342 name: "elm.text."##id".status"; \
346 clip_to: "call."##id; \
347 api: ""##id"_status" "call status (call #"##id")"; \
349 state: "default" 0.0; \
350 color: 255 255 255 255; \
351 color_class: "light"; \
355 to_x: "elm.swallow.img."##id; \
356 to_y: "elm.text."##id".name"; \
358 offset: ITEM_PADDING -SEPARATOR_HEIGHT; \
361 to: "elm.swallow.img."##id; \
363 offset: ITEM_PADDING -1; \
366 text: "calling..."; \
376 name: "elm.text."##id".elapsed"; \
380 clip_to: "call."##id; \
381 api: "1_elapsed" "call elapsed formatted time (call #"##id")"; \
383 state: "default" 0.0; \
384 color: 255 255 255 255; \
385 color_class: "light"; \
389 to: "elm.text."##id".status"; \
391 offset: ITEM_PADDING 0; \
394 to: "elm.text."##id".status"; \
396 offset: ITEM_PADDING -1; \
409 name: "elm.swallow.border."##id; \
413 clip_to: "call."##id; \
415 state: "default" 0.0; \
416 color: 255 255 255 255; \
417 color_class: "action"; \
419 to: "elm.swallow.img."##id; \
424 to: "elm.swallow.img."##id; \
432 name: "elm.swallow.img.bg".#id; \
436 clip_to: "call."##id; \
438 state: "default" 0.0; \
439 color: 255 255 255 255; \
440 color_class: "dark"; \
442 to: "elm.swallow.img."##id; \
447 to: "elm.swallow.img."##id; \
455 name: "elm.swallow.img."##id; \
458 clip_to: "call."##id; \
461 state: "default" 0.0; \
463 min: CALL_PHOTO_SIZE CALL_PHOTO_SIZE; \
464 max: CALL_PHOTO_SIZE CALL_PHOTO_SIZE; \
466 to: "area."##id."name"; \
468 offset: 0 ITEM_PADDING; \
471 to: "area."##id."name"; \
473 offset: CALL_PHOTO_SIZE (CALL_PHOTO_SIZE + ITEM_PADDING); \
482 signal: "mouse,clicked,1"; \
483 source: "area."##id".name"; \
484 action: SIGNAL_EMIT "clicked,swap" "call"; \
487 signal: "state,"##id",held"; \
489 action: STATE_SET "held" 0.0; \
490 transition: ACCELERATE 0.1; \
491 target: "elm.text."##id".name"; \
494 signal: "state,"##id",active"; \
496 action: STATE_SET "default" 0.0; \
497 transition: ACCELERATE 0.1; \
498 target: "elm.text."##id".name"; \
504 CALL("2", CALL_HEIGHT + SEPARATOR_HEIGHT);
510 action: STATE_SET "hidden" 0.0;
511 transition: ACCELERATE 0.1;
517 action: STATE_SET "default" 0.0;
518 transition: ACCELERATE 0.1;
523 SEPARATOR("actions", "clipper.actions", 0.0, -SEPARATOR_HEIGHT, "bg.actions");
529 clip_to: "clipper.keypad-hidden";
531 state: "default" 0.0;
533 min: WIDTH ACTION_HEIGHT;
534 max: WIDTH 99999; /* keep it tight centered */
539 offset: 0 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
544 offset: -1 -SEPARATOR_HEIGHT;
549 name: "clipper.actions";
552 clip_to: "clipper.keypad-hidden";
554 state: "default" 0.0;
555 color: 255 255 255 0;
559 state: "visible" 0.0;
560 inherit: "default" 0.0;
561 color: 255 255 255 255;
567 name: "enable,actions1";
568 signal: "enable,actions";
571 target: "disable,actions1";
572 target: "disable,actions2";
573 after: "enable,actions2";
576 name: "enable,actions2";
577 action: STATE_SET "visible" 0.0;
578 transition: DECELERATE 0.3;
579 target: "clipper.actions";
583 name: "disable,actions1";
584 signal: "disable,actions";
587 target: "enable,actions1";
588 target: "enable,actions2";
589 after: "disable,actions2";
592 name: "disable,actions2";
593 action: STATE_SET "default" 0.0;
594 transition: ACCELERATE 0.3;
595 target: "clipper.actions";
599 #define ACTION_BUTTON(id, img, r1, r2) \
601 name: "clipper."##id; \
603 clip_to: "clipper.actions"; \
605 state: "default" 0.0; \
606 color: 255 255 255 255; \
607 rel1.to: "button."##id; \
608 rel2.to: "button."##id; \
611 state: "disabled" 0.0; \
612 inherit: "default" 0.0; \
613 color_class: "disabled"; \
616 state: "hidden" 0.0; \
617 inherit: "default" 0.0; \
618 color: 255 255 255 0; \
623 name: "button."##id; \
626 clip_to: "clipper."##id; \
628 state: "default" 0.0; \
629 color: 255 255 255 0; \
630 color_class: "action"; \
631 min: ACTION_HEIGHT ACTION_HEIGHT; \
632 max: ACTION_HEIGHT ACTION_HEIGHT; \
645 state: "pressed" 0.0; \
646 inherit: "default" 0.0; \
647 color: 255 255 255 255; \
651 name: "button.ico."##id; \
654 clip_to: "clipper."##id; \
656 state: "default" 0.0; \
657 color: 255 255 255 255; \
658 color_class: "action"; \
659 min: ACTION_HEIGHT ACTION_HEIGHT; \
660 max: ACTION_HEIGHT ACTION_HEIGHT; \
662 rel1.to: "button."##id; \
663 rel2.to: "button."##id; \
664 image.normal: "ico_"##img".png"; \
667 state: "pressed" 0.0; \
668 inherit: "default" 0.0; \
673 name: "blocker."##id; \
676 clip_to: "clipper."##id; \
678 state: "default" 0.0; \
681 rel1.to: "button."##id; \
682 rel2.to: "button."##id; \
685 state: "disabled" 0.0; \
686 inherit: "default" 0.0; \
692 signal: "mouse,up,1"; \
693 source: "button."##id; \
694 action: SIGNAL_EMIT "released,"##id "call"; \
695 after: "show_up_"##id; \
696 api: id"_released" id" was released"; \
699 name: "show_up_"##id; \
700 action: STATE_SET "default" 0.0; \
701 transition: DECELERATE 0.1; \
702 target: "button."##id; \
703 target: "button.ico."##id; \
706 signal: "mouse,down,1"; \
707 source: "button."##id; \
708 after: "show_down_"##id; \
709 action: SIGNAL_EMIT "pressed,"##id "call"; \
710 api: id"_pressed" id" was pressed"; \
713 name: "show_down_"##id; \
714 action: STATE_SET "pressed" 0.0; \
715 transition: ACCELERATE 0.1; \
716 target: "button."##id; \
717 target: "button.ico."##id; \
720 signal: "mouse,clicked,1"; \
721 source: "button."##id; \
722 action: SIGNAL_EMIT "clicked,"##id "call"; \
723 api: id"_clicked" id" was clicked"; \
726 signal: "disable,"##id; \
728 action: STATE_SET "disabled" 0.0; \
729 target: "blocker."##id; \
730 target: "clipper."##id; \
731 api: id"_disable" "disable "##id; \
734 signal: "enable,"##id; \
736 action: STATE_SET "default" 0.0; \
737 target: "blocker."##id; \
738 target: "clipper."##id; \
739 api: id"_enable" "enable "##id; \
743 #define ACTION_HIDEABLE(id, img, r1, r2) \
745 name: "clipper."##id; \
747 clip_to: "clipper.actions"; \
749 state: "default" 0.0; \
750 color: 255 255 255 255; \
751 rel1.to: "button."##id; \
752 rel2.to: "button."##id; \
755 state: "hidden" 0.0; \
756 inherit: "default" 0.0; \
757 color: 255 255 255 0; \
762 name: "button."##id; \
765 clip_to: "clipper."##id; \
767 state: "default" 0.0; \
768 color: 255 255 255 0; \
769 color_class: "action"; \
770 min: ACTION_HEIGHT ACTION_HEIGHT; \
771 max: ACTION_HEIGHT ACTION_HEIGHT; \
784 state: "pressed" 0.0; \
785 inherit: "default" 0.0; \
786 color: 255 255 255 255; \
790 name: "button.ico."##id; \
793 clip_to: "clipper."##id; \
795 state: "default" 0.0; \
796 color: 255 255 255 255; \
797 color_class: "action"; \
798 min: ACTION_HEIGHT ACTION_HEIGHT; \
799 max: ACTION_HEIGHT ACTION_HEIGHT; \
801 rel1.to: "button."##id; \
802 rel2.to: "button."##id; \
803 image.normal: "ico_"##img".png"; \
806 state: "pressed" 0.0; \
807 inherit: "default" 0.0; \
813 signal: "mouse,up,1"; \
814 source: "button."##id; \
815 action: SIGNAL_EMIT "released,"##id "call"; \
816 after: "show_up_"##id; \
817 api: id"_released" id" was released"; \
820 name: "show_up_"##id; \
821 action: STATE_SET "default" 0.0; \
822 transition: DECELERATE 0.1; \
823 target: "button."##id; \
824 target: "button.ico."##id; \
827 signal: "mouse,down,1"; \
828 source: "button."##id; \
829 after: "show_down_"##id; \
830 action: SIGNAL_EMIT "pressed,"##id "call"; \
831 api: id"_pressed" id" was pressed"; \
834 name: "show_down_"##id; \
835 action: STATE_SET "pressed" 0.0; \
836 transition: ACCELERATE 0.1; \
837 target: "button."##id; \
838 target: "button.ico."##id; \
841 signal: "mouse,clicked,1"; \
842 source: "button."##id; \
843 action: SIGNAL_EMIT "clicked,"##id "call"; \
844 api: id"_clicked" id" was clicked"; \
848 signal: "hide,"##id; \
850 action: STATE_SET "hidden" 0.0; \
851 target: "clipper."##id; \
852 api: id"_hide" "hide "##id; \
856 signal: "show,"##id; \
858 action: STATE_SET "default" 0.0; \
859 target: "clipper."##id; \
860 api: id"_show" "show "##id; \
864 #define ACTION_TOGGLE(id, img, r1, r2) \
866 name: "clipper."##id; \
868 clip_to: "clipper.actions"; \
870 state: "default" 0.0; \
871 color: 255 255 255 255; \
872 rel1.to: "button."##id; \
873 rel2.to: "button."##id; \
876 state: "disabled" 0.0; \
877 inherit: "default" 0.0; \
878 color_class: "disabled"; \
881 state: "hidden" 0.0; \
882 inherit: "default" 0.0; \
883 color: 255 255 255 0; \
888 name: "button."##id; \
891 clip_to: "clipper.toggle."##id; \
893 state: "default" 0.0; \
894 color: 255 255 255 0; \
895 color_class: "action"; \
896 min: ACTION_HEIGHT ACTION_HEIGHT; \
897 max: ACTION_HEIGHT ACTION_HEIGHT; \
910 state: "pressed" 0.0; \
911 inherit: "default" 0.0; \
912 color: 255 255 255 255; \
916 name: "button.ico."##id; \
919 clip_to: "clipper.toggle."##id; \
921 state: "default" 0.0; \
922 color: 255 255 255 255; \
923 color_class: "action"; \
924 min: ACTION_HEIGHT ACTION_HEIGHT; \
925 max: ACTION_HEIGHT ACTION_HEIGHT; \
927 rel1.to: "button."##id; \
928 rel2.to: "button."##id; \
929 image.normal: "ico_"##img".png"; \
932 state: "pressed" 0.0; \
933 inherit: "default" 0.0; \
938 name: "clipper.toggle."##id; \
940 clip_to: "clipper."##id; \
943 state: "default" 0.0; \
944 color: 255 255 255 255; \
949 inherit: "default" 0.0; \
950 color: 255 255 255 0; \
955 name: "button.toggle."##id; \
959 state: "default" 0.0; \
960 color: 255 255 255 0; \
961 color_class: "action"; \
962 min: ACTION_HEIGHT ACTION_HEIGHT; \
963 max: ACTION_HEIGHT ACTION_HEIGHT; \
978 inherit: "default" 0.0; \
979 color: 255 255 255 255; \
984 name: "button.toggle.ico."##id; \
988 state: "default" 0.0; \
989 color: 255 255 255 255; \
990 color_class: "action"; \
991 min: ACTION_HEIGHT ACTION_HEIGHT; \
992 max: ACTION_HEIGHT ACTION_HEIGHT; \
995 rel1.to: "button.toggle."##id; \
996 rel2.to: "button.toggle."##id; \
997 image.normal: "ico_"##img".png"; \
1001 inherit: "default" 0.0; \
1002 color_class: "bg"; \
1007 name: "blocker."##id; \
1010 clip_to: "clipper."##id; \
1012 state: "default" 0.0; \
1015 rel1.to: "button."##id; \
1016 rel2.to: "button."##id; \
1019 state: "disabled" 0.0; \
1020 inherit: "default" 0.0; \
1026 signal: "mouse,up,1"; \
1027 source: "button."##id; \
1028 action: SIGNAL_EMIT "released,"##id "call"; \
1029 api: id"_released" id" was released"; \
1030 after: "show_up_"##id; \
1033 name: "show_up_"##id; \
1034 action: STATE_SET "default" 0.0; \
1035 transition: DECELERATE 0.1; \
1036 target: "button."##id; \
1037 target: "button.ico."##id; \
1040 signal: "mouse,down,1"; \
1041 source: "button."##id; \
1042 after: "show_down_"##id; \
1043 action: SIGNAL_EMIT "pressed,"##id "call"; \
1044 api: id"_pressed" id" was pressed"; \
1047 name: "show_down_"##id; \
1048 action: STATE_SET "pressed" 0.0; \
1049 transition: ACCELERATE 0.1; \
1050 target: "button."##id; \
1051 target: "button.ico."##id; \
1054 signal: "mouse,clicked,1"; \
1055 source: "button."##id; \
1056 action: SIGNAL_EMIT "clicked,"##id "call"; \
1057 api: id"_clicked" id" was clicked"; \
1060 signal: "mouse,clicked,1"; \
1061 source: "button.toggle."##id; \
1062 action: SIGNAL_EMIT "clicked,"##id "call"; \
1063 api: id"_clicked" id" was clicked"; \
1066 signal: "disable,"##id; \
1068 action: STATE_SET "disabled" 0.0; \
1069 target: "blocker."##id; \
1070 target: "clipper."##id; \
1071 api: id"_disable" "disable "##id; \
1074 signal: "enable,"##id; \
1076 action: STATE_SET "default" 0.0; \
1077 target: "blocker."##id; \
1078 target: "clipper."##id; \
1079 api: id"_enable" "enable "##id; \
1082 signal: "toggle,on,"##id; \
1084 action: STATE_SET "on" 0.0; \
1085 target: "clipper.toggle."##id; \
1086 target: "button.toggle."##id; \
1087 target: "button.toggle.ico."##id; \
1088 api: id"_toggle_on" "toggle on "##id; \
1091 signal: "toggle,off,"##id; \
1093 action: STATE_SET "default" 0.0; \
1094 target: "clipper.toggle."##id; \
1095 target: "button.toggle."##id; \
1096 target: "button.toggle.ico."##id; \
1097 api: id"_toggle_off" "toggle off "##id; \
1101 ACTION_TOGGLE("mute", "mute", 0.00 0.0, 0.25 1.0);
1102 ACTION_TOGGLE("speaker", "speaker", 0.25 0.0, 0.50 1.0);
1103 ACTION_BUTTON("keypad", "keypad", 0.50 0.0, 0.75 1.0);
1105 ACTION_HIDEABLE("merge", "merge", 0.75 0.0, 1.0 1.0);
1106 ACTION_HIDEABLE("add-call", "add_call", 0.75 0.0, 1.0 1.0);
1108 #undef ACTION_BUTTON
1109 #undef ACTION_TOGGLE
1111 SEPARATOR("answer", "clipper.answer", 0.0, -SEPARATOR_HEIGHT, "button.answer");
1112 SEPARATOR("hangup", "clipper.multiparty-details-hidden", 0.0, -SEPARATOR_HEIGHT, "button.hangup");
1116 signal: "enable,merge";
1118 after: "hide_add-call";
1119 after: "show_merge";
1122 signal: "disable,merge";
1124 after: "show_add-call";
1125 after: "hide_merge";
1130 name: "clipper.keypad-hidden";
1132 clip_to: "clipper.multiparty-details-hidden";
1134 state: "default" 0.0;
1135 color: 255 255 255 255;
1139 state: "alternate" 0.0;
1140 inherit: "default" 0.0;
1141 color: 255 255 255 0;
1146 name: "clipper.keypad-visible";
1148 clip_to: "clipper.multiparty-details-hidden";
1150 state: "default" 0.0;
1151 color: 255 255 255 0;
1153 rel2.offset: -1 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
1156 state: "alternate" 0.0;
1157 inherit: "default" 0.0;
1158 color: 255 255 255 255;
1165 SEPARATOR("hide-keypad", "clipper.keypad-visible", 0.0, -SEPARATOR_HEIGHT, "button.hide-keypad");
1166 SEPARATOR("keypad", "clipper.keypad-visible", 0.0, -SEPARATOR_HEIGHT, "bg.keypad");
1172 clip_to: "clipper.keypad-visible";
1174 state: "default" 0.0;
1176 min: WIDTH (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT);
1177 max: WIDTH (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT); /* keep it tight centered */
1180 offset: 0 (-HEIGHT + 2 * CALL_HEIGHT + 2 * ACTION_HEIGHT + 3 * SEPARATOR_HEIGHT);
1181 to_y: "button.hide-keypad";
1185 offset: 0 (-SEPARATOR_HEIGHT - 1);
1186 to_y: "button.hide-keypad";
1190 #define BUTTON(id, label, sub, ccls, r1, r2) \
1192 name: "button."##id; \
1195 clip_to: "clipper.keypad-visible"; \
1197 state: "default" 0.0; \
1198 color: 255 255 255 0; \
1199 color_class: "action"; \
1211 state: "pressed" 0.0; \
1212 inherit: "default" 0.0; \
1213 color: 255 255 255 255; \
1217 name: "label."##id; \
1220 clip_to: "clipper.keypad-visible"; \
1222 state: "default" 0.0; \
1223 color: 255 255 255 255; \
1224 color_class: ccls; \
1225 rel1.to: "button."##id; \
1227 to: "button."##id; \
1228 relative: 1.0 0.8; \
1232 font: FONT_NORMAL; \
1238 state: "pressed" 0.0; \
1239 inherit: "default" 0.0; \
1240 color: 16 16 16 255; \
1247 clip_to: "clipper.keypad-visible"; \
1249 state: "default" 0.0; \
1250 color: 255 255 255 255; \
1251 color_class: "light"; \
1253 to: "button."##id; \
1254 relative: 0.0 0.5; \
1257 rel2.to: "button."##id; \
1266 state: "pressed" 0.0; \
1267 inherit: "default" 0.0; \
1268 color: 16 16 16 255; \
1273 signal: "mouse,up,1"; \
1274 source: "button."##id; \
1275 action: SIGNAL_EMIT "released,"##id "call"; \
1276 after: "show_up_"##id; \
1277 api: id"_released" id" was released"; \
1280 name: "show_up_"##id; \
1281 action: STATE_SET "default" 0.0; \
1282 transition: DECELERATE 0.1; \
1283 target: "button."##id; \
1284 target: "label."##id; \
1285 target: "sub."##id; \
1288 signal: "mouse,down,1"; \
1289 source: "button."##id; \
1290 after: "show_down_"##id; \
1291 action: SIGNAL_EMIT "pressed,"##id "call"; \
1292 api: id"_pressed" id" was pressed"; \
1295 name: "show_down_"##id; \
1296 action: STATE_SET "pressed" 0.0; \
1297 transition: ACCELERATE 0.3; \
1298 target: "button."##id; \
1299 target: "label."##id; \
1300 target: "sub."##id; \
1303 signal: "mouse,clicked,1"; \
1304 source: "button."##id; \
1305 action: SIGNAL_EMIT "clicked,"##id "call"; \
1306 api: id"_clicked" id" was clicked"; \
1310 BUTTON("1", "1", "", "action", 0.000 0.0, 0.333 0.25);
1311 BUTTON("2", "2", "ABC", "action", 0.333 0.0, 0.666 0.25);
1312 BUTTON("3", "3", "DEF", "action", 0.666 0.0, 1.000 0.25);
1314 BUTTON("4", "4", "GHI", "action", 0.000 0.25, 0.333 0.50);
1315 BUTTON("5", "5", "JKL", "action", 0.333 0.25, 0.666 0.50);
1316 BUTTON("6", "6", "MNO", "action", 0.666 0.25, 1.000 0.50);
1318 BUTTON("7", "7", "PQRS", "action", 0.000 0.50, 0.333 0.75);
1319 BUTTON("8", "8", "TUV", "action", 0.333 0.50, 0.666 0.75);
1320 BUTTON("9", "9", "WXYZ", "action", 0.666 0.50, 1.000 0.75);
1322 BUTTON("star", "*", "", "light", 0.000 0.75, 0.333 1.00);
1323 BUTTON("0", "0", "+", "action", 0.333 0.75, 0.666 1.00);
1324 BUTTON("hash", "#", "", "light", 0.666 0.75, 1.000 1.00);
1328 name: "area.hide-keypad";
1331 clip_to: "clipper.keypad-visible";
1333 state: "default" 0.0;
1337 to_y: "button.hangup";
1339 offset: 0 (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT);
1342 to_y: "button.hangup";
1344 offset: -1 (HEIGHT - 2 * CALL_HEIGHT - 2 * ACTION_HEIGHT - 4 * SEPARATOR_HEIGHT - 1);
1348 state: "alternate" 0.0;
1349 inherit: "default" 0.0;
1352 to_y: "button.hangup";
1354 offset: 0 -SEPARATOR_HEIGHT;
1357 to_y: "button.hangup";
1359 offset: -1 (-SEPARATOR_HEIGHT - 1);
1364 name: "button.hide-keypad";
1367 clip_to: "clipper.keypad-visible";
1369 state: "default" 0.0;
1370 color: 255 255 255 0;
1371 color_class: "action";
1372 rel1.to_y: "area.hide-keypad";
1373 rel2.to_y: "area.hide-keypad";
1376 state: "pressed" 0.0;
1377 inherit: "default" 0.0;
1378 color: 255 255 255 255;
1382 name: "label.hide-keypad";
1385 clip_to: "clipper.keypad-visible";
1387 state: "default" 0.0;
1388 color: 255 255 255 255;
1389 color_class: "action";
1390 rel1.to: "button.hide-keypad";
1391 rel2.to: "button.hide-keypad";
1393 text: "Hide Keypad";
1400 state: "pressed" 0.0;
1401 inherit: "default" 0.0;
1407 signal: "active,disconnected";
1409 after: "hide_keypad";
1412 name: "hide_keypad";
1413 signal: "clicked,hangup";
1415 action: STATE_SET "default" 0.0;
1416 target: "clipper.keypad-visible";
1417 target: "clipper.keypad-hidden";
1418 target: "area.hide-keypad";
1422 signal: "mouse,up,1";
1423 source: "button.hide-keypad";
1424 action: STATE_SET "default" 0.0;
1425 transition: DECELERATE 0.1;
1426 target: "button.hide-keypad";
1427 target: "label.hide-keypad";
1430 signal: "mouse,down,1";
1431 source: "button.hide-keypad";
1432 action: STATE_SET "pressed" 0.0;
1433 transition: ACCELERATE 0.3;
1434 target: "button.hide-keypad";
1435 target: "label.hide-keypad";
1439 name: "hide-keypad-phase1";
1440 signal: "mouse,clicked,1";
1441 source: "button.hide-keypad";
1442 action: STATE_SET "default" 0.0;
1443 transition: ACCELERATE 0.3;
1444 target: "clipper.keypad-visible";
1445 target: "area.hide-keypad";
1446 after: "hide-keypad-phase2";
1449 name: "hide-keypad-phase2";
1450 action: STATE_SET "default" 0.0;
1451 transition: ACCELERATE 0.3;
1452 target: "clipper.keypad-hidden";
1456 name: "show-keypad-phase1";
1457 signal: "mouse,clicked,1";
1458 source: "button.keypad";
1459 action: STATE_SET "alternate" 0.0;
1460 transition: ACCELERATE 0.3;
1461 target: "clipper.keypad-hidden";
1462 after: "show-keypad-phase2";
1465 name: "show-keypad-phase2";
1466 action: STATE_SET "alternate" 0.0;
1467 transition: ACCELERATE 0.3;
1468 target: "area.hide-keypad";
1469 target: "clipper.keypad-visible";
1478 clip_to: "clipper.keypad-hidden";
1480 state: "default" 0.0;
1482 rel1.to: "area.answer";
1483 rel2.to: "button.hangup";
1488 name: "clipper.answer";
1491 clip_to: "clipper.keypad-hidden";
1493 state: "default" 0.0;
1494 color: 255 255 255 0;
1498 state: "visible" 0.0;
1499 inherit: "default" 0.0;
1500 color: 255 255 255 255;
1505 name: "area.answer";
1508 clip_to: "clipper.answer";
1510 state: "default" 0.0;
1513 rel1.to_y: "button.hangup";
1514 rel2.to_y: "button.hangup";
1517 state: "visible" 0.0;
1518 inherit: "default" 0.0;
1521 to_y: "button.hangup";
1523 offset: 0 -SEPARATOR_HEIGHT;
1526 to_y: "button.hangup";
1528 offset: -1 (-SEPARATOR_HEIGHT - 1);
1533 name: "button.answer";
1536 clip_to: "clipper.answer";
1538 state: "default" 0.0;
1539 color: 255 255 255 0;
1540 color_class: "action";
1541 rel1.to_y: "area.answer";
1542 rel2.to_y: "area.answer";
1545 state: "pressed" 0.0;
1546 inherit: "default" 0.0;
1547 color: 255 255 255 255;
1551 name: "label.answer";
1554 clip_to: "clipper.answer";
1556 state: "default" 0.0;
1557 color: 255 255 255 255;
1558 color_class: "action";
1559 rel1.to: "button.answer";
1560 rel2.to: "button.answer";
1569 state: "pressed" 0.0;
1570 inherit: "default" 0.0;
1576 signal: "mouse,up,1";
1577 source: "button.answer";
1578 action: SIGNAL_EMIT "released,answer" "call";
1579 after: "show_up_answer";
1580 api: "answer_released" "answer was released";
1583 name: "show_up_answer";
1584 action: STATE_SET "default" 0.0;
1585 transition: DECELERATE 0.1;
1586 target: "button.answer";
1587 target: "label.answer";
1590 signal: "mouse,down,1";
1591 source: "button.answer";
1592 after: "show_down_answer";
1593 action: SIGNAL_EMIT "pressed,answer" "call";
1594 api: "answer_pressed" "answer was pressed";
1597 name: "show_down_answer";
1598 action: STATE_SET "pressed" 0.0;
1599 transition: ACCELERATE 0.3;
1600 target: "button.answer";
1601 target: "label.answer";
1604 signal: "mouse,clicked,1";
1605 source: "button.answer";
1606 action: SIGNAL_EMIT "clicked,answer" "call";
1607 api: "answer_clicked" "answer was clicked";
1611 signal: "show,answer";
1613 action: STATE_SET "visible" 0.0;
1614 target: "area.answer";
1615 target: "clipper.answer";
1616 api: "answer_show" "make answer button visible";
1619 signal: "hide,answer";
1621 action: STATE_SET "default" 0.0;
1622 target: "area.answer";
1623 target: "clipper.answer";
1624 api: "answer_hide" "make answer button hidden";
1629 name: "button.hangup";
1632 clip_to: "clipper.multiparty-details-hidden";
1634 state: "default" 0.0;
1635 color: 255 255 255 0;
1636 color_class: "caution";
1639 offset: 0 -ACTION_HEIGHT;
1647 state: "pressed" 0.0;
1648 inherit: "default" 0.0;
1649 color: 255 255 255 255;
1653 name: "label.hangup";
1656 clip_to: "clipper.multiparty-details-hidden";
1658 state: "default" 0.0;
1659 color: 255 255 255 255;
1660 color_class: "caution";
1661 rel1.to: "button.hangup";
1662 rel2.to: "button.hangup";
1671 state: "pressed" 0.0;
1672 inherit: "default" 0.0;
1678 signal: "mouse,up,1";
1679 source: "button.hangup";
1680 action: SIGNAL_EMIT "released,hangup" "call";
1681 api: "hangup_released" "hangup was released";
1682 after: "show_up_hangup";
1685 name: "show_up_hangup";
1686 action: STATE_SET "default" 0.0;
1687 transition: DECELERATE 0.1;
1688 target: "button.hangup";
1689 target: "label.hangup";
1692 signal: "mouse,down,1";
1693 source: "button.hangup";
1694 after: "show_down_hangup";
1695 action: SIGNAL_EMIT "pressed,hangup" "call";
1696 api: "hangup_pressed" "hangup was pressed";
1699 name: "show_down_hangup";
1700 action: STATE_SET "pressed" 0.0;
1701 transition: ACCELERATE 0.3;
1702 target: "button.hangup";
1703 target: "label.hangup";
1706 signal: "mouse,clicked,1";
1707 source: "button.hangup";
1708 action: SIGNAL_EMIT "clicked,hangup" "call";
1709 api: "hangup_clicked" "hangup was clicked";
1713 /* multiparty options */
1715 name: "clipper.multiparty-details-hidden";
1717 clip_to: "clipper.waiting-hidden";
1719 state: "default" 0.0;
1720 color: 255 255 255 255;
1724 state: "alternate" 0.0;
1725 inherit: "default" 0.0;
1726 color: 255 255 255 0;
1731 name: "clipper.multiparty-details-visible";
1733 clip_to: "clipper.waiting-hidden";
1735 state: "default" 0.0;
1736 color: 255 255 255 0;
1740 state: "alternate" 0.0;
1741 inherit: "default" 0.0;
1742 color: 255 255 255 255;
1747 name: "label.multiparty";
1751 clip_to: "clipper.multiparty-details-visible";
1753 state: "default" 0.0;
1754 color: 255 255 255 255;
1755 color_class: "action";
1757 rel1.offset: BORDER_PADDING 0;
1760 offset: (-BORDER_PADDING - 1) ACTION_HEIGHT;
1766 size_range: SIZE_TINY SIZE_HUGE;
1773 SEPARATOR("multiparty-details", "clipper.multiparty-details-visible", 0.0, -SEPARATOR_HEIGHT, "elm.swallow.multiparty-details");
1776 name: "elm.swallow.multiparty-details";
1779 clip_to: "clipper.multiparty-details-visible";
1780 api: "multiparty_details" "swallow to hold the multiparty details";
1782 state: "default" 0.0;
1786 offset: 0 (ACTION_HEIGHT + SEPARATOR_HEIGHT);
1790 offset: -1 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
1794 state: "alternate" 0.0;
1795 inherit: "default" 0.0;
1799 offset: 0 (ACTION_HEIGHT + SEPARATOR_HEIGHT);
1803 offset: -1 (-ACTION_HEIGHT - SEPARATOR_HEIGHT);
1808 SEPARATOR("multiparty-details-back", "clipper.multiparty-details-visible", 0.0, -SEPARATOR_HEIGHT, "button.multiparty-details-back");
1810 name: "button.multiparty-details-back";
1813 clip_to: "clipper.multiparty-details-visible";
1815 state: "default" 0.0;
1816 color: 255 255 255 255;
1820 offset: 0 -ACTION_HEIGHT;
1828 state: "pressed" 0.0;
1829 inherit: "default" 0.0;
1830 color_class: "action";
1834 name: "label.multiparty-details-back";
1837 clip_to: "clipper.multiparty-details-visible";
1839 state: "default" 0.0;
1840 color: 255 255 255 255;
1841 color_class: "action";
1842 rel1.to: "button.multiparty-details-back";
1843 rel2.to: "button.multiparty-details-back";
1852 state: "pressed" 0.0;
1853 inherit: "default" 0.0;
1859 signal: "mouse,up,1";
1860 source: "button.multiparty-details-back";
1861 action: STATE_SET "default" 0.0;
1862 transition: DECELERATE 0.1;
1863 target: "button.multiparty-details-back";
1864 target: "label.multiparty-details-back";
1867 signal: "mouse,down,1";
1868 source: "button.multiparty-details-back";
1869 action: STATE_SET "pressed" 0.0;
1870 transition: ACCELERATE 0.3;
1871 target: "button.multiparty-details-back";
1872 target: "label.multiparty-details-back";
1875 signal: "mouse,clicked,1";
1876 source: "button.multiparty-details-back";
1877 action: SIGNAL_EMIT "hide,multiparty-details" "call";
1880 signal: "multiparty,private";
1882 action: SIGNAL_EMIT "hide,multiparty-details" "call";
1888 name: "hide-multiparty-details-phase1";
1889 signal: "hide,multiparty-details";
1891 action: STATE_SET "default" 0.0;
1892 transition: ACCELERATE 0.3;
1893 target: "clipper.multiparty-details-visible";
1894 target: "elm.swallow.multiparty-details";
1895 after: "hide-multiparty-details-phase2";
1896 api: "multiparty_details_hide" "make multiparty-details popup hidden";
1899 name: "hide-multiparty-details-phase2";
1900 action: STATE_SET "default" 0.0;
1901 transition: ACCELERATE 0.3;
1902 target: "clipper.multiparty-details-hidden";
1906 signal: "clicked,2,multiparty";
1908 after: "show-multiparty-details-phase1";
1912 name: "show-multiparty-details-phase1";
1913 signal: "clicked,1,multiparty"; /* just show on user request */
1915 action: STATE_SET "alternate" 0.0;
1916 transition: ACCELERATE 0.3;
1917 target: "clipper.multiparty-details-hidden";
1918 after: "show-multiparty-details-phase2";
1919 api: "multiparty_details_show" "make multiparty-details popup visible";
1922 name: "show-multiparty-details-phase2";
1923 action: STATE_SET "alternate" 0.0;
1924 transition: ACCELERATE 0.3;
1925 target: "elm.swallow.multiparty-details";
1926 target: "clipper.multiparty-details-visible";
1932 name: "clipper.waiting-hidden";
1935 state: "default" 0.0;
1936 color: 255 255 255 255;
1940 state: "alternate" 0.0;
1941 inherit: "default" 0.0;
1942 color: 255 255 255 0;
1947 name: "clipper.waiting-visible";
1950 state: "default" 0.0;
1951 color: 255 255 255 0;
1955 state: "alternate" 0.0;
1956 inherit: "default" 0.0;
1957 color: 255 255 255 255;
1962 name: "area.waiting";
1964 mouse_events: 1; /* block events going to the call screen below it */
1966 state: "default" 0.0;
1969 rel1.relative: 0.0 1.0;
1970 rel2.relative: 1.0 2.0;
1973 state: "alternate" 0.0;
1974 inherit: "default" 0.0;
1976 rel1.relative: 0.0 0.0;
1977 rel2.relative: 1.0 1.0;
1981 #define BUTTON(id, label, colcls, prev) \
1982 SEPARATOR(id, "clipper."##id, 0.0, -SEPARATOR_HEIGHT, "button."##id); \
1984 name: "clipper."##id; \
1986 clip_to: "clipper.waiting-visible"; \
1988 state: "default" 0.0; \
1989 color: 255 255 255 255; \
1992 state: "hidden" 0.0; \
1993 inherit: "default" 0.0; \
1994 color: 255 255 255 0; \
1999 name: "button."##id; \
2002 clip_to: "clipper."##id; \
2004 state: "default" 0.0; \
2005 color: 255 255 255 0; \
2006 color_class: colcls; \
2009 relative: 0.0 0.0; \
2010 offset: 0 -ACTION_HEIGHT; \
2014 relative: 1.0 0.0; \
2019 state: "pressed" 0.0; \
2020 inherit: "default" 0.0; \
2021 color: 255 255 255 255; \
2024 state: "hidden" 0.0; \
2025 inherit: "default" 0.0; \
2028 relative: 0.0 0.0; \
2029 offset: 0 SEPARATOR_HEIGHT; \
2033 relative: 1.0 0.0; \
2034 offset: -1 (ACTION_HEIGHT + SEPARATOR_HEIGHT - 1); \
2039 name: "label."##id; \
2042 clip_to: "clipper."##id; \
2044 state: "default" 0.0; \
2045 color: 255 255 255 255; \
2046 color_class: colcls; \
2048 to: "button."##id; \
2049 offset: BORDER_PADDING 0; \
2052 to: "button."##id; \
2053 offset: (-BORDER_PADDING - 1) -1; \
2057 font: FONT_NORMAL; \
2063 state: "pressed" 0.0; \
2064 inherit: "default" 0.0; \
2065 color_class: "bg"; \
2070 signal: "mouse,up,1"; \
2071 source: "button."##id; \
2072 action: SIGNAL_EMIT "released,"##id "call"; \
2073 api: id"_released" id" was released"; \
2074 after: "show_up_"##id; \
2077 name: "show_up_"##id; \
2078 action: STATE_SET "default" 0.0; \
2079 transition: DECELERATE 0.1; \
2080 target: "button."##id; \
2081 target: "label."##id; \
2084 signal: "mouse,down,1"; \
2085 source: "button."##id; \
2086 after: "show_down_"##id; \
2087 action: SIGNAL_EMIT "pressed,"##id "call"; \
2088 api: id"_pressed" id" was pressed"; \
2091 name: "show_down_"##id; \
2092 action: STATE_SET "pressed" 0.0; \
2093 transition: ACCELERATE 0.3; \
2094 target: "button."##id; \
2095 target: "label."##id; \
2098 signal: "mouse,clicked,1"; \
2099 source: "button."##id; \
2100 action: SIGNAL_EMIT "clicked,"##id "call"; \
2101 api: id"_clicked" id" was clicked"; \
2105 BUTTON("waiting-hangup", "Decline", "action", "separator.dark.hold-answer");
2106 BUTTON("hold-answer", "Hold + Answer", "action", "separator.dark.hangup-answer");
2107 BUTTON("hangup-answer", "Hangup + Answer", "caution", "separator.dark.waiting-last");
2110 SEPARATOR("waiting-last", "clipper.waiting-visible", 1.0, 0, "");
2111 SEPARATOR("waiting", "clipper.waiting-visible", 0.0, 0, "area.waiting");
2113 name: "elm.text.waiting";
2117 clip_to: "clipper.waiting-visible";
2118 api: "waiting" "waiting call name";
2120 state: "default" 0.0;
2121 color: 255 255 255 255;
2122 color_class: "action";
2124 to: "elm.swallow.waiting.photo";
2126 offset: ITEM_PADDING 0;
2129 to: "notification.bar";
2131 offset: -BORDER_PADDING ACTION_HEIGHT;
2137 size_range: SIZE_TINY SIZE_HUGE;
2146 name: "waiting.img.border";
2150 clip_to: "clipper.waiting-visible";
2152 state: "default" 0.0;
2153 color: 255 255 255 255;
2154 color_class: "action";
2156 to: "elm.swallow.waiting.photo";
2161 to: "elm.swallow.waiting.photo";
2169 name: "waiting.img.bg";
2173 clip_to: "clipper.waiting-visible";
2175 state: "default" 0.0;
2176 color: 255 255 255 255;
2177 color_class: "dark";
2179 to: "elm.swallow.waiting.photo";
2184 to: "elm.swallow.waiting.photo";
2192 name: "elm.swallow.waiting.photo";
2195 clip_to: "clipper.waiting-visible";
2198 state: "default" 0.0;
2199 min: CALL_PHOTO_SIZE CALL_PHOTO_SIZE;
2200 max: CALL_PHOTO_SIZE CALL_PHOTO_SIZE;
2202 to: "notification.bar";
2204 offset: BORDER_PADDING ITEM_PADDING;
2207 to: "notification.bar";
2209 offset: (CALL_PHOTO_SIZE + BORDER_PADDING) (CALL_PHOTO_SIZE + ITEM_PADDING);
2215 name: "label.waiting";
2219 clip_to: "clipper.waiting-visible";
2221 state: "default" 0.0;
2222 color: 255 255 255 255;
2223 color_class: "light";
2227 to: "elm.text.waiting";
2232 to: "elm.text.waiting";
2248 name: "hide-waiting-phase1";
2249 signal: "hide,waiting";
2251 action: STATE_SET "default" 0.0;
2252 transition: ACCELERATE 0.3;
2253 target: "clipper.waiting-visible";
2254 after: "hide-waiting-phase2";
2255 api: "waiting_hide" "make waiting popup hidden";
2258 name: "hide-waiting-phase2";
2259 action: STATE_SET "default" 0.0;
2260 transition: ACCELERATE 0.3;
2261 target: "area.waiting";
2262 after: "hide-waiting-phase3";
2265 name: "hide-waiting-phase3";
2266 action: STATE_SET "default" 0.0;
2267 transition: ACCELERATE 0.3;
2268 target: "clipper.waiting-hidden";
2272 name: "show-waiting-phase1";
2273 signal: "show,waiting";
2275 action: STATE_SET "alternate" 0.0;
2276 transition: ACCELERATE 0.3;
2277 target: "clipper.waiting-hidden";
2278 after: "show-waiting-phase2";
2279 api: "waiting_show" "make waiting popup visible";
2282 name: "show-waiting-phase2";
2283 action: STATE_SET "alternate" 0.0;
2284 transition: ACCELERATE 0.3;
2285 target: "area.waiting";
2286 after: "show-waiting-phase3";
2289 name: "show-waiting-phase3";
2290 action: STATE_SET "alternate" 0.0;
2291 transition: ACCELERATE 0.3;
2292 target: "clipper.waiting-visible";
2296 signal: "enable,merge";
2298 action: STATE_SET "hidden" 0.0;
2299 target: "button.hold-answer";
2300 target: "clipper.hold-answer";
2303 signal: "disable,merge";
2305 action: STATE_SET "default" 0.0;
2306 target: "button.hold-answer";
2307 target: "clipper.hold-answer";
2317 name: "elm/layout/dialer/activecall";
2320 * Represents the active call in the other screens (not callscreen)
2323 * TEXT: elm.text.name
2324 * TEXT: elm.text.phone.type
2325 * TEXT: elm.text.status
2326 * TEXT: elm.text.elapsed
2328 * Emit (source is "call"):
2330 * Listen (source is "call"):
2331 * show,multiparty: active call is multiparty
2332 * hide,multiparty: active call is not multiparty
2333 * state,<STATE>: state changed to <STATE>
2335 * Where <STATE> is: disconnected, active, held, dialing, alerting,
2336 * incoming, waiting.
2345 state: "default" 0.0;
2346 color: 255 255 255 255;
2347 color_class: "action";
2348 max: 99999 (ACTION_HEIGHT / 2);
2349 min: 0 (ACTION_HEIGHT / 2);
2356 signal: "mouse,clicked,1";
2358 action: SIGNAL_EMIT "clicked" "call";
2363 name: "elm.text.name";
2367 state: "default" 0.0;
2368 color: 255 255 255 255;
2369 color_class: "dark";
2371 offset: BORDER_PADDING 0;
2375 to_x: "elm.text.elapsed";
2377 offset: (-ITEM_PADDING - 1) -1;
2380 text: "Gustavo Barbieri";
2390 name: "elm.text.elapsed";
2394 state: "default" 0.0;
2395 color: 255 255 255 255;
2396 color_class: "dark";
2401 offset: (-BORDER_PADDING - 1) 0;
2405 offset: (-BORDER_PADDING - 1) -1;
2421 name: "elm/icon/multiparty/default";
2424 image: "ico_multiparty.png" COMP;
2432 state: "default" 0.0;
2434 color_class: "action";
2435 aspect_preference: BOTH;
2436 image.normal: "ico_multiparty.png";