diff options
Diffstat (limited to 'resources')
30 files changed, 615 insertions, 0 deletions
diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt new file mode 100644 index 0000000..b474178 --- /dev/null +++ b/resources/CMakeLists.txt @@ -0,0 +1,22 @@ +ADD_CUSTOM_TARGET(tethering_images.edj + COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/images + ${CMAKE_CURRENT_SOURCE_DIR}/tethering_images.edc + ${CMAKE_CURRENT_SOURCE_DIR}/tethering_images.edj + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/tethering_images.edc + ) +ADD_DEPENDENCIES(${PROJECT_NAME} tethering_images.edj) + +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tethering_images.edj DESTINATION ${EDJDIR}) + +ADD_CUSTOM_TARGET(tethering.edj + COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/ + ${CMAKE_CURRENT_SOURCE_DIR}/tethering.edc + ${CMAKE_CURRENT_SOURCE_DIR}/tethering.edj + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/tethering.edc + ) +ADD_DEPENDENCIES(${PROJECT_NAME} tethering.edj) + +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tethering.edj DESTINATION ${EDJDIR}) + diff --git a/resources/images/A01-5_device_USB.png b/resources/images/A01-5_device_USB.png Binary files differnew file mode 100644 index 0000000..f1c00ed --- /dev/null +++ b/resources/images/A01-5_device_USB.png diff --git a/resources/images/A01-5_device_USB_icon.png b/resources/images/A01-5_device_USB_icon.png Binary files differnew file mode 100644 index 0000000..4c49de7 --- /dev/null +++ b/resources/images/A01-5_device_USB_icon.png diff --git a/resources/images/A01-5_device_USB_press.png b/resources/images/A01-5_device_USB_press.png Binary files differnew file mode 100644 index 0000000..b4dd5bf --- /dev/null +++ b/resources/images/A01-5_device_USB_press.png diff --git a/resources/images/A01-5_device_WIFI.png b/resources/images/A01-5_device_WIFI.png Binary files differnew file mode 100644 index 0000000..41f23b4 --- /dev/null +++ b/resources/images/A01-5_device_WIFI.png diff --git a/resources/images/A01-5_device_WIFI_press.png b/resources/images/A01-5_device_WIFI_press.png Binary files differnew file mode 100644 index 0000000..de56bad --- /dev/null +++ b/resources/images/A01-5_device_WIFI_press.png diff --git a/resources/images/A01-5_device_bluetooth.png b/resources/images/A01-5_device_bluetooth.png Binary files differnew file mode 100644 index 0000000..0e7e87f --- /dev/null +++ b/resources/images/A01-5_device_bluetooth.png diff --git a/resources/images/A01-5_device_bluetooth_press.png b/resources/images/A01-5_device_bluetooth_press.png Binary files differnew file mode 100644 index 0000000..e39fcd9 --- /dev/null +++ b/resources/images/A01-5_device_bluetooth_press.png diff --git a/resources/images/A09_device_telephone_connect.png b/resources/images/A09_device_telephone_connect.png Binary files differnew file mode 100755 index 0000000..6204f77 --- /dev/null +++ b/resources/images/A09_device_telephone_connect.png diff --git a/resources/images/B31_option_popup_icon_help.png b/resources/images/B31_option_popup_icon_help.png Binary files differnew file mode 100644 index 0000000..0c05bdb --- /dev/null +++ b/resources/images/B31_option_popup_icon_help.png diff --git a/resources/images/Q02_Notification_MobileAP.png b/resources/images/Q02_Notification_MobileAP.png Binary files differnew file mode 100644 index 0000000..540907d --- /dev/null +++ b/resources/images/Q02_Notification_MobileAP.png diff --git a/resources/images/noti_tethering_bluetooth.png b/resources/images/noti_tethering_bluetooth.png Binary files differnew file mode 100644 index 0000000..9d0abf2 --- /dev/null +++ b/resources/images/noti_tethering_bluetooth.png diff --git a/resources/images/noti_tethering_general.png b/resources/images/noti_tethering_general.png Binary files differnew file mode 100644 index 0000000..cf6b34d --- /dev/null +++ b/resources/images/noti_tethering_general.png diff --git a/resources/images/noti_tethering_usb.png b/resources/images/noti_tethering_usb.png Binary files differnew file mode 100644 index 0000000..6e05910 --- /dev/null +++ b/resources/images/noti_tethering_usb.png diff --git a/resources/images/noti_tethering_wifi_num.png b/resources/images/noti_tethering_wifi_num.png Binary files differnew file mode 100644 index 0000000..ab069cf --- /dev/null +++ b/resources/images/noti_tethering_wifi_num.png diff --git a/resources/images/noti_tethering_wifi_num_01.png b/resources/images/noti_tethering_wifi_num_01.png Binary files differnew file mode 100644 index 0000000..b61f126 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_01.png diff --git a/resources/images/noti_tethering_wifi_num_02.png b/resources/images/noti_tethering_wifi_num_02.png Binary files differnew file mode 100644 index 0000000..61f44f9 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_02.png diff --git a/resources/images/noti_tethering_wifi_num_03.png b/resources/images/noti_tethering_wifi_num_03.png Binary files differnew file mode 100644 index 0000000..e9ba175 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_03.png diff --git a/resources/images/noti_tethering_wifi_num_04.png b/resources/images/noti_tethering_wifi_num_04.png Binary files differnew file mode 100644 index 0000000..66bda3b --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_04.png diff --git a/resources/images/noti_tethering_wifi_num_05.png b/resources/images/noti_tethering_wifi_num_05.png Binary files differnew file mode 100644 index 0000000..7ceade4 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_05.png diff --git a/resources/images/noti_tethering_wifi_num_06.png b/resources/images/noti_tethering_wifi_num_06.png Binary files differnew file mode 100644 index 0000000..a9e9177 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_06.png diff --git a/resources/images/noti_tethering_wifi_num_07.png b/resources/images/noti_tethering_wifi_num_07.png Binary files differnew file mode 100644 index 0000000..d159a40 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_07.png diff --git a/resources/images/noti_tethering_wifi_num_08.png b/resources/images/noti_tethering_wifi_num_08.png Binary files differnew file mode 100644 index 0000000..f28a1aa --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_08.png diff --git a/resources/images/noti_tethering_wifi_num_09.png b/resources/images/noti_tethering_wifi_num_09.png Binary files differnew file mode 100644 index 0000000..9d9bed1 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_09.png diff --git a/resources/images/noti_tethering_wifi_num_10.png b/resources/images/noti_tethering_wifi_num_10.png Binary files differnew file mode 100644 index 0000000..1d2d325 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_10.png diff --git a/resources/images/noti_tethering_wifi_num_no.png b/resources/images/noti_tethering_wifi_num_no.png Binary files differnew file mode 100644 index 0000000..d5427b7 --- /dev/null +++ b/resources/images/noti_tethering_wifi_num_no.png diff --git a/resources/images/org.tizen.tethering.png b/resources/images/org.tizen.tethering.png Binary files differnew file mode 100644 index 0000000..9191fac --- /dev/null +++ b/resources/images/org.tizen.tethering.png diff --git a/resources/tethering.edc b/resources/tethering.edc new file mode 100755 index 0000000..4cc9cb8 --- /dev/null +++ b/resources/tethering.edc @@ -0,0 +1,554 @@ +#define TETH_ENTRYPASSWORDVIEW_FIELD_MIN_MAX 0 66 +#define RENAME_POPUP_ENTRY_2BUTTON_BG_MIN 0 291 +#define POPUP_WITH_LANDSCAPE 0 200 +#define LANDSCAPE_CONTENT 0 50 + + +#define TETH_POPUP_PAD_W 0 +#define TETH_POPUP_PAD_H 16 + +#define POPUP_HEIGHT_LANDSCAPE 50 +#define POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC 66 +#define POPUP_WITH_2_GL_ITEMS 200 + +#define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 165 +#define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 100 +#define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 27 +#define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 38 38 + +collections { + base_scale: 1.8; + group { name: "popup_checkview_layout"; + parts { + part { name: "bg"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC; + fixed: 1 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + to: "check"; + } + color: 0 255 0 1; + } + } + part { name: "check"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to: "pad_b"; + offset: 15 0; + } + rel2 { + relative: 1.0 0.0; + to_y: "pad_b"; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC; + fixed: 1 1; + rel1.to: check; + rel2.to: check; + } + } + part { name: "pad_b"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + } + } + group { + name: "entry_style"; + parts { + part { + name: "base"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC; + } + } + part { name: "pad_l"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TETH_POPUP_PAD_W 0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 0.0 1.0; + to: "base"; + } + align: 0.0 0.0; + } + } + part { name: "pad_r"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TETH_POPUP_PAD_W 0; + fixed: 0 0; + rel1 { + relative: 1.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + align: 1.0 0.0; + } + } + part { name: "entry_part"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC; + align: 0.0 0.0; + rel1{ + relative: 1.0 0.0 ; + to_x: "pad_l"; + } + rel2{ + relative: 0.0 1.0; + to_x: "pad_r"; + } + } + } + } + } + group { name: "rename_device_portrait"; + parts { + part { + name: "base"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: RENAME_POPUP_ENTRY_2BUTTON_BG_MIN; + fixed: 1 0; + } + } + part { + name: "content_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 15; + fixed: 0 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + to_x: "base"; + } + rel2 { + relative: 1.0 0.0; + to_x: "base"; + } + } + } + part { + name: "content_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 30 0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + } + rel2 { + to: "base"; + relative: 0.0 1.0; + } + } + } + part { + name: "content_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 30 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + } + } + part { + name: "content_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 15; + fixed: 0 1; + align: 0.0 1.0; + rel1 { + relative: 1.0 0.0; + to_x: "base"; + } + rel2 { + relative: 1.0 1.0; + to_x: "base"; + } + } + } + part { + name: "content_field"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 96; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 1.0; + to: "content_top_padding"; + } + rel2.to: "content_top_padding"; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 0 96; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "content_field"; + rel2.to: "content_field"; + } + } + part { + name: "end_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { + to: "content_field"; + relative: 0.0 1.0; + } + rel2.to: "content_field"; + } + } + part { + name: "end_field"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 150; + fixed: 0 0; + align: 0.0 0.0; + rel1 { + to_x: "content_left_padding"; + to_y: "end_top_padding"; + relative: 1.0 1.0; + } + rel2 { + to_x: "content_right_padding"; + to_y: "base"; + relative : 0.0 1.0; + } + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "end_field"; + rel2.to: "end_field"; + } + } + } + } + group { + name: "rename_device_landscape"; + inherit: "rename_device_portrait"; + parts { + part { + name: "base"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: POPUP_WITH_LANDSCAPE; + fixed: 1 0; + } + } + part { + name: "end_field"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: LANDSCAPE_CONTENT; + fixed: 0 0; + align: 0.0 0.0; + rel1 { + to: "end_top_padding"; + relative: 0.0 1.0; + } + rel2.to: "end_top_padding"; + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "end_field"; + rel2.to: "end_field"; + } + } + } + } + group { + name: "rename_device_ly"; + parts { + part { + name:"pad_t"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + align: 0.5 0.0; + fixed: 0 1; + rel2.relative: 1.0 0.0; + } + } + part { + name:"elm.swallow.layout"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + min: 0 POPUP_WITH_2_GL_ITEMS; + align: 0.5 1.0; + fixed: 1 0; + rel1 { + relative: 1.0 1.0; + to_x: "pad_l"; + to_y: "pad_t"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + to_y: "pad_b"; + } + } + } + + part { + name:"pad_b"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + min: 0 0; + fixed: 0 1; + rel1.relative: 0.0 1.0; + } + } + + part { + name: "pad_l"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 0 0; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + + part { + name: "pad_r"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 0 0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + } + } + group { name: "editfield_layout"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min : 0 250; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 15; + fixed : 0 1; + rel1 { + relative: 0 0; + to: "bg"; + } + rel2 { + relative: 1 0; + to: "bg"; + } + } + } + part { name: "bg_entry"; + type: SPACER; + scale:1; + description { state: "default" 0.0; + min: 0 66; + fixed : 0 1; + rel1 { + relative: 0.0 0.0; + to: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to: "top_padding"; + } + align: 0.5 0; + } + } + part { name: "entry_part"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg_entry"; + rel2.to: "bg_entry"; + align: 0.5 0.5; + } + } + part { name : "btm_pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 15; + fixed : 0 1; + rel1 { + relative: 0.0 1.0; + to: "bg_entry"; + } + rel2 { + relative: 1.0 1.0; + to: "bg_entry"; + } + align: 0 0; + } + } + part { name : "description"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 100; + rel1 { + relative: 0.0 1.0; + to: "btm_pad"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 0 0; + } + } + } + } +} +#undef TETH_ENTRYPASSWORDVIEW_FIELD_MIN_MAX +#undef RENAME_POPUP_ENTRY_2BUTTON_BG_MIN +#undef POPUP_WITH_LANDSCAPE +#undef LANDSCAPE_CONTENT diff --git a/resources/tethering_image_macro.edc b/resources/tethering_image_macro.edc new file mode 100644 index 0000000..daf298e --- /dev/null +++ b/resources/tethering_image_macro.edc @@ -0,0 +1,31 @@ +#define RESOURCE_IMAGE( FILE_NAME ) \ + group { \ + name: FILE_NAME; \ + images.image: FILE_NAME COMP; \ + parts { \ + part { name: "image"; \ + description { \ + state: "default" 0.0; \ + image.normal: FILE_NAME; \ + aspect: 1 1; \ + aspect_preference: BOTH; \ + } \ + } \ + } \ + } + +#define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \ + group { \ + name: FILE_NAME; \ + images.image: FILE_NAME LOSSY 85; \ + parts { \ + part { name: "image"; \ + description { \ + state: "default" 0.0; \ + image.normal: FILE_NAME; \ + aspect: 1 1; \ + aspect_preference: BOTH; \ + } \ + } \ + } \ + } diff --git a/resources/tethering_images.edc b/resources/tethering_images.edc new file mode 100644 index 0000000..4c49a4a --- /dev/null +++ b/resources/tethering_images.edc @@ -0,0 +1,8 @@ +#include "tethering_image_macro.edc" + +collections { + RESOURCE_IMAGE("A01-5_device_bluetooth.png"); + RESOURCE_IMAGE("A01-5_device_USB_icon.png"); + RESOURCE_IMAGE("A01-5_device_WIFI.png"); + base_scale: 1.8; +} |