/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.tizenopensource.org/license
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+ * setting
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+ *
+ * Contact: MyoungJune Park <mj2004.park@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
#include "../setting-common/include/setting-common-data-edj-define.h"
-//#include "setting-genlist.edc"
-
-//Cnnot be fixed when select multiple resolution
-#define ITEM_X_DEN (480.0)
-#define ITEM_Y_DEN (90.0)
-#define ITEM_Y_DEN2 (60.0)
-#define MAIN_Y_DEN (800.0)
-
-//#define GROUP_LIST_BG_COLOR_INC 242 238 233 255
images
{
- image: "00_input_bg_black.png" COMP;
- image: "00_input_bg_white.png" COMP;
}
collections
text
{
font: "SLP:style=Regular";
+ text_class:"slp_regular";
size: 32;
min: 0 0;
align: 0.5 0.5;
min: 0 ITEM_Y_DEN;
fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 10/MAIN_Y_DEN; offset: 0 0; to: "bg"; }
+ rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg"; }
rel2 { relative: 1.0 0.0; offset: 0 0; to: "bg"; }
}
}
state: "default" 0.0;
align: 0.0 0.0;
//rel1 { relative: 0.0 1.0; offset: 0 0; to: "search_bar"; }
- rel1 { relative: 0.0 ITEM_Y_DEN/MAIN_Y_DEN; offset: 0 1; to: "bg"; }
+ rel1 { relative: 0.0 1.0; offset: 0 1; to: "search_bar"; }
rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg"; }
}
}
} // end of parts
}
- group {
- name: "layout_with_title_datetime";
- parts {
- part {
- name: "title";
- type: TEXT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- //rel1 { relative: 0.0 0.0; offset: 0 -30;} // 10 -30, -20, -15
- rel1 { relative: 0.0 0.0; offset: 0 -20;} // 10 -30, -20, -15
- rel2 { relative: 1.0 0.6; }
- color: 0 0 0 255;
-
- text {
- font: "SLP:style=Roman";
- size: 22;
- align: 0.0 0.5;
- }
- }
- /*Support other theme display*/
- description {
- state: "white" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
-
- }
-
- part {
- name: "layout";
- type: SWALLOW;
- scale: 1;
-
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.3; }
- rel2 { relative: 1.0 1.0; offset: 0 -15;} // -15
- }
- }
- part { name: "padding";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- }
-
- /*Support other theme display*/
- programs {
- program {//black theme need white text
- name: "Change_non_white_theme";
- signal: "change,non-white,theme";
- source: "title";
- action: STATE_SET "white" 0.0;
- target: "title";
- }
- }
- }
-
group
{
name:"thumbnail_icon2";
}
}
}
-#define TITLE_AREA_H 150
-#define BOTTOM_BAR_AREA_H 114
-#define HD_HEIGHT 1280
-#define WALLPAPER_LAYOUT_H ((HD_HEIGHT)-(TITLE_AREA_H)-(BOTTOM_BAR_AREA_H))
group {
name: "wallpaper_layout";
}
}
part {
+ name: "bg_swallow";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0;}
+ rel2 { relative: 1.0 1.0; offset: 0 0;}
+ //color: 0 0 0 0;
+ }
+ }
+
+ part {
name: "left_swallow_bg";
type: RECT;
scale: 1;
text
{
font: "SLP:style=Regular";
+ text_class:"slp_regular";
size: FONT_SIZE;
min: 0 0;
align: 0.5 0.5;
text
{
font: "SLP:style=Regular";
+ text_class:"slp_regular";
size: FONT_SIZE;
min: 0 0;
align: 0.5 0.5;
rel2 { relative: 704/720 786/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
}
}
-/*
+
part {
name: "lock_btn";
type: SWALLOW;
rel2 { relative: 704/720 892/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
}
}
-*/
} // end of parts
programs {
target: "left_text";
target: "right_text";
}
+
+
}
}
}
}
}
+
+ group { name: "popup_checkview";
+ parts{
+ part { name: "pad_t";
+ scale : 1;
+ mouse_events: 0;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ min: 0 22;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.0;to_x: "pad_l";
+ }
+ rel2 {
+ relative: 0.0 0.0;to_x: "pad_r";
+ }
+ }
+ }
+ part { name: "pad_l";
+ scale: 1;
+ description { state: "default" 0.0;
+ min : 16 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ }
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "pad_r";
+ scale: 1;
+ description { state: "default" 0.0;
+ min : 16 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
+ align: 1.0 0.0;
+ }
+ }
+ part{ name:"elm.swallow.content";
+ type: SWALLOW;
+ scale : 1;
+ description { state: "default" 0.0;
+ min: 380 0;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.5 1.0;
+ to: "pad_t";
+ }
+ rel2 {
+ relative: 0.5 0.0;
+ to: "pad_b";
+ }
+ }
+ }
+ part { name: "pad_b";
+ scale : 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ min: 0 66;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;to_x: "pad_l";
+ }
+ rel2 {
+ relative: 0.0 1.0;to_x: "pad_r";
+ }
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale : 1;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 0.18 0.0;
+ to: "pad_b";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "pad_b";
+ }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale : 1;
+ description { state: "default" 0.0;
+ text {
+ font: "SLP:style=Medium";
+ size: 24;
+ min: 0 0;
+ align: 0.5 0.5;
+ }
+ color: 0 0 0 255;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "pad_b";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "pad_b";
+ }
+ }
+ }
+ }
+ }
+ group {
+ name: "personal_vib_layout";
+
+ parts {
+ /* background */
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0;}
+ rel2 { relative: 1.0 1.0; offset: 0 0;}
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "bg_icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0 132/PERSONAL_VIBRATION_LAYOUT_H; offset: 0 0; to: "bg"; }
+ rel2 { relative: 1.0 764/PERSONAL_VIBRATION_LAYOUT_H; offset: 0 0; to: "bg"; }
+ }
+ }
+
+ part {
+ name: "time_pass";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0;
+ visible: 1;
+ rel1 {
+ relative: 0.0 0.0; to: "bg_icon";
+ }
+ rel2 {
+ relative: 1.0 1.0; to: "bg_icon";
+ }
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: "recording_icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg_icon"; }
+ rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg_icon"; }
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ } // end of parts
+
+ programs {
+ program {
+ name : "show_recording_icon";
+ signal : "SHOW_RECORDING_ICON";
+ source : "personal_vib";
+ action : STATE_SET "show" 0.0;
+ target : "recording_icon";
+ }
+ program {
+ name : "hide_recording_icon";
+ signal : "HIDE_RECORDING_ICON";
+ source : "personal_vib";
+ action : STATE_SET "default" 0.0;
+ target : "recording_icon";
+ }
+ program {
+ name : "show_time_pass";
+ signal : "SHOW_TIME_PASS";
+ source : "personal_vib";
+ action : STATE_SET "default" 0.0;
+ target : "time_pass";
+ }
+ program {
+ name : "hide_time_pass";
+ signal : "HIDE_TIME_PASS";
+ source : "personal_vib";
+ action : STATE_SET "hide" 0.0;
+ target : "time_pass";
+ }
+ } //end of programs
+ }
+
+ group {
+ name: "traf-control";
+
+ parts {
+ part {
+ name: "background";
+ type: RECT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 123 168 234 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+
+ part {
+ name: "app-stat";
+ type: RECT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+
+ part {
+ name: "traf-stat";
+ type: SWALLOW;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ min: 0 320;
+ rel1 {
+ to: "app-stat";
+ relative: 0.0 0.0;
+ offset: 5 5;
+ }
+ rel2 {
+ to: "app-stat";
+ relative: 1.0 1.0;
+ offset: -6 -6;
+ }
+ }
+ }
+ }
+ }
+
+
+ group {
+ name: "screen_mode";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0;}
+ rel2 { relative: 1.0 1.0; offset: 0 0;}
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.padding.top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 16;
+ fixed: 0 1;
+ visible: 0;
+ rel2.relative: 1.0 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "elm.padding.bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 16;
+ fixed: 0 1;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ align: 0.0 1.0;
+ }
+ }
+ part {
+ name: "elm.padding.left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 16 0;
+ fixed: 1 0;
+ visible: 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "elm.padding.right";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 0;
+ fixed: 1 0;
+ visible: 0;
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.0;
+ }
+ }
+ part {
+ name: "content";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 1 1;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0 0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ }
+ }
+
+ }
+ }
+}