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