Hide background image
[profile/tv/apps/native/air_livetv.git] / data / view / channelinfo.edc
index 2c4b716..6ead49c 100644 (file)
@@ -36,7 +36,53 @@ group {
 }
 
 group {
-       name, GRP_CHANNELINFO_LIST;
+       name, GRP_LAYOUT_CHANNELINFO;
+       parts {
+               part {
+                       name, PART_CONTENT;
+                       type, SWALLOW;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               rel1.relative, 1.0 0.5;
+                               rel2.relative, 1.0 0.5;
+                               min, 536 486;
+                               align, 0.0 0.5;
+                               fixed, 1 1;
+                               visible, 0;
+                       }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               align, 1.0 0.5;
+                               visible, 1;
+                       }
+               }
+       }
+       programs {
+               program {
+                       signal, SIGNAL_SHOW;
+                       action, STATE_SET "show" 0.0;
+                       target, PART_CONTENT;
+                       transition, CUBIC_BEZIER 0.5 TRANSITION_EASE_IN_OUT;
+               }
+               program {
+                       signal, SIGNAL_HIDE;
+                       source, SOURCE_ELM;
+                       action, STATE_SET "default" 0.0;
+                       target, PART_CONTENT;
+                       transition, CUBIC_BEZIER 0.167 TRANSITION_EASE_OUT;
+                       after, "hide_finished";
+               }
+               program {
+                       name, "hide_finished";
+                       action, SIGNAL_EMIT SIGNAL_HIDE_FINISHED SOURCE_ELM;
+               }
+       }
+}
+
+group {
+       name, GRP_LAYOUT_CHANNELINFO_LIST;
        images {
                image, "btn_navigation_up.png" COMP;
                image, "btn_navigation_down.png" COMP;
@@ -48,18 +94,24 @@ group {
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               rel1.relative, 0.0 0.5;
-                               rel2.relative, 0.0 0.5;
+                               rel1.relative, 1.0 0.5;
+                               rel2.relative, 1.0 0.5;
                                min, 536 486;
                                align, 0.0 0.5;
                                fixed, 1 1;
                        }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               align, 1.0 0.5;
+                       }
                }
                part {
                        name, "part.navigation_up";
                        type, IMAGE;
                        scale, 1;
                        description {
+                               state, "default" 0.0;
                                image.normal, "btn_navigation_up.png";
                                rel1 {
                                        to, "bg";
@@ -79,115 +131,249 @@ group {
                        name, "padding.next_channel";
                        type, SPACER;
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, "part.navigation_up";
-                                       relative, 0.0 1.0;
+                                       to, "part.navigation_up";
+                                       relative, 0.5 1.0;
                                }
                                rel2 {
-                                       to_y, "part.navigation_up";
-                                       relative, 1.0 1.0;
+                                       to, "part.navigation_up";
+                                       relative, 0.5 1.0;
                                }
                                min, 0 20;
-                               align, 0.0 0.0;
+                               align, 0.5 0.0;
+                               fixed, 1 1;
+                       }
+               }
+               part {
+                       name, "clip_next";
+                       type, RECT;
+                       description {
+                               state, "default" 0.0;
+                               rel1 {
+                                       to, "padding.next_channel";
+                                       relative, 0.5 1.0;
+                               }
+                               rel2 {
+                                       to, "padding.next_channel";
+                                       relative, 0.5 1.0;
+                               }
+                               min, 536 70;
+                               align, 0.5 0.0;
                                fixed, 1 1;
+                               color, 255 255 255 0;
+                       }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               color, 255 255 255 255;
                        }
                }
                part {
                        name, PART_CHANNELINFO_LIST_NEXT;
                        type, SWALLOW;
+                       clip_to, "clip_next";
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, "padding.next_channel";
-                                       relative, 0.0 1.0;
+                                       to, "clip_next";
+                                       relative, 0.0 0.5;
+                                       offset, 0 20;
                                }
                                rel2 {
-                                       to_y, "padding.next_channel";
-                                       relative, 1.0 1.0;
+                                       to, "clip_next";
+                                       relative, 1.0 0.5;
+                                       offset, 0 20;
                                }
-                               min, 536 70;
+                               align, 0.0 0.5;
+                       }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               rel1.offset, 0 0;
+                               rel2.offset, 0 0;
+                       }
+                       description {
+                               state, "up" 0.0;
+                               inherit, "show" 0.0;
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 0.0;
                                align, 0.0 0.0;
-                               fixed, 1 1;
+                       }
+                       description {
+                               state, "down" 0.0;
+                               inherit, "show" 0.0;
+                               rel1.relative, 0.0 1.0;
+                               rel2.relative, 1.0 1.0;
+                               align, 0.0 1.0;
                        }
                }
                part {
                        name, "padding.current_channel";
                        type, SPACER;
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, PART_CHANNELINFO_LIST_NEXT;
-                                       relative, 0.0 1.0;
+                                       to, "clip_next";
+                                       relative, 0.5 1.0;
                                }
                                rel2 {
-                                       to_y, PART_CHANNELINFO_LIST_NEXT;
-                                       relative, 1.0 1.0;
+                                       to, "clip_next";
+                                       relative, 0.5 1.0;
                                }
                                min, 0 32;
-                               align, 0.0 0.0;
+                               align, 0.5 0.0;
+                               fixed, 1 1;
+                       }
+               }
+               part {
+                       name, "clip_current";
+                       type, RECT;
+                       description {
+                               state, "default" 0.0;
+                               rel1 {
+                                       to, "padding.current_channel";
+                                       relative, 0.5 1.0;
+                               }
+                               rel2 {
+                                       to, "padding.current_channel";
+                                       relative, 0.5 1.0;
+                               }
+                               min, 536 174;
+                               align, 0.5 0.0;
                                fixed, 1 1;
+                               color, 255 255 255 0;
+                       }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               color, 255 255 255 255;
                        }
                }
                part {
                        name, PART_CHANNELINFO_LIST_CURRENT;
                        type, SWALLOW;
+                       clip_to, "clip_current";
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, "padding.current_channel";
-                                       relative, 0.0 1.0;
+                                       to, "clip_current";
+                                       relative, 0.0 0.5;
                                }
                                rel2 {
-                                       to_y, "padding.current_channel";
-                                       relative, 1.0 1.0;
+                                       to, "clip_current";
+                                       relative, 1.0 0.5;
                                }
-                               min, 536 174;
+                               align, 0.0 0.5;
+                       }
+                       description {
+                               state, "up" 0.0;
+                               inherit, "default" 0.0;
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 0.0;
                                align, 0.0 0.0;
-                               fixed, 1 1;
+                       }
+                       description {
+                               state, "down" 0.0;
+                               inherit, "default" 0.0;
+                               rel1.relative, 0.0 1.0;
+                               rel2.relative, 1.0 1.0;
+                               align, 0.0 1.0;
                        }
                }
                part {
                        name, "padding.prev_channel";
                        type, SPACER;
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, PART_CHANNELINFO_LIST_CURRENT;
-                                       relative, 0.0 1.0;
+                                       to, "clip_current";
+                                       relative, 0.5 1.0;
                                }
                                rel2 {
-                                       to_y, PART_CHANNELINFO_LIST_CURRENT;
-                                       relative, 1.0 1.0;
+                                       to, "clip_current";
+                                       relative, 0.5 1.0;
                                }
                                min, 0 32;
-                               align, 0.0 0.0;
+                               align, 0.5 0.0;
+                               fixed, 1 1;
+                       }
+               }
+               part {
+                       name, "clip_prev";
+                       type, RECT;
+                       description {
+                               state, "default" 0.0;
+                               rel1 {
+                                       to, "padding.prev_channel";
+                                       relative, 0.5 1.0;
+                               }
+                               rel2 {
+                                       to, "padding.prev_channel";
+                                       relative, 0.5 1.0;
+                               }
+                               min, 536 70;
+                               align, 0.5 0.0;
                                fixed, 1 1;
+                               color, 255 255 255 0;
+                       }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               color, 255 255 255 255;
                        }
                }
                part {
                        name, PART_CHANNELINFO_LIST_PREV;
                        type, SWALLOW;
+                       clip_to, "clip_prev";
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, "padding.prev_channel";
-                                       relative, 0.0 1.0;
+                                       to, "clip_prev";
+                                       relative, 0.0 0.5;
+                                       offset, 0 -20;
                                }
                                rel2 {
-                                       to_y, "padding.prev_channel";
-                                       relative, 1.0 1.0;
+                                       to, "clip_prev";
+                                       relative, 1.0 0.5;
+                                       offset, 0 -20;
                                }
-                               min, 536 70;
+                               align, 0.0 0.5;
+                       }
+                       description {
+                               state, "show" 0.0;
+                               inherit, "default" 0.0;
+                               rel1.offset, 0 0;
+                               rel2.offset, 0 0;
+                       }
+                       description {
+                               state, "up" 0.0;
+                               inherit, "show" 0.0;
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 0.0;
                                align, 0.0 0.0;
-                               fixed, 1 1;
+                       }
+                       description {
+                               state, "down" 0.0;
+                               inherit, "show" 0.0;
+                               rel1.relative, 0.0 1.0;
+                               rel2.relative, 1.0 1.0;
+                               align, 0.0 1.0;
                        }
                }
                part {
                        name, "padding.navigation_down";
                        type, SPACER;
                        description {
+                               state, "default" 0.0;
                                rel1 {
-                                       to_y, PART_CHANNELINFO_LIST_PREV;
-                                       relative, 0.0 1.0;
+                                       to, "clip_prev";
+                                       relative, 0.5 1.0;
                                }
                                rel2 {
-                                       to_y, PART_CHANNELINFO_LIST_PREV;
-                                       relative, 1.0 1.0;
+                                       to, "clip_prev";
+                                       relative, 0.5 1.0;
                                }
                                min, 0 20;
                                align, 0.0 0.0;
@@ -199,13 +385,14 @@ group {
                        type, IMAGE;
                        scale, 1;
                        description {
+                               state, "default" 0.0;
                                image.normal, "btn_navigation_down.png";
                                rel1 {
-                                       to_y, "padding.navigation_down";
+                                       to, "padding.navigation_down";
                                        relative, 0.5 1.0;
                                }
                                rel2 {
-                                       to_y, "padding.navigation_down";
+                                       to, "padding.navigation_down";
                                        relative, 0.5 1.0;
                                }
                                min, 98 34;
@@ -215,6 +402,102 @@ group {
                        }
                }
        }
+       programs {
+               program {
+                       signal, SIGNAL_SHOW;
+                       action, STATE_SET "show" 0.0;
+                       target, "bg";
+                       after, "show_current";
+                       after, "show_other";
+               }
+               program {
+                       name, "show_current";
+                       action, STATE_SET "show" 0.0;
+                       target, "clip_current";
+                       transition, CUBIC_BEZIER 0.334 TRANSITION_EASE_IN_OUT;
+               }
+               program {
+                       name, "show_other";
+                       action, STATE_SET "show" 0.0;
+                       target, "clip_next";
+                       target, PART_CHANNELINFO_LIST_NEXT;
+                       target, "clip_prev";
+                       target, PART_CHANNELINFO_LIST_PREV;
+                       transition, CUBIC_BEZIER 0.401 TRANSITION_EASE_IN_OUT;
+               }
+               program {
+                       signal, SIGNAL_HIDE;
+                       source, SOURCE_ELM;
+                       action, STATE_SET "default" 0.0;
+                       target, "bg";
+                       transition, CUBIC_BEZIER 0.167 TRANSITION_EASE_OUT;
+                       sequence {
+                               action, STATE_SET "default" 0.0;
+                               target, "clip_next";
+                               target, PART_CHANNELINFO_LIST_NEXT;
+                               target, "clip_prev";
+                               target, PART_CHANNELINFO_LIST_PREV;
+                               target, "clip_current";
+
+                               action, SIGNAL_EMIT SIGNAL_HIDE_FINISHED SOURCE_ELM;
+                       }
+               }
+               program {
+                       signal, SIGNAL_ANIM_MOVE_UP;
+                       source, SOURCE_PROGRAM;
+                       action, STATE_SET "show" 0.0;
+                       target, PART_CHANNELINFO_LIST_NEXT;
+                       target, PART_CHANNELINFO_LIST_CURRENT;
+                       target, PART_CHANNELINFO_LIST_PREV;
+                       sequence {
+                               action, STATE_SET "up" 0.0;
+                               transition, CUBIC_BEZIER 0.667 TRANSITION_EASE_IN_OUT;
+                               target, PART_CHANNELINFO_LIST_NEXT;
+                               target, PART_CHANNELINFO_LIST_CURRENT;
+                               target, PART_CHANNELINFO_LIST_PREV;
+                               after, "anim_end";
+                       }
+               }
+               program {
+                       signal, SIGNAL_ANIM_MOVE_DOWN;
+                       source, SOURCE_PROGRAM;
+                       action, STATE_SET "show" 0.0;
+                       target, PART_CHANNELINFO_LIST_NEXT;
+                       target, PART_CHANNELINFO_LIST_CURRENT;
+                       target, PART_CHANNELINFO_LIST_PREV;
+                       sequence {
+                               action, STATE_SET "down" 0.0;
+                               transition, CUBIC_BEZIER 0.667 TRANSITION_EASE_IN_OUT;
+                               target, PART_CHANNELINFO_LIST_NEXT;
+                               target, PART_CHANNELINFO_LIST_CURRENT;
+                               target, PART_CHANNELINFO_LIST_PREV;
+                               after, "anim_end";
+                       }
+               }
+               program {
+                       name, "anim_end";
+                       action, SIGNAL_EMIT SIGNAL_ANIM_FINISHED SOURCE_ELM;
+               }
+       }
+}
+
+group {
+       name, GRP_LAYOUT_CHANNELINFO_SEARCH;
+       parts {
+               part {
+                       name, PART_CONTENT;
+                       type, SWALLOW;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               rel1.relative, 1.0 0.0;
+                               rel2.relative, 1.0 1.0;
+                               min, 536 0;
+                               align, 1.0 0.0;
+                               fixed, 1 0;
+                       }
+               }
+       }
 }
 
 group {
@@ -449,114 +732,120 @@ group {
                                align, 1.0 0.0;
                                fixed, 1 1;
                        }
+               }
 
-                       part {
-                               name, PART_CHANNELINFO_LOCKED;
-                               type, IMAGE;
-                               scale, 1;
-                               description {
-                                       state, "default" 0.0;
-                                       image.normal, "ic_thumbnail_lock_01_nor.png";
-                                       rel1.relative, 1.0 0.0;
-                                       rel2.relative, 1.0 0.0;
-                                       min, 0 0;
-                                       align, 1.0 0.0;
-                                       fixed, 1 1;
-                                       visible, 0;
-                               }
-                               description {
-                                       state, "visible" 0.0;
-                                       inherit, "default" 0.0;
-                                       min, 28 28;
-                                       visible, 1;
-                               }
-                               description {
-                                       state, "focused" 0.0;
-                                       inherit, "default" 0.0;
-                                       image.normal, "ic_thumbnail_lock_01_foc.png";
-                                       min, 28 28;
-                                       visible, 1;
-                               }
-                       }
-                       part {
-                               name, "padding.channelinfo.locked";
-                               type, SPACER;
-                               scale, 1;
-                               description {
-                                       state, "default" 0.0;
-                                       rel1 {
-                                               to, PART_CHANNELINFO_LOCKED;
-                                               relative, 0.0 0.0;
-                                       }
-                                       rel2 {
-                                               to, PART_CHANNELINFO_LOCKED;
-                                               relative, 0.0 0.0;
-                                       }
-                                       min, 0 0;
-                                       align, 1.0 0.0;
-                                       fixed, 1 1;
-                               }
-                               description {
-                                       state, "visible" 0.0;
-                                       inherit, "default" 0.0;
-                                       min, 10 0;
-                               }
-                               description {
-                                       state, "focused" 0.0;
-                                       inherit, "default" 0.0;
-                                       min, 10 0;
-                               }
-                       }
-                       part {
-                               name, PART_CHANNELINFO_FAVORITE;
-                               type, IMAGE;
-                               scale, 1;
-                               description {
-                                       state, "default" 0.0;
-                                       image.normal, "ic_thumbnail_favorite_01.png";
-                                       rel1 {
-                                               to, "padding.channelinfo.locked";
-                                               relative, 0.0 0.0;
-                                       }
-                                       rel2 {
-                                               to, "padding.channelinfo.locked";
-                                               relative, 0.0 0.0;
-                                       }
-                                       min, 0 0;
-                                       align, 1.0 0.0;
-                                       fixed, 1 1;
-                                       visible, 0;
-                               }
-                               description {
-                                       state, "visible" 0.0;
-                                       inherit, "default" 0.0;
-                                       min, 28 28;
-                                       visible, 1;
-                               }
-                       }
-                       part {
-                               name, "padding.channelinfo.favorite";
-                               type, SPACER;
-                               scale, 1;
-                               description {
-                                       state, "default" 0.0;
-                                       rel1 {
-                                               to, PART_CHANNELINFO_FAVORITE;
-                                               relative, 0.0 0.0;
-                                       }
-                                       rel2 {
-                                               to, PART_CHANNELINFO_FAVORITE;
-                                               relative, 0.0 0.0;
-                                       }
-                                       min, 0 0;
-                                       align, 1.0 0.0;
-                                       fixed, 1 1;
-                               }
-                               description {
-                                       state, "visible" 0.0;
-                                       inherit, "default" 0.0;
-                                       min, 10 0;
+               part {
+                       name, PART_CHANNELINFO_LOCKED;
+                       type, IMAGE;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               image.normal, "ic_thumbnail_lock_01_nor.png";
+                               rel1 {
+                                       to, PART_CHANNELINFO_STATUS;
+                                       relative, 1.0 0.0;
+                               }
+                               rel2 {
+                                       to, PART_CHANNELINFO_STATUS;
+                                       relative, 1.0 0.0;
+                               }
+                               min, 0 0;
+                               align, 1.0 0.0;
+                               fixed, 1 1;
+                               visible, 0;
+                       }
+                       description {
+                               state, "visible" 0.0;
+                               inherit, "default" 0.0;
+                               min, 28 28;
+                               visible, 1;
+                       }
+                       description {
+                               state, "focused" 0.0;
+                               inherit, "default" 0.0;
+                               image.normal, "ic_thumbnail_lock_01_foc.png";
+                               min, 28 28;
+                               visible, 1;
+                       }
+               }
+               part {
+                       name, "padding.channelinfo.locked";
+                       type, SPACER;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               rel1 {
+                                       to, PART_CHANNELINFO_LOCKED;
+                                       relative, 0.0 0.0;
+                               }
+                               rel2 {
+                                       to, PART_CHANNELINFO_LOCKED;
+                                       relative, 0.0 0.0;
+                               }
+                               min, 0 0;
+                               align, 1.0 0.0;
+                               fixed, 1 1;
+                       }
+                       description {
+                               state, "visible" 0.0;
+                               inherit, "default" 0.0;
+                               min, 10 0;
+                       }
+                       description {
+                               state, "focused" 0.0;
+                               inherit, "default" 0.0;
+                               min, 10 0;
+                       }
+               }
+               part {
+                       name, PART_CHANNELINFO_FAVORITE;
+                       type, IMAGE;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               image.normal, "ic_thumbnail_favorite_01.png";
+                               rel1 {
+                                       to, "padding.channelinfo.locked";
+                                       relative, 0.0 0.0;
+                               }
+                               rel2 {
+                                       to, "padding.channelinfo.locked";
+                                       relative, 0.0 0.0;
+                               }
+                               min, 0 0;
+                               align, 1.0 0.0;
+                               fixed, 1 1;
+                               visible, 0;
+                       }
+                       description {
+                               state, "visible" 0.0;
+                               inherit, "default" 0.0;
+                               min, 28 28;
+                               visible, 1;
+                       }
+               }
+               part {
+                       name, "padding.channelinfo.favorite";
+                       type, SPACER;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               rel1 {
+                                       to, PART_CHANNELINFO_FAVORITE;
+                                       relative, 0.0 0.0;
                                }
+                               rel2 {
+                                       to, PART_CHANNELINFO_FAVORITE;
+                                       relative, 0.0 0.0;
+                               }
+                               min, 0 0;
+                               align, 1.0 0.0;
+                               fixed, 1 1;
+                       }
+                       description {
+                               state, "visible" 0.0;
+                               inherit, "default" 0.0;
+                               min, 10 0;
                        }
                }
        }
@@ -665,7 +954,6 @@ group {
                                state, "default" 0.0;
                                min, 536 70;
                                align, 0.0 0.0;
-                               fixed, 1 1;
                                visible, 0;
                        }
                }