80320af79cf800d35f309fa0ef0669a134b65029
[apps/home/call.git] / ui / call_edc / vcui-view-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 group {
19         name: "ug_effect";
20         parts {
21                 part {
22                         name: "clip";
23                         type: RECT;
24                         description {
25                                 state: "default" 0.0;
26                                 rel1 { relative: 1 0; }
27                                 rel2 { relative: 2 1; }
28                                 color: 255 255 255 0;
29                         }
30                         description {
31                                 state: "show" 0.0;
32                                 rel1 { relative: 0 0; }
33                                 rel2 { relative: 1 1; }
34                                 color: 255 255 255 255;
35                         }
36                 }
37                 part {
38                         name: "elm.swallow.content";
39                         type: SWALLOW;
40                         clip_to: "clip";
41                         description {
42                                 rel1.to: "clip";
43                                 rel2.to: "clip";
44                         }
45                 }
46                 part {
47                         name: "event_blocker";
48                         description {
49                                 state: "default" 0.0;
50                                 visible: 1;
51                         }
52                         description {
53                                 state: "show" 0.0;
54                                 inherit: "default" 0.0;
55                         }
56                         description {
57                                 state: "disabled" 0.0;
58                                 inherit: "default" 0.0;
59                                 visible: 0;
60                         }
61                 }
62         }
63         programs {
64                 program {
65                         name: "show";
66                         signal: "elm,state,show";
67                         action: STATE_SET "show" 0.0;
68                         target: "clip";
69                         target: "event_blocker";
70                         transition: "DECELERATE" 0.5;
71                         after: "show_end";
72                 }       
73                 program {
74                         name: "hide";
75                         signal: "elm,state,hide";
76                         action: STATE_SET "default" 0.0;
77                         target: "clip";
78                         target: "event_blocker";
79                         transition: "DECELERATE" 0.5;
80                         after: "hide_end";
81                 }
82                 program {
83                         name: "disable_blocker";
84                         action: STATE_SET "disabled" 0.0;
85                         target: "event_blocker";
86                 }
87                 program {
88                         name: "show_end";
89                         action: SIGNAL_EMIT "elm,action,show,finished" "";
90                         after: "disable_blocker";
91                 }
92                 program {
93                         name: "hide_end";
94                         action: SIGNAL_EMIT "elm,action,hide,finished" "";
95                         after: "disable_blocker"; 
96                 }
97         }
98 }