Fixed the movie grid edc for animation 48/44848/2
authorHyojung Jo <hj903.jo@samsung.com>
Tue, 28 Jul 2015 11:20:12 +0000 (20:20 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 29 Jul 2015 02:19:52 +0000 (19:19 -0700)
Change-Id: Iec84949011da23a05beb9f958ef7c7742532ba0c
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
res/widgets/gengrid_movie.edc

index ed9fd21..2ff0ab4 100644 (file)
@@ -16,6 +16,7 @@
 
 group {
        name, "elm/gengrid/item/style.movie/default";
+       data.item, "selectraise" "on";
        data.item, "focus_highlight" "on";
        data.item, "texts" "part.thumb.text";
        data.item, "contents" "part.thumb.icon";
@@ -159,21 +160,22 @@ group {
                }
 
                part {
-                       name, "part.default.text.bg";
+                       name, "part.focus.up";
                        type, RECT;
                        mouse_events, 0;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               rel1 {
+                               color, COLOR_ITEM_FOCUS;
+                               rel1.to, "part.bg";
+                               rel2 {
                                        to, "part.bg";
-                                       relative, 0.0 1.0;
+                                       relative, 1.0 0.0;
                                }
-                               rel2.to, "part.bg";
-                               min, 0 82;
-                               align, 0.5 1.0;
-                               color, COLOR_TEXT_BG;
+                               min, 0 6;
+                               align, 0.5 0.0;
                                fixed, 0 1;
+                               visible, 0;
                                map {
                                        perspective_on, 1;
                                        perspective, "map";
@@ -182,21 +184,37 @@ group {
                        description {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
-                               color, COLOR_ITEM_FOCUS;
                                map.on, 1;
+                               visible, 1;
+                       }
+                       description {
+                               state, "focused_0" 0.0;
+                               inherit, "default" 0.0;
+                               visible, 1;
+                               color, COLOR_ITEM_FOCUS_0;
                        }
                }
 
                part {
-                       name, "part.thumb.text.bg";
+                       name, "part.focus.left";
                        type, RECT;
                        mouse_events, 0;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               color, COLOR_TEXT_BG;
-                               rel1.to, "part.default.text.bg";
-                               rel2.to, "part.default.text.bg";
+                               color, COLOR_ITEM_FOCUS;
+                               rel1 {
+                                       to, "part.focus.up";
+                                       relative, 0.0 1.0;
+                               }
+                               rel2 {
+                                       to, "part.thumb.text.bg";
+                                       relative, 0.0 0.0;
+                               }
+                               min, 6 0;
+                               align, 0.0 0.5;
+                               fixed, 1 0;
+                               visible, 0;
                                map {
                                        perspective_on, 1;
                                        perspective, "map";
@@ -205,56 +223,37 @@ group {
                        description {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
-                               color, COLOR_ITEM_FOCUS;
                                map.on, 1;
+                               visible, 1;
                        }
                        description {
                                state, "focused_0" 0.0;
                                inherit, "default" 0.0;
+                               visible, 1;
                                color, COLOR_ITEM_FOCUS_0;
                        }
                }
 
                part {
-                       name, "padding.thumb.text";
-                       type, SPACER;
-                       scale, 1;
-                       description {
-                               state, "default" 0.0;
-                               min, 18 0;
-                               rel1.to, "part.thumb.text.bg";
-                               rel2 {
-                                       to, "part.thumb.text.bg";
-                                       relative, 0.0 1.0;
-                               }
-                               align, 0.0 0.5;
-                               fixed, 1 0;
-                       }
-               }
-
-               part {
-                       name, PART_THUMB_TEXT;
-                       type, TEXT;
+                       name, "part.focus.right";
+                       type, RECT;
+                       mouse_events, 0;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               color, 255 255 255 255;
-                               min, 342 82;
+                               color, COLOR_ITEM_FOCUS;
                                rel1 {
-                                       to, "padding.thumb.text";
-                                       relative, 1.0 0.0;
+                                       to, "part.focus.up";
+                                       relative, 1.0 1.0;
                                }
                                rel2 {
-                                       to, "padding.thumb.text";
+                                       to, "part.thumb.text.bg";
                                        relative, 1.0 0.0;
                                }
-                               align, 0.0 0.0;
-                               fixed, 1 1;
-                               text {
-                                       font, FONT_TIZENSANS_LIGHT;
-                                       size, 28;
-                                       align, 0.0 0.5;
-                               }
+                               min, 6 0;
+                               align, 1.0 0.5;
+                               fixed, 1 0;
+                               visible, 0;
                                map {
                                        perspective_on, 1;
                                        perspective, "map";
@@ -264,26 +263,32 @@ group {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
                                map.on, 1;
+                               visible, 1;
                        }
                        description {
                                state, "focused_0" 0.0;
-                               inherit, "focused" 0.0;
+                               inherit, "default" 0.0;
+                               visible, 1;
+                               color, COLOR_ITEM_FOCUS_0;
                        }
                }
 
                part {
-                       name, "part.focus.up";
+                       name, "part.default.text.bg";
                        type, RECT;
                        mouse_events, 0;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               color, COLOR_ITEM_FOCUS;
-                               min, 378 6;
-                               rel2.relative, 0.0 0.0;
-                               align, 0.0 0.0;
-                               fixed, 1 1;
-                               visible, 0;
+                               rel1 {
+                                       to, "part.bg";
+                                       relative, 0.0 1.0;
+                               }
+                               rel2.to, "part.bg";
+                               min, 0 82;
+                               align, 0.5 1.0;
+                               color, COLOR_TEXT_BG;
+                               fixed, 0 1;
                                map {
                                        perspective_on, 1;
                                        perspective, "map";
@@ -292,30 +297,21 @@ group {
                        description {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
-                               visible, 1;
+                               color, COLOR_ITEM_FOCUS;
                                map.on, 1;
                        }
-                       description {
-                               state, "focused_0" 0.0;
-                               inherit, "default" 0.0;
-                               visible, 1;
-                               color, COLOR_ITEM_FOCUS_0;
-                       }
                }
 
                part {
-                       name, "part.focus.left";
+                       name, "part.thumb.text.bg";
                        type, RECT;
                        mouse_events, 0;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               color, COLOR_ITEM_FOCUS;
-                               min, 6 212;
-                               rel2.relative, 0.0 0.0;
-                               align, 0.0 0.0;
-                               fixed, 1 1;
-                               visible, 0;
+                               color, COLOR_TEXT_BG;
+                               rel1.to, "part.default.text.bg";
+                               rel2.to, "part.default.text.bg";
                                map {
                                        perspective_on, 1;
                                        perspective, "map";
@@ -324,37 +320,56 @@ group {
                        description {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
-                               visible, 1;
+                               color, COLOR_ITEM_FOCUS;
                                map.on, 1;
                        }
                        description {
                                state, "focused_0" 0.0;
                                inherit, "default" 0.0;
-                               visible, 1;
                                color, COLOR_ITEM_FOCUS_0;
                        }
                }
 
                part {
-                       name, "part.focus.right";
-                       type, RECT;
-                       mouse_events, 0;
+                       name, "padding.thumb.text";
+                       type, SPACER;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               color, COLOR_ITEM_FOCUS;
-                               min, 6 212;
+                               min, 18 0;
+                               rel1.to, "part.thumb.text.bg";
+                               rel2 {
+                                       to, "part.thumb.text.bg";
+                                       relative, 0.0 1.0;
+                               }
+                               align, 0.0 0.5;
+                               fixed, 1 0;
+                       }
+               }
+
+               part {
+                       name, PART_THUMB_TEXT;
+                       type, TEXT;
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               color, 255 255 255 255;
+                               min, 342 82;
                                rel1 {
-                                       to, "part.focus.up";
+                                       to, "padding.thumb.text";
                                        relative, 1.0 0.0;
                                }
                                rel2 {
-                                       to, "part.focus.up";
+                                       to, "padding.thumb.text";
                                        relative, 1.0 0.0;
                                }
-                               align, 1.0 0.0;
+                               align, 0.0 0.0;
                                fixed, 1 1;
-                               visible, 0;
+                               text {
+                                       font, FONT_TIZENSANS_LIGHT;
+                                       size, 28;
+                                       align, 0.0 0.5;
+                               }
                                map {
                                        perspective_on, 1;
                                        perspective, "map";
@@ -363,14 +378,11 @@ group {
                        description {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
-                               visible, 1;
                                map.on, 1;
                        }
                        description {
                                state, "focused_0" 0.0;
-                               inherit, "default" 0.0;
-                               visible, 1;
-                               color, COLOR_ITEM_FOCUS_0;
+                               inherit, "focused" 0.0;
                        }
                }
        }
@@ -381,10 +393,10 @@ group {
                        signal, "elm,state,focused";
                        source, "elm";
                        action, STATE_SET "focused_0" 0.0;
-                       target, "part.thumb.text.bg";
                        target, "part.focus.up";
                        target, "part.focus.left";
                        target, "part.focus.right";
+                       target, "part.thumb.text.bg";
                        target, PART_THUMB_TEXT;
                        after, "focus.in.anim";
                }
@@ -395,10 +407,10 @@ group {
                        target, "part.default.bg";
                        target, PART_THUMB_ICON;
                        target, "part.play.icon";
-                       target, "part.thumb.text.bg";
                        target, "part.focus.up";
                        target, "part.focus.left";
                        target, "part.focus.right";
+                       target, "part.thumb.text.bg";
                        transition, TRANSITION_FOCUS;
                        after, "focus.in.anim.2";
                }
@@ -421,11 +433,11 @@ group {
 
                program {
                        name, "focus.out.anim";
-                       action, STATE_SET "selected_0" 0.0;
-                       target, "part.thumb.text.bg";
+                       action, STATE_SET "focused_0" 0.0;
                        target, "part.focus.up";
                        target, "part.focus.left";
                        target, "part.focus.right";
+                       target, "part.thumb.text.bg";
                        transition, TRANSITION_FOCUS;
                        after, "focus.out.anim.2";
                }
@@ -436,10 +448,10 @@ group {
                        target, PART_THUMB_ICON;
                        target, "part.play.icon";
                        target, "part.default.bg";
-                       target, "part.default.text.bg";
                        target, "part.focus.up";
                        target, "part.focus.left";
                        target, "part.focus.right";
+                       target, "part.default.text.bg";
                }
 
                program {