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;
272 state: "default" 0.0;
278 to_y: "button_image_padding";
282 to_y: "button_image_padding";
285 color: INDEX_POPUP_TEXT_COLOR_INC;
288 font: "SLP:style=Medium";
289 size: INDEX_POPUP_TEXT_SIZE_INC;
293 description { state: "active" 0.0;
294 inherit: "default" 0.0;
298 part { name: "elm.dragable.pointer";
307 description { state: "default" 0.0;
322 part { name: "elm.swallow.event.0.bottom.padding";
325 description { state: "default" 0.0;
330 relative: 1.0 1.0; offset: 0 0;
335 part { name: "elm.swallow.event.0";
338 description { state: "default" 0.0;
348 to_y: "elm.swallow.event.0.bottom.padding";
352 part { name: "elm.swallow.event.1";
355 description { state: "default" 0.0;
359 to: "elm.swallow.index.1";
364 to: "elm.swallow.index.1";
372 program { name: "load";
376 run_program(PROGRAM:"initial.index0.active");
377 run_program(PROGRAM:"button.image.hidden");
378 timer(2.0, "index_hide_timer", 0);
381 program { name: "drag2";
383 source: "elm.dragable.index.1";
387 get_drag(PART:"elm.dragable.index.1", dx, dy);
388 custom_state(PART:"elm.dragable.index.1", "default", 0.0);
389 set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy);
392 program { name: "first_level_invisible";
393 signal: "hide_first_level";
395 action: STATE_SET "index1" 0.0;
396 target: "button_image";
398 program { name: "2nd_level_invisible";
399 signal: "hide_2nd_level";
401 action: STATE_SET "default" 0.0;
402 target: "button_image";
404 program { name: "index0.active";
405 signal: "elm,state,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";
413 after: "disable_timer";
415 program { name: "initial.index0.active";
416 action: STATE_SET "active" 0.0;
417 transition: DECELERATE 0.3;
418 target: "elm.swallow.index.0";
420 target: "index.0.bg.image.middle";
421 after: "enable_timer";
423 program { name: "index0.inactive";
424 signal: "elm,state,inactive";
426 action: STATE_SET "default" 0.0;
427 transition: DECELERATE 0.3;
428 target: "elm.swallow.index.0";
430 target: "index.0.bg.image.middle";
432 program { name: "index1.inactive";
433 signal: "elm,state,level,0";
435 action: STATE_SET "default" 0.0;
436 transition: DECELERATE 0.3;
437 target: "elm.swallow.index.1";
439 target: "index.1.bg.image.middle";
441 program { name: "index1.active";
442 signal: "elm,state,level,1";
444 action: STATE_SET "active" 0.0;
445 transition: DECELERATE 0.3;
446 target: "elm.swallow.index.1";
448 target: "index.1.bg.image.middle";
450 program { name: "button.image.hidden";
451 signal: "elm,state,button,image,hide";
453 action: STATE_SET "invisible" 0.0;
454 target: "button_image";
456 program { name: "disable_timer";
458 set_int(timer_flag, 0);
461 program { name: "enable_timer";
463 set_int(timer_flag, 1);
469 group { name: "elm/index/item/vertical/default";
470 alias: "elm/index/item_odd/vertical/default";
471 data.item: "stacking" "above";
472 data.item: "selectraise" "on";
474 part { name: "elm.text";
479 min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC;
481 state: "default" 0.0;
488 color: INDEX_ROLLOVER_TEXT_COLOR_INC;
490 font: "SLP:style=Medium";
491 size: INDEX_ROLLOVER_TEXT_SIZE_INC;
496 description { state: "active" 0.0;
497 inherit: "default" 0.0;
498 color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
503 program { name: "active";
504 signal: "elm,state,active";
506 action: STATE_SET "active" 0.0;
507 transition: DECELERATE 1.0;
510 program { name: "inactive";
511 signal: "elm,state,inactive";
513 action: STATE_SET "default" 0.0;
514 transition: DECELERATE 0.1;
520 name: "elm/index/base/vertical/pagecontrol";
521 alias: "elm/index/base/horizontal/pagecontrol";
526 description { state: "default" 0.0;
528 color: 255 255 255 0;
530 description { state: "active" 0.0;
532 color: 255 255 255 255;
535 part { name: "elm.swallow.index.0";
540 state: "default" 0.0;
546 part { name: "elm.swallow.event.0";
548 description { state: "default" 0.0;
554 program { name: "active";
555 signal: "elm,state,active";
557 action: STATE_SET "active" 0.0;
558 transition: DECELERATE 0.5;
561 program { name: "inactive";
562 signal: "elm,state,inactive";
564 action: STATE_SET "default" 0.0;
565 transition: DECELERATE 0.5;
571 name: "elm/index/item/vertical/pagecontrol";
572 alias: "elm/index/item_odd/vertical/pagecontrol";
573 alias: "elm/index/item/horizontal/pagecontrol";
574 alias: "elm/index/item_odd/horizontal/pagecontrol";
576 image: "00_mainmenu_page_bar_001.png" COMP;
577 image: "00_mainmenu_page_bar_002.png" COMP;
583 description { state: "default" 0.0;
584 min: INDEX_PAGECONTROL_IND_INC;
585 max: INDEX_PAGECONTROL_IND_INC;
590 part { name: "indicator1";
594 description { state: "default" 0.0;
600 normal: "00_mainmenu_page_bar_001.png";
603 description { state: "active" 0.0;
604 inherit: "default" 0.0;
608 part { name: "indicator2";
612 description { state: "default" 0.0;
615 min: INDEX_PAGECONTROL_IND_MIN_INC;
616 max: INDEX_PAGECONTROL_IND_MIN_INC;
617 image.normal: "00_mainmenu_page_bar_002.png";
620 description { state: "active" 0.0;
621 inherit: "default" 0.0;
622 min: INDEX_PAGECONTROL_IND_INC;
623 max: INDEX_PAGECONTROL_IND_INC;
627 part { name: "elm.text";
631 description { state: "default" 0.0;
633 color: INDEX_PAGECONTROL_FONT_COLOR_INC 0;
636 font: "SLP:style=Medium";
637 size: INDEX_PAGECONTROL_FONT_SIZE_INC;
641 rel1 { to: "indicator2"; }
642 rel2 { to: "indicator2"; }
644 description { state: "active" 0.0;
645 inherit: "default" 0.0;
646 color: INDEX_PAGECONTROL_FONT_COLOR_INC 255;
651 program { name: "active";
652 signal: "elm,state,active";
654 action: STATE_SET "active" 0.0;
655 target: "indicator1";
656 target: "indicator2";
658 transition: LINEAR 0.2;
660 program { name: "inactive";
661 signal: "elm,state,inactive";
663 action: STATE_SET "default" 0.0;
664 target: "indicator1";
665 target: "indicator2";
667 transition: LINEAR 0.2;