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;
61 image, "./wi_drawing_bg.png" COMP;
63 image, "./b_stt_text_fade_out.png" COMP;
64 image, "./b_stt_icon_btn.png" COMP;
65 image, "./b_stt_confirm_icon.png" COMP;
66 image, "./b_stt_send_icon.png" COMP;
164 color: 163 163 163 100;
169 color: 97 12 117 255;
179 color: 110 110 110 100;
194 color: 122 122 122 100;
304 color: 102 102 102 100;
390 color: 128 128 128 100;
440 color: 0 151 207 100;
456 style { name, "textblock_style";
457 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
460 tag, "hilight" "+ font=Tizen:style=Bold";
461 tag, "b" "+ font=Tizen:style=Bold";
464 style { name, "textblock_style_bottom";
465 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
468 tag, "hilight" "+ font=Tizen:style=Bold";
469 tag, "b" "+ font=Tizen:style=Bold";
472 style { name: "button_general_text_dim";
473 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed";
475 style { name: "button_general_text_press";
476 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed";
478 style { name: "button_general_text_normal";
479 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed";
495 state, "default" 0.0;
505 color_class, "AO0118";
515 state, "default" 0.0;
537 state, "default" 0.0;
558 name, "left_panel_area";
562 state, "default" 0.0;
585 state, "default" 0.0;
598 image.normal, "./tw_bottom_btn_bg.png";
599 color: 128 128 128 128;
603 state, "pressed" 0.0;
604 inherit, "default" 0.0;
605 color: 128 128 128 128;
610 inherit, "default" 0.0;
611 color: 128 128 128 128;
617 name, "EFFECT_BG_AREA";
621 state, "default" 0.0;
647 relative, 0 (360+64)/360;
653 relative, 1 (360+64)/360;
668 state, "default" 0.0;
673 to, "EFFECT_BG_AREA";
678 to, "EFFECT_BG_AREA";
683 state, "default" 0.1;
684 inherit, "default" 0.0;
697 state, "default" 0.0;
702 relative, 155/360 26/100;
707 relative, 205/360 76/100;
710 image.normal, "./input_ic_voice_mic.png";
714 state, "recording" 0.0;
715 inherit, "default" 0.0;
720 state, "processing" 0.0;
721 inherit, "default" 0.0;
726 state, "message" 0.0;
727 inherit, "default" 0.0;
730 relative, 155/360 41/100;
735 relative, 205/360 91/100;
744 //Part for mic button
752 state, "default" 0.0;
758 relative, 35/360 0.0;
763 relative, 325/360 1.0;
770 name, "PROGRESS_BAR";
775 state, "default" 0.0;
781 relative, 155/360 27/100;
786 relative, 205/360 77/100;
792 state, "message" 0.0;
793 inherit, "default" 0.0;
797 state, "processing" 0.0;
798 inherit, "default" 0.0;
805 name, "guide_text_block";
809 state, "default" 0.0;
813 relative, 39/360 140/360;
818 relative, (360-39)/360 (140+42)/360;
828 relative, 74/360 (360-91)/360;
833 relative, (360-74)/360 (360-57)/360;
847 state, "default" 0.0;
850 rel1.to, "guide_text_block";
851 rel2.to, "guide_text_block";
855 style, "textblock_style";
857 color, 120 120 120 120;
862 inherit, "default" 0.0;
866 style, "textblock_style_bottom";
868 color, 120 120 120 120;
877 name, "initial_view";
878 signal, "mouse,clicked,1";
879 source, "background";
881 after, "emit_signal1";
886 name, "emit_signal1";
887 action, SIGNAL_EMIT "idle,state,pulse,visible" "";
893 signal, "elm,state,listening";
895 action, STATE_SET "recording" 0.0;
901 name, "start_processing";
902 signal, "elm,state,processing";
904 action, STATE_SET "processing" 0.0;
905 target, "PROGRESS_BAR";
907 transition, DECELERATE 0.3;
913 signal, "elm,state,init";
915 action, STATE_SET "default" 0.0;
916 target, "PROGRESS_BAR";
918 transition, DECELERATE 0.3;
922 name, "idle_message";
923 signal, "elm,state,init_message";
925 action, STATE_SET "message" 0.0;
926 target, "PROGRESS_BAR";
933 signal, "idle,state,text,visible";
935 action, STATE_SET "expand" 0.0;
942 signal, "idle,state,text,hidden";
944 action, STATE_SET "default" 0.0;
949 name, "show_effect_part";
950 signal, "elm,state,eq,show";
952 action, STATE_SET "default" 0.1;
958 name, "hide_effect_part";
959 signal, "elm,state,eq,hide";
961 action, STATE_SET "default" 0.0;
967 name, "guide_text_up";
968 signal, "idle,state,guide_text,up";
970 action, STATE_SET "default" 0.0;
971 target, "guide_text_block";
975 name, "guide_text_bottom";
976 signal, "idle,state,guide_text,bottom";
978 action, STATE_SET "bottom" 0.0;
979 target, "guide_text_block";
988 name: "option_more_index";
998 state: "default" 0.0;
1010 state: "default" 0.0;
1022 state: "default" 0.0;
1028 rel1.relative: 0.0 0.0;
1030 rel2.relative: 1.0 0.0;
1038 name, "language_list";
1048 state, "default" 0.0;
1070 state, "default" 0.0;
1087 name: "layout_textblock";
1090 public timer_cb(val) {
1091 run_program(PROGRAM:"do_scroll");
1103 state, "default" 0.0;
1115 part { name: "elm.swallow.content";
1118 description { state: "default" 0.0;
1120 color, 120 120 120 120;
1128 signal, "scrolling";
1131 timer(3/10, "timer_cb", 0);
1137 action, SIGNAL_EMIT "do_scroll" "entry";
1142 group{ name: "entry_focused_layout";
1151 state, "default" 0.0;
1161 color, 120 120 120 120;
1164 part { name: "padding_top";
1168 state: "default" 0.0;
1170 rel1.relative: 0.0 0.0;
1171 rel2.relative: 1.0 0.0;
1176 part { name: "padding_left";
1180 state: "default" 0.0;
1182 rel1.relative: 0.0 0.0;
1183 rel2.relative: 0.0 1.0;
1188 part { name: "padding_right";
1192 state: "default" 0.0;
1194 rel1.relative: 1.0 0.0;
1195 rel2.relative: 1.0 1.0;
1205 state: "default" 0.0;
1206 rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1207 rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1218 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1221 name: "elm/progressbar/horizontal/voice_input/process/small";
1223 image: "style/tw_loading_small_00.png" COMP;
1224 image: "style/tw_loading_small_01.png" COMP;
1225 image: "style/tw_loading_small_02.png" COMP;
1226 image: "style/tw_loading_small_03.png" COMP;
1227 image: "style/tw_loading_small_04.png" COMP;
1228 image: "style/tw_loading_small_05.png" COMP;
1229 image: "style/tw_loading_small_06.png" COMP;
1230 image: "style/tw_loading_small_07.png" COMP;
1231 image: "style/tw_loading_small_08.png" COMP;
1232 image: "style/tw_loading_small_09.png" COMP;
1233 image: "style/tw_loading_small_10.png" COMP;
1234 image: "style/tw_loading_small_11.png" COMP;
1235 image: "style/tw_loading_small_12.png" COMP;
1236 image: "style/tw_loading_small_13.png" COMP;
1237 image: "style/tw_loading_small_14.png" COMP;
1238 image: "style/tw_loading_small_15.png" COMP;
1239 image: "style/tw_loading_small_16.png" COMP;
1240 image: "style/tw_loading_small_17.png" COMP;
1241 image: "style/tw_loading_small_18.png" COMP;
1242 image: "style/tw_loading_small_19.png" COMP;
1243 image: "style/tw_loading_small_20.png" COMP;
1244 image: "style/tw_loading_small_21.png" COMP;
1245 image: "style/tw_loading_small_22.png" COMP;
1246 image: "style/tw_loading_small_23.png" COMP;
1247 image: "style/tw_loading_small_24.png" COMP;
1248 image: "style/tw_loading_small_25.png" COMP;
1249 image: "style/tw_loading_small_26.png" COMP;
1250 image: "style/tw_loading_small_27.png" COMP;
1251 image: "style/tw_loading_small_28.png" COMP;
1252 image: "style/tw_loading_small_29.png" COMP;
1253 image: "style/tw_loading_small_30.png" COMP;
1254 image: "style/tw_loading_small_31.png" COMP;
1255 image: "style/tw_loading_small_32.png" COMP;
1256 image: "style/tw_loading_small_33.png" COMP;
1257 image: "style/tw_loading_small_34.png" COMP;
1258 image: "style/tw_loading_small_35.png" COMP;
1259 image: "style/tw_loading_small_36.png" COMP;
1260 image: "style/tw_loading_small_37.png" COMP;
1261 image: "style/tw_loading_small_38.png" COMP;
1262 image: "style/tw_loading_small_39.png" COMP;
1263 image: "style/tw_loading_small_40.png" COMP;
1264 image: "style/tw_loading_small_41.png" COMP;
1265 image: "style/tw_loading_small_42.png" COMP;
1266 image: "style/tw_loading_small_43.png" COMP;
1267 image: "style/tw_loading_small_44.png" COMP;
1268 image: "style/tw_loading_small_45.png" COMP;
1269 image: "style/tw_loading_small_46.png" COMP;
1270 image: "style/tw_loading_small_47.png" COMP;
1271 image: "style/tw_loading_small_48.png" COMP;
1272 image: "style/tw_loading_small_49.png" COMP;
1273 image: "style/tw_loading_small_50.png" COMP;
1274 image: "style/tw_loading_small_51.png" COMP;
1275 image: "style/tw_loading_small_52.png" COMP;
1276 image: "style/tw_loading_small_53.png" COMP;
1277 image: "style/tw_loading_small_54.png" COMP;
1278 image: "style/tw_loading_small_55.png" COMP;
1279 image: "style/tw_loading_small_56.png" COMP;
1280 image: "style/tw_loading_small_57.png" COMP;
1281 image: "style/tw_loading_small_58.png" COMP;
1282 image: "style/tw_loading_small_59.png" COMP;
1283 image: "style/tw_loading_small_60.png" COMP;
1284 image: "style/tw_loading_small_61.png" COMP;
1285 image: "style/tw_loading_small_62.png" COMP;
1286 image: "style/tw_loading_small_63.png" COMP;
1287 image: "style/tw_loading_small_64.png" COMP;
1295 state: "default" 0.0;
1301 name: "elm.background.progressbar";
1306 state: "default" 0.0;
1313 clip_to: "elm.background.progressbar";
1315 state: "default" 0.0;
1316 min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1317 max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1320 aspect_preference: BOTH;
1321 image.normal: "style/tw_loading_small_00.png";
1322 image.tween: "style/tw_loading_small_01.png";
1323 image.tween: "style/tw_loading_small_02.png";
1324 image.tween: "style/tw_loading_small_03.png";
1325 image.tween: "style/tw_loading_small_04.png";
1326 image.tween: "style/tw_loading_small_05.png";
1327 image.tween: "style/tw_loading_small_06.png";
1328 image.tween: "style/tw_loading_small_07.png";
1329 image.tween: "style/tw_loading_small_08.png";
1330 image.tween: "style/tw_loading_small_09.png";
1331 image.tween: "style/tw_loading_small_10.png";
1332 image.tween: "style/tw_loading_small_11.png";
1333 image.tween: "style/tw_loading_small_12.png";
1334 image.tween: "style/tw_loading_small_13.png";
1335 image.tween: "style/tw_loading_small_14.png";
1336 image.tween: "style/tw_loading_small_15.png";
1337 image.tween: "style/tw_loading_small_16.png";
1338 image.tween: "style/tw_loading_small_17.png";
1339 image.tween: "style/tw_loading_small_18.png";
1340 image.tween: "style/tw_loading_small_19.png";
1341 image.tween: "style/tw_loading_small_20.png";
1342 image.tween: "style/tw_loading_small_21.png";
1343 image.tween: "style/tw_loading_small_22.png";
1344 image.tween: "style/tw_loading_small_23.png";
1345 image.tween: "style/tw_loading_small_24.png";
1346 image.tween: "style/tw_loading_small_25.png";
1347 image.tween: "style/tw_loading_small_26.png";
1348 image.tween: "style/tw_loading_small_27.png";
1349 image.tween: "style/tw_loading_small_28.png";
1350 image.tween: "style/tw_loading_small_29.png";
1351 image.tween: "style/tw_loading_small_30.png";
1352 image.tween: "style/tw_loading_small_31.png";
1353 image.tween: "style/tw_loading_small_32.png";
1354 image.tween: "style/tw_loading_small_33.png";
1355 image.tween: "style/tw_loading_small_34.png";
1356 image.tween: "style/tw_loading_small_35.png";
1357 image.tween: "style/tw_loading_small_36.png";
1358 image.tween: "style/tw_loading_small_37.png";
1359 image.tween: "style/tw_loading_small_38.png";
1360 image.tween: "style/tw_loading_small_39.png";
1361 image.tween: "style/tw_loading_small_40.png";
1362 image.tween: "style/tw_loading_small_41.png";
1363 image.tween: "style/tw_loading_small_42.png";
1364 image.tween: "style/tw_loading_small_43.png";
1365 image.tween: "style/tw_loading_small_44.png";
1366 image.tween: "style/tw_loading_small_45.png";
1367 image.tween: "style/tw_loading_small_46.png";
1368 image.tween: "style/tw_loading_small_47.png";
1369 image.tween: "style/tw_loading_small_48.png";
1370 image.tween: "style/tw_loading_small_48.png";
1371 image.tween: "style/tw_loading_small_49.png";
1372 image.tween: "style/tw_loading_small_50.png";
1373 image.tween: "style/tw_loading_small_51.png";
1374 image.tween: "style/tw_loading_small_52.png";
1375 image.tween: "style/tw_loading_small_53.png";
1376 image.tween: "style/tw_loading_small_54.png";
1377 image.tween: "style/tw_loading_small_55.png";
1378 image.tween: "style/tw_loading_small_56.png";
1379 image.tween: "style/tw_loading_small_57.png";
1380 image.tween: "style/tw_loading_small_58.png";
1381 image.tween: "style/tw_loading_small_59.png";
1382 image.tween: "style/tw_loading_small_60.png";
1383 image.tween: "style/tw_loading_small_61.png";
1384 image.tween: "style/tw_loading_small_62.png";
1385 image.tween: "style/tw_loading_small_63.png";
1386 image.tween: "style/tw_loading_small_64.png";
1387 color: 128 128 128 128;
1393 name: "start_pulse";
1394 signal: "elm,state,pulse,start";
1396 action: STATE_SET "default" 0.0;
1398 transition: LINEAR 1.8;
1399 after: "start_pulse";
1403 signal: "elm,state,pulse,stop";
1405 action: ACTION_STOP;
1406 target: "start_pulse";
1407 after: "init_pulse";
1409 program { name: "init_pulse";
1410 action: STATE_SET "default" 0.0;
1417 #define BUTTON_PADDING_SIZE_INC 20 0
1418 #define BUTTON_HEIGHT_INC 122
1419 #define BUTTON_ICON_SIZE_INC 60 60
1420 group { name: "elm/button/base/default";
1422 public mouse_down = 0;
1423 public multi_down = 0;
1429 description { state: "default" 0.0;
1430 min: 0 BUTTON_HEIGHT_INC;
1431 color_class: "W011";
1433 description { state: "pressed" 0.0;
1434 inherit: "default" 0.0;
1435 color_class: "W011P";
1437 description { state: "disabled" 0.0;
1438 inherit: "default" 0.0;
1439 color_class: "W011D";
1442 part { name: "padding_left_top";
1445 description { state: "default" 0.0;
1447 rel2.relative: 0.0 0.0;
1448 min: BUTTON_PADDING_SIZE_INC;
1452 part { name: "padding_right_bottom";
1455 description { state: "default" 0.0;
1457 rel1.relative: 1.0 1.0;
1458 min: BUTTON_PADDING_SIZE_INC;
1462 part { name: "icon_rect";
1465 description { state: "default" 0.0;
1469 to: "padding_left_top";
1473 to_x: "padding_left_top";
1474 to_y: "padding_right_bottom";
1479 description { state: "visible" 0.0;
1480 inherit: "default" 0.0;
1481 min: BUTTON_ICON_SIZE_INC;
1482 max: BUTTON_ICON_SIZE_INC;
1486 part { name: "elm.swallow.content";
1488 clip_to: "elm.swallow.content.clip";
1490 description { state: "default" 0.0;
1495 to: "padding_left_top";
1499 to_x: "padding_left_top";
1500 to_y: "padding_right_bottom";
1504 description { state: "visible" 0.0;
1506 min: BUTTON_ICON_SIZE_INC;
1507 max: BUTTON_ICON_SIZE_INC;
1512 to_y: "padding_left_top";
1517 to_y: "padding_right_bottom";
1520 description { state: "icononly" 0.0;
1521 min: BUTTON_ICON_SIZE_INC;
1522 max: BUTTON_ICON_SIZE_INC;
1525 part { name: "elm.text";
1529 description { state: "default" 0.0;
1534 to_y: "padding_left_top";
1538 to: "padding_right_bottom";
1542 style: "button_general_text_normal";
1545 description { state: "disabled" 0.0;
1546 inherit: "default" 0.0;
1547 text.style: "button_general_text_dim";
1549 description { state: "pressed" 0.0;
1550 inherit: "default" 0.0;
1551 text.style: "button_general_text_press";
1554 part { name: "elm.swallow.content.clip";
1557 description { state: "default" 0.0;
1558 color_class: "F022L1i";
1560 description { state: "disabled" 0.0;
1561 inherit: "default" 0.0;
1562 color_class: "F022L1iD";
1565 part { name: "event";
1568 description { state: "default" 0.0;
1576 program { name: "pressed";
1577 signal: "mouse,down,1*";
1580 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1582 set_int(mouse_down, 1);
1583 run_program(PROGRAM:"button_press1");
1587 program { name: "button_press1";
1591 get_state(PART:"bg", st, 30, vl);
1592 if (strcmp(st, "disabled")) {
1593 set_state(PART:"bg", "pressed", 0.0);
1594 set_state(PART:"elm.text", "pressed", 0.0);
1595 emit("elm,action,press", "");
1599 program { name: "unpressed";
1600 signal: "mouse,up,1";
1603 if (get_int(mouse_down) == 1) {
1604 set_int(mouse_down, 0);
1605 run_program(PROGRAM:"button_unpress1");
1609 program { name: "button_unpress1";
1613 get_state(PART:"bg", st, 30, vl);
1614 if (strcmp(st, "disabled")) {
1615 set_state(PART:"bg", "default", 0.0);
1616 set_state(PART:"elm.text", "default", 0.0);
1617 emit("elm,action,unpress", "");
1621 program { name: "touch_snd";
1622 signal: "mouse,clicked,1";
1627 if (get_int(multi_down) == 0) {
1628 get_state(PART:"bg", st, 30, vl);
1629 if (strcmp(st, "disabled")) {
1630 //run_program(PROGRAM:"play_sample");
1631 emit("elm,action,click", "");
1637 name: "play_sample";
1638 action: RUN_PLUGIN "touch_sound";
1640 program { name: "text_show";
1641 signal: "elm,state,text,visible";
1646 get_state(PART:"elm.swallow.content", st, 30, vl);
1647 if (!strcmp(st, "icononly"))
1649 set_state(PART:"elm.swallow.content", "visible", 0.0);
1650 set_state(PART:"icon_rect", "visible", 0.0);
1652 get_state(PART:"bg", st, 30, vl);
1653 if (strcmp(st, "disabled"))
1654 set_state(PART:"elm.text", "default", 0.0);
1656 set_state(PART:"elm.text", "disabled", 0.0);
1659 program { name: "text_hide";
1660 signal: "elm,state,text,hidden";
1665 get_state(PART:"elm.swallow.content", st, 30, vl);
1666 if (!strcmp(st, "visible"))
1668 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1669 set_state(PART:"icon_rect", "default", 0.0);
1671 set_state(PART:"elm.text", "default", 0.0);
1674 program { name: "icon_show";
1675 signal: "elm,state,icon,visible";
1677 action: STATE_SET "visible" 0.0;
1678 target: "elm.swallow.content";
1679 target: "icon_rect";
1681 program { name: "icon_hide";
1682 signal: "elm,state,icon,hidden";
1684 action: STATE_SET "default" 0.0;
1685 target: "elm.swallow.content";
1686 target: "icon_rect";
1688 program { name: "disable";
1689 signal: "elm,state,disabled";
1691 action: STATE_SET "disabled" 0.0;
1693 target: "elm.swallow.content.clip";
1696 program { name: "enable";
1697 signal: "elm,state,enabled";
1699 action: STATE_SET "default" 0.0;
1701 target: "elm.swallow.content.clip";
1704 program { name: "multi_down";
1705 signal: "elm,action,multi,down";
1708 set_int(multi_down, 1);
1711 program { name: "multi_up";
1712 signal: "elm,action,multi,up";
1715 set_int(multi_down, 0);
1721 group { name: "elm/button/base/ime_transparent";
1722 inherit: "elm/button/base/default";
1727 description { state: "default" 0.0;
1731 description { state: "pressed" 0.0;
1732 inherit: "default" 0.0;
1734 description { state: "disabled" 0.0;
1735 inherit: "default" 0.0;
1741 group { name: "elm/button/base/ime_button";
1742 alias: "elm/button/base/ime_button_stt";
1743 inherit: "elm/button/base/default";
1748 description { state: "default" 0.0;
1750 color_class: "AO01153L1";
1752 image.normal: "./w_mode_ic_bg.png";
1754 description { state: "pressed" 0.0;
1755 inherit: "default" 0.0;
1756 color_class: "AO01153L1P";
1758 description { state: "disabled" 0.0;
1759 inherit: "default" 0.0;
1760 color_class: "W011D";
1763 part { name: "elm.swallow.content";
1766 clip_to: "elm.swallow.content.clip";
1767 description { state: "default" 0.0;
1770 rel1 { relative: 0.0 0.0; to: "bg";}
1771 rel2 { relative: 1.0 1.0; to: "bg";}
1774 description { state: "visible" 0.0;
1775 inherit: "default" 0.0;
1778 description { state: "icononly" 0.0;
1779 inherit: "default" 0.0;
1786 program { name: "pressed";
1787 signal: "mouse,down,1*";
1790 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1792 set_int(mouse_down, 1);
1793 run_program(PROGRAM:"button_press1");
1797 program { name: "button_press1";
1801 get_state(PART:"bg", st, 30, vl);
1802 if (strcmp(st, "disabled")) {
1803 set_state(PART:"bg", "pressed", 0.0);
1804 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1805 emit("elm,action,press", "");
1809 program { name: "unpressed";
1810 signal: "mouse,up,1";
1813 if (get_int(mouse_down) == 1) {
1814 set_int(mouse_down, 0);
1815 run_program(PROGRAM:"button_unpress1");
1819 program { name: "button_unpress1";
1823 get_state(PART:"bg", st, 30, vl);
1824 if (strcmp(st, "disabled")) {
1825 set_state(PART:"bg", "default", 0.0);
1826 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1827 emit("elm,action,unpress", "");
1834 group { name: "elm/button/base/ime_button_emoticon";
1835 inherit: "elm/button/base/ime_button";
1840 description { state: "default" 0.0;
1842 color_class: "AO01154L1";
1844 image.normal: "./w_mode_ic_bg.png";
1846 description { state: "pressed" 0.0;
1847 inherit: "default" 0.0;
1848 color_class: "AO01154L1P";
1850 description { state: "disabled" 0.0;
1851 inherit: "default" 0.0;
1852 color_class: "W011D";
1858 group { name: "elm/button/base/ime_button_keyboard";
1859 inherit: "elm/button/base/ime_button";
1864 description { state: "default" 0.0;
1866 color_class: "AO01155L1";
1868 image.normal: "./w_mode_ic_bg.png";
1870 description { state: "pressed" 0.0;
1871 inherit: "default" 0.0;
1872 color_class: "AO01155L1P";
1874 description { state: "disabled" 0.0;
1875 inherit: "default" 0.0;
1876 color_class: "W011D";
1882 group { name: "elm/button/base/ime_button_template";
1883 inherit: "elm/button/base/ime_button";
1888 description { state: "default" 0.0;
1891 color_class: "AO01161";
1893 image.normal: "./w_mode_ic_bg.png";
1895 description { state: "pressed" 0.0;
1896 inherit: "default" 0.0;
1897 color_class: "AO01161P";
1899 description { state: "disabled" 0.0;
1900 inherit: "default" 0.0;
1901 color_class: "AO01161D";
1904 part { name: "elm.swallow.content.clip";
1907 description { state: "default" 0.0;
1908 color_class: "AO01153L3";
1910 description { state: "pressed" 0.0;
1911 inherit: "default" 0.0;
1912 color_class: "AO01153L3P";
1914 description { state: "disabled" 0.0;
1915 inherit: "default" 0.0;
1916 color_class: "AO01153L3D";
1922 group { name: "elm/button/base/ime_button_drawing";
1923 inherit: "elm/button/base/ime_button";
1928 description { state: "default" 0.0;
1931 color_class: "AO0391";
1933 image.normal: "./wi_drawing_bg.png";
1935 description { state: "pressed" 0.0;
1936 inherit: "default" 0.0;
1937 color_class: "AO0391P";
1939 description { state: "disabled" 0.0;
1940 inherit: "default" 0.0;
1941 color_class: "AO0391D";
1947 group { name: "elm/button/base/ime_button_stt_confirm";
1948 inherit: "elm/button/base/ime_button";
1953 description { state: "default" 0.0;
1955 color_class: "AO015L2";
1957 image.normal: "./b_stt_icon_btn.png";
1959 description { state: "pressed" 0.0;
1960 inherit: "default" 0.0;
1961 color_class: "AO015L2P";
1963 description { state: "disabled" 0.0;
1964 inherit: "default" 0.0;
1965 color_class: "AO015L2D";
1968 part { name: "elm.swallow.content.clip";
1971 description { state: "default" 0.0;
1972 color_class: "AO015L2";
1974 description { state: "pressed" 0.0;
1975 inherit: "default" 0.0;
1976 color_class: "AO015L2P";
1978 description { state: "disabled" 0.0;
1979 inherit: "default" 0.0;
1980 color_class: "AO015L2D";
1986 group { name: "elm/button/base/touch_area";
1987 inherit: "elm/button/base/default";
1992 description { state: "default" 0.0;
1997 description { state: "pressed" 0.0;
1998 inherit: "default" 0.0;
2000 description { state: "disabled" 0.0;
2001 inherit: "default" 0.0;
2006 program { name: "touch_snd";
2007 signal: "mouse,clicked,1";
2012 if (get_int(multi_down) == 0) {
2013 get_state(PART:"bg", st, 30, vl);
2014 if (strcmp(st, "disabled")) {
2015 run_program(PROGRAM:"play_sample");
2016 emit("elm,action,click", "");
2024 group { name: "elm/button/base/emoticon";
2027 public mouse_down = 0;
2028 public multi_down = 0;
2034 description { state: "default" 0.0;
2037 description { state: "pressed" 0.0;
2038 inherit: "default" 0.0;
2040 description { state: "disabled" 0.0;
2041 inherit: "default" 0.0;
2044 part { name: "padding_left_top";
2047 description { state: "default" 0.0;
2049 rel2.relative: 0.0 0.0;
2053 //color: 255 0 0 100;
2056 part { name: "padding_right_bottom";
2059 description { state: "default" 0.0;
2061 rel1.relative: 1.0 1.0;
2065 //color: 0 255 0 100;
2068 part { name: "elm.text";
2072 description { state: "default" 0.0;
2076 to: "padding_left_top";
2080 to: "padding_right_bottom";
2084 style: "button_general_text_normal";
2087 description { state: "disabled" 0.0;
2088 inherit: "default" 0.0;
2089 text.style: "button_general_text_dim";
2091 description { state: "pressed" 0.0;
2092 inherit: "default" 0.0;
2093 text.style: "button_general_text_press";
2096 part { name: "event";
2099 description { state: "default" 0.0;
2107 program { name: "pressed";
2108 signal: "mouse,down,1*";
2111 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2113 set_int(mouse_down, 1);
2114 run_program(PROGRAM:"button_press1");
2118 program { name: "button_press1";
2122 get_state(PART:"bg", st, 30, vl);
2123 if (strcmp(st, "disabled")) {
2124 set_state(PART:"bg", "pressed", 0.0);
2125 set_state(PART:"elm.text", "pressed", 0.0);
2126 emit("elm,action,press", "");
2130 program { name: "unpressed";
2131 signal: "mouse,up,1";
2134 if (get_int(mouse_down) == 1) {
2135 set_int(mouse_down, 0);
2136 run_program(PROGRAM:"button_unpress1");
2140 program { name: "button_unpress1";
2144 get_state(PART:"bg", st, 30, vl);
2145 if (strcmp(st, "disabled")) {
2146 set_state(PART:"bg", "default", 0.0);
2147 set_state(PART:"elm.text", "default", 0.0);
2148 emit("elm,action,unpress", "");
2152 program { name: "touch_snd";
2153 signal: "mouse,clicked,1";
2158 if (get_int(multi_down) == 0) {
2159 get_state(PART:"bg", st, 30, vl);
2160 if (strcmp(st, "disabled")) {
2161 run_program(PROGRAM:"play_sample");
2162 emit("elm,action,click", "");
2168 name: "play_sample";
2169 action: RUN_PLUGIN "touch_sound";
2171 program { name: "disable";
2172 signal: "elm,state,disabled";
2174 action: STATE_SET "disabled" 0.0;
2178 program { name: "enable";
2179 signal: "elm,state,enabled";
2181 action: STATE_SET "default" 0.0;
2185 program { name: "multi_down";
2186 signal: "elm,action,multi,down";
2189 set_int(multi_down, 1);
2192 program { name: "multi_up";
2193 signal: "elm,action,multi,up";
2196 set_int(multi_down, 0);
2202 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
2203 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
2204 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
2205 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
2206 #define ACTIONBAR_PADDING_SIZE_INC 64
2207 #define ACTIONBAR_HEIGHT_INC 115
2208 #define ACTIONBAR_TEXT_SIZE_INC 39
2209 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
2210 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
2211 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
2212 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
2213 #define HIDDEN_BUTTON_HEIGHT_INC 88
2215 #define STYLE_TAG_MATCH \
2216 tag: "match" "+ color=#ffffff color_class=T0212";
2219 style { name: "action_bar_title";
2220 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
2225 group { name: "elm_naviframe_item_basic_customized";
2226 data.item: "tizen_zoom" 1;
2228 public g_mirrored = 0; //Mirrored on/off status
2229 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
2231 public g_duration_1st;
2232 public g_duration_2nd;
2235 public g_sliding_start;
2237 public title_text_fade_out() {
2240 if (get_int(g_text_fade_out_calc_timer)) {
2241 cancel_timer(g_text_fade_out_calc_timer);
2242 set_int(g_text_fade_out_calc_timer, 0);
2245 get_geometry(PART:"elm.text.title", x, y, w, h);
2246 get_geometry(PART:"title_text_bg", x, y, w2, h);
2251 set_float(g_duration_1st, 0);
2252 set_float(g_duration_2nd, 0);
2253 set_int(g_timer_id, 0);
2254 set_int(g_anim_id, 0);
2255 set_int(g_sliding_start, 0);
2257 public slide_first_anim(val, Float:pos) {
2258 set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2260 cancel_anim(get_int(g_anim_id));
2261 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2264 public slide_second_anim(val, Float:pos) {
2265 set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2269 public slide_first() {
2271 if (get_int(g_sliding_start)) {
2272 set_state(PART:"elm.text.title", "slide", 0.0);
2274 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2277 public slide_start() {
2278 set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2280 public slide_stop() {
2281 cancel_anim(get_int(g_anim_id));
2282 set_state(PART:"elm.text.title", "default", 0.0);
2283 set_int(g_sliding_start, 0);
2285 public check_size() {
2287 get_geometry(PART:"elm.text.title", x, y, w, h);
2288 get_geometry(PART:"title_text_clip", x, y, w1, h);
2290 set_int(g_sliding_start, 1);
2293 set_int(g_sliding_start, 0);
2296 public get_duration() {
2298 get_geometry(PART:"elm.text.title", x, y, w, h);
2299 get_geometry(PART:"title_text_clip", x, y, w1, h);
2300 set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2301 set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2305 part { name: "clipper";
2307 description { state: "default" 0.0;
2310 description { state: "hide" 0.0;
2314 part { name: "base";
2319 description { state: "default" 0.0;
2320 color: 128 128 128 128;
2323 part { name: "title_expand";
2328 description { state: "default" 0.0;
2329 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2330 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2334 color: 255 255 255 0;
2335 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2336 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2338 description { state: "show" 0.0;
2339 inherit: "default" 0.0;
2344 part { name: "title_clip";
2347 description { state: "default" 0.0;
2349 rel1.to: "title_bg";
2350 rel2.to: "title_bg";
2352 description { state: "hide" 0.0;
2353 inherit: "default" 0.0;
2357 part { name: "title_bg";
2360 clip_to: "title_clip";
2361 description { state: "default" 0.0;
2362 min: 0 ACTIONBAR_HEIGHT_INC;
2363 max: -1 ACTIONBAR_HEIGHT_INC;
2366 rel1 { relative: 0.0 0.0; to: "base"; }
2367 rel2 { relative: 1.0 0.0; to: "base"; }
2368 color: 255 255 255 0;
2370 description { state: "hide_trans" 0.0;
2371 inherit: "default" 0.0;
2374 description { state: "hide" 0.0;
2375 inherit: "default" 0.0;
2380 part { name: "title_text_bg";
2383 description { state: "default" 0.0;
2384 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2385 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2389 part { name: "title_text_clip";
2392 clip_to: "title_clip";
2393 description { state: "default" 0.0;
2394 rel1.to: "title_text_bg";
2395 rel2.to: "title_text_bg";
2398 part { name: "elm.text.title";
2401 clip_to: "title_text_clip";
2402 description { state: "default" 0.0;
2407 // fade_ellipsis: 1.0;
2408 style: "action_bar_title";
2412 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2414 description { state: "slide" 0.0;
2415 inherit: "default" 0.0;
2419 to_x: "left_padding";
2420 to_y: "top_padding";
2424 to_x: "left_padding";
2425 to_y: "bottom_padding";
2429 description { state: "slide_1" 0.0;
2430 inherit: "default" 0.0;
2434 to_x: "left_padding";
2435 to_y: "top_padding";
2439 to_x: "left_padding";
2440 to_y: "bottom_padding";
2444 description { state: "slide_2" 0.0;
2445 inherit: "default" 0.0;
2449 to_x: "right_padding";
2450 to_y: "top_padding";
2454 to_x: "right_padding";
2455 to_y: "bottom_padding";
2460 part { name: "left_padding";
2463 description { state: "default" 0.0;
2464 min: ACTIONBAR_PADDING_SIZE_INC 0;
2465 max: ACTIONBAR_PADDING_SIZE_INC -1;
2468 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2469 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2472 part { name: "right_padding";
2475 description { state: "default" 0.0;
2476 min: ACTIONBAR_PADDING_SIZE_INC 0;
2477 max: ACTIONBAR_PADDING_SIZE_INC -1;
2480 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2481 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2484 part { name: "click_event_area";
2486 ignore_flags: ON_HOLD;
2487 description { state: "default" 0.0;
2488 rel1 { to: "title_bg"; }
2489 rel2 { to: "title_bg"; }
2493 part { name: "access.title";
2496 description { state: "default" 0.0;
2497 rel1.to: "title_bg";
2498 rel2.to: "title_bg";
2502 part { name: "top_padding";
2505 description { state: "default" 0.0;
2508 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2509 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2510 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2511 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2514 part { name: "bottom_padding";
2517 description { state: "default" 0.0;
2520 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2521 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2522 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2523 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2526 part { name: "elm.swallow.content";
2531 description { state: "default" 0.0;
2532 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2533 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2536 part { name: "elm.swallow.circle_bg";
2541 description { state: "default" 0.0; }
2543 part { name: "elm.swallow.circle";
2548 description { state: "default" 0.0; }
2550 part { name: "button_padding";
2553 description { state: "default" 0.0;
2558 rel1 {relative: 0.0 1.0; to: "base"; }
2559 rel2 {relative: 1.0 1.0; to: "base"; }
2564 program { name: "visible";
2565 signal: "elm,state,visible";
2568 set_state(PART:"base", "default", 0.0);
2569 set_state(PART:"clipper", "default", 0.0);
2572 run_program(PROGRAM:"title_text_fade_out");
2575 program { name: "invisible";
2576 signal: "elm,state,invisible";
2579 set_state(PART:"clipper", "hide", 0.0);
2582 program { name: "title_hide";
2583 signal: "elm,state,title,hide";
2586 set_state(PART:"title_bg", "hide", 0.0);
2587 set_state(PART:"title_clip", "hide", 0.0);
2590 program { name: "title_hide_trans";
2591 signal: "elm,action,title,hide";
2596 get_state(PART:"title_bg", st, 32, vl);
2597 if (!strcmp(st, "default")) {
2598 run_program(PROGRAM:"title_hide_trans2");
2602 program { name: "title_hide_trans2";
2603 action: STATE_SET "hide_trans" 0.0;
2605 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2606 after: "title_hide_trans3";
2608 program { name: "title_hide_trans3";
2610 run_program(PROGRAM:"title_hide");
2612 after: "title_trans_finished";
2614 program { name: "title_trans_finished";
2615 action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2617 program { name: "title_show";
2618 signal: "elm,state,title,show";
2621 set_state(PART:"title_bg", "default", 0.0);
2622 set_state(PART:"title_clip", "default", 0.0);
2623 run_program(PROGRAM:"title_text_fade_out");
2626 program { name: "title_show_trans";
2627 signal: "elm,action,title,show";
2632 get_state(PART:"title_bg", st, 32, vl);
2633 if (!strcmp(st, "hide")) {
2634 set_state(PART:"title_bg", "hide_trans", 0.0);
2635 set_state(PART:"title_clip", "default", 0.0);
2636 run_program(PROGRAM:"title_show_trans2");
2640 program { name: "title_show_trans2";
2641 action: STATE_SET "default" 0.0;
2643 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2644 after: "title_trans_finished";
2646 program { name: "title_label_show";
2647 signal: "elm,state,title_label,show";
2650 run_program(PROGRAM:"title_text_fade_out");
2653 program { name: "title_label_hide";
2654 signal: "elm,state,title_label,hide";
2657 program { name: "title_expand_show";
2658 signal: "elm,state,title_expand,show";
2661 set_state(PART:"title_expand", "show", 0.0);
2664 program { name: "title_expand_hide";
2665 signal: "elm,state,title_expand,hide";
2668 set_state(PART:"title_expand", "default", 0.0);
2671 program { name: "hidden_btn_show_trans";
2672 signal: "elm,action,title_expand,show";
2674 action: STATE_SET "show" 0.0;
2675 target: "title_expand";
2676 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2678 program { name: "title_expand_hide_trans";
2679 signal: "elm,action,title_expand,hide";
2681 action: STATE_SET "default" 0.0;
2682 target: "title_expand";
2683 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2685 program { name: "title_clicked";
2686 signal: "mouse,clicked,1";
2687 source: "click_event_area";
2688 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2691 name: "mirrored_on";
2692 signal: "edje,state,rtl";
2695 set_int(g_mirrored, 1);
2696 run_program(PROGRAM:"title_text_fade_out");
2700 name: "mirrored_off";
2701 signal: "edje,state,ltr";
2704 set_int(g_mirrored, 0);
2705 run_program(PROGRAM:"title_text_fade_out");
2709 name: "title_text_fade_out";
2711 if (get_int(g_text_fade_out_calc_timer)) {
2712 cancel_timer(g_text_fade_out_calc_timer);
2713 set_int(g_text_fade_out_calc_timer, 0);
2715 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2721 //////////////////////////////////////////////////////////////////////////////////
2722 // Customizing panel for send button.
2723 //////////////////////////////////////////////////////////////////////////////////
2725 // ***************************** Panel*****************************************/
2726 #define PANEL_LEFT_PADDING_SIZE_INC 8
2727 #define PANEL_RIGHT_PADDING_SIZE_INC 6
2728 #define PANEL_LEFT_IMAGE_SIZE_INC 29 36
2729 #define PANEL_RIGHT_IMAGE_SIZE_INC 16 36
2730 #define PANEL_RIGHT_CUE_SIZE_INC 32 158
2731 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158
2732 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140
2733 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140
2734 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200
2735 #define PANEL_LAYOUT_SIZE_INC 360 360
2738 image, "./b_more_option.png" COMP;
2739 image, "./b_more_option_ef.png" COMP;
2740 image, "./b_more_option_bg.png" COMP;
2741 image, "./b_ic_press_full_circle_bg.png" COMP;
2744 group { name: "elm/panel/right1/default";
2746 public mouse_down = 0;
2747 public mouse_click = 0;
2748 public multi_down = 0;
2749 public click_cnt = 0;
2750 public event_down = 0;
2751 public cue_hide = 0;
2752 public timer0(val) {
2754 run_program(PROGRAM:"change_opacity");
2756 run_program(PROGRAM:"change_opacity2");
2763 description { state: "default" 0.0;
2764 min: PANEL_LAYOUT_SIZE_INC;
2765 max: PANEL_LAYOUT_SIZE_INC;
2766 //color_class: "transparent";
2770 part { name: "cue.padding";
2772 description { state: "default" 0.0;
2774 rel1.relative: 1.0 0.0;
2776 rel2.relative: 1.0 1.0;
2778 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2779 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2784 description { state: "default" 0.0;
2785 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2786 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2788 image.normal: "./b_more_option.png";
2789 color: 128 128 128 128;
2790 rel1.to: "cue.padding";
2791 rel1.relative: 0.0 0.0;
2792 rel2.to: "cue.padding";
2793 rel2.relative: 0.0 1.0;
2796 description { state: "hidden" 0.0;
2797 inherit: "default" 0.0;
2800 description { state: "disabled" 0.0;
2801 inherit: "default" 0.0;
2802 color: 128 128 128 128;
2805 part { name: "cue_ef";
2806 description { state: "default" 0.0;
2807 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2808 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2810 image.normal: "./b_more_option_ef.png";
2811 color: 128 128 128 128;
2815 description { state: "hidden" 0.0;
2816 inherit: "default" 0.0;
2820 part { name: "effect_bg";
2822 clip_to: "effect_bg_clip";
2824 description { state: "default" 0.0;
2825 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2826 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2828 rel1.relative: 1.0 0.0;
2830 rel2.relative: 1.0 1.0;
2833 image.normal: "./b_ic_press_full_circle_bg.png";
2834 color: 128 128 128 128;
2837 description { state: "pressed" 0.0;
2838 inherit: "default" 0.0;
2839 color: 128 128 128 128;
2845 description { state: "disabled" 0.0;
2846 inherit: "default" 0.0;
2848 description { state: "start_persp" 0.0;
2849 inherit: "default" 0.0;
2850 color: 128 128 128 128;
2857 part { name: "effect_bg_clip";
2861 description { state: "default" 0.0;
2862 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2863 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2865 rel1.relative: 1.0 0.0;
2867 rel2.relative: 1.0 1.0;
2870 color: 255 255 255 0;
2872 description { state: "pressed" 0.0;
2873 inherit: "default" 0.0;
2874 color: 255 255 255 255;
2876 description { state: "disabled" 0.0;
2877 inherit: "default" 0.0;
2880 part { name: "effect_bg2";
2882 clip_to: "effect_bg_clip2";
2884 description { state: "default" 0.0;
2885 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2886 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2888 rel1.relative: 1.0 0.0;
2890 rel2.relative: 1.0 1.0;
2893 image.normal: "./b_ic_press_full_circle_bg.png";
2894 //color_class: "transparent";
2898 description { state: "pressed" 0.0;
2899 inherit: "default" 0.0;
2900 color: 128 128 128 128;
2906 description { state: "disabled" 0.0;
2907 inherit: "default" 0.0;
2909 description { state: "start_persp" 0.0;
2910 inherit: "default" 0.0;
2911 color: 128 128 128 128;
2918 part { name: "effect_bg_clip2";
2922 description { state: "default" 0.0;
2923 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2924 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2926 rel1.relative: 1.0 0.0;
2928 rel2.relative: 1.0 1.0;
2931 color: 255 255 255 0;
2933 description { state: "pressed" 0.0;
2934 inherit: "default" 0.0;
2935 color: 255 255 255 255;
2937 description { state: "disabled" 0.0;
2938 inherit: "default" 0.0;
2941 part { name: "cue.event";
2944 description { state: "default" 0.0;
2945 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2946 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2948 //color_class: "transparent";
2951 rel1.relative: 1.0 0.0;
2953 rel2.relative: 1.0 1.0;
2956 description { state: "hidden" 0.0;
2957 inherit: "default" 0.0;
2961 part { name: "cue.release.event";
2964 description { state: "default" 0.0;
2965 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2966 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2968 //color_class: "transparent";
2971 rel1.relative: 1.0 0.0;
2973 rel2.relative: 1.0 1.0;
2976 description { state: "hidden" 0.0;
2977 inherit: "default" 0.0;
2981 part { name: "base";
2983 description { state: "default" 0.0;
2990 image.normal: "./b_more_option_bg.png";
2991 color: 128 128 128 128;
3004 description { state: "show" 0.0;
3005 inherit: "default" 0.0;
3012 color[0]: 255 255 255 255;
3013 color[1]: 255 255 255 255;
3014 color[2]: 255 255 255 255;
3015 color[3]: 255 255 255 255;
3019 part { name: "elm.swallow.content";
3021 description { state: "default" 0.0;
3038 description { state: "show" 0.0;
3039 inherit: "default" 0.0;
3046 color[0]: 255 255 255 255;
3047 color[1]: 255 255 255 255;
3048 color[2]: 255 255 255 255;
3049 color[3]: 255 255 255 255;
3055 program { name: "pressed";
3056 signal: "mouse,down,1*";
3057 source: "cue.event";
3059 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
3061 set_int(mouse_down, 1);
3062 set_int(event_down, 1);
3063 run_program(PROGRAM:"button_press1");
3067 program { name: "button_press1";
3071 get_state(PART:"effect_bg", st, 30, vl);
3072 if (strcmp(st, "disabled")) {
3073 emit("elm,action,press", "");
3074 run_program(PROGRAM:"haptic");
3075 if(get_int(click_cnt) == 0) {
3076 set_state(PART:"effect_bg", "pressed", 0.0);
3077 set_state(PART:"effect_bg_clip", "pressed", 0.0);
3078 run_program(PROGRAM:"start_persp");
3079 timer(0.3, "timer0", 1);
3081 else if(get_int(click_cnt) == 1) {
3082 set_state(PART:"effect_bg2", "pressed", 0.0);
3083 set_state(PART:"effect_bg_clip2", "pressed", 0.0);
3084 run_program(PROGRAM:"start_persp2");
3085 timer(0.3, "timer0", 2);
3090 program { name: "unpressed";
3091 signal: "mouse,up,1";
3092 source: "cue.event";
3094 if (get_int(mouse_down) == 1) {
3095 set_int(mouse_down, 0);
3096 run_program(PROGRAM:"button_unpress1");
3100 program { name: "button_unpress1";
3104 get_state(PART:"effect_bg", st, 30, vl);
3105 if (strcmp(st, "disabled")) {
3106 if(get_int(click_cnt) == 0)
3107 set_int(click_cnt, 1);
3109 set_int(click_cnt, 0);
3113 program { name: "release.event_clicked";
3114 signal: "mouse,clicked,*";
3115 source: "cue.release.event";
3117 if (get_int(event_down) == 1) {
3118 set_int(event_down, 0);
3119 emit("cue,clicked", "elm");
3120 run_program(PROGRAM:"panel_toggle");
3121 run_program(PROGRAM:"play_sample");
3126 name: "play_sample";
3127 action: RUN_PLUGIN "touch_sound";
3129 program { name: "panel_toggle";
3130 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
3134 action: RUN_PLUGIN "haptic_tap";
3136 program { name: "disable";
3137 signal: "elm,state,disabled";
3140 if (get_int(cue_hide) == 0)
3141 set_state(PART:"cue", "disabled", 0.0);
3142 set_state(PART:"effect_bg", "disabled", 0.0);
3143 set_state(PART:"cue.event", "hidden", 0.0);
3144 set_state(PART:"cue.release.event", "hidden", 0.0);
3147 program { name: "enable";
3148 signal: "elm,state,enabled";
3151 if (get_int(cue_hide) == 1) {
3152 set_state(PART:"cue", "hidden", 0.0);
3153 set_state(PART:"cue.event", "hidden", 0.0);
3154 set_state(PART:"cue.release.event", "hidden", 0.0);
3157 set_state(PART:"cue", "default", 0.0);
3158 set_state(PART:"cue.event", "default", 0.0);
3159 set_state(PART:"cue.release.event", "default", 0.0);
3161 set_state(PART:"effect_bg", "default", 0.0);
3164 program { name: "multi_down";
3165 signal: "elm,action,multi,down";
3168 set_int(multi_down, 1);
3171 program { name: "multi_up";
3172 signal: "elm,action,multi,up";
3175 set_int(multi_down, 0);
3178 program { name: "start_persp";
3179 action: STATE_SET "start_persp" 0.0;
3180 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3181 target: "effect_bg";
3183 program { name: "change_opacity";
3184 action: STATE_SET "default" 0.0;
3185 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3186 target: "effect_bg_clip";
3188 program { name: "start_persp2";
3189 action: STATE_SET "start_persp" 0.0;
3190 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3191 target: "effect_bg2";
3193 program { name: "change_opacity2";
3194 action: STATE_SET "default" 0.0;
3195 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3196 target: "effect_bg_clip2";
3199 signal: "elm,action,show";
3201 action: STATE_SET "show" 0.0;
3202 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3203 target: "elm.swallow.content";
3205 after: "active,finished";
3208 signal: "elm,action,hide";
3210 action: STATE_SET "default" 0.0;
3211 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3212 target: "elm.swallow.content";
3214 after: "inactive,finished";
3216 program { name: "active,finished";
3217 action: SIGNAL_EMIT "elm,state,active,finished" "elm";
3219 program { name: "inactive,finished";
3220 action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
3222 program { name: "cue,hide";
3226 set_int(cue_hide, 1);
3227 set_state(PART:"cue", "hidden", 0.0);
3228 set_state(PART:"cue_ef", "hidden", 0.0);
3229 set_state(PART:"cue.event", "hidden", 0.0);
3230 set_state(PART:"cue.release.event", "hidden", 0.0);
3233 program { name: "cue,show";
3237 set_int(cue_hide, 0);
3238 set_state(PART:"cue", "default", 0.0);
3239 set_state(PART:"cue_ef", "default", 0.0);
3240 set_state(PART:"cue.event", "default", 0.0);
3241 set_state(PART:"cue.release.event", "default", 0.0);
3247 group { name: "elm/panel/left1/default";
3248 inherit: "elm/panel/right1/default";
3250 part { name: "cue.padding";
3252 description { state: "default" 0.0;
3254 rel1.relative: 0.0 0.0;
3256 rel2.relative: 0.0 1.0;
3258 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3259 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3264 description { state: "default" 0.0;
3265 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3266 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3268 image.normal: "./b_more_option.png";
3269 color: 128 128 128 128;
3270 rel1.to: "cue.padding";
3271 rel1.relative: 1.0 0.0;
3272 rel2.to: "cue.padding";
3273 rel2.relative: 1.0 1.0;
3276 description { state: "hidden" 0.0;
3277 inherit: "default" 0.0;
3280 description { state: "disabled" 0.0;
3281 inherit: "default" 0.0;
3282 color: 128 128 128 128;
3285 part { name: "cue_ef";
3286 description { state: "default" 0.0;
3287 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3288 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3290 image.normal: "./b_more_option_ef.png";
3291 color: 128 128 128 128;
3295 description { state: "hidden" 0.0;
3296 inherit: "default" 0.0;
3300 part { name: "effect_bg";
3302 clip_to: "effect_bg_clip";
3304 description { state: "default" 0.0;
3305 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3306 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3308 rel1.relative: 0.0 0.0;
3310 rel2.relative: 0.0 1.0;
3313 image.normal: "./b_ic_press_full_circle_bg.png";
3314 color: 128 128 128 128;
3317 description { state: "pressed" 0.0;
3318 inherit: "default" 0.0;
3319 color: 128 128 128 128;
3325 description { state: "disabled" 0.0;
3326 inherit: "default" 0.0;
3328 description { state: "start_persp" 0.0;
3329 inherit: "default" 0.0;
3330 color: 128 128 128 128;
3337 part { name: "effect_bg_clip";
3341 description { state: "default" 0.0;
3342 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3343 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3345 rel1.relative: 0.0 0.0;
3347 rel2.relative: 0.0 1.0;
3350 color: 255 255 255 0;
3352 description { state: "pressed" 0.0;
3353 inherit: "default" 0.0;
3354 color: 255 255 255 255;
3356 description { state: "disabled" 0.0;
3357 inherit: "default" 0.0;
3360 part { name: "effect_bg2";
3362 clip_to: "effect_bg_clip2";
3364 description { state: "default" 0.0;
3365 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3366 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3368 rel1.relative: 0.0 0.0;
3370 rel2.relative: 0.0 1.0;
3373 image.normal: "./b_ic_press_full_circle_bg.png";
3374 //color_class: "transparent";
3378 description { state: "pressed" 0.0;
3379 inherit: "default" 0.0;
3380 color: 128 128 128 128;
3386 description { state: "disabled" 0.0;
3387 inherit: "default" 0.0;
3389 description { state: "start_persp" 0.0;
3390 inherit: "default" 0.0;
3391 color: 128 128 128 128;
3398 part { name: "effect_bg_clip2";
3402 description { state: "default" 0.0;
3403 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3404 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3406 rel1.relative: 0.0 0.0;
3408 rel2.relative: 0.0 1.0;
3411 color: 255 255 255 0;
3413 description { state: "pressed" 0.0;
3414 inherit: "default" 0.0;
3415 color: 255 255 255 255;
3417 description { state: "disabled" 0.0;
3418 inherit: "default" 0.0;
3421 part { name: "cue.event";
3423 description { state: "default" 0.0;
3424 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3425 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3427 //color_class: "transparent";
3430 rel1.relative: 0.0 0.0;
3432 rel2.relative: 0.0 1.0;
3435 description { state: "hidden" 0.0;
3436 inherit: "default" 0.0;
3440 part { name: "cue.release.event";
3443 description { state: "default" 0.0;
3444 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3445 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3447 //color_class: "transparent";
3450 rel1.relative: 0.0 0.0;
3452 rel2.relative: 0.0 1.0;
3455 description { state: "hidden" 0.0;
3456 inherit: "default" 0.0;
3463 group { name: "elm/panel/left_sending/default";
3464 inherit: "elm/panel/left1/default";
3466 part { name: "cue.padding";
3468 description { state: "default" 0.0;
3470 rel1.relative: 0.0 0.0;
3472 rel2.relative: 0.0 1.0;
3474 min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3475 max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3480 description { state: "default" 0.0;
3481 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3482 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3484 image.normal: "./b_stt_send_icon.png";
3485 color: 128 128 128 128;
3486 rel1.to: "cue.padding";
3487 rel1.relative: 1.0 0.0;
3488 rel2.to: "cue.padding";
3489 rel2.relative: 1.0 1.0;
3492 description { state: "hidden" 0.0;
3493 inherit: "default" 0.0;
3496 description { state: "disabled" 0.0;
3497 inherit: "default" 0.0;
3498 color_class: "AO015L2D";//"B052L1D";
3501 part { name: "cue_ef";
3502 description { state: "default" 0.0;
3503 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3504 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3507 image.normal: "./b_more_option_ef.png";
3508 color: 128 128 128 128;
3512 description { state: "hidden" 0.0;
3513 inherit: "default" 0.0;
3520 group { name: "elm/panel/left_confirm/default";
3521 inherit: "elm/panel/left_sending/default";
3524 description { state: "default" 0.0;
3525 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3526 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3528 image.normal: "./b_stt_confirm_icon.png";
3529 color: 128 128 128 128;
3530 rel1.to: "cue.padding";
3531 rel1.relative: 1.0 0.0;
3532 rel2.to: "cue.padding";
3533 rel2.relative: 1.0 1.0;
3536 description { state: "hidden" 0.0;
3537 inherit: "default" 0.0;
3540 description { state: "disabled" 0.0;
3541 inherit: "default" 0.0;
3542 color_class: "AO015L2D";//"B052L1D";