1 #include "w-input-stt-button.edc"
3 #define VOICE_CANDIDATE_AREA_HEIGHT 56
4 #define BUTTON_TEXT_SIZE_INC 85
14 param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP";
15 /* 2014.06.11 updated from libsvi(feedback)
16 Above plugin will run below external function:
17 int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
19 param1: feedback_type_e
20 FEEDBACK_TYPE_NONE = 0,
21 FEEDBACK_TYPE_SOUND = 1,
22 FEEDBACK_TYPE_VIBRATION,
27 FEEDBACK_PATTERN_TAP = 0,
29 FEEDBACK_PATTERN_SIP_BACKSPACE,
30 FEEDBACK_PATTERN_SIP_FUNCTION,
31 FEEDBACK_PATTERN_SIP_FJKEY,
34 * Fore information, please refer the libsvi libraries.
35 * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi
36 * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi
42 param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP";
48 image, "./bg/B13_mic_bg.png" COMP;
49 image, "./icon/B13_mic.png" COMP;
50 image, "./icon/B13_mic_Que.png" COMP;
51 image, "./icon/B13_mic_Que_01.png" COMP;
52 image, "./icon/B13_mic_procecessing_bg.png" COMP;
53 image, "./text_downdrop.#.png" COMP;
54 image, "./text_downdrop_press.#.png" COMP;
56 image, "./input_ic_voice_mic.png" COMP;
57 image, "./w_sip_mask_bg.png" COMP;
58 image, "./tw_bottom_btn_bg.png" COMP;
60 image, "./w_mode_ic_bg.png" COMP;
62 image, "./b_stt_text_fade_out.png" COMP;
63 image, "./b_stt_icon_btn.png" COMP;
64 image, "./b_stt_confirm_icon.png" COMP;
65 image, "./b_stt_send_icon.png" COMP;
163 color: 163 163 163 100;
168 color: 97 12 117 255;
178 color: 110 110 110 100;
193 color: 122 122 122 100;
303 color: 102 102 102 100;
389 color: 128 128 128 100;
440 style { name, "textblock_style";
441 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
444 tag, "hilight" "+ font=Tizen:style=Bold";
445 tag, "b" "+ font=Tizen:style=Bold";
448 style { name, "textblock_style_bottom";
449 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
452 tag, "hilight" "+ font=Tizen:style=Bold";
453 tag, "b" "+ font=Tizen:style=Bold";
456 style { name: "button_general_text_dim";
457 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed";
459 style { name: "button_general_text_press";
460 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed";
462 style { name: "button_general_text_normal";
463 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed";
479 state, "default" 0.0;
489 color_class, "AO0118";
499 state, "default" 0.0;
521 state, "default" 0.0;
542 name, "left_panel_area";
546 state, "default" 0.0;
569 state, "default" 0.0;
582 image.normal, "./tw_bottom_btn_bg.png";
583 color: 128 128 128 128;
587 state, "pressed" 0.0;
588 inherit, "default" 0.0;
589 color: 128 128 128 128;
594 inherit, "default" 0.0;
595 color: 128 128 128 128;
601 name, "EFFECT_BG_AREA";
605 state, "default" 0.0;
629 state, "default" 0.0;
634 to, "EFFECT_BG_AREA";
639 to, "EFFECT_BG_AREA";
644 state, "default" 0.1;
645 inherit, "default" 0.0;
658 state, "default" 0.0;
663 relative, 155/360 26/100;
668 relative, 205/360 76/100;
671 image.normal, "./input_ic_voice_mic.png";
675 state, "recording" 0.0;
676 inherit, "default" 0.0;
681 state, "processing" 0.0;
682 inherit, "default" 0.0;
687 state, "message" 0.0;
688 inherit, "default" 0.0;
691 relative, 155/360 41/100;
696 relative, 205/360 91/100;
705 //Part for mic button
713 state, "default" 0.0;
719 relative, 35/360 0.0;
724 relative, 325/360 1.0;
731 name, "PROGRESS_BAR";
736 state, "default" 0.0;
742 relative, 155/360 27/100;
747 relative, 205/360 77/100;
753 state, "message" 0.0;
754 inherit, "default" 0.0;
758 state, "processing" 0.0;
759 inherit, "default" 0.0;
766 name, "guide_text_block";
770 state, "default" 0.0;
774 relative, 39/360 140/360;
779 relative, (360-39)/360 (140+42)/360;
789 relative, 74/360 (360-91)/360;
794 relative, (360-74)/360 (360-57)/360;
808 state, "default" 0.0;
811 rel1.to, "guide_text_block";
812 rel2.to, "guide_text_block";
816 style, "textblock_style";
818 color, 120 120 120 120;
823 inherit, "default" 0.0;
827 style, "textblock_style_bottom";
829 color, 120 120 120 120;
838 name, "initial_view";
839 signal, "mouse,clicked,1";
840 source, "background";
842 after, "emit_signal1";
847 name, "emit_signal1";
848 action, SIGNAL_EMIT "idle,state,pulse,visible" "";
854 signal, "elm,state,listening";
856 action, STATE_SET "recording" 0.0;
862 name, "start_processing";
863 signal, "elm,state,processing";
865 action, STATE_SET "processing" 0.0;
866 target, "PROGRESS_BAR";
868 transition, DECELERATE 0.3;
874 signal, "elm,state,init";
876 action, STATE_SET "default" 0.0;
877 target, "PROGRESS_BAR";
879 transition, DECELERATE 0.3;
883 name, "idle_message";
884 signal, "elm,state,init_message";
886 action, STATE_SET "message" 0.0;
887 target, "PROGRESS_BAR";
894 signal, "idle,state,text,visible";
896 action, STATE_SET "expand" 0.0;
903 signal, "idle,state,text,hidden";
905 action, STATE_SET "default" 0.0;
910 name, "show_effect_part";
911 signal, "elm,state,eq,show";
913 action, STATE_SET "default" 0.1;
919 name, "hide_effect_part";
920 signal, "elm,state,eq,hide";
922 action, STATE_SET "default" 0.0;
928 name, "guide_text_up";
929 signal, "idle,state,guide_text,up";
931 action, STATE_SET "default" 0.0;
932 target, "guide_text_block";
936 name, "guide_text_bottom";
937 signal, "idle,state,guide_text,bottom";
939 action, STATE_SET "bottom" 0.0;
940 target, "guide_text_block";
949 name: "option_more_index";
959 state: "default" 0.0;
971 state: "default" 0.0;
983 state: "default" 0.0;
989 rel1.relative: 0.0 0.0;
991 rel2.relative: 1.0 0.0;
999 name, "language_list";
1009 state, "default" 0.0;
1031 state, "default" 0.0;
1048 name: "layout_textblock";
1051 public timer_cb(val) {
1052 run_program(PROGRAM:"do_scroll");
1064 state, "default" 0.0;
1076 part { name: "elm.swallow.content";
1079 description { state: "default" 0.0;
1081 color, 120 120 120 120;
1089 signal, "scrolling";
1092 timer(3/10, "timer_cb", 0);
1098 action, SIGNAL_EMIT "do_scroll" "entry";
1103 group{ name: "entry_focused_layout";
1112 state, "default" 0.0;
1122 color, 120 120 120 120;
1125 part { name: "padding_top";
1129 state: "default" 0.0;
1131 rel1.relative: 0.0 0.0;
1132 rel2.relative: 1.0 0.0;
1137 part { name: "padding_left";
1141 state: "default" 0.0;
1143 rel1.relative: 0.0 0.0;
1144 rel2.relative: 0.0 1.0;
1149 part { name: "padding_right";
1153 state: "default" 0.0;
1155 rel1.relative: 1.0 0.0;
1156 rel2.relative: 1.0 1.0;
1166 state: "default" 0.0;
1167 rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1168 rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1179 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1182 name: "elm/progressbar/horizontal/voice_input/process/small";
1184 image: "style/tw_loading_small_00.png" COMP;
1185 image: "style/tw_loading_small_01.png" COMP;
1186 image: "style/tw_loading_small_02.png" COMP;
1187 image: "style/tw_loading_small_03.png" COMP;
1188 image: "style/tw_loading_small_04.png" COMP;
1189 image: "style/tw_loading_small_05.png" COMP;
1190 image: "style/tw_loading_small_06.png" COMP;
1191 image: "style/tw_loading_small_07.png" COMP;
1192 image: "style/tw_loading_small_08.png" COMP;
1193 image: "style/tw_loading_small_09.png" COMP;
1194 image: "style/tw_loading_small_10.png" COMP;
1195 image: "style/tw_loading_small_11.png" COMP;
1196 image: "style/tw_loading_small_12.png" COMP;
1197 image: "style/tw_loading_small_13.png" COMP;
1198 image: "style/tw_loading_small_14.png" COMP;
1199 image: "style/tw_loading_small_15.png" COMP;
1200 image: "style/tw_loading_small_16.png" COMP;
1201 image: "style/tw_loading_small_17.png" COMP;
1202 image: "style/tw_loading_small_18.png" COMP;
1203 image: "style/tw_loading_small_19.png" COMP;
1204 image: "style/tw_loading_small_20.png" COMP;
1205 image: "style/tw_loading_small_21.png" COMP;
1206 image: "style/tw_loading_small_22.png" COMP;
1207 image: "style/tw_loading_small_23.png" COMP;
1208 image: "style/tw_loading_small_24.png" COMP;
1209 image: "style/tw_loading_small_25.png" COMP;
1210 image: "style/tw_loading_small_26.png" COMP;
1211 image: "style/tw_loading_small_27.png" COMP;
1212 image: "style/tw_loading_small_28.png" COMP;
1213 image: "style/tw_loading_small_29.png" COMP;
1214 image: "style/tw_loading_small_30.png" COMP;
1215 image: "style/tw_loading_small_31.png" COMP;
1216 image: "style/tw_loading_small_32.png" COMP;
1217 image: "style/tw_loading_small_33.png" COMP;
1218 image: "style/tw_loading_small_34.png" COMP;
1219 image: "style/tw_loading_small_35.png" COMP;
1220 image: "style/tw_loading_small_36.png" COMP;
1221 image: "style/tw_loading_small_37.png" COMP;
1222 image: "style/tw_loading_small_38.png" COMP;
1223 image: "style/tw_loading_small_39.png" COMP;
1224 image: "style/tw_loading_small_40.png" COMP;
1225 image: "style/tw_loading_small_41.png" COMP;
1226 image: "style/tw_loading_small_42.png" COMP;
1227 image: "style/tw_loading_small_43.png" COMP;
1228 image: "style/tw_loading_small_44.png" COMP;
1229 image: "style/tw_loading_small_45.png" COMP;
1230 image: "style/tw_loading_small_46.png" COMP;
1231 image: "style/tw_loading_small_47.png" COMP;
1232 image: "style/tw_loading_small_48.png" COMP;
1233 image: "style/tw_loading_small_49.png" COMP;
1234 image: "style/tw_loading_small_50.png" COMP;
1235 image: "style/tw_loading_small_51.png" COMP;
1236 image: "style/tw_loading_small_52.png" COMP;
1237 image: "style/tw_loading_small_53.png" COMP;
1238 image: "style/tw_loading_small_54.png" COMP;
1239 image: "style/tw_loading_small_55.png" COMP;
1240 image: "style/tw_loading_small_56.png" COMP;
1241 image: "style/tw_loading_small_57.png" COMP;
1242 image: "style/tw_loading_small_58.png" COMP;
1243 image: "style/tw_loading_small_59.png" COMP;
1244 image: "style/tw_loading_small_60.png" COMP;
1245 image: "style/tw_loading_small_61.png" COMP;
1246 image: "style/tw_loading_small_62.png" COMP;
1247 image: "style/tw_loading_small_63.png" COMP;
1248 image: "style/tw_loading_small_64.png" COMP;
1256 state: "default" 0.0;
1262 name: "elm.background.progressbar";
1267 state: "default" 0.0;
1274 clip_to: "elm.background.progressbar";
1276 state: "default" 0.0;
1277 min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1278 max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1281 aspect_preference: BOTH;
1282 image.normal: "style/tw_loading_small_00.png";
1283 image.tween: "style/tw_loading_small_01.png";
1284 image.tween: "style/tw_loading_small_02.png";
1285 image.tween: "style/tw_loading_small_03.png";
1286 image.tween: "style/tw_loading_small_04.png";
1287 image.tween: "style/tw_loading_small_05.png";
1288 image.tween: "style/tw_loading_small_06.png";
1289 image.tween: "style/tw_loading_small_07.png";
1290 image.tween: "style/tw_loading_small_08.png";
1291 image.tween: "style/tw_loading_small_09.png";
1292 image.tween: "style/tw_loading_small_10.png";
1293 image.tween: "style/tw_loading_small_11.png";
1294 image.tween: "style/tw_loading_small_12.png";
1295 image.tween: "style/tw_loading_small_13.png";
1296 image.tween: "style/tw_loading_small_14.png";
1297 image.tween: "style/tw_loading_small_15.png";
1298 image.tween: "style/tw_loading_small_16.png";
1299 image.tween: "style/tw_loading_small_17.png";
1300 image.tween: "style/tw_loading_small_18.png";
1301 image.tween: "style/tw_loading_small_19.png";
1302 image.tween: "style/tw_loading_small_20.png";
1303 image.tween: "style/tw_loading_small_21.png";
1304 image.tween: "style/tw_loading_small_22.png";
1305 image.tween: "style/tw_loading_small_23.png";
1306 image.tween: "style/tw_loading_small_24.png";
1307 image.tween: "style/tw_loading_small_25.png";
1308 image.tween: "style/tw_loading_small_26.png";
1309 image.tween: "style/tw_loading_small_27.png";
1310 image.tween: "style/tw_loading_small_28.png";
1311 image.tween: "style/tw_loading_small_29.png";
1312 image.tween: "style/tw_loading_small_30.png";
1313 image.tween: "style/tw_loading_small_31.png";
1314 image.tween: "style/tw_loading_small_32.png";
1315 image.tween: "style/tw_loading_small_33.png";
1316 image.tween: "style/tw_loading_small_34.png";
1317 image.tween: "style/tw_loading_small_35.png";
1318 image.tween: "style/tw_loading_small_36.png";
1319 image.tween: "style/tw_loading_small_37.png";
1320 image.tween: "style/tw_loading_small_38.png";
1321 image.tween: "style/tw_loading_small_39.png";
1322 image.tween: "style/tw_loading_small_40.png";
1323 image.tween: "style/tw_loading_small_41.png";
1324 image.tween: "style/tw_loading_small_42.png";
1325 image.tween: "style/tw_loading_small_43.png";
1326 image.tween: "style/tw_loading_small_44.png";
1327 image.tween: "style/tw_loading_small_45.png";
1328 image.tween: "style/tw_loading_small_46.png";
1329 image.tween: "style/tw_loading_small_47.png";
1330 image.tween: "style/tw_loading_small_48.png";
1331 image.tween: "style/tw_loading_small_48.png";
1332 image.tween: "style/tw_loading_small_49.png";
1333 image.tween: "style/tw_loading_small_50.png";
1334 image.tween: "style/tw_loading_small_51.png";
1335 image.tween: "style/tw_loading_small_52.png";
1336 image.tween: "style/tw_loading_small_53.png";
1337 image.tween: "style/tw_loading_small_54.png";
1338 image.tween: "style/tw_loading_small_55.png";
1339 image.tween: "style/tw_loading_small_56.png";
1340 image.tween: "style/tw_loading_small_57.png";
1341 image.tween: "style/tw_loading_small_58.png";
1342 image.tween: "style/tw_loading_small_59.png";
1343 image.tween: "style/tw_loading_small_60.png";
1344 image.tween: "style/tw_loading_small_61.png";
1345 image.tween: "style/tw_loading_small_62.png";
1346 image.tween: "style/tw_loading_small_63.png";
1347 image.tween: "style/tw_loading_small_64.png";
1348 color: 128 128 128 128;
1354 name: "start_pulse";
1355 signal: "elm,state,pulse,start";
1357 action: STATE_SET "default" 0.0;
1359 transition: LINEAR 1.8;
1360 after: "start_pulse";
1364 signal: "elm,state,pulse,stop";
1366 action: ACTION_STOP;
1367 target: "start_pulse";
1368 after: "init_pulse";
1370 program { name: "init_pulse";
1371 action: STATE_SET "default" 0.0;
1378 #define BUTTON_PADDING_SIZE_INC 20 0
1379 #define BUTTON_HEIGHT_INC 122
1380 #define BUTTON_ICON_SIZE_INC 60 60
1381 group { name: "elm/button/base/default";
1383 public mouse_down = 0;
1384 public multi_down = 0;
1390 description { state: "default" 0.0;
1391 min: 0 BUTTON_HEIGHT_INC;
1392 color_class: "W011";
1394 description { state: "pressed" 0.0;
1395 inherit: "default" 0.0;
1396 color_class: "W011P";
1398 description { state: "disabled" 0.0;
1399 inherit: "default" 0.0;
1400 color_class: "W011D";
1403 part { name: "padding_left_top";
1406 description { state: "default" 0.0;
1408 rel2.relative: 0.0 0.0;
1409 min: BUTTON_PADDING_SIZE_INC;
1413 part { name: "padding_right_bottom";
1416 description { state: "default" 0.0;
1418 rel1.relative: 1.0 1.0;
1419 min: BUTTON_PADDING_SIZE_INC;
1423 part { name: "icon_rect";
1426 description { state: "default" 0.0;
1430 to: "padding_left_top";
1434 to_x: "padding_left_top";
1435 to_y: "padding_right_bottom";
1440 description { state: "visible" 0.0;
1441 inherit: "default" 0.0;
1442 min: BUTTON_ICON_SIZE_INC;
1443 max: BUTTON_ICON_SIZE_INC;
1447 part { name: "elm.swallow.content";
1449 clip_to: "elm.swallow.content.clip";
1451 description { state: "default" 0.0;
1456 to: "padding_left_top";
1460 to_x: "padding_left_top";
1461 to_y: "padding_right_bottom";
1465 description { state: "visible" 0.0;
1467 min: BUTTON_ICON_SIZE_INC;
1468 max: BUTTON_ICON_SIZE_INC;
1473 to_y: "padding_left_top";
1478 to_y: "padding_right_bottom";
1481 description { state: "icononly" 0.0;
1482 min: BUTTON_ICON_SIZE_INC;
1483 max: BUTTON_ICON_SIZE_INC;
1486 part { name: "elm.text";
1490 description { state: "default" 0.0;
1495 to_y: "padding_left_top";
1499 to: "padding_right_bottom";
1503 style: "button_general_text_normal";
1506 description { state: "disabled" 0.0;
1507 inherit: "default" 0.0;
1508 text.style: "button_general_text_dim";
1510 description { state: "pressed" 0.0;
1511 inherit: "default" 0.0;
1512 text.style: "button_general_text_press";
1515 part { name: "elm.swallow.content.clip";
1518 description { state: "default" 0.0;
1519 color_class: "F022L1i";
1521 description { state: "disabled" 0.0;
1522 inherit: "default" 0.0;
1523 color_class: "F022L1iD";
1526 part { name: "event";
1529 description { state: "default" 0.0;
1537 program { name: "pressed";
1538 signal: "mouse,down,1*";
1541 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1543 set_int(mouse_down, 1);
1544 run_program(PROGRAM:"button_press1");
1548 program { name: "button_press1";
1552 get_state(PART:"bg", st, 30, vl);
1553 if (strcmp(st, "disabled")) {
1554 set_state(PART:"bg", "pressed", 0.0);
1555 set_state(PART:"elm.text", "pressed", 0.0);
1556 emit("elm,action,press", "");
1560 program { name: "unpressed";
1561 signal: "mouse,up,1";
1564 if (get_int(mouse_down) == 1) {
1565 set_int(mouse_down, 0);
1566 run_program(PROGRAM:"button_unpress1");
1570 program { name: "button_unpress1";
1574 get_state(PART:"bg", st, 30, vl);
1575 if (strcmp(st, "disabled")) {
1576 set_state(PART:"bg", "default", 0.0);
1577 set_state(PART:"elm.text", "default", 0.0);
1578 emit("elm,action,unpress", "");
1582 program { name: "touch_snd";
1583 signal: "mouse,clicked,1";
1588 if (get_int(multi_down) == 0) {
1589 get_state(PART:"bg", st, 30, vl);
1590 if (strcmp(st, "disabled")) {
1591 //run_program(PROGRAM:"play_sample");
1592 emit("elm,action,click", "");
1598 name: "play_sample";
1599 action: RUN_PLUGIN "touch_sound";
1601 program { name: "text_show";
1602 signal: "elm,state,text,visible";
1607 get_state(PART:"elm.swallow.content", st, 30, vl);
1608 if (!strcmp(st, "icononly"))
1610 set_state(PART:"elm.swallow.content", "visible", 0.0);
1611 set_state(PART:"icon_rect", "visible", 0.0);
1613 get_state(PART:"bg", st, 30, vl);
1614 if (strcmp(st, "disabled"))
1615 set_state(PART:"elm.text", "default", 0.0);
1617 set_state(PART:"elm.text", "disabled", 0.0);
1620 program { name: "text_hide";
1621 signal: "elm,state,text,hidden";
1626 get_state(PART:"elm.swallow.content", st, 30, vl);
1627 if (!strcmp(st, "visible"))
1629 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1630 set_state(PART:"icon_rect", "default", 0.0);
1632 set_state(PART:"elm.text", "default", 0.0);
1635 program { name: "icon_show";
1636 signal: "elm,state,icon,visible";
1638 action: STATE_SET "visible" 0.0;
1639 target: "elm.swallow.content";
1640 target: "icon_rect";
1642 program { name: "icon_hide";
1643 signal: "elm,state,icon,hidden";
1645 action: STATE_SET "default" 0.0;
1646 target: "elm.swallow.content";
1647 target: "icon_rect";
1649 program { name: "disable";
1650 signal: "elm,state,disabled";
1652 action: STATE_SET "disabled" 0.0;
1654 target: "elm.swallow.content.clip";
1657 program { name: "enable";
1658 signal: "elm,state,enabled";
1660 action: STATE_SET "default" 0.0;
1662 target: "elm.swallow.content.clip";
1665 program { name: "multi_down";
1666 signal: "elm,action,multi,down";
1669 set_int(multi_down, 1);
1672 program { name: "multi_up";
1673 signal: "elm,action,multi,up";
1676 set_int(multi_down, 0);
1682 group { name: "elm/button/base/ime_transparent";
1683 inherit: "elm/button/base/default";
1688 description { state: "default" 0.0;
1692 description { state: "pressed" 0.0;
1693 inherit: "default" 0.0;
1695 description { state: "disabled" 0.0;
1696 inherit: "default" 0.0;
1702 group { name: "elm/button/base/ime_button";
1703 alias: "elm/button/base/ime_button_stt";
1704 inherit: "elm/button/base/default";
1709 description { state: "default" 0.0;
1711 color_class: "AO01153L1";
1713 image.normal: "./w_mode_ic_bg.png";
1715 description { state: "pressed" 0.0;
1716 inherit: "default" 0.0;
1717 color_class: "AO01153L1P";
1719 description { state: "disabled" 0.0;
1720 inherit: "default" 0.0;
1721 color_class: "W011D";
1724 part { name: "elm.swallow.content";
1727 clip_to: "elm.swallow.content.clip";
1728 description { state: "default" 0.0;
1731 rel1 { relative: 0.0 0.0; to: "bg";}
1732 rel2 { relative: 1.0 1.0; to: "bg";}
1735 description { state: "visible" 0.0;
1736 inherit: "default" 0.0;
1739 description { state: "icononly" 0.0;
1740 inherit: "default" 0.0;
1747 program { name: "pressed";
1748 signal: "mouse,down,1*";
1751 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1753 set_int(mouse_down, 1);
1754 run_program(PROGRAM:"button_press1");
1758 program { name: "button_press1";
1762 get_state(PART:"bg", st, 30, vl);
1763 if (strcmp(st, "disabled")) {
1764 set_state(PART:"bg", "pressed", 0.0);
1765 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1766 emit("elm,action,press", "");
1770 program { name: "unpressed";
1771 signal: "mouse,up,1";
1774 if (get_int(mouse_down) == 1) {
1775 set_int(mouse_down, 0);
1776 run_program(PROGRAM:"button_unpress1");
1780 program { name: "button_unpress1";
1784 get_state(PART:"bg", st, 30, vl);
1785 if (strcmp(st, "disabled")) {
1786 set_state(PART:"bg", "default", 0.0);
1787 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1788 emit("elm,action,unpress", "");
1795 group { name: "elm/button/base/ime_button_emoticon";
1796 inherit: "elm/button/base/ime_button";
1801 description { state: "default" 0.0;
1803 color_class: "AO01154L1";
1805 image.normal: "./w_mode_ic_bg.png";
1807 description { state: "pressed" 0.0;
1808 inherit: "default" 0.0;
1809 color_class: "AO01154L1P";
1811 description { state: "disabled" 0.0;
1812 inherit: "default" 0.0;
1813 color_class: "W011D";
1819 group { name: "elm/button/base/ime_button_keyboard";
1820 inherit: "elm/button/base/ime_button";
1825 description { state: "default" 0.0;
1827 color_class: "AO01155L1";
1829 image.normal: "./w_mode_ic_bg.png";
1831 description { state: "pressed" 0.0;
1832 inherit: "default" 0.0;
1833 color_class: "AO01155L1P";
1835 description { state: "disabled" 0.0;
1836 inherit: "default" 0.0;
1837 color_class: "W011D";
1843 group { name: "elm/button/base/ime_button_template";
1844 inherit: "elm/button/base/ime_button";
1849 description { state: "default" 0.0;
1852 color_class: "AO01161";
1854 image.normal: "./w_mode_ic_bg.png";
1856 description { state: "pressed" 0.0;
1857 inherit: "default" 0.0;
1858 color_class: "AO01161P";
1860 description { state: "disabled" 0.0;
1861 inherit: "default" 0.0;
1862 color_class: "AO01161D";
1865 part { name: "elm.swallow.content.clip";
1868 description { state: "default" 0.0;
1869 color_class: "AO01153L3";
1871 description { state: "pressed" 0.0;
1872 inherit: "default" 0.0;
1873 color_class: "AO01153L3P";
1875 description { state: "disabled" 0.0;
1876 inherit: "default" 0.0;
1877 color_class: "AO01153L3D";
1883 group { name: "elm/button/base/ime_button_stt_confirm";
1884 inherit: "elm/button/base/ime_button";
1889 description { state: "default" 0.0;
1891 color_class: "AO015L2";
1893 image.normal: "./b_stt_icon_btn.png";
1895 description { state: "pressed" 0.0;
1896 inherit: "default" 0.0;
1897 color_class: "AO015L2P";
1899 description { state: "disabled" 0.0;
1900 inherit: "default" 0.0;
1901 color_class: "AO015L2D";
1904 part { name: "elm.swallow.content.clip";
1907 description { state: "default" 0.0;
1908 color_class: "AO015L2";
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";
1922 group { name: "elm/button/base/touch_area";
1923 inherit: "elm/button/base/default";
1928 description { state: "default" 0.0;
1933 description { state: "pressed" 0.0;
1934 inherit: "default" 0.0;
1936 description { state: "disabled" 0.0;
1937 inherit: "default" 0.0;
1942 program { name: "touch_snd";
1943 signal: "mouse,clicked,1";
1948 if (get_int(multi_down) == 0) {
1949 get_state(PART:"bg", st, 30, vl);
1950 if (strcmp(st, "disabled")) {
1951 run_program(PROGRAM:"play_sample");
1952 emit("elm,action,click", "");
1960 group { name: "elm/button/base/emoticon";
1963 public mouse_down = 0;
1964 public multi_down = 0;
1970 description { state: "default" 0.0;
1973 description { state: "pressed" 0.0;
1974 inherit: "default" 0.0;
1976 description { state: "disabled" 0.0;
1977 inherit: "default" 0.0;
1980 part { name: "padding_left_top";
1983 description { state: "default" 0.0;
1985 rel2.relative: 0.0 0.0;
1989 //color: 255 0 0 100;
1992 part { name: "padding_right_bottom";
1995 description { state: "default" 0.0;
1997 rel1.relative: 1.0 1.0;
2001 //color: 0 255 0 100;
2004 part { name: "elm.text";
2008 description { state: "default" 0.0;
2012 to: "padding_left_top";
2016 to: "padding_right_bottom";
2020 style: "button_general_text_normal";
2023 description { state: "disabled" 0.0;
2024 inherit: "default" 0.0;
2025 text.style: "button_general_text_dim";
2027 description { state: "pressed" 0.0;
2028 inherit: "default" 0.0;
2029 text.style: "button_general_text_press";
2032 part { name: "event";
2035 description { state: "default" 0.0;
2043 program { name: "pressed";
2044 signal: "mouse,down,1*";
2047 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2049 set_int(mouse_down, 1);
2050 run_program(PROGRAM:"button_press1");
2054 program { name: "button_press1";
2058 get_state(PART:"bg", st, 30, vl);
2059 if (strcmp(st, "disabled")) {
2060 set_state(PART:"bg", "pressed", 0.0);
2061 set_state(PART:"elm.text", "pressed", 0.0);
2062 emit("elm,action,press", "");
2066 program { name: "unpressed";
2067 signal: "mouse,up,1";
2070 if (get_int(mouse_down) == 1) {
2071 set_int(mouse_down, 0);
2072 run_program(PROGRAM:"button_unpress1");
2076 program { name: "button_unpress1";
2080 get_state(PART:"bg", st, 30, vl);
2081 if (strcmp(st, "disabled")) {
2082 set_state(PART:"bg", "default", 0.0);
2083 set_state(PART:"elm.text", "default", 0.0);
2084 emit("elm,action,unpress", "");
2088 program { name: "touch_snd";
2089 signal: "mouse,clicked,1";
2094 if (get_int(multi_down) == 0) {
2095 get_state(PART:"bg", st, 30, vl);
2096 if (strcmp(st, "disabled")) {
2097 run_program(PROGRAM:"play_sample");
2098 emit("elm,action,click", "");
2104 name: "play_sample";
2105 action: RUN_PLUGIN "touch_sound";
2107 program { name: "disable";
2108 signal: "elm,state,disabled";
2110 action: STATE_SET "disabled" 0.0;
2114 program { name: "enable";
2115 signal: "elm,state,enabled";
2117 action: STATE_SET "default" 0.0;
2121 program { name: "multi_down";
2122 signal: "elm,action,multi,down";
2125 set_int(multi_down, 1);
2128 program { name: "multi_up";
2129 signal: "elm,action,multi,up";
2132 set_int(multi_down, 0);
2138 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
2139 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
2140 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
2141 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
2142 #define ACTIONBAR_PADDING_SIZE_INC 64
2143 #define ACTIONBAR_HEIGHT_INC 115
2144 #define ACTIONBAR_TEXT_SIZE_INC 39
2145 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
2146 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
2147 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
2148 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
2149 #define HIDDEN_BUTTON_HEIGHT_INC 88
2151 #define STYLE_TAG_MATCH \
2152 tag: "match" "+ color=#ffffff color_class=T0212";
2155 style { name: "action_bar_title";
2156 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
2161 group { name: "elm_naviframe_item_basic_customized";
2162 data.item: "tizen_zoom" 1;
2164 public g_mirrored = 0; //Mirrored on/off status
2165 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
2167 public g_duration_1st;
2168 public g_duration_2nd;
2171 public g_sliding_start;
2173 public title_text_fade_out() {
2176 if (get_int(g_text_fade_out_calc_timer)) {
2177 cancel_timer(g_text_fade_out_calc_timer);
2178 set_int(g_text_fade_out_calc_timer, 0);
2181 get_geometry(PART:"elm.text.title", x, y, w, h);
2182 get_geometry(PART:"title_text_bg", x, y, w2, h);
2187 set_float(g_duration_1st, 0);
2188 set_float(g_duration_2nd, 0);
2189 set_int(g_timer_id, 0);
2190 set_int(g_anim_id, 0);
2191 set_int(g_sliding_start, 0);
2193 public slide_first_anim(val, Float:pos) {
2194 set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2196 cancel_anim(get_int(g_anim_id));
2197 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2200 public slide_second_anim(val, Float:pos) {
2201 set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2205 public slide_first() {
2207 if (get_int(g_sliding_start)) {
2208 set_state(PART:"elm.text.title", "slide", 0.0);
2210 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2213 public slide_start() {
2214 set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2216 public slide_stop() {
2217 cancel_anim(get_int(g_anim_id));
2218 set_state(PART:"elm.text.title", "default", 0.0);
2219 set_int(g_sliding_start, 0);
2221 public check_size() {
2223 get_geometry(PART:"elm.text.title", x, y, w, h);
2224 get_geometry(PART:"title_text_clip", x, y, w1, h);
2226 set_int(g_sliding_start, 1);
2229 set_int(g_sliding_start, 0);
2232 public get_duration() {
2234 get_geometry(PART:"elm.text.title", x, y, w, h);
2235 get_geometry(PART:"title_text_clip", x, y, w1, h);
2236 set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2237 set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2241 part { name: "clipper";
2243 description { state: "default" 0.0;
2246 description { state: "hide" 0.0;
2250 part { name: "base";
2255 description { state: "default" 0.0;
2256 color: 128 128 128 128;
2259 part { name: "title_expand";
2264 description { state: "default" 0.0;
2265 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2266 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2270 color: 255 255 255 0;
2271 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2272 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2274 description { state: "show" 0.0;
2275 inherit: "default" 0.0;
2280 part { name: "title_clip";
2283 description { state: "default" 0.0;
2285 rel1.to: "title_bg";
2286 rel2.to: "title_bg";
2288 description { state: "hide" 0.0;
2289 inherit: "default" 0.0;
2293 part { name: "title_bg";
2296 clip_to: "title_clip";
2297 description { state: "default" 0.0;
2298 min: 0 ACTIONBAR_HEIGHT_INC;
2299 max: -1 ACTIONBAR_HEIGHT_INC;
2302 rel1 { relative: 0.0 0.0; to: "base"; }
2303 rel2 { relative: 1.0 0.0; to: "base"; }
2304 color: 255 255 255 0;
2306 description { state: "hide_trans" 0.0;
2307 inherit: "default" 0.0;
2310 description { state: "hide" 0.0;
2311 inherit: "default" 0.0;
2316 part { name: "title_text_bg";
2319 description { state: "default" 0.0;
2320 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2321 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2325 part { name: "title_text_clip";
2328 clip_to: "title_clip";
2329 description { state: "default" 0.0;
2330 rel1.to: "title_text_bg";
2331 rel2.to: "title_text_bg";
2334 part { name: "elm.text.title";
2337 clip_to: "title_text_clip";
2338 description { state: "default" 0.0;
2343 // fade_ellipsis: 1.0;
2344 style: "action_bar_title";
2348 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2350 description { state: "slide" 0.0;
2351 inherit: "default" 0.0;
2355 to_x: "left_padding";
2356 to_y: "top_padding";
2360 to_x: "left_padding";
2361 to_y: "bottom_padding";
2365 description { state: "slide_1" 0.0;
2366 inherit: "default" 0.0;
2370 to_x: "left_padding";
2371 to_y: "top_padding";
2375 to_x: "left_padding";
2376 to_y: "bottom_padding";
2380 description { state: "slide_2" 0.0;
2381 inherit: "default" 0.0;
2385 to_x: "right_padding";
2386 to_y: "top_padding";
2390 to_x: "right_padding";
2391 to_y: "bottom_padding";
2396 part { name: "left_padding";
2399 description { state: "default" 0.0;
2400 min: ACTIONBAR_PADDING_SIZE_INC 0;
2401 max: ACTIONBAR_PADDING_SIZE_INC -1;
2404 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2405 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2408 part { name: "right_padding";
2411 description { state: "default" 0.0;
2412 min: ACTIONBAR_PADDING_SIZE_INC 0;
2413 max: ACTIONBAR_PADDING_SIZE_INC -1;
2416 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2417 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2420 part { name: "click_event_area";
2422 ignore_flags: ON_HOLD;
2423 description { state: "default" 0.0;
2424 rel1 { to: "title_bg"; }
2425 rel2 { to: "title_bg"; }
2429 part { name: "access.title";
2432 description { state: "default" 0.0;
2433 rel1.to: "title_bg";
2434 rel2.to: "title_bg";
2438 part { name: "top_padding";
2441 description { state: "default" 0.0;
2444 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2445 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2446 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2447 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2450 part { name: "bottom_padding";
2453 description { state: "default" 0.0;
2456 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2457 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2458 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2459 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2462 part { name: "elm.swallow.content";
2467 description { state: "default" 0.0;
2468 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2469 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2472 part { name: "elm.swallow.circle_bg";
2477 description { state: "default" 0.0; }
2479 part { name: "elm.swallow.circle";
2484 description { state: "default" 0.0; }
2486 part { name: "button_padding";
2489 description { state: "default" 0.0;
2494 rel1 {relative: 0.0 1.0; to: "base"; }
2495 rel2 {relative: 1.0 1.0; to: "base"; }
2500 program { name: "visible";
2501 signal: "elm,state,visible";
2504 set_state(PART:"base", "default", 0.0);
2505 set_state(PART:"clipper", "default", 0.0);
2508 run_program(PROGRAM:"title_text_fade_out");
2511 program { name: "invisible";
2512 signal: "elm,state,invisible";
2515 set_state(PART:"clipper", "hide", 0.0);
2518 program { name: "title_hide";
2519 signal: "elm,state,title,hide";
2522 set_state(PART:"title_bg", "hide", 0.0);
2523 set_state(PART:"title_clip", "hide", 0.0);
2526 program { name: "title_hide_trans";
2527 signal: "elm,action,title,hide";
2532 get_state(PART:"title_bg", st, 32, vl);
2533 if (!strcmp(st, "default")) {
2534 run_program(PROGRAM:"title_hide_trans2");
2538 program { name: "title_hide_trans2";
2539 action: STATE_SET "hide_trans" 0.0;
2541 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2542 after: "title_hide_trans3";
2544 program { name: "title_hide_trans3";
2546 run_program(PROGRAM:"title_hide");
2548 after: "title_trans_finished";
2550 program { name: "title_trans_finished";
2551 action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2553 program { name: "title_show";
2554 signal: "elm,state,title,show";
2557 set_state(PART:"title_bg", "default", 0.0);
2558 set_state(PART:"title_clip", "default", 0.0);
2559 run_program(PROGRAM:"title_text_fade_out");
2562 program { name: "title_show_trans";
2563 signal: "elm,action,title,show";
2568 get_state(PART:"title_bg", st, 32, vl);
2569 if (!strcmp(st, "hide")) {
2570 set_state(PART:"title_bg", "hide_trans", 0.0);
2571 set_state(PART:"title_clip", "default", 0.0);
2572 run_program(PROGRAM:"title_show_trans2");
2576 program { name: "title_show_trans2";
2577 action: STATE_SET "default" 0.0;
2579 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2580 after: "title_trans_finished";
2582 program { name: "title_label_show";
2583 signal: "elm,state,title_label,show";
2586 run_program(PROGRAM:"title_text_fade_out");
2589 program { name: "title_label_hide";
2590 signal: "elm,state,title_label,hide";
2593 program { name: "title_expand_show";
2594 signal: "elm,state,title_expand,show";
2597 set_state(PART:"title_expand", "show", 0.0);
2600 program { name: "title_expand_hide";
2601 signal: "elm,state,title_expand,hide";
2604 set_state(PART:"title_expand", "default", 0.0);
2607 program { name: "hidden_btn_show_trans";
2608 signal: "elm,action,title_expand,show";
2610 action: STATE_SET "show" 0.0;
2611 target: "title_expand";
2612 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2614 program { name: "title_expand_hide_trans";
2615 signal: "elm,action,title_expand,hide";
2617 action: STATE_SET "default" 0.0;
2618 target: "title_expand";
2619 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2621 program { name: "title_clicked";
2622 signal: "mouse,clicked,1";
2623 source: "click_event_area";
2624 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2627 name: "mirrored_on";
2628 signal: "edje,state,rtl";
2631 set_int(g_mirrored, 1);
2632 run_program(PROGRAM:"title_text_fade_out");
2636 name: "mirrored_off";
2637 signal: "edje,state,ltr";
2640 set_int(g_mirrored, 0);
2641 run_program(PROGRAM:"title_text_fade_out");
2645 name: "title_text_fade_out";
2647 if (get_int(g_text_fade_out_calc_timer)) {
2648 cancel_timer(g_text_fade_out_calc_timer);
2649 set_int(g_text_fade_out_calc_timer, 0);
2651 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2657 //////////////////////////////////////////////////////////////////////////////////
2658 // Customizing panel for send button.
2659 //////////////////////////////////////////////////////////////////////////////////
2661 // ***************************** Panel*****************************************/
2662 #define PANEL_LEFT_PADDING_SIZE_INC 8
2663 #define PANEL_RIGHT_PADDING_SIZE_INC 6
2664 #define PANEL_LEFT_IMAGE_SIZE_INC 29 36
2665 #define PANEL_RIGHT_IMAGE_SIZE_INC 16 36
2666 #define PANEL_RIGHT_CUE_SIZE_INC 32 158
2667 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158
2668 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140
2669 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140
2670 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200
2671 #define PANEL_LAYOUT_SIZE_INC 360 360
2674 image, "./b_more_option.png" COMP;
2675 image, "./b_more_option_ef.png" COMP;
2676 image, "./b_more_option_bg.png" COMP;
2677 image, "./b_ic_press_full_circle_bg.png" COMP;
2680 group { name: "elm/panel/right1/default";
2682 public mouse_down = 0;
2683 public mouse_click = 0;
2684 public multi_down = 0;
2685 public click_cnt = 0;
2686 public event_down = 0;
2687 public cue_hide = 0;
2688 public timer0(val) {
2690 run_program(PROGRAM:"change_opacity");
2692 run_program(PROGRAM:"change_opacity2");
2699 description { state: "default" 0.0;
2700 min: PANEL_LAYOUT_SIZE_INC;
2701 max: PANEL_LAYOUT_SIZE_INC;
2702 //color_class: "transparent";
2706 part { name: "cue.padding";
2708 description { state: "default" 0.0;
2710 rel1.relative: 1.0 0.0;
2712 rel2.relative: 1.0 1.0;
2714 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2715 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2720 description { state: "default" 0.0;
2721 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2722 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2724 image.normal: "./b_more_option.png";
2725 color: 128 128 128 128;
2726 rel1.to: "cue.padding";
2727 rel1.relative: 0.0 0.0;
2728 rel2.to: "cue.padding";
2729 rel2.relative: 0.0 1.0;
2732 description { state: "hidden" 0.0;
2733 inherit: "default" 0.0;
2736 description { state: "disabled" 0.0;
2737 inherit: "default" 0.0;
2738 color: 128 128 128 128;
2741 part { name: "cue_ef";
2742 description { state: "default" 0.0;
2743 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2744 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2746 image.normal: "./b_more_option_ef.png";
2747 color: 128 128 128 128;
2751 description { state: "hidden" 0.0;
2752 inherit: "default" 0.0;
2756 part { name: "effect_bg";
2758 clip_to: "effect_bg_clip";
2760 description { state: "default" 0.0;
2761 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2762 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2764 rel1.relative: 1.0 0.0;
2766 rel2.relative: 1.0 1.0;
2769 image.normal: "./b_ic_press_full_circle_bg.png";
2770 color: 128 128 128 128;
2773 description { state: "pressed" 0.0;
2774 inherit: "default" 0.0;
2775 color: 128 128 128 128;
2781 description { state: "disabled" 0.0;
2782 inherit: "default" 0.0;
2784 description { state: "start_persp" 0.0;
2785 inherit: "default" 0.0;
2786 color: 128 128 128 128;
2793 part { name: "effect_bg_clip";
2797 description { state: "default" 0.0;
2798 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2799 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2801 rel1.relative: 1.0 0.0;
2803 rel2.relative: 1.0 1.0;
2806 color: 255 255 255 0;
2808 description { state: "pressed" 0.0;
2809 inherit: "default" 0.0;
2810 color: 255 255 255 255;
2812 description { state: "disabled" 0.0;
2813 inherit: "default" 0.0;
2816 part { name: "effect_bg2";
2818 clip_to: "effect_bg_clip2";
2820 description { state: "default" 0.0;
2821 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2822 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2824 rel1.relative: 1.0 0.0;
2826 rel2.relative: 1.0 1.0;
2829 image.normal: "./b_ic_press_full_circle_bg.png";
2830 //color_class: "transparent";
2834 description { state: "pressed" 0.0;
2835 inherit: "default" 0.0;
2836 color: 128 128 128 128;
2842 description { state: "disabled" 0.0;
2843 inherit: "default" 0.0;
2845 description { state: "start_persp" 0.0;
2846 inherit: "default" 0.0;
2847 color: 128 128 128 128;
2854 part { name: "effect_bg_clip2";
2858 description { state: "default" 0.0;
2859 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2860 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2862 rel1.relative: 1.0 0.0;
2864 rel2.relative: 1.0 1.0;
2867 color: 255 255 255 0;
2869 description { state: "pressed" 0.0;
2870 inherit: "default" 0.0;
2871 color: 255 255 255 255;
2873 description { state: "disabled" 0.0;
2874 inherit: "default" 0.0;
2877 part { name: "cue.event";
2880 description { state: "default" 0.0;
2881 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2882 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2884 //color_class: "transparent";
2887 rel1.relative: 1.0 0.0;
2889 rel2.relative: 1.0 1.0;
2892 description { state: "hidden" 0.0;
2893 inherit: "default" 0.0;
2897 part { name: "cue.release.event";
2900 description { state: "default" 0.0;
2901 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2902 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2904 //color_class: "transparent";
2907 rel1.relative: 1.0 0.0;
2909 rel2.relative: 1.0 1.0;
2912 description { state: "hidden" 0.0;
2913 inherit: "default" 0.0;
2917 part { name: "base";
2919 description { state: "default" 0.0;
2926 image.normal: "./b_more_option_bg.png";
2927 color: 128 128 128 128;
2940 description { state: "show" 0.0;
2941 inherit: "default" 0.0;
2948 color[0]: 255 255 255 255;
2949 color[1]: 255 255 255 255;
2950 color[2]: 255 255 255 255;
2951 color[3]: 255 255 255 255;
2955 part { name: "elm.swallow.content";
2957 description { state: "default" 0.0;
2974 description { state: "show" 0.0;
2975 inherit: "default" 0.0;
2982 color[0]: 255 255 255 255;
2983 color[1]: 255 255 255 255;
2984 color[2]: 255 255 255 255;
2985 color[3]: 255 255 255 255;
2991 program { name: "pressed";
2992 signal: "mouse,down,1*";
2993 source: "cue.event";
2995 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2997 set_int(mouse_down, 1);
2998 set_int(event_down, 1);
2999 run_program(PROGRAM:"button_press1");
3003 program { name: "button_press1";
3007 get_state(PART:"effect_bg", st, 30, vl);
3008 if (strcmp(st, "disabled")) {
3009 emit("elm,action,press", "");
3010 run_program(PROGRAM:"haptic");
3011 if(get_int(click_cnt) == 0) {
3012 set_state(PART:"effect_bg", "pressed", 0.0);
3013 set_state(PART:"effect_bg_clip", "pressed", 0.0);
3014 run_program(PROGRAM:"start_persp");
3015 timer(0.3, "timer0", 1);
3017 else if(get_int(click_cnt) == 1) {
3018 set_state(PART:"effect_bg2", "pressed", 0.0);
3019 set_state(PART:"effect_bg_clip2", "pressed", 0.0);
3020 run_program(PROGRAM:"start_persp2");
3021 timer(0.3, "timer0", 2);
3026 program { name: "unpressed";
3027 signal: "mouse,up,1";
3028 source: "cue.event";
3030 if (get_int(mouse_down) == 1) {
3031 set_int(mouse_down, 0);
3032 run_program(PROGRAM:"button_unpress1");
3036 program { name: "button_unpress1";
3040 get_state(PART:"effect_bg", st, 30, vl);
3041 if (strcmp(st, "disabled")) {
3042 if(get_int(click_cnt) == 0)
3043 set_int(click_cnt, 1);
3045 set_int(click_cnt, 0);
3049 program { name: "release.event_clicked";
3050 signal: "mouse,clicked,*";
3051 source: "cue.release.event";
3053 if (get_int(event_down) == 1) {
3054 set_int(event_down, 0);
3055 emit("cue,clicked", "elm");
3056 run_program(PROGRAM:"panel_toggle");
3057 run_program(PROGRAM:"play_sample");
3062 name: "play_sample";
3063 action: RUN_PLUGIN "touch_sound";
3065 program { name: "panel_toggle";
3066 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
3070 action: RUN_PLUGIN "haptic_tap";
3072 program { name: "disable";
3073 signal: "elm,state,disabled";
3076 if (get_int(cue_hide) == 0)
3077 set_state(PART:"cue", "disabled", 0.0);
3078 set_state(PART:"effect_bg", "disabled", 0.0);
3079 set_state(PART:"cue.event", "hidden", 0.0);
3080 set_state(PART:"cue.release.event", "hidden", 0.0);
3083 program { name: "enable";
3084 signal: "elm,state,enabled";
3087 if (get_int(cue_hide) == 1) {
3088 set_state(PART:"cue", "hidden", 0.0);
3089 set_state(PART:"cue.event", "hidden", 0.0);
3090 set_state(PART:"cue.release.event", "hidden", 0.0);
3093 set_state(PART:"cue", "default", 0.0);
3094 set_state(PART:"cue.event", "default", 0.0);
3095 set_state(PART:"cue.release.event", "default", 0.0);
3097 set_state(PART:"effect_bg", "default", 0.0);
3100 program { name: "multi_down";
3101 signal: "elm,action,multi,down";
3104 set_int(multi_down, 1);
3107 program { name: "multi_up";
3108 signal: "elm,action,multi,up";
3111 set_int(multi_down, 0);
3114 program { name: "start_persp";
3115 action: STATE_SET "start_persp" 0.0;
3116 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3117 target: "effect_bg";
3119 program { name: "change_opacity";
3120 action: STATE_SET "default" 0.0;
3121 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3122 target: "effect_bg_clip";
3124 program { name: "start_persp2";
3125 action: STATE_SET "start_persp" 0.0;
3126 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3127 target: "effect_bg2";
3129 program { name: "change_opacity2";
3130 action: STATE_SET "default" 0.0;
3131 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3132 target: "effect_bg_clip2";
3135 signal: "elm,action,show";
3137 action: STATE_SET "show" 0.0;
3138 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3139 target: "elm.swallow.content";
3141 after: "active,finished";
3144 signal: "elm,action,hide";
3146 action: STATE_SET "default" 0.0;
3147 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3148 target: "elm.swallow.content";
3150 after: "inactive,finished";
3152 program { name: "active,finished";
3153 action: SIGNAL_EMIT "elm,state,active,finished" "elm";
3155 program { name: "inactive,finished";
3156 action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
3158 program { name: "cue,hide";
3162 set_int(cue_hide, 1);
3163 set_state(PART:"cue", "hidden", 0.0);
3164 set_state(PART:"cue_ef", "hidden", 0.0);
3165 set_state(PART:"cue.event", "hidden", 0.0);
3166 set_state(PART:"cue.release.event", "hidden", 0.0);
3169 program { name: "cue,show";
3173 set_int(cue_hide, 0);
3174 set_state(PART:"cue", "default", 0.0);
3175 set_state(PART:"cue_ef", "default", 0.0);
3176 set_state(PART:"cue.event", "default", 0.0);
3177 set_state(PART:"cue.release.event", "default", 0.0);
3183 group { name: "elm/panel/left1/default";
3184 inherit: "elm/panel/right1/default";
3186 part { name: "cue.padding";
3188 description { state: "default" 0.0;
3190 rel1.relative: 0.0 0.0;
3192 rel2.relative: 0.0 1.0;
3194 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3195 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3200 description { state: "default" 0.0;
3201 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3202 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3204 image.normal: "./b_more_option.png";
3205 color: 128 128 128 128;
3206 rel1.to: "cue.padding";
3207 rel1.relative: 1.0 0.0;
3208 rel2.to: "cue.padding";
3209 rel2.relative: 1.0 1.0;
3212 description { state: "hidden" 0.0;
3213 inherit: "default" 0.0;
3216 description { state: "disabled" 0.0;
3217 inherit: "default" 0.0;
3218 color: 128 128 128 128;
3221 part { name: "cue_ef";
3222 description { state: "default" 0.0;
3223 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3224 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3226 image.normal: "./b_more_option_ef.png";
3227 color: 128 128 128 128;
3231 description { state: "hidden" 0.0;
3232 inherit: "default" 0.0;
3236 part { name: "effect_bg";
3238 clip_to: "effect_bg_clip";
3240 description { state: "default" 0.0;
3241 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3242 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3244 rel1.relative: 0.0 0.0;
3246 rel2.relative: 0.0 1.0;
3249 image.normal: "./b_ic_press_full_circle_bg.png";
3250 color: 128 128 128 128;
3253 description { state: "pressed" 0.0;
3254 inherit: "default" 0.0;
3255 color: 128 128 128 128;
3261 description { state: "disabled" 0.0;
3262 inherit: "default" 0.0;
3264 description { state: "start_persp" 0.0;
3265 inherit: "default" 0.0;
3266 color: 128 128 128 128;
3273 part { name: "effect_bg_clip";
3277 description { state: "default" 0.0;
3278 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3279 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3281 rel1.relative: 0.0 0.0;
3283 rel2.relative: 0.0 1.0;
3286 color: 255 255 255 0;
3288 description { state: "pressed" 0.0;
3289 inherit: "default" 0.0;
3290 color: 255 255 255 255;
3292 description { state: "disabled" 0.0;
3293 inherit: "default" 0.0;
3296 part { name: "effect_bg2";
3298 clip_to: "effect_bg_clip2";
3300 description { state: "default" 0.0;
3301 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3302 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3304 rel1.relative: 0.0 0.0;
3306 rel2.relative: 0.0 1.0;
3309 image.normal: "./b_ic_press_full_circle_bg.png";
3310 //color_class: "transparent";
3314 description { state: "pressed" 0.0;
3315 inherit: "default" 0.0;
3316 color: 128 128 128 128;
3322 description { state: "disabled" 0.0;
3323 inherit: "default" 0.0;
3325 description { state: "start_persp" 0.0;
3326 inherit: "default" 0.0;
3327 color: 128 128 128 128;
3334 part { name: "effect_bg_clip2";
3338 description { state: "default" 0.0;
3339 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3340 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3342 rel1.relative: 0.0 0.0;
3344 rel2.relative: 0.0 1.0;
3347 color: 255 255 255 0;
3349 description { state: "pressed" 0.0;
3350 inherit: "default" 0.0;
3351 color: 255 255 255 255;
3353 description { state: "disabled" 0.0;
3354 inherit: "default" 0.0;
3357 part { name: "cue.event";
3359 description { state: "default" 0.0;
3360 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3361 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3363 //color_class: "transparent";
3366 rel1.relative: 0.0 0.0;
3368 rel2.relative: 0.0 1.0;
3371 description { state: "hidden" 0.0;
3372 inherit: "default" 0.0;
3376 part { name: "cue.release.event";
3379 description { state: "default" 0.0;
3380 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3381 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3383 //color_class: "transparent";
3386 rel1.relative: 0.0 0.0;
3388 rel2.relative: 0.0 1.0;
3391 description { state: "hidden" 0.0;
3392 inherit: "default" 0.0;
3399 group { name: "elm/panel/left_sending/default";
3400 inherit: "elm/panel/left1/default";
3402 part { name: "cue.padding";
3404 description { state: "default" 0.0;
3406 rel1.relative: 0.0 0.0;
3408 rel2.relative: 0.0 1.0;
3410 min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3411 max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3416 description { state: "default" 0.0;
3417 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3418 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3420 image.normal: "./b_stt_send_icon.png";
3421 color: 128 128 128 128;
3422 rel1.to: "cue.padding";
3423 rel1.relative: 1.0 0.0;
3424 rel2.to: "cue.padding";
3425 rel2.relative: 1.0 1.0;
3428 description { state: "hidden" 0.0;
3429 inherit: "default" 0.0;
3432 description { state: "disabled" 0.0;
3433 inherit: "default" 0.0;
3434 color_class: "AO015L2D";//"B052L1D";
3437 part { name: "cue_ef";
3438 description { state: "default" 0.0;
3439 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3440 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3443 image.normal: "./b_more_option_ef.png";
3444 color: 128 128 128 128;
3448 description { state: "hidden" 0.0;
3449 inherit: "default" 0.0;
3456 group { name: "elm/panel/left_confirm/default";
3457 inherit: "elm/panel/left_sending/default";
3460 description { state: "default" 0.0;
3461 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3462 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3464 image.normal: "./b_stt_confirm_icon.png";
3465 color: 128 128 128 128;
3466 rel1.to: "cue.padding";
3467 rel1.relative: 1.0 0.0;
3468 rel2.to: "cue.padding";
3469 rel2.relative: 1.0 1.0;
3472 description { state: "hidden" 0.0;
3473 inherit: "default" 0.0;
3476 description { state: "disabled" 0.0;
3477 inherit: "default" 0.0;
3478 color_class: "AO015L2D";//"B052L1D";