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;
32 item: "min_obj_height" "32";
33 item: "min_1st_level_obj_height" "32";
34 item: "special_char" "*";
41 description { state: "default" 0.0;
45 description { state: "active" 0.0;
47 color: 255 255 255 255;
55 description { state: "default" 0.0;
59 description { state: "active" 0.0;
61 color: 255 255 255 255;
64 part { name: "elm.dragable.index.1";
70 confine: "elm.swallow.index.0";
72 description { state: "default" 0.0;
78 to: "elm.swallow.index.0";
83 to: "elm.swallow.index.0";
87 part { name: "elm.swallow.index.1.padding.right";
90 description { state: "default" 0.0;
91 min: INDEX_LEVEL_PADDING_INC 0;
105 part { name: "elm.swallow.index.1";
109 description { state: "default" 0.0;
112 to_y: "elm.dragable.index.1";
117 to_y: "elm.dragable.index.1";
121 color: 255 255 255 0;
123 description { state: "active" 0.0;
124 inherit: "default" 0.0;
126 to_x: "elm.swallow.index.1.padding.right";
131 to_x: "elm.swallow.index.1.padding.right";
135 color: 255 255 255 255;
138 part { name: "elm.swallow.index.0";
142 description { state: "default" 0.0;
153 color: 255 255 255 50;
155 description { state: "active" 0.0;
156 inherit: "default" 0.0;
157 color: 255 255 255 255;
160 part { name: "button_image_padding";
165 description { state: "default" 0.0;
180 part { name: "button_image";
183 description { state: "default" 0.0;
185 min: INDEX_1ST_LEVEL_POPUP_WIDTH_INC INDEX_POPUP_HEIGHT_INC;
194 relative: 1.067 1.083;
198 normal: "00_fast_scroll_popup_bg.png";
199 border: INDEX_POPUP_BG_NINEPATCH_INC;
204 description { state: "invisible" 0.0;
205 inherit: "default" 0.0;
208 description { state: "index1" 0.0;
209 inherit: "default" 0.0;
210 min: INDEX_2ND_LEVEL_POPUP_WIDTH_INC INDEX_POPUP_HEIGHT_INC;
212 description { state: "active" 0.0;
213 inherit: "default" 0.0;
224 state: "default" 0.0;
230 to_y: "button_image_padding";
234 to_y: "button_image_padding";
237 color: INDEX_POPUP_TEXT_COLOR_INC;
240 font: "SLP:style=Medium";
241 size: INDEX_POPUP_TEXT_SIZE_INC;
243 text_class: "slp_medium";
246 description { state: "active" 0.0;
247 inherit: "default" 0.0;
251 part { name: "elm.dragable.pointer";
260 description { state: "default" 0.0;
275 part { name: "elm.swallow.event.0.bottom.padding";
278 description { state: "default" 0.0;
283 relative: 1.0 1.0; offset: 0 0;
288 part { name: "elm.swallow.event.0";
291 description { state: "default" 0.0;
301 to_y: "elm.swallow.event.0.bottom.padding";
305 part { name: "elm.swallow.event.1";
308 description { state: "default" 0.0;
312 to: "elm.swallow.index.1";
317 to: "elm.swallow.index.1";
325 program { name: "load";
329 run_program(PROGRAM:"initial.index0.active");
330 run_program(PROGRAM:"button.image.hidden");
331 timer(2.0, "index_hide_timer", 0);
334 program { name: "drag2";
336 source: "elm.dragable.index.1";
340 get_drag(PART:"elm.dragable.index.1", dx, dy);
341 custom_state(PART:"elm.dragable.index.1", "default", 0.0);
342 set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy);
345 program { name: "index0.active";
346 signal: "elm,state,active";
348 action: STATE_SET "active" 0.0;
349 transition: DECELERATE 0.3;
350 target: "elm.swallow.index.0";
352 after: "disable_timer";
354 program { name: "initial.index0.active";
355 action: STATE_SET "active" 0.0;
356 transition: DECELERATE 0.3;
357 target: "elm.swallow.index.0";
359 after: "enable_timer";
361 program { name: "index0.inactive";
362 signal: "elm,state,inactive";
364 action: STATE_SET "default" 0.0;
365 transition: DECELERATE 0.3;
366 target: "elm.swallow.index.0";
369 program { name: "index1.inactive";
370 signal: "elm,state,level,0";
372 action: STATE_SET "default" 0.0;
373 transition: DECELERATE 0.3;
374 target: "elm.swallow.index.1";
377 program { name: "index1.active";
378 signal: "elm,state,level,1";
380 action: STATE_SET "active" 0.0;
381 transition: DECELERATE 0.3;
382 target: "elm.swallow.index.1";
385 program { name: "index.active";
386 signal: "elm,indicator,state,active";
388 action: STATE_SET "active" 0.0;
389 transition: DECELERATE 0.5;
391 target: "elm.swallow.index.0";
394 target: "button_image";
396 program { name: "index.inactive";
397 signal: "elm,indicator,state,inactive";
399 action: STATE_SET "default" 0.0;
400 transition: DECELERATE 0.5;
403 program { name: "button.image.hidden";
404 signal: "elm,state,button,image,hide";
406 action: STATE_SET "invisible" 0.0;
407 target: "button_image";
409 program { name: "disable_timer";
411 set_int(timer_flag, 0);
414 program { name: "enable_timer";
416 set_int(timer_flag, 1);
422 group { name: "elm/index/item/vertical/default";
423 alias: "elm/index/item_odd/vertical/default";
424 data.item: "stacking" "above";
425 data.item: "selectraise" "on";
427 image: "00_fast_scroll_rollover_bg_focus_bg.png" COMP;
430 part { name: "scroll.bg";
435 state: "default" 0.0;
439 color: INDEX_SCROLL_BG_COLOR_INC;
443 inherit: "default" 0.0;
447 part { name: "bottom.line";
452 state: "default" 0.0;
455 relative: 0.0 1.0; offset: 0 -1;
460 color: INDEX_BOTTOM_LINE_COLOR_INC;
463 part { name: "left.line";
468 state: "default" 0.0;
474 relative: 0.0 1.0; offset: 1 0;
476 color: INDEX_LEFT_LINE_COLOR_INC;
481 relative: 0.0 0.0; offset: 0 -INDEX_ITEM_HEIGHT_INC;
484 relative: 0.0 1.0; offset: 1 +INDEX_ITEM_HEIGHT_INC;
486 color: INDEX_SCROLL_BG_COLOR_INC;
489 part { name: "item.bg";
494 state: "default" 0.0;
497 relative: 0.0 0.0; offset: 0 -INDEX_ITEM_HEIGHT_INC;
500 relative: 1.0 1.0; offset: 0 +INDEX_ITEM_HEIGHT_INC;
503 normal: "00_fast_scroll_rollover_bg_focus_bg.png";
504 border: INDEX_BG_NINEPATCH_INC;
510 inherit: "default" 0.0;
514 part { name: "elm.text";
519 min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC;
521 state: "default" 0.0;
528 color: INDEX_ROLLOVER_TEXT_COLOR_INC;
530 font: "SLP:style=Medium";
531 size: INDEX_ROLLOVER_TEXT_SIZE_INC;
534 text_class: "slp_medium";
537 description { state: "active" 0.0;
538 inherit: "default" 0.0;
539 color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
544 program { name: "active";
545 signal: "elm,state,active";
547 action: STATE_SET "active" 0.0;
548 transition: DECELERATE 0.0;
554 program { name: "inactive";
555 signal: "elm,state,inactive";
557 action: STATE_SET "default" 0.0;
558 transition: DECELERATE 0.0;
567 name: "elm/index/base/vertical/pagecontrol";
568 alias: "elm/index/base/horizontal/pagecontrol";
573 description { state: "default" 0.0;
575 color: 255 255 255 0;
577 description { state: "active" 0.0;
579 color: 255 255 255 255;
582 part { name: "elm.swallow.index.0";
587 state: "default" 0.0;
593 part { name: "elm.swallow.event.0";
595 description { state: "default" 0.0;
601 program { name: "active";
602 signal: "elm,state,active";
604 action: STATE_SET "active" 0.0;
605 transition: DECELERATE 0.5;
608 program { name: "inactive";
609 signal: "elm,state,inactive";
611 action: STATE_SET "default" 0.0;
612 transition: DECELERATE 0.5;
618 name: "elm/index/item/vertical/pagecontrol";
619 alias: "elm/index/item_odd/vertical/pagecontrol";
620 alias: "elm/index/item/horizontal/pagecontrol";
621 alias: "elm/index/item_odd/horizontal/pagecontrol";
623 image: "00_mainmenu_page_bar_001.png" COMP;
624 image: "00_mainmenu_page_bar_002.png" COMP;
630 description { state: "default" 0.0;
631 min: INDEX_PAGECONTROL_IND_INC;
632 max: INDEX_PAGECONTROL_IND_INC;
637 part { name: "indicator1";
641 description { state: "default" 0.0;
647 normal: "00_mainmenu_page_bar_001.png";
650 description { state: "active" 0.0;
651 inherit: "default" 0.0;
655 part { name: "indicator2";
659 description { state: "default" 0.0;
662 min: INDEX_PAGECONTROL_IND_MIN_INC;
663 max: INDEX_PAGECONTROL_IND_MIN_INC;
664 image.normal: "00_mainmenu_page_bar_002.png";
667 description { state: "active" 0.0;
668 inherit: "default" 0.0;
669 min: INDEX_PAGECONTROL_IND_INC;
670 max: INDEX_PAGECONTROL_IND_INC;
674 part { name: "elm.text";
678 description { state: "default" 0.0;
680 color: INDEX_PAGECONTROL_FONT_COLOR_INC 0;
683 font: "SLP:style=Medium";
684 size: INDEX_PAGECONTROL_FONT_SIZE_INC;
687 text_class: "slp_medium";
689 rel1 { to: "indicator2"; }
690 rel2 { to: "indicator2"; }
692 description { state: "active" 0.0;
693 inherit: "default" 0.0;
694 color: INDEX_PAGECONTROL_FONT_COLOR_INC 255;
699 program { name: "active";
700 signal: "elm,state,active";
702 action: STATE_SET "active" 0.0;
703 target: "indicator1";
704 target: "indicator2";
706 transition: LINEAR 0.2;
708 program { name: "inactive";
709 signal: "elm,state,inactive";
711 action: STATE_SET "default" 0.0;
712 target: "indicator1";
713 target: "indicator2";
715 transition: LINEAR 0.2;