Merge branch 'tizen_3.0' into tizen for sync
[apps/native/boot-animation.git] / res / edje / 360x480 / 360x480_PowerOff.edc
1 /*
2  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 images {
19 #include "360x480_PowerOff_image.h"
20 }
21
22 collections {
23     group { name: "poweroff";
24         parts {
25                 part {
26                         name: "bg";
27                         type: RECT;
28                         mouse_events: 0;
29                         description {
30                                 state: "default";
31                                 color: 0 0 0 255;
32                         }
33                 }
34
35                 part {
36                         name: "poweroff";
37                         type: IMAGE;
38                         mouse_events: 0;
39                         description {
40                                 rel1 { relative: 0.0 (800-640)/2/800; }
41                                 rel2 { relative: 1.0 (((800-640)/2)+640)/800; }
42                                 state: "default" 0.0;
43                                 image {
44 #include "360x480_PowerOff_part.h"
45                                 }
46                                 visible: 1;
47                         }
48                 }
49         }
50
51         programs {
52             program {
53                 name: "poweroff";
54                 signal: "show";
55                 action: STATE_SET "default" 0.0;
56                 target: "poweroff";
57                 transition: LINEAR 2;
58                 after: "poweroff_end";
59             }
60
61             program {
62                 name: "poweroff_end";
63                 action: SIGNAL_EMIT "end" "animation";
64             }
65         }
66     }
67 }
68