2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
18 #include "cam_funcs.edc"
19 #include "../include/edc_image_name.h"
27 part { name: "main_bg";
32 rel1 { relative: 0.0 0.0; offset: 0 0; }
33 rel2 { relative: 1.0 1.0; offset: -1 -1; }
40 #include "cam_guideline_edje.edc"
48 #define PROGRESS_BAR_X 320
49 #define PROGRESS_BAR_Y 657
50 #define PROGRESS_BAR_W 639
51 #define PROGRESS_BAR_H 20
59 rel1 { relative: PROGRESS_BAR_X/MAIN_W PROGRESS_BAR_Y/MAIN_H; }
60 rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/MAIN_H; }
65 name: "progressbar_text";
70 rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
71 rel2 { relative: (1.0+90/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
88 part { name: "black_screen_bg";
92 rel1 { relative: 0.0 0.0; offset: 0 0; }
93 rel2 { relative: 1.0 1.0; offset: -1 -1; }
101 name: "shutter_image";
106 name: "camera_image_bg";
109 state: "default" 0.0;
110 rel1 { relative: 0.0 0.0; offset: 0 0; }
111 rel2 { relative: 1.0 1.0; offset: -1 -1; }
116 rel1 { relative: 0.0 0.0; offset: 0 0; }
117 rel2 { relative: 1.0 1.0; offset: -1 -1; }
125 state: "default" 0.0;
126 rel1 { relative: 0.0 0.0; offset: 0 0; to : camera_image_bg; }
127 rel2 { relative: 1.0 0.0; offset: -1 0; to : camera_image_bg; }
133 rel1 { relative: 0.0 0.0; offset: 0 0; to : camera_image_bg; }
134 rel2 { relative: 1.0 0.5; offset: -1 -1; to : camera_image_bg; }
140 part { name: "down_part";
143 state: "default" 0.0;
144 rel1 { relative: 0.0 1.0; offset: 0 -1; to : camera_image_bg; }
145 rel2 { relative: 1.0 1.0; offset: -1 -1; to : camera_image_bg; }
151 rel1 { relative: 0.0 0.5; offset: 0 -1; to : camera_image_bg; }
152 rel2 { relative: 1.0 1.0; offset: -1 -1; to : camera_image_bg; }
162 signal: "start_animation";
164 action: STATE_SET "middle" 0.0;
166 target: "down_part" ;
167 transition: ACCELERATE 0.25;
174 action: STATE_SET "default" 0.0;
176 target: "down_part" ;
177 transition: DECELERATE 0.25;
183 action: STATE_SET "gray" 0.0;
184 target: "camera_image_bg" ;
191 action: STATE_SET "default" 0.0;
192 target: "camera_image_bg" ;
193 transition: DECELERATE 0.2;
194 after: "animation_finish";
197 name: "animation_finish";
198 signal: "animation_finish";
200 action: SIGNAL_EMIT "animation_finish" "*";
205 /*#include "cam_recording_edje.edc"*/