From cc411fe3142413dc1341ad4d074d9596cd8bf3ef Mon Sep 17 00:00:00 2001 From: HyungKyu Song Date: Sat, 16 Feb 2013 00:00:57 +0900 Subject: Tizen 2.0 Release --- data/groups/search_custom_ctxpopup_item.edc | 255 ++++++++++++++++++++++++++++ data/groups/search_custom_style.edc | 81 +++++++++ data/groups/search_result.edc | 176 +++++++++++++++++++ data/images/B10_btn_icon_Phone.png | Bin 0 -> 3330 bytes data/images/B10_btn_icon_Phone_press.png | Bin 0 -> 3330 bytes data/images/B10_icon_list_favorite.png | Bin 0 -> 3631 bytes data/images/B10_icon_list_memorycard.png | Bin 0 -> 3393 bytes data/images/org.tizen.smartsearch.png | Bin 0 -> 15506 bytes data/org.tizen.smartsearch.xml | 67 ++++++++ data/smartsearch-color.edc | 20 +++ data/smartsearch.edc | 25 +++ data/smartsearch.ini | 2 + 12 files changed, 626 insertions(+) create mode 100755 data/groups/search_custom_ctxpopup_item.edc create mode 100755 data/groups/search_custom_style.edc create mode 100755 data/groups/search_result.edc create mode 100644 data/images/B10_btn_icon_Phone.png create mode 100755 data/images/B10_btn_icon_Phone_press.png create mode 100755 data/images/B10_icon_list_favorite.png create mode 100755 data/images/B10_icon_list_memorycard.png create mode 100755 data/images/org.tizen.smartsearch.png create mode 100755 data/org.tizen.smartsearch.xml create mode 100755 data/smartsearch-color.edc create mode 100755 data/smartsearch.edc create mode 100755 data/smartsearch.ini (limited to 'data') diff --git a/data/groups/search_custom_ctxpopup_item.edc b/data/groups/search_custom_ctxpopup_item.edc new file mode 100755 index 0000000..c9c0e3e --- /dev/null +++ b/data/groups/search_custom_ctxpopup_item.edc @@ -0,0 +1,255 @@ +/* + * Copyright 2012-2013 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://floralicense.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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// +// +// ctxpopup +// +/////////////////////////////////////////////////////////////////////////////////////// + +#define CTXPOPUP_SHADOW_PADDING 10 +#define CTXPOPUP_FRAME_CORNER_SIZE 4 4 +#define CTXPOPUP_FONT_COLOR 0 0 0 255 +#define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255 +#define CTXPOPUP_ITEM_DISABLED_COLOR 200 200 200 127 +#define CTXPOPUP_LIST_PADDING 10 +#define CTXPOPUP_LIST_SHADOW_PADDING 3 + +#define CTXPOPUP_WIDTH_MIN_INC 386 +#define CTXPOPUP_CONTENT_PADDING 4 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 20 +#define CTXPOPUP_BG_COLOR_INC 0 0 0 0 +#define CTXPOPUP_BG_PRESS_COLOR_INC 42 137 194 255 +#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 +#define CTXPOPUP_SEPARATOR_PADDING_INC 20 +#define CTXPOPUP_SEPARATOR_COLOR_INC 45 45 45 255 +#define CTXPOPUP_SEPARATOR2_COLOR_INC 91 91 91 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC 45 45 45 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 91 91 91 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 74 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 74 +#define CTXPOPUP_TP_BG_COLOR_INC 7 180 211 255 +#define CTXPOPUP_ITEM_TEXT_SIZE_INC 40 +#define CTXPOPUP_ITEM_MAIN_TEXT_SIZE_INC 32 +#define CTXPOPUP_ITEM_HEIGHT_INC 110 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC 128 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96 +#define CTXPOPUP_ICON_WIDTH_INC 64 +#define CTXPOPUP_ICON_HEIGHT_INC 64 +#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 128 +#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 96 +#define CTXPOPUP_ARROW_SIZE_INC 48 48 +#define CTXPOPUP_VERTICAL_ARROW_SIZE_INC 40 30 +#define CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC 30 40 +#define CTXPOPUP_ITEM_TEXT_PADDING_INC 20 +#define CTXPOPUP_ITEM_ICON_PADDING_INC 16 + + +/////////////////////////////////////////////////////////////////////////////// + group { + name: "elm/ctxpopup/icon_style_item/default"; + parts { + part { + name: "event_blocker"; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + scale: 1; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + color: CTXPOPUP_BG_COLOR_INC; + visible: 1; + min: CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-(CTXPOPUP_CONTENT_PADDING*2)); + max: CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-(CTXPOPUP_CONTENT_PADDING*2)); + } + description { + state: "clicked" 0.0; + color: CTXPOPUP_BG_PRESS_COLOR_INC; + visible: 1; + } + } + part { + name: "left_padding"; + scale: 1; + description { + min: ((CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-(CTXPOPUP_CONTENT_PADDING*2)); + max: ((CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-(CTXPOPUP_CONTENT_PADDING*2)); + visible: 1; + align: 0 0; + color: 0 255 0 255; + fixed: 1 1; + } + } + part { + name: "separator1"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: CTXPOPUP_SEPARATOR_COLOR_INC; + align: 0 0.5; + min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator2"; + mouse_events: 1; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: CTXPOPUP_SEPARATOR2_COLOR_INC; + rel1 { relative: 1.0 0.0; to_x: "separator1"; } + align: 0 0.5; + min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; + max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel1 { relative: 1 0; to_x: "left_padding"; } + rel2 { relative: 0 1; to_x: "right_padding"; } + } + } + part { + name: "right_padding"; + scale: 1; + description { + min: ((CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-(CTXPOPUP_CONTENT_PADDING*2)); + max: ((CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-(CTXPOPUP_CONTENT_PADDING*2)); + visible: 1; + color: 0 0 255 255; + align: 1 1; + fixed: 1 1; + } + } + part { + name: "over1"; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + } + } + part { + name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "default"; + signal: "elm,state,default"; + source: "elm"; + script { + set_state(PART:"separator1", "default", 0.0); + set_state(PART:"separator2", "default", 0.0); + } + } + program { + name: "separator"; + signal: "elm,state,separator"; + source: "elm"; + script { + set_state(PART:"separator1", "visible", 0.0); + set_state(PART:"separator2", "visible", 0.0); + } + } + program { + name: "item_unclick"; + signal: "mouse,clicked,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "item_click2"; + signal: "mouse,down,1"; + source: "over2"; + script { + set_state(PART:"bg", "clicked", 0.0); + } + } + program { + name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + set_state(PART:"bg", "default", 0.0); + } + } + } + } + diff --git a/data/groups/search_custom_style.edc b/data/groups/search_custom_style.edc new file mode 100755 index 0000000..e4a78dc --- /dev/null +++ b/data/groups/search_custom_style.edc @@ -0,0 +1,81 @@ +/* + * Copyright 2012-2013 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://floralicense.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. + */ + +group { + name: "smartsearch/custom_image_button"; + parts { + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0;} + rel2 { relative: 1.0 1.0;} + color: 0 0 0 0; + } + } + part { + name: "image_rect"; + mouse_events: 1; + type: RECT; + scale: 1; + description { + fixed: 0 0; + align: 0.0 0.0; + visible: 0; + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0;} + rel2 { relative: 1.0 1.0;} + color: 0 0 0 0; + } + } + part { + name: "image"; + mouse_events: 1; + type: SWALLOW; + scale: 1; + description { + min: 48 48; + max: 48 48; + fixed: 1 1; + align: 0.5 0.5; + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0;} + rel2 { relative: 1.0 1.0;} + } + } + } //end parts + + program { + name: "send.custom.image.clicked.signal"; + signal: "mouse,down,1"; + source: "image_rect"; + action: SIGNAL_EMIT "signal.search.image.clicked" "image"; + } + + program { + name: "send.custom.image.unclicked.signal"; + signal: "mouse,up,1"; + source: "image_rect"; + action: SIGNAL_EMIT "signal.search.image.unclicked" "image"; + } +} //end group + diff --git a/data/groups/search_result.edc b/data/groups/search_result.edc new file mode 100755 index 0000000..6f311a6 --- /dev/null +++ b/data/groups/search_result.edc @@ -0,0 +1,176 @@ +/* + * Copyright 2012-2013 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://floralicense.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. + */ + + + + +group { + name: "smartsearch/search_result"; + parts { + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0;} + rel2 { relative: 1.0 1.0;} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + part { + name: "searchbar_area_category_pad_left"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 26 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 0.0 1.0; to: "bg";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_category_top"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 74 16; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";} + rel2 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_category_bottom"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 74 16; + fixed: 1 1; + align: 0.0 1.0; + rel1 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";} + rel2 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_category"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 74 74; + max: 74 74; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 1.0 1.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_area_category_top";} + rel2 { relative: 1.0 0.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_area_category_bottom";} + } + } + + part { + name: "searchbar_area_entry"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + min: 620 107; + max: 99999 107; + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; + to_x: "searchbar_area_category"; + to_y: "bg"; + } + rel2 { relative: 1.0 1.0; + to_x: "bg"; + to_y: "bg";} + } + } + + part { + name: "result_bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 0 0; + fixed: 0 1; + rel1 { relative: 0.0 1.0; + to_x: "bg"; + to_y: "searchbar_area_entry";} + rel2 { relative: 1.0 1.0; + to_x: "bg"; + to_y: "bg";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "list"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + //min: 720 1024; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "result_bg"; } + rel2 { relative: 1.0 1.0; to: "result_bg"; } + } + } + part { + name: "list_noresult"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + //min: 720 1024; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "result_bg"; } + rel2 { relative: 1.0 1.0; to: "result_bg"; } + } + } + } //end parts +} //end group + diff --git a/data/images/B10_btn_icon_Phone.png b/data/images/B10_btn_icon_Phone.png new file mode 100644 index 0000000..5e7b413 Binary files /dev/null and b/data/images/B10_btn_icon_Phone.png differ diff --git a/data/images/B10_btn_icon_Phone_press.png b/data/images/B10_btn_icon_Phone_press.png new file mode 100755 index 0000000..5e7b413 Binary files /dev/null and b/data/images/B10_btn_icon_Phone_press.png differ diff --git a/data/images/B10_icon_list_favorite.png b/data/images/B10_icon_list_favorite.png new file mode 100755 index 0000000..6626b5b Binary files /dev/null and b/data/images/B10_icon_list_favorite.png differ diff --git a/data/images/B10_icon_list_memorycard.png b/data/images/B10_icon_list_memorycard.png new file mode 100755 index 0000000..836dfc1 Binary files /dev/null and b/data/images/B10_icon_list_memorycard.png differ diff --git a/data/images/org.tizen.smartsearch.png b/data/images/org.tizen.smartsearch.png new file mode 100755 index 0000000..6e164de Binary files /dev/null and b/data/images/org.tizen.smartsearch.png differ diff --git a/data/org.tizen.smartsearch.xml b/data/org.tizen.smartsearch.xml new file mode 100755 index 0000000..ee8bb02 --- /dev/null +++ b/data/org.tizen.smartsearch.xml @@ -0,0 +1,67 @@ + + + + Junghyun Kim + Search Application + + org.tizen.smartsearch.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/smartsearch-color.edc b/data/smartsearch-color.edc new file mode 100755 index 0000000..4deb85d --- /dev/null +++ b/data/smartsearch-color.edc @@ -0,0 +1,20 @@ +/* + * Copyright 2012-2013 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://floralicense.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. + */ +#define SEARCHBAR_BACKGROUND_COLOR_DEFAULT 248 246 239 255 +#define SEARCHBAR_BACKGROUND_COLOR_BLACK 36 36 36 255 +#define SEARCHBAR_BACKGROUND_COLOR_BLUE 17 23 27 255 +#define SEARCHBAR_BACKGROUND_COLOR_WHITE 215 225 232 255 +#define SEARCHBAR_BACKGROUND_COLOR_NEW_THEME 248 246 239 255 diff --git a/data/smartsearch.edc b/data/smartsearch.edc new file mode 100755 index 0000000..8d6a09f --- /dev/null +++ b/data/smartsearch.edc @@ -0,0 +1,25 @@ +/* + * Copyright 2012-2013 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://floralicense.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. + */ + + + + +collections { +#include "smartsearch-color.edc" +#include "groups/search_result.edc" +#include "groups/search_custom_ctxpopup_item.edc" +#include "groups/search_custom_style.edc" +} diff --git a/data/smartsearch.ini b/data/smartsearch.ini new file mode 100755 index 0000000..5abbace --- /dev/null +++ b/data/smartsearch.ini @@ -0,0 +1,2 @@ +[ProcessSetting] +BG_SCHEDULE=true -- cgit v1.2.3