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 image: "00_fast_scroll_rollover_bg_focus_bg.png" COMP;
487 part { name: "scroll.bg";
492 state: "default" 0.0;
496 color: INDEX_SCROLL_BG_COLOR_INC;
500 inherit: "default" 0.0;
504 part { name: "bottom.line";
509 state: "default" 0.0;
512 relative: 0.0 1.0; offset: 0 -1;
517 color: INDEX_BOTTOM_LINE_COLOR_INC;
520 part { name: "left.line";
525 state: "default" 0.0;
531 relative: 0.0 1.0; offset: 1 0;
533 color: INDEX_LEFT_LINE_COLOR_INC;
537 inherit: "default" 0.0;
541 part { name: "item.bg";
546 state: "default" 0.0;
555 normal: "00_fast_scroll_rollover_bg_focus_bg.png";
556 border: INDEX_BG_NINEPATCH_INC;
562 inherit: "default" 0.0;
566 part { name: "elm.text";
571 min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC;
573 state: "default" 0.0;
580 color: INDEX_ROLLOVER_TEXT_COLOR_INC;
582 font: "SLP:style=Medium";
583 size: INDEX_ROLLOVER_TEXT_SIZE_INC;
586 text_class: "slp_medium";
589 description { state: "active" 0.0;
590 inherit: "default" 0.0;
591 color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
596 program { name: "active";
597 signal: "elm,state,active";
599 action: STATE_SET "active" 0.0;
600 transition: DECELERATE 0.0;
606 program { name: "inactive";
607 signal: "elm,state,inactive";
609 action: STATE_SET "default" 0.0;
610 transition: DECELERATE 0.0;
619 name: "elm/index/base/vertical/pagecontrol";
620 alias: "elm/index/base/horizontal/pagecontrol";
625 description { state: "default" 0.0;
627 color: 255 255 255 0;
629 description { state: "active" 0.0;
631 color: 255 255 255 255;
634 part { name: "elm.swallow.index.0";
639 state: "default" 0.0;
645 part { name: "elm.swallow.event.0";
647 description { state: "default" 0.0;
653 program { name: "active";
654 signal: "elm,state,active";
656 action: STATE_SET "active" 0.0;
657 transition: DECELERATE 0.5;
660 program { name: "inactive";
661 signal: "elm,state,inactive";
663 action: STATE_SET "default" 0.0;
664 transition: DECELERATE 0.5;
670 name: "elm/index/item/vertical/pagecontrol";
671 alias: "elm/index/item_odd/vertical/pagecontrol";
672 alias: "elm/index/item/horizontal/pagecontrol";
673 alias: "elm/index/item_odd/horizontal/pagecontrol";
675 image: "00_mainmenu_page_bar_001.png" COMP;
676 image: "00_mainmenu_page_bar_002.png" COMP;
682 description { state: "default" 0.0;
683 min: INDEX_PAGECONTROL_IND_INC;
684 max: INDEX_PAGECONTROL_IND_INC;
689 part { name: "indicator1";
693 description { state: "default" 0.0;
699 normal: "00_mainmenu_page_bar_001.png";
702 description { state: "active" 0.0;
703 inherit: "default" 0.0;
707 part { name: "indicator2";
711 description { state: "default" 0.0;
714 min: INDEX_PAGECONTROL_IND_MIN_INC;
715 max: INDEX_PAGECONTROL_IND_MIN_INC;
716 image.normal: "00_mainmenu_page_bar_002.png";
719 description { state: "active" 0.0;
720 inherit: "default" 0.0;
721 min: INDEX_PAGECONTROL_IND_INC;
722 max: INDEX_PAGECONTROL_IND_INC;
726 part { name: "elm.text";
730 description { state: "default" 0.0;
732 color: INDEX_PAGECONTROL_FONT_COLOR_INC 0;
735 font: "SLP:style=Medium";
736 size: INDEX_PAGECONTROL_FONT_SIZE_INC;
739 text_class: "slp_medium";
741 rel1 { to: "indicator2"; }
742 rel2 { to: "indicator2"; }
744 description { state: "active" 0.0;
745 inherit: "default" 0.0;
746 color: INDEX_PAGECONTROL_FONT_COLOR_INC 255;
751 program { name: "active";
752 signal: "elm,state,active";
754 action: STATE_SET "active" 0.0;
755 target: "indicator1";
756 target: "indicator2";
758 transition: LINEAR 0.2;
760 program { name: "inactive";
761 signal: "elm,state,inactive";
763 action: STATE_SET "default" 0.0;
764 target: "indicator1";
765 target: "indicator2";
767 transition: LINEAR 0.2;