tizen 2.4 release
[framework/uifw/e17-mod-tizen-comp.git] / data / group / indicator.edc
1 /*-----------------------------------------------------*/
2 /* group "indicator"                                   */
3 /*-----------------------------------------------------*/
4 group { name: "indicator";
5   images {
6      image: "comp-sh1.png" COMP;
7      image: "bt_glow.png" COMP;
8   }
9   parts {
10      /*------------------------------------------------*/
11      part { name: "clipper";
12         type: RECT;
13         description { state: "default" 0.0;
14            visible: 0;
15            color: 0 0 0 0;
16            rel1.relative: -1.0  -1.0 ;
17            rel1.offset  : -9999 -9999;
18            rel2.relative:  2.0   2.0 ;
19            rel2.offset  :  9999  9999;
20         }
21         description { state: "default" 0.1;
22            inherit: "default" 0.0;
23            visible: 0;
24            color  : 0 0 0 0;
25         }
26         description { state: "default,0" 0.0;
27            inherit: "default" 0.0;
28            visible: 0;
29            color  : 255 255 255 0;
30         }
31         description { state: "default,90" 0.0;
32            inherit: "default" 0.0;
33            visible: 0;
34            color  : 255 255 255 0;
35         }
36         description { state: "default,180" 0.0;
37            inherit: "default" 0.0;
38            visible: 0;
39            color  : 255 255 255 0;
40         }
41         description { state: "default,270" 0.0;
42            inherit: "default" 0.0;
43            visible: 0;
44            color  : 255 255 255 0;
45         }
46         description { state: "visible" 0.0;
47            inherit: "default" 0.0;
48            visible: 1;
49            color: 255 255 255 255;
50         }
51      }
52      /*------------------------------------------------*/
53      part { name: "shower";
54         type: RECT;
55         description { state: "default" 0.0;
56            visible: 0;
57            rel1.relative:  0  0;
58            rel1.offset  :  0  0;
59            rel2.relative:  0  0;
60         }
61         description { state: "default" 0.1;
62            inherit: "default" 0.0;
63            rel1.relative:  0  0;
64            rel2.relative:  1  1;
65         }
66         description { state: "default,0" 0.0;
67            inherit: "default" 0.0;
68            rel1.relative:  0  -1;
69            rel2.relative:  1  0;
70         }
71         description { state: "default,90" 0.0;
72            inherit: "default" 0.0;
73            rel1.relative:  -1  0;
74            rel2.relative:  0  1;
75         }
76         description { state: "default,180" 0.0;
77            inherit: "default" 0.0;
78            rel1.relative:  0  1;
79            rel2.relative:  1  2;
80         }
81         description { state: "default,270" 0.0;
82            inherit: "default" 0.0;
83            rel1.relative:  1  0;
84            rel2.relative:  2  1;
85         }
86         description { state: "visible" 0.0;
87            inherit: "default" 0.0;
88            rel1.relative:  0  0;
89            rel2.relative:  1  1;
90         }
91      }
92      /*------------------------------------------------*/
93      part { name: "e.swallow.content";
94         type: SWALLOW;
95         clip_to: "clipper";
96         description { state: "default" 0.0;
97            rel1.to: "shower";
98            rel2.to: "shower";
99         }
100         description { state: "default" 0.1;
101            inherit: "default" 0.0;
102            rel1.relative:  0  0;
103            rel2.relative:  1  1;
104         }
105         description { state: "default,0" 0.0;
106            inherit: "default" 0.0;
107            rel1.relative:  0  0;
108            rel2.relative:  1  1;
109         }
110         description { state: "default,90" 0.0;
111            inherit: "default" 0.0;
112            rel1.relative:  0  0;
113            rel2.relative:  1  1;
114         }
115         description { state: "default,180" 0.0;
116            inherit: "default" 0.0;
117            rel1.relative:  0  0;
118            rel2.relative:  1  1;
119         }
120         description { state: "default,270" 0.0;
121            inherit: "default" 0.0;
122            rel1.relative:  0  0;
123            rel2.relative:  1  1;
124         }
125         description { state: "visible" 0.0;
126            inherit: "default" 0.0;
127            rel1.relative:  0  0;
128            rel2.relative:  1  1;
129         }
130      }
131      /*------------------------------------------------*/
132   }
133   programs {
134      /*------------------------------------------------*/
135      /* signal emit program                            */
136      /*------------------------------------------------*/
137      #include "../common/comp-prog-signal-emit.edc"
138
139      /*-------------------------------------------------------------------
140       *                         0.2          0.15
141       *-------------------------------------------------------------------
142       *  [curr]   ---> show0    ---> show1    ---> show2    ---> SHOW,DONE
143       *-------------------------------------------------------------------
144       * default0.0    default0.1    default0.1    visible0.0
145       *-------------------------------------------------------------------
146       *  clipper       clipper       clipper       clipper
147       *  shower        shower        shower        shower
148       *  swallow       swallow       swallow       swallow
149       *-------------------------------------------------------------------
150       */
151      program { name: "prog-show-0";
152         signal: "e,state,visible,on";
153         source: "e";
154         action: STATE_SET "default" 0.1;
155         target: "clipper";
156         target: "shower";
157         target: "e.swallow.content";
158         after : "prog-show-1";
159      }
160      program { name: "prog-show-1";
161         action: STATE_SET "default" 0.1;
162         transition: LINEAR 0.2;
163         target: "clipper";
164         target: "shower";
165         target: "e.swallow.content";
166         after : "prog-show-2";
167      }
168      program { name: "prog-show-2";
169         action: STATE_SET "visible" 0.0;
170         transition: DECELERATE 0.15;
171         target: "clipper";
172         target: "shower";
173         target: "e.swallow.content";
174         after : "prog-emit-show-done";
175      }
176      /*------------------------------------------------*/
177      program { name: "prog-show-noeffect";
178         signal: "e,state,visible,on,noeffect";
179         source: "e";
180         action: STATE_SET "visible" 0.0;
181         target: "clipper";
182         target: "shower";
183         target: "e.swallow.content";
184         after : "prog-emit-show-done";
185      }
186      /*-------------------------------------------------------------------
187       *                               0.15
188       *-------------------------------------------------------------------
189       *  [curr]   ---> custom0-show0  ---> custom0-show1  ---> SHOW,DONE
190       *-------------------------------------------------------------------
191       * default0.0    default,0 0.0        visible0.0
192       *-------------------------------------------------------------------
193       *  clipper       clipper              clipper
194       *  shower        shower               shower
195       *  swallow       swallow              swallow
196       *-------------------------------------------------------------------
197       */
198      program { name: "prog-show-custom0,0-0";
199         signal: "e,state,visible,on,custom0,0";
200         source: "e";
201         action: STATE_SET "default,0" 0.0;
202         target: "clipper";
203         target: "shower";
204         target: "e.swallow.content";
205         after : "prog-show-custom0,0-1";
206      }
207      program { name: "prog-show-custom0,0-1";
208         action: STATE_SET "visible" 0.0;
209         transition: DECELERATE 0.15;
210         target: "clipper";
211         target: "shower";
212         target: "e.swallow.content";
213         after : "prog-emit-show-done";
214      }
215      program { name: "prog-show-custom0,90-0";
216         signal: "e,state,visible,on,custom0,90";
217         source: "e";
218         action: STATE_SET "default,90" 0.0;
219         target: "clipper";
220         target: "shower";
221         target: "e.swallow.content";
222         after : "prog-show-custom0,90-1";
223      }
224      program { name: "prog-show-custom0,90-1";
225         action: STATE_SET "visible" 0.0;
226         transition: DECELERATE 0.15;
227         target: "clipper";
228         target: "shower";
229         target: "e.swallow.content";
230         after : "prog-emit-show-done";
231      }
232      program { name: "prog-show-custom0,180-0";
233         signal: "e,state,visible,on,custom0,180";
234         source: "e";
235         action: STATE_SET "default,180" 0.0;
236         target: "clipper";
237         target: "shower";
238         target: "e.swallow.content";
239         after : "prog-show-custom0,180-1";
240      }
241      program { name: "prog-show-custom0,180-1";
242         action: STATE_SET "visible" 0.0;
243         transition: DECELERATE 0.15;
244         target: "clipper";
245         target: "shower";
246         target: "e.swallow.content";
247         after : "prog-emit-show-done";
248      }
249      program { name: "prog-show-custom0,270-0";
250         signal: "e,state,visible,on,custom0,270";
251         source: "e";
252         action: STATE_SET "default,270" 0.0;
253         target: "clipper";
254         target: "shower";
255         target: "e.swallow.content";
256         after : "prog-show-custom0,270-1";
257      }
258      program { name: "prog-show-custom0,270-1";
259         action: STATE_SET "visible" 0.0;
260         transition: DECELERATE 0.15;
261         target: "clipper";
262         target: "shower";
263         target: "e.swallow.content";
264         after : "prog-emit-show-done";
265      }
266      /*------------------------------------------------*/
267      program { name: "prog-show-custom1";
268         signal: "e,state,visible,on,custom1";
269         source: "e";
270         action: STATE_SET "visible" 0.0;
271         target: "clipper";
272         target: "shower";
273         target: "e.swallow.content";
274         after : "prog-emit-show-done";
275      }
276      /*------------------------------------------------
277       *           0
278       *------------------------------------------------
279       *  [curr]   ---> hide0    ---> HIDE,DONE
280       *------------------------------------------------
281       * visible0.0    default0.1
282       *------------------------------------------------
283       *  clipper       clipper
284       *  shower        shower
285       *  swallow       swallow
286       *------------------------------------------------
287       */
288      program { name: "prog-hide-0";
289         signal: "e,state,visible,off";
290         source: "e";
291         action: STATE_SET "default" 0.1;
292         target: "clipper";
293         target: "shower";
294         target: "e.swallow.content";
295         after : "prog-emit-hide-done";
296      }
297      /*------------------------------------------------*/
298      program { name: "prog-hide-noeffect";
299         signal: "e,state,visible,off,noeffect";
300         source: "e";
301         action: STATE_SET "default" 0.1;
302         target: "clipper";
303         target: "shower";
304         target: "e.swallow.content";
305         after : "prog-emit-hide-done";
306      }
307      /*-------------------------------------------------------------------------------------
308       *                               0.15
309       *-------------------------------------------------------------------------------------
310       *  [curr]   ---> custom0-hide0  ---> custom0-hide1 ---> custom0-hide1 ---> HIDE,DONE
311       *-------------------------------------------------------------------------------------
312       * visible0.0     visible0.0          default,0 0.0      default0.1
313       *-------------------------------------------------------------------------------------
314       *  clipper       clipper             clipper            clipper
315       *  shower        shower              shower             shower
316       *  swallow       swallow             swallow            swallow
317       *-------------------------------------------------------------------------------------
318       */
319      program { name: "prog-hide-custom0,0-0";
320         signal: "e,state,visible,off,custom0,0";
321         source: "e";
322         action: STATE_SET "visible" 0.0;
323         target: "clipper";
324         target: "shower";
325         target: "e.swallow.content";
326         after : "prog-hide-custom0,0-1";
327      }
328      program { name: "prog-hide-custom0,0-1";
329         action: STATE_SET "default,0" 0.0;
330         transition: DECELERATE 0.15;
331         target: "clipper";
332         target: "shower";
333         target: "e.swallow.content";
334         after : "prog-hide-custom0,0-2";
335      }
336      program { name: "prog-hide-custom0,0-2";
337         action: STATE_SET "default" 0.1;
338         target: "clipper";
339         target: "shower";
340         target: "e.swallow.content";
341         after : "prog-emit-hide-done";
342      }
343      program { name: "prog-hide-custom0,90-0";
344         signal: "e,state,visible,off,custom0,90";
345         source: "e";
346         action: STATE_SET "visible" 0.0;
347         target: "clipper";
348         target: "shower";
349         target: "e.swallow.content";
350         after : "prog-hide-custom0,90-1";
351      }
352      program { name: "prog-hide-custom0,90-1";
353         action: STATE_SET "default,90" 0.0;
354         transition: DECELERATE 0.15;
355         target: "clipper";
356         target: "shower";
357         target: "e.swallow.content";
358         after : "prog-hide-custom0,90-2";
359      }
360      program { name: "prog-hide-custom0,90-2";
361         action: STATE_SET "default" 0.1;
362         target: "clipper";
363         target: "shower";
364         target: "e.swallow.content";
365         after : "prog-emit-hide-done";
366      }
367      program { name: "prog-hide-custom0,180-0";
368         signal: "e,state,visible,off,custom0,180";
369         source: "e";
370         action: STATE_SET "visible" 0.0;
371         target: "clipper";
372         target: "shower";
373         target: "e.swallow.content";
374         after : "prog-hide-custom0,180-1";
375      }
376      program { name: "prog-hide-custom0,180-1";
377         action: STATE_SET "default,180" 0.0;
378         transition: DECELERATE 0.15;
379         target: "clipper";
380         target: "shower";
381         target: "e.swallow.content";
382         after : "prog-hide-custom0,180-2";
383      }
384      program { name: "prog-hide-custom0,180-2";
385         action: STATE_SET "default" 0.1;
386         target: "clipper";
387         target: "shower";
388         target: "e.swallow.content";
389         after : "prog-emit-hide-done";
390      }
391      program { name: "prog-hide-custom0,270-0";
392         signal: "e,state,visible,off,custom0,270";
393         source: "e";
394         action: STATE_SET "visible" 0.0;
395         target: "clipper";
396         target: "shower";
397         target: "e.swallow.content";
398         after : "prog-hide-custom0,270-1";
399      }
400      program { name: "prog-hide-custom0,270-1";
401         action: STATE_SET "default,270" 0.0;
402         transition: DECELERATE 0.15;
403         target: "clipper";
404         target: "shower";
405         target: "e.swallow.content";
406         after : "prog-hide-custom0,270-2";
407      }
408      program { name: "prog-hide-custom0,270-2";
409         action: STATE_SET "default" 0.1;
410         target: "clipper";
411         target: "shower";
412         target: "e.swallow.content";
413         after : "prog-emit-hide-done";
414      }
415      /*------------------------------------------------*/
416      program { name: "prog-hide-custom1";
417         signal: "e,state,visible,off,custom1";
418         source: "e";
419         action: STATE_SET "default" 0.1;
420         target: "clipper";
421         target: "shower";
422         target: "e.swallow.content";
423         after : "prog-emit-hide-done";
424      }
425      /*------------------------------------------------*/
426      program { name: "prog-raise-above-hide";
427         signal: "e,state,raise_above,off";
428         source: "e";
429         action: STATE_SET "default" 0.1;
430         target: "clipper";
431         target: "shower";
432         target: "e.swallow.content";
433         after : "prog-emit-raise-above-hide-done";
434      }
435      /*------------------------------------------------*/
436      program { name: "prog-raise-above-hide-post-work";
437         signal: "e,state,raise_above_post,on";
438         source: "e";
439         action: STATE_SET "visible" 0.0;
440         target: "clipper";
441         target: "shower";
442         target: "e.swallow.content";
443      }
444      /*------------------------------------------------*/
445      program { name: "prog-show-bg";
446         signal: "e,state,background,visible,on";
447         source: "e";
448         action: STATE_SET "visible" 0.0;
449         target: "clipper";
450         target: "shower";
451         target: "e.swallow.content";
452         after : "prog-emit-bg-show-done";
453      }
454      /*------------------------------------------------*/
455      program { name: "prog-hide-bg";
456         signal: "e,state,background,visible,off";
457         source: "e";
458         action: STATE_SET "default" 0.1;
459         target: "clipper";
460         target: "shower";
461         target: "e.swallow.content";
462         after : "prog-emit-bg-hide-done";
463      }
464      /*------------------------------------------------*/
465   }
466 } /* end of group "indicator" */