2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 group { name: "elm/index/base/vertical/default";
22 public index_hide_timer(val) {
23 if (get_int(timer_flag) == 1)
24 run_program(PROGRAM:"index0.inactive");
29 image: "00_fast_scroll_popup_bg.png" COMP;
30 image: "00_fast_scroll_rollover_bg.png" COMP;
31 image: "00_fast_scroll_rollover_index_1_bg.png" COMP;
34 item: "min_obj_height" "32";
35 item: "min_1st_level_obj_height" "32";
36 item: "special_char" "*";
43 description { state: "default" 0.0;
47 description { state: "active" 0.0;
49 color: 255 255 255 255;
57 description { state: "default" 0.0;
61 description { state: "active" 0.0;
63 color: 255 255 255 255;
66 part { name: "elm.dragable.index.1";
72 confine: "elm.swallow.index.0";
74 description { state: "default" 0.0;
80 to: "elm.swallow.index.0";
85 to: "elm.swallow.index.0";
89 part { name: "elm.swallow.index.1.padding.right";
92 description { state: "default" 0.0;
93 min: INDEX_LEVEL_PADDING_INC 0;
107 part { name: "index.1.bg.image.middle";
110 description { state: "default" 0.0;
113 to: "elm.swallow.index.1";
117 to: "elm.swallow.index.1";
121 normal: "00_fast_scroll_rollover_index_1_bg.png";
122 border: INDEX_BG_NINEPATCH_INC;
127 description { state: "active" 0.0;
128 inherit: "default" 0.0;
132 part { name: "elm.swallow.index.1";
136 description { state: "default" 0.0;
139 to_y: "elm.dragable.index.1";
144 to_y: "elm.dragable.index.1";
148 color: 255 255 255 0;
150 description { state: "active" 0.0;
151 inherit: "default" 0.0;
153 to_x: "elm.swallow.index.1.padding.right";
158 to_x: "elm.swallow.index.1.padding.right";
162 color: 255 255 255 255;
165 part { name: "index.0.bg.image.middle";
168 description { state: "default" 0.0;
170 to: "elm.swallow.index.0";
174 to: "elm.swallow.index.0";
178 normal: "00_fast_scroll_rollover_bg.png";
179 border: INDEX_BG_NINEPATCH_INC;
185 description { state: "active" 0.0;
186 inherit: "default" 0.0;
190 part { name: "elm.swallow.index.0";
194 description { state: "default" 0.0;
205 color: 255 255 255 50;
207 description { state: "active" 0.0;
208 inherit: "default" 0.0;
209 color: 255 255 255 255;
212 part { name: "button_image_padding";
217 description { state: "default" 0.0;
232 part { name: "button_image";
235 description { state: "default" 0.0;
237 min: INDEX_1ST_LEVEL_POPUP_WIDTH_INC INDEX_POPUP_HEIGHT_INC;
246 relative: 1.067 1.083;
250 normal: "00_fast_scroll_popup_bg.png";
251 border: INDEX_POPUP_BG_NINEPATCH_INC;
256 description { state: "invisible" 0.0;
257 inherit: "default" 0.0;
260 description { state: "index1" 0.0;
261 inherit: "default" 0.0;
262 min: INDEX_2ND_LEVEL_POPUP_WIDTH_INC INDEX_POPUP_HEIGHT_INC;
264 description { state: "active" 0.0;
265 inherit: "default" 0.0;
276 state: "default" 0.0;
282 to_y: "button_image_padding";
286 to_y: "button_image_padding";
289 color: INDEX_POPUP_TEXT_COLOR_INC;
292 font: "SLP:style=Medium";
293 size: INDEX_POPUP_TEXT_SIZE_INC;
295 text_class: "slp_medium";
298 description { state: "active" 0.0;
299 inherit: "default" 0.0;
303 part { name: "elm.dragable.pointer";
312 description { state: "default" 0.0;
327 part { name: "elm.swallow.event.0.bottom.padding";
330 description { state: "default" 0.0;
335 relative: 1.0 1.0; offset: 0 0;
340 part { name: "elm.swallow.event.0";
343 description { state: "default" 0.0;
353 to_y: "elm.swallow.event.0.bottom.padding";
357 part { name: "elm.swallow.event.1";
360 description { state: "default" 0.0;
364 to: "elm.swallow.index.1";
369 to: "elm.swallow.index.1";
377 program { name: "load";
381 run_program(PROGRAM:"initial.index0.active");
382 run_program(PROGRAM:"button.image.hidden");
383 timer(2.0, "index_hide_timer", 0);
386 program { name: "drag2";
388 source: "elm.dragable.index.1";
392 get_drag(PART:"elm.dragable.index.1", dx, dy);
393 custom_state(PART:"elm.dragable.index.1", "default", 0.0);
394 set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy);
397 program { name: "index0.active";
398 signal: "elm,state,active";
400 action: STATE_SET "active" 0.0;
401 transition: DECELERATE 0.3;
402 target: "elm.swallow.index.0";
404 after: "disable_timer";
406 program { name: "initial.index0.active";
407 action: STATE_SET "active" 0.0;
408 transition: DECELERATE 0.3;
409 target: "elm.swallow.index.0";
411 target: "index.0.bg.image.middle";
412 after: "enable_timer";
414 program { name: "index0.inactive";
415 signal: "elm,state,inactive";
417 action: STATE_SET "default" 0.0;
418 transition: DECELERATE 0.3;
419 target: "elm.swallow.index.0";
421 target: "index.0.bg.image.middle";
423 program { name: "index1.inactive";
424 signal: "elm,state,level,0";
426 action: STATE_SET "default" 0.0;
427 transition: DECELERATE 0.3;
428 target: "elm.swallow.index.1";
430 target: "index.1.bg.image.middle";
432 program { name: "index1.active";
433 signal: "elm,state,level,1";
435 action: STATE_SET "active" 0.0;
436 transition: DECELERATE 0.3;
437 target: "elm.swallow.index.1";
439 target: "index.1.bg.image.middle";
441 program { name: "index.active";
442 signal: "elm,indicator,state,active";
444 action: STATE_SET "active" 0.0;
445 transition: DECELERATE 0.5;
447 target: "elm.swallow.index.0";
449 target: "index.0.bg.image.middle";
451 target: "button_image";
453 program { name: "index.inactive";
454 signal: "elm,indicator,state,inactive";
456 action: STATE_SET "default" 0.0;
457 transition: DECELERATE 0.5;
460 program { name: "button.image.hidden";
461 signal: "elm,state,button,image,hide";
463 action: STATE_SET "invisible" 0.0;
464 target: "button_image";
466 program { name: "disable_timer";
468 set_int(timer_flag, 0);
471 program { name: "enable_timer";
473 set_int(timer_flag, 1);
479 group { name: "elm/index/item/vertical/default";
480 alias: "elm/index/item_odd/vertical/default";
481 data.item: "stacking" "above";
482 data.item: "selectraise" "on";
484 part { name: "elm.text";
489 min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC;
491 state: "default" 0.0;
498 color: INDEX_ROLLOVER_TEXT_COLOR_INC;
500 font: "SLP:style=Medium";
501 size: INDEX_ROLLOVER_TEXT_SIZE_INC;
504 text_class: "slp_medium";
507 description { state: "active" 0.0;
508 inherit: "default" 0.0;
509 color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
514 program { name: "active";
515 signal: "elm,state,active";
517 action: STATE_SET "active" 0.0;
518 transition: DECELERATE 1.0;
521 program { name: "inactive";
522 signal: "elm,state,inactive";
524 action: STATE_SET "default" 0.0;
525 transition: DECELERATE 0.1;
531 name: "elm/index/base/vertical/pagecontrol";
532 alias: "elm/index/base/horizontal/pagecontrol";
537 description { state: "default" 0.0;
539 color: 255 255 255 0;
541 description { state: "active" 0.0;
543 color: 255 255 255 255;
546 part { name: "elm.swallow.index.0";
551 state: "default" 0.0;
557 part { name: "elm.swallow.event.0";
559 description { state: "default" 0.0;
565 program { name: "active";
566 signal: "elm,state,active";
568 action: STATE_SET "active" 0.0;
569 transition: DECELERATE 0.5;
572 program { name: "inactive";
573 signal: "elm,state,inactive";
575 action: STATE_SET "default" 0.0;
576 transition: DECELERATE 0.5;
582 name: "elm/index/item/vertical/pagecontrol";
583 alias: "elm/index/item_odd/vertical/pagecontrol";
584 alias: "elm/index/item/horizontal/pagecontrol";
585 alias: "elm/index/item_odd/horizontal/pagecontrol";
587 image: "00_mainmenu_page_bar_001.png" COMP;
588 image: "00_mainmenu_page_bar_002.png" COMP;
594 description { state: "default" 0.0;
595 min: INDEX_PAGECONTROL_IND_INC;
596 max: INDEX_PAGECONTROL_IND_INC;
601 part { name: "indicator1";
605 description { state: "default" 0.0;
611 normal: "00_mainmenu_page_bar_001.png";
614 description { state: "active" 0.0;
615 inherit: "default" 0.0;
619 part { name: "indicator2";
623 description { state: "default" 0.0;
626 min: INDEX_PAGECONTROL_IND_MIN_INC;
627 max: INDEX_PAGECONTROL_IND_MIN_INC;
628 image.normal: "00_mainmenu_page_bar_002.png";
631 description { state: "active" 0.0;
632 inherit: "default" 0.0;
633 min: INDEX_PAGECONTROL_IND_INC;
634 max: INDEX_PAGECONTROL_IND_INC;
638 part { name: "elm.text";
642 description { state: "default" 0.0;
644 color: INDEX_PAGECONTROL_FONT_COLOR_INC 0;
647 font: "SLP:style=Medium";
648 size: INDEX_PAGECONTROL_FONT_SIZE_INC;
651 text_class: "slp_medium";
653 rel1 { to: "indicator2"; }
654 rel2 { to: "indicator2"; }
656 description { state: "active" 0.0;
657 inherit: "default" 0.0;
658 color: INDEX_PAGECONTROL_FONT_COLOR_INC 255;
663 program { name: "active";
664 signal: "elm,state,active";
666 action: STATE_SET "active" 0.0;
667 target: "indicator1";
668 target: "indicator2";
670 transition: LINEAR 0.2;
672 program { name: "inactive";
673 signal: "elm,state,inactive";
675 action: STATE_SET "default" 0.0;
676 target: "indicator1";
677 target: "indicator2";
679 transition: LINEAR 0.2;