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;
297 description { state: "active" 0.0;
298 inherit: "default" 0.0;
302 part { name: "elm.dragable.pointer";
311 description { state: "default" 0.0;
326 part { name: "elm.swallow.event.0.bottom.padding";
329 description { state: "default" 0.0;
334 relative: 1.0 1.0; offset: 0 0;
339 part { name: "elm.swallow.event.0";
342 description { state: "default" 0.0;
352 to_y: "elm.swallow.event.0.bottom.padding";
356 part { name: "elm.swallow.event.1";
359 description { state: "default" 0.0;
363 to: "elm.swallow.index.1";
368 to: "elm.swallow.index.1";
376 program { name: "load";
380 run_program(PROGRAM:"initial.index0.active");
381 run_program(PROGRAM:"button.image.hidden");
382 timer(2.0, "index_hide_timer", 0);
385 program { name: "drag2";
387 source: "elm.dragable.index.1";
391 get_drag(PART:"elm.dragable.index.1", dx, dy);
392 custom_state(PART:"elm.dragable.index.1", "default", 0.0);
393 set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy);
396 program { name: "index0.active";
397 signal: "elm,state,active";
399 action: STATE_SET "active" 0.0;
400 transition: DECELERATE 0.3;
401 target: "elm.swallow.index.0";
403 after: "disable_timer";
405 program { name: "initial.index0.active";
406 action: STATE_SET "active" 0.0;
407 transition: DECELERATE 0.3;
408 target: "elm.swallow.index.0";
410 target: "index.0.bg.image.middle";
411 after: "enable_timer";
413 program { name: "index0.inactive";
414 signal: "elm,state,inactive";
416 action: STATE_SET "default" 0.0;
417 transition: DECELERATE 0.3;
418 target: "elm.swallow.index.0";
420 target: "index.0.bg.image.middle";
422 program { name: "index1.inactive";
423 signal: "elm,state,level,0";
425 action: STATE_SET "default" 0.0;
426 transition: DECELERATE 0.3;
427 target: "elm.swallow.index.1";
429 target: "index.1.bg.image.middle";
431 program { name: "index1.active";
432 signal: "elm,state,level,1";
434 action: STATE_SET "active" 0.0;
435 transition: DECELERATE 0.3;
436 target: "elm.swallow.index.1";
438 target: "index.1.bg.image.middle";
440 program { name: "index.active";
441 signal: "elm,indicator,state,active";
443 action: STATE_SET "active" 0.0;
444 transition: DECELERATE 0.5;
446 target: "elm.swallow.index.0";
448 target: "index.0.bg.image.middle";
450 target: "button_image";
452 program { name: "index.inactive";
453 signal: "elm,indicator,state,inactive";
455 action: STATE_SET "default" 0.0;
456 transition: DECELERATE 0.5;
459 program { name: "button.image.hidden";
460 signal: "elm,state,button,image,hide";
462 action: STATE_SET "invisible" 0.0;
463 target: "button_image";
465 program { name: "disable_timer";
467 set_int(timer_flag, 0);
470 program { name: "enable_timer";
472 set_int(timer_flag, 1);
478 group { name: "elm/index/item/vertical/default";
479 alias: "elm/index/item_odd/vertical/default";
480 data.item: "stacking" "above";
481 data.item: "selectraise" "on";
483 part { name: "elm.text";
488 min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC;
490 state: "default" 0.0;
497 color: INDEX_ROLLOVER_TEXT_COLOR_INC;
499 font: "SLP:style=Medium";
500 size: INDEX_ROLLOVER_TEXT_SIZE_INC;
505 description { state: "active" 0.0;
506 inherit: "default" 0.0;
507 color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
512 program { name: "active";
513 signal: "elm,state,active";
515 action: STATE_SET "active" 0.0;
516 transition: DECELERATE 1.0;
519 program { name: "inactive";
520 signal: "elm,state,inactive";
522 action: STATE_SET "default" 0.0;
523 transition: DECELERATE 0.1;
529 name: "elm/index/base/vertical/pagecontrol";
530 alias: "elm/index/base/horizontal/pagecontrol";
535 description { state: "default" 0.0;
537 color: 255 255 255 0;
539 description { state: "active" 0.0;
541 color: 255 255 255 255;
544 part { name: "elm.swallow.index.0";
549 state: "default" 0.0;
555 part { name: "elm.swallow.event.0";
557 description { state: "default" 0.0;
563 program { name: "active";
564 signal: "elm,state,active";
566 action: STATE_SET "active" 0.0;
567 transition: DECELERATE 0.5;
570 program { name: "inactive";
571 signal: "elm,state,inactive";
573 action: STATE_SET "default" 0.0;
574 transition: DECELERATE 0.5;
580 name: "elm/index/item/vertical/pagecontrol";
581 alias: "elm/index/item_odd/vertical/pagecontrol";
582 alias: "elm/index/item/horizontal/pagecontrol";
583 alias: "elm/index/item_odd/horizontal/pagecontrol";
585 image: "00_mainmenu_page_bar_001.png" COMP;
586 image: "00_mainmenu_page_bar_002.png" COMP;
592 description { state: "default" 0.0;
593 min: INDEX_PAGECONTROL_IND_INC;
594 max: INDEX_PAGECONTROL_IND_INC;
599 part { name: "indicator1";
603 description { state: "default" 0.0;
609 normal: "00_mainmenu_page_bar_001.png";
612 description { state: "active" 0.0;
613 inherit: "default" 0.0;
617 part { name: "indicator2";
621 description { state: "default" 0.0;
624 min: INDEX_PAGECONTROL_IND_MIN_INC;
625 max: INDEX_PAGECONTROL_IND_MIN_INC;
626 image.normal: "00_mainmenu_page_bar_002.png";
629 description { state: "active" 0.0;
630 inherit: "default" 0.0;
631 min: INDEX_PAGECONTROL_IND_INC;
632 max: INDEX_PAGECONTROL_IND_INC;
636 part { name: "elm.text";
640 description { state: "default" 0.0;
642 color: INDEX_PAGECONTROL_FONT_COLOR_INC 0;
645 font: "SLP:style=Medium";
646 size: INDEX_PAGECONTROL_FONT_SIZE_INC;
650 rel1 { to: "indicator2"; }
651 rel2 { to: "indicator2"; }
653 description { state: "active" 0.0;
654 inherit: "default" 0.0;
655 color: INDEX_PAGECONTROL_FONT_COLOR_INC 255;
660 program { name: "active";
661 signal: "elm,state,active";
663 action: STATE_SET "active" 0.0;
664 target: "indicator1";
665 target: "indicator2";
667 transition: LINEAR 0.2;
669 program { name: "inactive";
670 signal: "elm,state,inactive";
672 action: STATE_SET "default" 0.0;
673 target: "indicator1";
674 target: "indicator2";
676 transition: LINEAR 0.2;