#define UG_BASIC_W 480 #define UG_BASIC_H 800 #define UG_MAIN_W 720 #define UG_MAIN_H 1280 #define UG_MF_SCALE_W (UG_MAIN_W/UG_BASIC_W) #define UG_MF_SCALE_H (UG_MAIN_H/UG_BASIC_H) #define UG_THUMBNAIL_W 50*UG_MF_SCALE_W #define UG_THUMBNAIL_H 50*UG_MF_SCALE_H #define UG_MEMORY_SUB_THUMB_W 40*UG_MF_SCALE_W #define UG_MEMORY_SUB_THUMB_H 25*UG_MF_SCALE_H #define UG_SOUND_BUTTON_W 240*UG_MF_SCALE_W #define UG_SOUND_BUTTON_H 46*UG_MF_SCALE_H #define UG_SEARCH_FOLDER_H 300*UG_MF_SCALE_H #define UG_SEARCH_FOLDER_W 400*UG_MF_SCALE_H #define GENLIST_ITEM_H 71*UG_MF_SCALE_H #define PATH_INFO_H 48*UG_MF_SCALE_H #define PATH_INFO_LABEL_H 25 #define PATH_INFO_BG_COLOR 68 68 68 255 #define BOTTOM_LINE_COLOR 199 199 199 255 #define IMG_EDITFIELD_BG "mf_new_folder_editfield_bg.png" images { image: IMG_EDITFIELD_BG COMP; } #define MF_UG_PART_PADDING_TOP( param_padding_size ) \ part { name: "elm.padding.top"; \ type: RECT; \ scale: 1; \ description { \ state: "default" 0.0; \ min: 0 param_padding_size; \ fixed: 0 1; \ visible: 0; \ rel2.relative: 1.0 0.0; \ align: 0.0 0.0; \ } \ } #define MF_UG_PART_PADDING_BOTTOM( param_padding_size ) \ part { name: "elm.padding.bottom"; \ type: RECT; \ scale: 1; \ description { state: "default" 0.0; \ min: 0 param_padding_size; \ fixed: 0 1; \ visible: 0; \ rel1.relative: 0.0 1.0; \ align: 0.0 1.0; \ } \ } #define MF_UG_PART_PADDING_LEFT( param_padding_size ) \ part { name: "elm.padding.left"; \ type: RECT; \ scale: 1; \ description { state: "default" 0.0; \ min: param_padding_size 0; \ fixed: 1 0; \ visible: 0; \ rel2.relative: 0.0 1.0; \ align: 0.0 0.0; \ } \ } #define EFFECT_PROGRAMS(part_name, part_state, after_name) \ program \ { \ name: part_name; \ action: STATE_SET part_state 0.0;\ target: "icon"; \ transition: DECELERATE 0.03; \ after: after_name; \ } collections { group { name: "navigation_view"; parts { part { name: "background"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 1.0; } color: 0 0 0 0; } } part { name: "part1"; type: SWALLOW; repeat_events: 1; description { state: "default" 0.0; align: 0.5 0.0; rel1 { relative: 0.0 0.0;} rel2 { relative: 1.0 1.0;} } } part { name: "sel_contents"; type: SWALLOW; description { state: "default" 0.0; fixed: 0 1; align: 0.5 1.0; rel1 { relative: 0.0 1.0; to:"part1"; } } description { state: "hide" 0.0; inherit: "default" 0.0; visible: 0; } } } programs { program { name: "show"; signal: "show,selection,info"; source: "elm"; action: STATE_SET "default" 0.0; target: "sel_contents"; } program { name: "hide"; signal: "hide,selection,info"; source: "elm"; action: STATE_SET "hide" 0.0; target: "sel_contents"; } } } group { name: "noContent"; parts { part { name: "myfile.noContent.upper"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 0.0; offset: 0 90; } } } part { name: "myfile.noContent.content"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 1.0; offset: 0 0; to_y: "myfile.noContent.upper"; } rel2 { relative: 1.0 1.0; } } } } } group { name: "effect/model/list"; parts { part { name: "icon"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; max : UG_THUMBNAIL_W UG_THUMBNAIL_H; fixed: 1 1; align: 0.5 0.5; aspect: 1.0 1.0; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 1.0; } visible: 0; color: 0 0 0 255; } description { state: "min" 0.0; inherit: "default" 0.0; max: 0 0; } description { state: "level1" 0.0; inherit: "default" 0.0; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 1.0; } } } part { name: "swallow_thumb"; type: SWALLOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.5 0.5; rel1 { to: "icon"; } rel2 { to: "icon"; } } } part { name: "myfile.memory_icon.sub"; type: SWALLOW; scale: 1; description { state: "default" 0.0; max : UG_MEMORY_SUB_THUMB_W UG_MEMORY_SUB_THUMB_H; min : UG_MEMORY_SUB_THUMB_W UG_MEMORY_SUB_THUMB_H; fixed: 1 1; rel1 { relative:0.5 0.5; to:"icon"; } rel2 { relative:1.0 1.0;to:"icon"; } } } } programs { program { name: "effect_gen"; signal: "effect.gen"; source: "thumb"; action: STATE_SET "min" 0.0; target: "icon"; after: "thumb_gen_1"; } EFFECT_PROGRAMS("thumb_gen_1", "level1", "thumb_gen_2"); program { name: "thumb_gen_2"; action: STATE_SET "default" 0.0; target: "icon"; transition: SINUSOIDAL 0.1; } } } group { name: "pathinfo"; parts { #if 0 part { name: "info"; type: SWALLOW; repeat_events: 0; scale: 1; description { state: "default" 0.0; min: 0 PATH_INFO_H; } } #endif part { name: "base"; type: RECT; repeat_events: 0; scale: 1; description { state: "default" 0.0; min: UG_MAIN_W PATH_INFO_H; color: PATH_INFO_BG_COLOR; } } part { name: "bg"; type: RECT; clip_to: "disclip"; repeat_events: 0; mouse_events: 0; description { state: "default" 0.0; color: PATH_INFO_BG_COLOR; } } MF_UG_PART_PADDING_TOP(0) MF_UG_PART_PADDING_BOTTOM( 0 ) MF_UG_PART_PADDING_LEFT( 10 ) part { name: "bottom_line"; type: RECT; mouse_events: 0; description { state: "default" 0.0; min: 0 1; fixed: 0 1; visible: 1; color: BOTTOM_LINE_COLOR; rel1 { relative: 0.0 1.0; offset: 0 -1; } } } part { name: "info"; type: TEXT; scale: 1; description { state: "default" 0.0; align: 0.0 0.5; rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; } color: 255 255 255 255; text { font: "SLP:style=Medium"; size: 32; min: 1 1; align: 0.0 0.5; } } } part { name: "disclip"; type: RECT; description { state: "default" 0.0; } } } } #if 1 group { name: "search_path"; parts { part { name: "path"; type: SWALLOW; description { state: "default" 0.0; fixed: 1 1; min : UG_SEARCH_FOLDER_W UG_SEARCH_FOLDER_H; max : UG_SEARCH_FOLDER_W UG_SEARCH_FOLDER_H; align: 0.5 0.5; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 1.0; } } } } } group { name: "popup_new_folder"; parts { part { name: "base"; type: SPACER; scale: 1; description { state: "default" 0.0; min: 0 220; fixed: 1 0; } } part { name: "t_pad"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; align: 0.0 0.0; min: 0 0; max: 0 0; fixed: 1 1; } } part { name: "title.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 0 70; max: -1 70; rel1 { relative: 0.0 1.0; to: "t_pad"; } rel2.to: "base"; align: 0.0 0.0; fixed: 1 1; color: 128 128 128 255; text { font: "Tizen:style=Medium"; size: 42; min: 1 1; text_class: "tizen"; } } } part { name: "top_password_padding"; type: SPACER; scale: 1; description { state: "default" 0.0; min: 0 20; max: 0 20; rel1 { to_x: "base"; to_y: "title.text"; relative: 0.0 1.0; } rel2 { to_x: "base"; to_y: "title.text"; relative: 1.0 1.0; } align: 0.0 0.0; fixed: 1 1; } } part { name: "password_field_image"; type: IMAGE; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 0 80; image { normal: IMG_EDITFIELD_BG; border: 9 9 9 9; } rel1 { to_x: "base"; to_y: "top_password_padding"; relative: 0.0 1.0; } rel2 { to_x: "base"; to_y: "top_password_padding"; relative: 1.0 1.0; } fixed: 1 1; align: 0.0 0.0; } } part { name: "left_swallow_padding"; type: SPACER; scale: 1; description { state: "default" 0.0; min: 16 0; max: 16 0; rel1.to: "password_field_image"; rel2.to: "password_field_image"; align: 0.0 0.0; fixed: 1 1; } } part { name: "right_swallow_padding"; type: SPACER; scale: 1; description { min: 16 0; max: 16 0; rel1.to: "password_field_image"; rel2.to: "password_field_image"; align: 1.0 0.0; fixed: 1 1; } } part { name: "elm.swallow.content"; type: SWALLOW; scale: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; rel1 { to_x: "left_swallow_padding"; to_y: "password_field_image"; relative : 1.0 0.0; } rel2 { to_x: "right_swallow_padding"; to_y: "password_field_image"; relative: 0.0 1.0; } align: 0.0 0.5; // fixed: 1 1; } } } } }