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