1 #include "w-input-stt-button.edc"
3 #define VOICE_CANDIDATE_AREA_HEIGHT 56
13 param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP";
14 /* 2014.06.11 updated from libsvi(feedback)
15 Above plugin will run below external function:
16 int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
18 param1: feedback_type_e
19 FEEDBACK_TYPE_NONE = 0,
20 FEEDBACK_TYPE_SOUND = 1,
21 FEEDBACK_TYPE_VIBRATION,
26 FEEDBACK_PATTERN_TAP = 0,
28 FEEDBACK_PATTERN_SIP_BACKSPACE,
29 FEEDBACK_PATTERN_SIP_FUNCTION,
30 FEEDBACK_PATTERN_SIP_FJKEY,
33 * Fore information, please refer the libsvi libraries.
34 * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi
35 * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi
41 param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP";
47 image, "./bg/B13_mic_bg.png" COMP;
48 image, "./icon/B13_mic.png" COMP;
49 image, "./icon/B13_mic_Que.png" COMP;
50 image, "./icon/B13_mic_Que_01.png" COMP;
51 image, "./icon/B13_mic_procecessing_bg.png" COMP;
52 image, "./text_downdrop.#.png" COMP;
53 image, "./text_downdrop_press.#.png" COMP;
55 image, "./input_ic_voice_mic.png" COMP;
56 image, "./w_sip_mask_bg.png" COMP;
57 image, "./tw_bottom_btn_bg.png" COMP;
59 image, "./w_mode_ic_bg.png" COMP;
61 image, "./b_stt_text_fade_out.png" COMP;
62 image, "./b_stt_icon_btn.png" COMP;
63 image, "./b_stt_confirm_icon.png" COMP;
64 image, "./b_stt_send_icon.png" COMP;
152 color: 163 163 163 100;
162 color: 163 163 163 100;
167 color: 110 110 110 100;
177 color: 110 110 110 100;
182 color: 122 122 122 100;
192 color: 122 122 122 100;
302 color: 102 102 102 100;
388 color: 128 128 128 100;
439 style { name, "textblock_style";
440 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
443 tag, "hilight" "+ font=Tizen:style=Bold";
444 tag, "b" "+ font=Tizen:style=Bold";
447 style { name, "textblock_style_bottom";
448 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
451 tag, "hilight" "+ font=Tizen:style=Bold";
452 tag, "b" "+ font=Tizen:style=Bold";
469 state, "default" 0.0;
479 color_class, "AO0118";
489 state, "default" 0.0;
511 state, "default" 0.0;
532 name, "left_panel_area";
536 state, "default" 0.0;
559 state, "default" 0.0;
572 image.normal, "./tw_bottom_btn_bg.png";
573 color: 128 128 128 128;
577 state, "pressed" 0.0;
578 inherit, "default" 0.0;
579 color: 128 128 128 128;
584 inherit, "default" 0.0;
585 color: 128 128 128 128;
591 name, "EFFECT_BG_AREA";
595 state, "default" 0.0;
619 state, "default" 0.0;
624 to, "EFFECT_BG_AREA";
629 to, "EFFECT_BG_AREA";
634 state, "default" 0.1;
635 inherit, "default" 0.0;
648 state, "default" 0.0;
653 relative, 155/360 26/100;
658 relative, 205/360 76/100;
661 image.normal, "./input_ic_voice_mic.png";
665 state, "recording" 0.0;
666 inherit, "default" 0.0;
671 state, "processing" 0.0;
672 inherit, "default" 0.0;
677 state, "message" 0.0;
678 inherit, "default" 0.0;
681 relative, 155/360 41/100;
686 relative, 205/360 91/100;
695 //Part for mic button
703 state, "default" 0.0;
709 relative, 35/360 0.0;
714 relative, 325/360 1.0;
721 name, "PROGRESS_BAR";
726 state, "default" 0.0;
732 relative, 155/360 27/100;
737 relative, 205/360 77/100;
743 state, "message" 0.0;
744 inherit, "default" 0.0;
748 state, "processing" 0.0;
749 inherit, "default" 0.0;
756 name, "guide_text_block";
760 state, "default" 0.0;
764 relative, 39/360 140/360;
769 relative, (360-39)/360 (140+42)/360;
779 relative, 74/360 (360-91)/360;
784 relative, (360-74)/360 (360-57)/360;
798 state, "default" 0.0;
801 rel1.to, "guide_text_block";
802 rel2.to, "guide_text_block";
806 style, "textblock_style";
808 color, 120 120 120 120;
813 inherit, "default" 0.0;
817 style, "textblock_style_bottom";
819 color, 120 120 120 120;
828 name, "initial_view";
829 signal, "mouse,clicked,1";
830 source, "background";
832 after, "emit_signal1";
837 name, "emit_signal1";
838 action, SIGNAL_EMIT "idle,state,pulse,visible" "";
844 signal, "elm,state,listening";
846 action, STATE_SET "recording" 0.0;
852 name, "start_processing";
853 signal, "elm,state,processing";
855 action, STATE_SET "processing" 0.0;
856 target, "PROGRESS_BAR";
858 transition, DECELERATE 0.3;
864 signal, "elm,state,init";
866 action, STATE_SET "default" 0.0;
867 target, "PROGRESS_BAR";
869 transition, DECELERATE 0.3;
873 name, "idle_message";
874 signal, "elm,state,init_message";
876 action, STATE_SET "message" 0.0;
877 target, "PROGRESS_BAR";
884 signal, "idle,state,text,visible";
886 action, STATE_SET "expand" 0.0;
893 signal, "idle,state,text,hidden";
895 action, STATE_SET "default" 0.0;
900 name, "show_effect_part";
901 signal, "elm,state,eq,show";
903 action, STATE_SET "default" 0.1;
909 name, "hide_effect_part";
910 signal, "elm,state,eq,hide";
912 action, STATE_SET "default" 0.0;
918 name, "guide_text_up";
919 signal, "idle,state,guide_text,up";
921 action, STATE_SET "default" 0.0;
922 target, "guide_text_block";
926 name, "guide_text_bottom";
927 signal, "idle,state,guide_text,bottom";
929 action, STATE_SET "bottom" 0.0;
930 target, "guide_text_block";
939 name: "option_more_index";
949 state: "default" 0.0;
961 state: "default" 0.0;
973 state: "default" 0.0;
979 rel1.relative: 0.0 0.0;
981 rel2.relative: 1.0 0.0;
989 name, "language_list";
999 state, "default" 0.0;
1021 state, "default" 0.0;
1038 name: "layout_textblock";
1041 public timer_cb(val) {
1042 run_program(PROGRAM:"do_scroll");
1054 state, "default" 0.0;
1066 part { name: "elm.swallow.content";
1069 description { state: "default" 0.0;
1071 color, 120 120 120 120;
1079 signal, "scrolling";
1082 timer(3/10, "timer_cb", 0);
1088 action, SIGNAL_EMIT "do_scroll" "entry";
1093 group{ name: "entry_focused_layout";
1102 state, "default" 0.0;
1112 color, 120 120 120 120;
1115 part { name: "padding_top";
1119 state: "default" 0.0;
1121 rel1.relative: 0.0 0.0;
1122 rel2.relative: 1.0 0.0;
1127 part { name: "padding_left";
1131 state: "default" 0.0;
1133 rel1.relative: 0.0 0.0;
1134 rel2.relative: 0.0 1.0;
1139 part { name: "padding_right";
1143 state: "default" 0.0;
1145 rel1.relative: 1.0 0.0;
1146 rel2.relative: 1.0 1.0;
1156 state: "default" 0.0;
1157 rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1158 rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1169 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1172 name: "elm/progressbar/horizontal/voice_input/process/small";
1174 image: "style/tw_loading_small_00.png" COMP;
1175 image: "style/tw_loading_small_01.png" COMP;
1176 image: "style/tw_loading_small_02.png" COMP;
1177 image: "style/tw_loading_small_03.png" COMP;
1178 image: "style/tw_loading_small_04.png" COMP;
1179 image: "style/tw_loading_small_05.png" COMP;
1180 image: "style/tw_loading_small_06.png" COMP;
1181 image: "style/tw_loading_small_07.png" COMP;
1182 image: "style/tw_loading_small_08.png" COMP;
1183 image: "style/tw_loading_small_09.png" COMP;
1184 image: "style/tw_loading_small_10.png" COMP;
1185 image: "style/tw_loading_small_11.png" COMP;
1186 image: "style/tw_loading_small_12.png" COMP;
1187 image: "style/tw_loading_small_13.png" COMP;
1188 image: "style/tw_loading_small_14.png" COMP;
1189 image: "style/tw_loading_small_15.png" COMP;
1190 image: "style/tw_loading_small_16.png" COMP;
1191 image: "style/tw_loading_small_17.png" COMP;
1192 image: "style/tw_loading_small_18.png" COMP;
1193 image: "style/tw_loading_small_19.png" COMP;
1194 image: "style/tw_loading_small_20.png" COMP;
1195 image: "style/tw_loading_small_21.png" COMP;
1196 image: "style/tw_loading_small_22.png" COMP;
1197 image: "style/tw_loading_small_23.png" COMP;
1198 image: "style/tw_loading_small_24.png" COMP;
1199 image: "style/tw_loading_small_25.png" COMP;
1200 image: "style/tw_loading_small_26.png" COMP;
1201 image: "style/tw_loading_small_27.png" COMP;
1202 image: "style/tw_loading_small_28.png" COMP;
1203 image: "style/tw_loading_small_29.png" COMP;
1204 image: "style/tw_loading_small_30.png" COMP;
1205 image: "style/tw_loading_small_31.png" COMP;
1206 image: "style/tw_loading_small_32.png" COMP;
1207 image: "style/tw_loading_small_33.png" COMP;
1208 image: "style/tw_loading_small_34.png" COMP;
1209 image: "style/tw_loading_small_35.png" COMP;
1210 image: "style/tw_loading_small_36.png" COMP;
1211 image: "style/tw_loading_small_37.png" COMP;
1212 image: "style/tw_loading_small_38.png" COMP;
1213 image: "style/tw_loading_small_39.png" COMP;
1214 image: "style/tw_loading_small_40.png" COMP;
1215 image: "style/tw_loading_small_41.png" COMP;
1216 image: "style/tw_loading_small_42.png" COMP;
1217 image: "style/tw_loading_small_43.png" COMP;
1218 image: "style/tw_loading_small_44.png" COMP;
1219 image: "style/tw_loading_small_45.png" COMP;
1220 image: "style/tw_loading_small_46.png" COMP;
1221 image: "style/tw_loading_small_47.png" COMP;
1222 image: "style/tw_loading_small_48.png" COMP;
1223 image: "style/tw_loading_small_49.png" COMP;
1224 image: "style/tw_loading_small_50.png" COMP;
1225 image: "style/tw_loading_small_51.png" COMP;
1226 image: "style/tw_loading_small_52.png" COMP;
1227 image: "style/tw_loading_small_53.png" COMP;
1228 image: "style/tw_loading_small_54.png" COMP;
1229 image: "style/tw_loading_small_55.png" COMP;
1230 image: "style/tw_loading_small_56.png" COMP;
1231 image: "style/tw_loading_small_57.png" COMP;
1232 image: "style/tw_loading_small_58.png" COMP;
1233 image: "style/tw_loading_small_59.png" COMP;
1234 image: "style/tw_loading_small_60.png" COMP;
1235 image: "style/tw_loading_small_61.png" COMP;
1236 image: "style/tw_loading_small_62.png" COMP;
1237 image: "style/tw_loading_small_63.png" COMP;
1238 image: "style/tw_loading_small_64.png" COMP;
1246 state: "default" 0.0;
1252 name: "elm.background.progressbar";
1257 state: "default" 0.0;
1264 clip_to: "elm.background.progressbar";
1266 state: "default" 0.0;
1267 min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1268 max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1271 aspect_preference: BOTH;
1272 image.normal: "style/tw_loading_small_00.png";
1273 image.tween: "style/tw_loading_small_01.png";
1274 image.tween: "style/tw_loading_small_02.png";
1275 image.tween: "style/tw_loading_small_03.png";
1276 image.tween: "style/tw_loading_small_04.png";
1277 image.tween: "style/tw_loading_small_05.png";
1278 image.tween: "style/tw_loading_small_06.png";
1279 image.tween: "style/tw_loading_small_07.png";
1280 image.tween: "style/tw_loading_small_08.png";
1281 image.tween: "style/tw_loading_small_09.png";
1282 image.tween: "style/tw_loading_small_10.png";
1283 image.tween: "style/tw_loading_small_11.png";
1284 image.tween: "style/tw_loading_small_12.png";
1285 image.tween: "style/tw_loading_small_13.png";
1286 image.tween: "style/tw_loading_small_14.png";
1287 image.tween: "style/tw_loading_small_15.png";
1288 image.tween: "style/tw_loading_small_16.png";
1289 image.tween: "style/tw_loading_small_17.png";
1290 image.tween: "style/tw_loading_small_18.png";
1291 image.tween: "style/tw_loading_small_19.png";
1292 image.tween: "style/tw_loading_small_20.png";
1293 image.tween: "style/tw_loading_small_21.png";
1294 image.tween: "style/tw_loading_small_22.png";
1295 image.tween: "style/tw_loading_small_23.png";
1296 image.tween: "style/tw_loading_small_24.png";
1297 image.tween: "style/tw_loading_small_25.png";
1298 image.tween: "style/tw_loading_small_26.png";
1299 image.tween: "style/tw_loading_small_27.png";
1300 image.tween: "style/tw_loading_small_28.png";
1301 image.tween: "style/tw_loading_small_29.png";
1302 image.tween: "style/tw_loading_small_30.png";
1303 image.tween: "style/tw_loading_small_31.png";
1304 image.tween: "style/tw_loading_small_32.png";
1305 image.tween: "style/tw_loading_small_33.png";
1306 image.tween: "style/tw_loading_small_34.png";
1307 image.tween: "style/tw_loading_small_35.png";
1308 image.tween: "style/tw_loading_small_36.png";
1309 image.tween: "style/tw_loading_small_37.png";
1310 image.tween: "style/tw_loading_small_38.png";
1311 image.tween: "style/tw_loading_small_39.png";
1312 image.tween: "style/tw_loading_small_40.png";
1313 image.tween: "style/tw_loading_small_41.png";
1314 image.tween: "style/tw_loading_small_42.png";
1315 image.tween: "style/tw_loading_small_43.png";
1316 image.tween: "style/tw_loading_small_44.png";
1317 image.tween: "style/tw_loading_small_45.png";
1318 image.tween: "style/tw_loading_small_46.png";
1319 image.tween: "style/tw_loading_small_47.png";
1320 image.tween: "style/tw_loading_small_48.png";
1321 image.tween: "style/tw_loading_small_48.png";
1322 image.tween: "style/tw_loading_small_49.png";
1323 image.tween: "style/tw_loading_small_50.png";
1324 image.tween: "style/tw_loading_small_51.png";
1325 image.tween: "style/tw_loading_small_52.png";
1326 image.tween: "style/tw_loading_small_53.png";
1327 image.tween: "style/tw_loading_small_54.png";
1328 image.tween: "style/tw_loading_small_55.png";
1329 image.tween: "style/tw_loading_small_56.png";
1330 image.tween: "style/tw_loading_small_57.png";
1331 image.tween: "style/tw_loading_small_58.png";
1332 image.tween: "style/tw_loading_small_59.png";
1333 image.tween: "style/tw_loading_small_60.png";
1334 image.tween: "style/tw_loading_small_61.png";
1335 image.tween: "style/tw_loading_small_62.png";
1336 image.tween: "style/tw_loading_small_63.png";
1337 image.tween: "style/tw_loading_small_64.png";
1338 color: 128 128 128 128;
1344 name: "start_pulse";
1345 signal: "elm,state,pulse,start";
1347 action: STATE_SET "default" 0.0;
1349 transition: LINEAR 1.8;
1350 after: "start_pulse";
1354 signal: "elm,state,pulse,stop";
1356 action: ACTION_STOP;
1357 target: "start_pulse";
1358 after: "init_pulse";
1360 program { name: "init_pulse";
1361 action: STATE_SET "default" 0.0;
1368 #define BUTTON_PADDING_SIZE_INC 20 0
1369 #define BUTTON_HEIGHT_INC 122
1370 #define BUTTON_ICON_SIZE_INC 60 60
1371 group { name: "elm/button/base/default";
1373 public mouse_down = 0;
1374 public multi_down = 0;
1380 description { state: "default" 0.0;
1381 min: 0 BUTTON_HEIGHT_INC;
1382 color: 128 128 128 128;
1384 description { state: "pressed" 0.0;
1385 inherit: "default" 0.0;
1386 color: 128 128 128 128;
1388 description { state: "disabled" 0.0;
1389 inherit: "default" 0.0;
1390 color: 128 128 128 128;
1393 part { name: "padding_left_top";
1396 description { state: "default" 0.0;
1398 rel2.relative: 0.0 0.0;
1399 min: BUTTON_PADDING_SIZE_INC;
1403 part { name: "padding_right_bottom";
1406 description { state: "default" 0.0;
1408 rel1.relative: 1.0 1.0;
1409 min: BUTTON_PADDING_SIZE_INC;
1413 part { name: "icon_rect";
1416 description { state: "default" 0.0;
1420 to: "padding_left_top";
1424 to_x: "padding_left_top";
1425 to_y: "padding_right_bottom";
1430 description { state: "visible" 0.0;
1431 inherit: "default" 0.0;
1432 min: BUTTON_ICON_SIZE_INC;
1433 max: BUTTON_ICON_SIZE_INC;
1437 part { name: "elm.swallow.content";
1439 clip_to: "elm.swallow.content.clip";
1441 description { state: "default" 0.0;
1446 to: "padding_left_top";
1450 to_x: "padding_left_top";
1451 to_y: "padding_right_bottom";
1455 description { state: "visible" 0.0;
1457 min: BUTTON_ICON_SIZE_INC;
1458 max: BUTTON_ICON_SIZE_INC;
1463 to_y: "padding_left_top";
1468 to_y: "padding_right_bottom";
1471 description { state: "icononly" 0.0;
1472 min: BUTTON_ICON_SIZE_INC;
1473 max: BUTTON_ICON_SIZE_INC;
1476 part { name: "elm.text";
1480 description { state: "default" 0.0;
1485 to_y: "padding_left_top";
1489 to: "padding_right_bottom";
1493 style: "button_general_text_normal";
1496 description { state: "disabled" 0.0;
1497 inherit: "default" 0.0;
1498 text.style: "button_general_text_dim";
1500 description { state: "pressed" 0.0;
1501 inherit: "default" 0.0;
1502 text.style: "button_general_text_press";
1505 part { name: "elm.swallow.content.clip";
1508 description { state: "default" 0.0;
1509 color: 128 128 128 128;
1511 description { state: "disabled" 0.0;
1512 inherit: "default" 0.0;
1513 color: 128 128 128 128;
1516 part { name: "event";
1519 description { state: "default" 0.0;
1527 program { name: "pressed";
1528 signal: "mouse,down,1*";
1531 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1533 set_int(mouse_down, 1);
1534 run_program(PROGRAM:"button_press1");
1538 program { name: "button_press1";
1542 get_state(PART:"bg", st, 30, vl);
1543 if (strcmp(st, "disabled")) {
1544 set_state(PART:"bg", "pressed", 0.0);
1545 set_state(PART:"elm.text", "pressed", 0.0);
1546 emit("elm,action,press", "");
1550 program { name: "unpressed";
1551 signal: "mouse,up,1";
1554 if (get_int(mouse_down) == 1) {
1555 set_int(mouse_down, 0);
1556 run_program(PROGRAM:"button_unpress1");
1560 program { name: "button_unpress1";
1564 get_state(PART:"bg", st, 30, vl);
1565 if (strcmp(st, "disabled")) {
1566 set_state(PART:"bg", "default", 0.0);
1567 set_state(PART:"elm.text", "default", 0.0);
1568 emit("elm,action,unpress", "");
1572 program { name: "touch_snd";
1573 signal: "mouse,clicked,1";
1578 if (get_int(multi_down) == 0) {
1579 get_state(PART:"bg", st, 30, vl);
1580 if (strcmp(st, "disabled")) {
1581 //run_program(PROGRAM:"play_sample");
1582 emit("elm,action,click", "");
1588 name: "play_sample";
1589 action: RUN_PLUGIN "touch_sound";
1591 program { name: "text_show";
1592 signal: "elm,state,text,visible";
1597 get_state(PART:"elm.swallow.content", st, 30, vl);
1598 if (!strcmp(st, "icononly"))
1600 set_state(PART:"elm.swallow.content", "visible", 0.0);
1601 set_state(PART:"icon_rect", "visible", 0.0);
1603 get_state(PART:"bg", st, 30, vl);
1604 if (strcmp(st, "disabled"))
1605 set_state(PART:"elm.text", "default", 0.0);
1607 set_state(PART:"elm.text", "disabled", 0.0);
1610 program { name: "text_hide";
1611 signal: "elm,state,text,hidden";
1616 get_state(PART:"elm.swallow.content", st, 30, vl);
1617 if (!strcmp(st, "visible"))
1619 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1620 set_state(PART:"icon_rect", "default", 0.0);
1622 set_state(PART:"elm.text", "default", 0.0);
1625 program { name: "icon_show";
1626 signal: "elm,state,icon,visible";
1628 action: STATE_SET "visible" 0.0;
1629 target: "elm.swallow.content";
1630 target: "icon_rect";
1632 program { name: "icon_hide";
1633 signal: "elm,state,icon,hidden";
1635 action: STATE_SET "default" 0.0;
1636 target: "elm.swallow.content";
1637 target: "icon_rect";
1639 program { name: "disable";
1640 signal: "elm,state,disabled";
1642 action: STATE_SET "disabled" 0.0;
1644 target: "elm.swallow.content.clip";
1647 program { name: "enable";
1648 signal: "elm,state,enabled";
1650 action: STATE_SET "default" 0.0;
1652 target: "elm.swallow.content.clip";
1655 program { name: "multi_down";
1656 signal: "elm,action,multi,down";
1659 set_int(multi_down, 1);
1662 program { name: "multi_up";
1663 signal: "elm,action,multi,up";
1666 set_int(multi_down, 0);
1672 group { name: "elm/button/base/ime_transparent";
1673 inherit: "elm/button/base/default";
1678 description { state: "default" 0.0;
1682 description { state: "pressed" 0.0;
1683 inherit: "default" 0.0;
1685 description { state: "disabled" 0.0;
1686 inherit: "default" 0.0;
1692 group { name: "elm/button/base/ime_button";
1693 alias: "elm/button/base/ime_button_stt";
1694 inherit: "elm/button/base/default";
1699 description { state: "default" 0.0;
1701 color_class: "AO01153L1";
1703 image.normal: "./w_mode_ic_bg.png";
1705 description { state: "pressed" 0.0;
1706 inherit: "default" 0.0;
1707 color_class: "AO01153L1P";
1709 description { state: "disabled" 0.0;
1710 inherit: "default" 0.0;
1711 color: 128 128 128 128;
1714 part { name: "elm.swallow.content";
1717 clip_to: "elm.swallow.content.clip";
1718 description { state: "default" 0.0;
1721 rel1 { relative: 0.0 0.0; to: "bg";}
1722 rel2 { relative: 1.0 1.0; to: "bg";}
1725 description { state: "visible" 0.0;
1726 inherit: "default" 0.0;
1729 description { state: "icononly" 0.0;
1730 inherit: "default" 0.0;
1734 part { name: "elm.swallow.content.clip";
1737 description { state: "default" 0.0;
1738 color_class: "AO01153L3";
1740 description { state: "pressed" 0.0;
1741 inherit: "default" 0.0;
1742 color_class: "AO01153L3P";
1744 description { state: "disabled" 0.0;
1745 inherit: "default" 0.0;
1746 color: 128 128 128 128;
1749 part { name: "elm.swallow.content_ef";
1752 description { state: "default" 0.0;
1755 rel1 { relative: 0.0 0.0; to: "bg";}
1756 rel2 { relative: 1.0 1.0; to: "bg";}
1762 program { name: "pressed";
1763 signal: "mouse,down,1*";
1766 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1768 set_int(mouse_down, 1);
1769 run_program(PROGRAM:"button_press1");
1773 program { name: "button_press1";
1777 get_state(PART:"bg", st, 30, vl);
1778 if (strcmp(st, "disabled")) {
1779 set_state(PART:"bg", "pressed", 0.0);
1780 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1781 emit("elm,action,press", "");
1785 program { name: "unpressed";
1786 signal: "mouse,up,1";
1789 if (get_int(mouse_down) == 1) {
1790 set_int(mouse_down, 0);
1791 run_program(PROGRAM:"button_unpress1");
1795 program { name: "button_unpress1";
1799 get_state(PART:"bg", st, 30, vl);
1800 if (strcmp(st, "disabled")) {
1801 set_state(PART:"bg", "default", 0.0);
1802 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1803 emit("elm,action,unpress", "");
1810 group { name: "elm/button/base/ime_button_emoticon";
1811 inherit: "elm/button/base/ime_button";
1816 description { state: "default" 0.0;
1818 color_class: "AO01154L1";
1820 image.normal: "./w_mode_ic_bg.png";
1822 description { state: "pressed" 0.0;
1823 inherit: "default" 0.0;
1824 color_class: "AO01154L1P";
1826 description { state: "disabled" 0.0;
1827 inherit: "default" 0.0;
1828 color: 128 128 128 128;
1834 group { name: "elm/button/base/ime_button_keyboard";
1835 inherit: "elm/button/base/ime_button";
1840 description { state: "default" 0.0;
1842 color_class: "AO01155L1";
1844 image.normal: "./w_mode_ic_bg.png";
1846 description { state: "pressed" 0.0;
1847 inherit: "default" 0.0;
1848 color_class: "AO01155L1P";
1850 description { state: "disabled" 0.0;
1851 inherit: "default" 0.0;
1852 color: 128 128 128 128;
1858 group { name: "elm/button/base/ime_button_template";
1859 inherit: "elm/button/base/ime_button";
1864 description { state: "default" 0.0;
1867 color_class: "AO01161";
1869 image.normal: "./w_mode_ic_bg.png";
1871 description { state: "pressed" 0.0;
1872 inherit: "default" 0.0;
1873 color_class: "AO01161P";
1875 description { state: "disabled" 0.0;
1876 inherit: "default" 0.0;
1877 color_class: "AO01161D";
1880 part { name: "elm.swallow.content.clip";
1883 description { state: "default" 0.0;
1884 color_class: "AO0116";
1886 description { state: "pressed" 0.0;
1887 inherit: "default" 0.0;
1888 color_class: "AO0116P";
1890 description { state: "disabled" 0.0;
1891 inherit: "default" 0.0;
1892 color_class: "AO0116D";
1898 group { name: "elm/button/base/ime_button_stt_confirm";
1899 inherit: "elm/button/base/ime_button";
1904 description { state: "default" 0.0;
1906 color_class: "AO015L2";
1908 image.normal: "./b_stt_icon_btn.png";
1910 description { state: "pressed" 0.0;
1911 inherit: "default" 0.0;
1912 color_class: "AO015L2P";
1914 description { state: "disabled" 0.0;
1915 inherit: "default" 0.0;
1916 color_class: "AO015L2D";
1919 part { name: "elm.swallow.content.clip";
1922 description { state: "default" 0.0;
1923 color_class: "AO015L2";
1925 description { state: "pressed" 0.0;
1926 inherit: "default" 0.0;
1927 color_class: "AO015L2P";
1929 description { state: "disabled" 0.0;
1930 inherit: "default" 0.0;
1931 color_class: "AO015L2D";
1937 group { name: "elm/button/base/touch_area";
1938 inherit: "elm/button/base/default";
1943 description { state: "default" 0.0;
1948 description { state: "pressed" 0.0;
1949 inherit: "default" 0.0;
1951 description { state: "disabled" 0.0;
1952 inherit: "default" 0.0;
1957 program { name: "touch_snd";
1958 signal: "mouse,clicked,1";
1963 if (get_int(multi_down) == 0) {
1964 get_state(PART:"bg", st, 30, vl);
1965 if (strcmp(st, "disabled")) {
1966 run_program(PROGRAM:"play_sample");
1967 emit("elm,action,click", "");
1975 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
1976 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
1977 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
1978 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
1979 #define ACTIONBAR_PADDING_SIZE_INC 64
1980 #define ACTIONBAR_HEIGHT_INC 115
1981 #define ACTIONBAR_TEXT_SIZE_INC 39
1982 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
1983 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
1984 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
1985 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
1986 #define HIDDEN_BUTTON_HEIGHT_INC 88
1988 #define STYLE_TAG_MATCH \
1989 tag: "match" "+ color=#ffffff color_class=T0212";
1992 style { name: "action_bar_title";
1993 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
1998 group { name: "elm_naviframe_item_basic_customized";
1999 data.item: "tizen_zoom" 1;
2001 public g_mirrored = 0; //Mirrored on/off status
2002 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
2004 public g_duration_1st;
2005 public g_duration_2nd;
2008 public g_sliding_start;
2010 public title_text_fade_out() {
2013 if (get_int(g_text_fade_out_calc_timer)) {
2014 cancel_timer(g_text_fade_out_calc_timer);
2015 set_int(g_text_fade_out_calc_timer, 0);
2018 get_geometry(PART:"elm.text.title", x, y, w, h);
2019 get_geometry(PART:"title_text_bg", x, y, w2, h);
2024 set_float(g_duration_1st, 0);
2025 set_float(g_duration_2nd, 0);
2026 set_int(g_timer_id, 0);
2027 set_int(g_anim_id, 0);
2028 set_int(g_sliding_start, 0);
2030 public slide_first_anim(val, Float:pos) {
2031 set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2033 cancel_anim(get_int(g_anim_id));
2034 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2037 public slide_second_anim(val, Float:pos) {
2038 set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2042 public slide_first() {
2044 if (get_int(g_sliding_start)) {
2045 set_state(PART:"elm.text.title", "slide", 0.0);
2047 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2050 public slide_start() {
2051 set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2053 public slide_stop() {
2054 cancel_anim(get_int(g_anim_id));
2055 set_state(PART:"elm.text.title", "default", 0.0);
2056 set_int(g_sliding_start, 0);
2058 public check_size() {
2060 get_geometry(PART:"elm.text.title", x, y, w, h);
2061 get_geometry(PART:"title_text_clip", x, y, w1, h);
2063 set_int(g_sliding_start, 1);
2066 set_int(g_sliding_start, 0);
2069 public get_duration() {
2071 get_geometry(PART:"elm.text.title", x, y, w, h);
2072 get_geometry(PART:"title_text_clip", x, y, w1, h);
2073 set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2074 set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2078 part { name: "clipper";
2080 description { state: "default" 0.0;
2083 description { state: "hide" 0.0;
2087 part { name: "base";
2092 description { state: "default" 0.0;
2093 color: 128 128 128 128;
2096 part { name: "title_expand";
2101 description { state: "default" 0.0;
2102 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2103 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2107 color: 255 255 255 0;
2108 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2109 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2111 description { state: "show" 0.0;
2112 inherit: "default" 0.0;
2117 part { name: "title_clip";
2120 description { state: "default" 0.0;
2122 rel1.to: "title_bg";
2123 rel2.to: "title_bg";
2125 description { state: "hide" 0.0;
2126 inherit: "default" 0.0;
2130 part { name: "title_bg";
2133 clip_to: "title_clip";
2134 description { state: "default" 0.0;
2135 min: 0 ACTIONBAR_HEIGHT_INC;
2136 max: -1 ACTIONBAR_HEIGHT_INC;
2139 rel1 { relative: 0.0 0.0; to: "base"; }
2140 rel2 { relative: 1.0 0.0; to: "base"; }
2141 color: 255 255 255 0;
2143 description { state: "hide_trans" 0.0;
2144 inherit: "default" 0.0;
2147 description { state: "hide" 0.0;
2148 inherit: "default" 0.0;
2153 part { name: "title_text_bg";
2156 description { state: "default" 0.0;
2157 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2158 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2162 part { name: "title_text_clip";
2165 clip_to: "title_clip";
2166 description { state: "default" 0.0;
2167 rel1.to: "title_text_bg";
2168 rel2.to: "title_text_bg";
2171 part { name: "elm.text.title";
2174 clip_to: "title_text_clip";
2175 description { state: "default" 0.0;
2180 // fade_ellipsis: 1.0;
2181 style: "action_bar_title";
2185 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2187 description { state: "slide" 0.0;
2188 inherit: "default" 0.0;
2192 to_x: "left_padding";
2193 to_y: "top_padding";
2197 to_x: "left_padding";
2198 to_y: "bottom_padding";
2202 description { state: "slide_1" 0.0;
2203 inherit: "default" 0.0;
2207 to_x: "left_padding";
2208 to_y: "top_padding";
2212 to_x: "left_padding";
2213 to_y: "bottom_padding";
2217 description { state: "slide_2" 0.0;
2218 inherit: "default" 0.0;
2222 to_x: "right_padding";
2223 to_y: "top_padding";
2227 to_x: "right_padding";
2228 to_y: "bottom_padding";
2233 part { name: "left_padding";
2236 description { state: "default" 0.0;
2237 min: ACTIONBAR_PADDING_SIZE_INC 0;
2238 max: ACTIONBAR_PADDING_SIZE_INC -1;
2241 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2242 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2245 part { name: "right_padding";
2248 description { state: "default" 0.0;
2249 min: ACTIONBAR_PADDING_SIZE_INC 0;
2250 max: ACTIONBAR_PADDING_SIZE_INC -1;
2253 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2254 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2257 part { name: "click_event_area";
2259 ignore_flags: ON_HOLD;
2260 description { state: "default" 0.0;
2261 rel1 { to: "title_bg"; }
2262 rel2 { to: "title_bg"; }
2266 part { name: "access.title";
2269 description { state: "default" 0.0;
2270 rel1.to: "title_bg";
2271 rel2.to: "title_bg";
2275 part { name: "top_padding";
2278 description { state: "default" 0.0;
2281 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2282 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2283 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2284 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2287 part { name: "bottom_padding";
2290 description { state: "default" 0.0;
2293 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2294 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2295 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2296 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2299 part { name: "elm.swallow.content";
2304 description { state: "default" 0.0;
2305 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2306 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2309 part { name: "elm.swallow.circle_bg";
2314 description { state: "default" 0.0; }
2316 part { name: "elm.swallow.circle";
2321 description { state: "default" 0.0; }
2323 part { name: "button_padding";
2326 description { state: "default" 0.0;
2331 rel1 {relative: 0.0 1.0; to: "base"; }
2332 rel2 {relative: 1.0 1.0; to: "base"; }
2337 program { name: "visible";
2338 signal: "elm,state,visible";
2341 set_state(PART:"base", "default", 0.0);
2342 set_state(PART:"clipper", "default", 0.0);
2345 run_program(PROGRAM:"title_text_fade_out");
2348 program { name: "invisible";
2349 signal: "elm,state,invisible";
2352 set_state(PART:"clipper", "hide", 0.0);
2355 program { name: "title_hide";
2356 signal: "elm,state,title,hide";
2359 set_state(PART:"title_bg", "hide", 0.0);
2360 set_state(PART:"title_clip", "hide", 0.0);
2363 program { name: "title_hide_trans";
2364 signal: "elm,action,title,hide";
2369 get_state(PART:"title_bg", st, 32, vl);
2370 if (!strcmp(st, "default")) {
2371 run_program(PROGRAM:"title_hide_trans2");
2375 program { name: "title_hide_trans2";
2376 action: STATE_SET "hide_trans" 0.0;
2378 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2379 after: "title_hide_trans3";
2381 program { name: "title_hide_trans3";
2383 run_program(PROGRAM:"title_hide");
2385 after: "title_trans_finished";
2387 program { name: "title_trans_finished";
2388 action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2390 program { name: "title_show";
2391 signal: "elm,state,title,show";
2394 set_state(PART:"title_bg", "default", 0.0);
2395 set_state(PART:"title_clip", "default", 0.0);
2396 run_program(PROGRAM:"title_text_fade_out");
2399 program { name: "title_show_trans";
2400 signal: "elm,action,title,show";
2405 get_state(PART:"title_bg", st, 32, vl);
2406 if (!strcmp(st, "hide")) {
2407 set_state(PART:"title_bg", "hide_trans", 0.0);
2408 set_state(PART:"title_clip", "default", 0.0);
2409 run_program(PROGRAM:"title_show_trans2");
2413 program { name: "title_show_trans2";
2414 action: STATE_SET "default" 0.0;
2416 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2417 after: "title_trans_finished";
2419 program { name: "title_label_show";
2420 signal: "elm,state,title_label,show";
2423 run_program(PROGRAM:"title_text_fade_out");
2426 program { name: "title_label_hide";
2427 signal: "elm,state,title_label,hide";
2430 program { name: "title_expand_show";
2431 signal: "elm,state,title_expand,show";
2434 set_state(PART:"title_expand", "show", 0.0);
2437 program { name: "title_expand_hide";
2438 signal: "elm,state,title_expand,hide";
2441 set_state(PART:"title_expand", "default", 0.0);
2444 program { name: "hidden_btn_show_trans";
2445 signal: "elm,action,title_expand,show";
2447 action: STATE_SET "show" 0.0;
2448 target: "title_expand";
2449 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2451 program { name: "title_expand_hide_trans";
2452 signal: "elm,action,title_expand,hide";
2454 action: STATE_SET "default" 0.0;
2455 target: "title_expand";
2456 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2458 program { name: "title_clicked";
2459 signal: "mouse,clicked,1";
2460 source: "click_event_area";
2461 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2464 name: "mirrored_on";
2465 signal: "edje,state,rtl";
2468 set_int(g_mirrored, 1);
2469 run_program(PROGRAM:"title_text_fade_out");
2473 name: "mirrored_off";
2474 signal: "edje,state,ltr";
2477 set_int(g_mirrored, 0);
2478 run_program(PROGRAM:"title_text_fade_out");
2482 name: "title_text_fade_out";
2484 if (get_int(g_text_fade_out_calc_timer)) {
2485 cancel_timer(g_text_fade_out_calc_timer);
2486 set_int(g_text_fade_out_calc_timer, 0);
2488 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2494 //////////////////////////////////////////////////////////////////////////////////
2495 // Customizing panel for send button.
2496 //////////////////////////////////////////////////////////////////////////////////
2498 // ***************************** Panel*****************************************/
2499 #define PANEL_LEFT_PADDING_SIZE_INC 8
2500 #define PANEL_RIGHT_PADDING_SIZE_INC 6
2501 #define PANEL_LEFT_IMAGE_SIZE_INC 29 36
2502 #define PANEL_RIGHT_IMAGE_SIZE_INC 16 36
2503 #define PANEL_RIGHT_CUE_SIZE_INC 32 158
2504 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158
2505 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140
2506 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140
2507 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200
2508 #define PANEL_LAYOUT_SIZE_INC 360 360
2511 image, "./b_more_option.png" COMP;
2512 image, "./b_more_option_ef.png" COMP;
2513 image, "./b_more_option_bg.png" COMP;
2514 image, "./b_ic_press_full_circle_bg.png" COMP;
2517 group { name: "elm/panel/right1/default";
2519 public mouse_down = 0;
2520 public mouse_click = 0;
2521 public multi_down = 0;
2522 public click_cnt = 0;
2523 public event_down = 0;
2524 public cue_hide = 0;
2525 public timer0(val) {
2527 run_program(PROGRAM:"change_opacity");
2529 run_program(PROGRAM:"change_opacity2");
2536 description { state: "default" 0.0;
2537 min: PANEL_LAYOUT_SIZE_INC;
2538 max: PANEL_LAYOUT_SIZE_INC;
2539 //color_class: "transparent";
2543 part { name: "cue.padding";
2545 description { state: "default" 0.0;
2547 rel1.relative: 1.0 0.0;
2549 rel2.relative: 1.0 1.0;
2551 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2552 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2557 description { state: "default" 0.0;
2558 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2559 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2561 image.normal: "./b_more_option.png";
2562 color: 128 128 128 128;
2563 rel1.to: "cue.padding";
2564 rel1.relative: 0.0 0.0;
2565 rel2.to: "cue.padding";
2566 rel2.relative: 0.0 1.0;
2569 description { state: "hidden" 0.0;
2570 inherit: "default" 0.0;
2573 description { state: "disabled" 0.0;
2574 inherit: "default" 0.0;
2575 color: 128 128 128 128;
2578 part { name: "cue_ef";
2579 description { state: "default" 0.0;
2580 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2581 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2583 image.normal: "./b_more_option_ef.png";
2584 color: 128 128 128 128;
2588 description { state: "hidden" 0.0;
2589 inherit: "default" 0.0;
2593 part { name: "effect_bg";
2595 clip_to: "effect_bg_clip";
2597 description { state: "default" 0.0;
2598 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2599 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2601 rel1.relative: 1.0 0.0;
2603 rel2.relative: 1.0 1.0;
2606 image.normal: "./b_ic_press_full_circle_bg.png";
2607 color: 128 128 128 128;
2610 description { state: "pressed" 0.0;
2611 inherit: "default" 0.0;
2612 color: 128 128 128 128;
2618 description { state: "disabled" 0.0;
2619 inherit: "default" 0.0;
2621 description { state: "start_persp" 0.0;
2622 inherit: "default" 0.0;
2623 color: 128 128 128 128;
2630 part { name: "effect_bg_clip";
2634 description { state: "default" 0.0;
2635 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2636 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2638 rel1.relative: 1.0 0.0;
2640 rel2.relative: 1.0 1.0;
2643 color: 255 255 255 0;
2645 description { state: "pressed" 0.0;
2646 inherit: "default" 0.0;
2647 color: 255 255 255 255;
2649 description { state: "disabled" 0.0;
2650 inherit: "default" 0.0;
2653 part { name: "effect_bg2";
2655 clip_to: "effect_bg_clip2";
2657 description { state: "default" 0.0;
2658 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2659 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2661 rel1.relative: 1.0 0.0;
2663 rel2.relative: 1.0 1.0;
2666 image.normal: "./b_ic_press_full_circle_bg.png";
2667 //color_class: "transparent";
2671 description { state: "pressed" 0.0;
2672 inherit: "default" 0.0;
2673 color: 128 128 128 128;
2679 description { state: "disabled" 0.0;
2680 inherit: "default" 0.0;
2682 description { state: "start_persp" 0.0;
2683 inherit: "default" 0.0;
2684 color: 128 128 128 128;
2691 part { name: "effect_bg_clip2";
2695 description { state: "default" 0.0;
2696 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2697 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2699 rel1.relative: 1.0 0.0;
2701 rel2.relative: 1.0 1.0;
2704 color: 255 255 255 0;
2706 description { state: "pressed" 0.0;
2707 inherit: "default" 0.0;
2708 color: 255 255 255 255;
2710 description { state: "disabled" 0.0;
2711 inherit: "default" 0.0;
2714 part { name: "cue.event";
2717 description { state: "default" 0.0;
2718 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2719 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2721 //color_class: "transparent";
2724 rel1.relative: 1.0 0.0;
2726 rel2.relative: 1.0 1.0;
2729 description { state: "hidden" 0.0;
2730 inherit: "default" 0.0;
2734 part { name: "cue.release.event";
2737 description { state: "default" 0.0;
2738 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2739 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2741 //color_class: "transparent";
2744 rel1.relative: 1.0 0.0;
2746 rel2.relative: 1.0 1.0;
2749 description { state: "hidden" 0.0;
2750 inherit: "default" 0.0;
2754 part { name: "base";
2756 description { state: "default" 0.0;
2763 image.normal: "./b_more_option_bg.png";
2764 color: 128 128 128 128;
2777 description { state: "show" 0.0;
2778 inherit: "default" 0.0;
2785 color[0]: 255 255 255 255;
2786 color[1]: 255 255 255 255;
2787 color[2]: 255 255 255 255;
2788 color[3]: 255 255 255 255;
2792 part { name: "elm.swallow.content";
2794 description { state: "default" 0.0;
2811 description { state: "show" 0.0;
2812 inherit: "default" 0.0;
2819 color[0]: 255 255 255 255;
2820 color[1]: 255 255 255 255;
2821 color[2]: 255 255 255 255;
2822 color[3]: 255 255 255 255;
2828 program { name: "pressed";
2829 signal: "mouse,down,1*";
2830 source: "cue.event";
2832 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2834 set_int(mouse_down, 1);
2835 set_int(event_down, 1);
2836 run_program(PROGRAM:"button_press1");
2840 program { name: "button_press1";
2844 get_state(PART:"effect_bg", st, 30, vl);
2845 if (strcmp(st, "disabled")) {
2846 emit("elm,action,press", "");
2847 run_program(PROGRAM:"haptic");
2848 if(get_int(click_cnt) == 0) {
2849 set_state(PART:"effect_bg", "pressed", 0.0);
2850 set_state(PART:"effect_bg_clip", "pressed", 0.0);
2851 run_program(PROGRAM:"start_persp");
2852 timer(0.3, "timer0", 1);
2854 else if(get_int(click_cnt) == 1) {
2855 set_state(PART:"effect_bg2", "pressed", 0.0);
2856 set_state(PART:"effect_bg_clip2", "pressed", 0.0);
2857 run_program(PROGRAM:"start_persp2");
2858 timer(0.3, "timer0", 2);
2863 program { name: "unpressed";
2864 signal: "mouse,up,1";
2865 source: "cue.event";
2867 if (get_int(mouse_down) == 1) {
2868 set_int(mouse_down, 0);
2869 run_program(PROGRAM:"button_unpress1");
2873 program { name: "button_unpress1";
2877 get_state(PART:"effect_bg", st, 30, vl);
2878 if (strcmp(st, "disabled")) {
2879 if(get_int(click_cnt) == 0)
2880 set_int(click_cnt, 1);
2882 set_int(click_cnt, 0);
2886 program { name: "release.event_clicked";
2887 signal: "mouse,clicked,*";
2888 source: "cue.release.event";
2890 if (get_int(event_down) == 1) {
2891 set_int(event_down, 0);
2892 emit("cue,clicked", "elm");
2893 run_program(PROGRAM:"panel_toggle");
2894 run_program(PROGRAM:"play_sample");
2899 name: "play_sample";
2900 action: RUN_PLUGIN "touch_sound";
2902 program { name: "panel_toggle";
2903 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
2907 action: RUN_PLUGIN "haptic_tap";
2909 program { name: "disable";
2910 signal: "elm,state,disabled";
2913 if (get_int(cue_hide) == 0)
2914 set_state(PART:"cue", "disabled", 0.0);
2915 set_state(PART:"effect_bg", "disabled", 0.0);
2916 set_state(PART:"cue.event", "hidden", 0.0);
2917 set_state(PART:"cue.release.event", "hidden", 0.0);
2920 program { name: "enable";
2921 signal: "elm,state,enabled";
2924 if (get_int(cue_hide) == 1) {
2925 set_state(PART:"cue", "hidden", 0.0);
2926 set_state(PART:"cue.event", "hidden", 0.0);
2927 set_state(PART:"cue.release.event", "hidden", 0.0);
2930 set_state(PART:"cue", "default", 0.0);
2931 set_state(PART:"cue.event", "default", 0.0);
2932 set_state(PART:"cue.release.event", "default", 0.0);
2934 set_state(PART:"effect_bg", "default", 0.0);
2937 program { name: "multi_down";
2938 signal: "elm,action,multi,down";
2941 set_int(multi_down, 1);
2944 program { name: "multi_up";
2945 signal: "elm,action,multi,up";
2948 set_int(multi_down, 0);
2951 program { name: "start_persp";
2952 action: STATE_SET "start_persp" 0.0;
2953 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2954 target: "effect_bg";
2956 program { name: "change_opacity";
2957 action: STATE_SET "default" 0.0;
2958 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2959 target: "effect_bg_clip";
2961 program { name: "start_persp2";
2962 action: STATE_SET "start_persp" 0.0;
2963 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2964 target: "effect_bg2";
2966 program { name: "change_opacity2";
2967 action: STATE_SET "default" 0.0;
2968 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2969 target: "effect_bg_clip2";
2972 signal: "elm,action,show";
2974 action: STATE_SET "show" 0.0;
2975 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2976 target: "elm.swallow.content";
2978 after: "active,finished";
2981 signal: "elm,action,hide";
2983 action: STATE_SET "default" 0.0;
2984 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2985 target: "elm.swallow.content";
2987 after: "inactive,finished";
2989 program { name: "active,finished";
2990 action: SIGNAL_EMIT "elm,state,active,finished" "elm";
2992 program { name: "inactive,finished";
2993 action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
2995 program { name: "cue,hide";
2999 set_int(cue_hide, 1);
3000 set_state(PART:"cue", "hidden", 0.0);
3001 set_state(PART:"cue_ef", "hidden", 0.0);
3002 set_state(PART:"cue.event", "hidden", 0.0);
3003 set_state(PART:"cue.release.event", "hidden", 0.0);
3006 program { name: "cue,show";
3010 set_int(cue_hide, 0);
3011 set_state(PART:"cue", "default", 0.0);
3012 set_state(PART:"cue_ef", "default", 0.0);
3013 set_state(PART:"cue.event", "default", 0.0);
3014 set_state(PART:"cue.release.event", "default", 0.0);
3020 group { name: "elm/panel/left1/default";
3021 inherit: "elm/panel/right1/default";
3023 part { name: "cue.padding";
3025 description { state: "default" 0.0;
3027 rel1.relative: 0.0 0.0;
3029 rel2.relative: 0.0 1.0;
3031 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3032 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3037 description { state: "default" 0.0;
3038 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3039 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3041 image.normal: "./b_more_option.png";
3042 color: 128 128 128 128;
3043 rel1.to: "cue.padding";
3044 rel1.relative: 1.0 0.0;
3045 rel2.to: "cue.padding";
3046 rel2.relative: 1.0 1.0;
3049 description { state: "hidden" 0.0;
3050 inherit: "default" 0.0;
3053 description { state: "disabled" 0.0;
3054 inherit: "default" 0.0;
3055 color: 128 128 128 128;
3058 part { name: "cue_ef";
3059 description { state: "default" 0.0;
3060 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3061 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3063 image.normal: "./b_more_option_ef.png";
3064 color: 128 128 128 128;
3068 description { state: "hidden" 0.0;
3069 inherit: "default" 0.0;
3073 part { name: "effect_bg";
3075 clip_to: "effect_bg_clip";
3077 description { state: "default" 0.0;
3078 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3079 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3081 rel1.relative: 0.0 0.0;
3083 rel2.relative: 0.0 1.0;
3086 image.normal: "./b_ic_press_full_circle_bg.png";
3087 color: 128 128 128 128;
3090 description { state: "pressed" 0.0;
3091 inherit: "default" 0.0;
3092 color: 128 128 128 128;
3098 description { state: "disabled" 0.0;
3099 inherit: "default" 0.0;
3101 description { state: "start_persp" 0.0;
3102 inherit: "default" 0.0;
3103 color: 128 128 128 128;
3110 part { name: "effect_bg_clip";
3114 description { state: "default" 0.0;
3115 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3116 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3118 rel1.relative: 0.0 0.0;
3120 rel2.relative: 0.0 1.0;
3123 color: 255 255 255 0;
3125 description { state: "pressed" 0.0;
3126 inherit: "default" 0.0;
3127 color: 255 255 255 255;
3129 description { state: "disabled" 0.0;
3130 inherit: "default" 0.0;
3133 part { name: "effect_bg2";
3135 clip_to: "effect_bg_clip2";
3137 description { state: "default" 0.0;
3138 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3139 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3141 rel1.relative: 0.0 0.0;
3143 rel2.relative: 0.0 1.0;
3146 image.normal: "./b_ic_press_full_circle_bg.png";
3147 //color_class: "transparent";
3151 description { state: "pressed" 0.0;
3152 inherit: "default" 0.0;
3153 color: 128 128 128 128;
3159 description { state: "disabled" 0.0;
3160 inherit: "default" 0.0;
3162 description { state: "start_persp" 0.0;
3163 inherit: "default" 0.0;
3164 color: 128 128 128 128;
3171 part { name: "effect_bg_clip2";
3175 description { state: "default" 0.0;
3176 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3177 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3179 rel1.relative: 0.0 0.0;
3181 rel2.relative: 0.0 1.0;
3184 color: 255 255 255 0;
3186 description { state: "pressed" 0.0;
3187 inherit: "default" 0.0;
3188 color: 255 255 255 255;
3190 description { state: "disabled" 0.0;
3191 inherit: "default" 0.0;
3194 part { name: "cue.event";
3196 description { state: "default" 0.0;
3197 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3198 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3200 //color_class: "transparent";
3203 rel1.relative: 0.0 0.0;
3205 rel2.relative: 0.0 1.0;
3208 description { state: "hidden" 0.0;
3209 inherit: "default" 0.0;
3213 part { name: "cue.release.event";
3216 description { state: "default" 0.0;
3217 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3218 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3220 //color_class: "transparent";
3223 rel1.relative: 0.0 0.0;
3225 rel2.relative: 0.0 1.0;
3228 description { state: "hidden" 0.0;
3229 inherit: "default" 0.0;
3236 group { name: "elm/panel/left_sending/default";
3237 inherit: "elm/panel/left1/default";
3239 part { name: "cue.padding";
3241 description { state: "default" 0.0;
3243 rel1.relative: 0.0 0.0;
3245 rel2.relative: 0.0 1.0;
3247 min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3248 max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3253 description { state: "default" 0.0;
3254 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3255 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3257 image.normal: "./b_stt_send_icon.png";
3258 color: 128 128 128 128;
3259 rel1.to: "cue.padding";
3260 rel1.relative: 1.0 0.0;
3261 rel2.to: "cue.padding";
3262 rel2.relative: 1.0 1.0;
3265 description { state: "hidden" 0.0;
3266 inherit: "default" 0.0;
3269 description { state: "disabled" 0.0;
3270 inherit: "default" 0.0;
3271 color_class: "AO015L2D";//"B052L1D";
3274 part { name: "cue_ef";
3275 description { state: "default" 0.0;
3276 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3277 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3280 image.normal: "./b_more_option_ef.png";
3281 color: 128 128 128 128;
3285 description { state: "hidden" 0.0;
3286 inherit: "default" 0.0;
3293 group { name: "elm/panel/left_confirm/default";
3294 inherit: "elm/panel/left_sending/default";
3297 description { state: "default" 0.0;
3298 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3299 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3301 image.normal: "./b_stt_confirm_icon.png";
3302 color: 128 128 128 128;
3303 rel1.to: "cue.padding";
3304 rel1.relative: 1.0 0.0;
3305 rel2.to: "cue.padding";
3306 rel2.relative: 1.0 1.0;
3309 description { state: "hidden" 0.0;
3310 inherit: "default" 0.0;
3313 description { state: "disabled" 0.0;
3314 inherit: "default" 0.0;
3315 color_class: "AO015L2D";//"B052L1D";