apply FSL(Flora Software License)
[apps/home/smartsearch.git] / data / groups / ug_effect.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  * 
4  * Licensed under the Flora License, Version 1.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * 
8  *     http://www.tizenopensource.org/license
9  * 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18
19
20 group {
21                 name: "ug_effect";
22                 parts {
23                         part {
24                                 name: "clip";
25                                 type: RECT;
26                                 description {
27                                         state: "default" 0.0;
28                                         rel1 { relative: 1 0; }
29                                         rel2 { relative: 2 1; }
30                                         color: 255 255 255 0;
31                                 }
32                                 description {
33                                         state: "show" 0.0;
34                                         rel1 { relative: 0 0; }
35                                         rel2 { relative: 1 1; }
36                                         color: 255 255 255 255;
37                                 }
38                         }
39                         part {
40                                 name: "elm.swallow.content";
41                                 type: SWALLOW;
42                                 clip_to: "clip";
43                                 description {
44                                         rel1.to: "clip";
45                                         rel2.to: "clip";
46                                 }
47                         }
48                         part {
49                                 name: "event_blocker";
50                                 description {
51                                         state: "default" 0.0;
52                                         rel1.to: "clip";
53                                         rel2.to: "clip";
54                                         visible: 1;
55                                 }
56                                 description {
57                                         state: "show" 0.0;
58                                         inherit: "default" 0.0;
59                                 }
60                                 description {
61                                         state: "disabled" 0.0;
62                                         inherit: "default" 0.0;
63                                         visible: 0;
64                                 }
65                         }
66                 }
67                 programs {
68                         program {
69                                 name: "show";
70                                 signal: "elm,state,show";
71                                 action: STATE_SET "show" 0.0;
72                                 target: "clip";
73                                 target: "event_blocker";
74                                 transition: "DECELERATE" 0.5;
75                                 after: "show_end";
76                         }       
77                         program {
78                                 name: "hide";
79                                 signal: "elm,state,hide";
80                                 action: STATE_SET "default" 0.0;
81                                 target: "clip";
82                                 target: "event_blocker";
83                                 transition: "DECELERATE" 0.5;
84                                 after: "hide_end";
85                         }
86                         program {
87                                 name: "disable_blocker";
88                                 name: "disable_event_blocker";
89                                 signal: "elm,state,blocker,disabled";
90                                 action: STATE_SET "disabled" 0.0;
91                                 target: "event_blocker";
92                         }
93             program{
94                 name: "disable_blocker";
95                 action: SIGNAL_EMIT "elm,state,blocker,disabled" "";
96             }
97                         program {
98                                 name: "show_end";
99                                 action: SIGNAL_EMIT "elm,action,show,finished" "";
100                                 after: "disable_blocker";
101                         }
102                         program {
103                                 name: "hide_end";
104                                 action: SIGNAL_EMIT "elm,action,hide,finished" "";
105                                 after: "disable_blocker"; 
106                         }
107                 }
108         }
109