/* * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved * * 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. */ group { name: "elm/gengrid/item/movie_item/default"; data.item: "selectraise" "on"; data.item: "texts" "elm.text.title"; data.item: "contents" "elm.swallow.thumbnail elm.swallow.favorite elm.swallow.textbg"; data.item: "focus_highlight" "on"; images { image: IMAGE_PREVIEW_PLAY COMP; } parts { part { name: "elm.padding.bottom_right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 1.0; min: 26 26; align: 1.0 1.0; fixed: 1 1; } } part { name: "map"; type: RECT; scale: 1; description { state: "default" 0.0; perspective { zplane: 0; focal: 1000; } visible: 0; } description { state: "selected" 0.0; inherit: "default" 0.0; perspective.zplane: -100; } } part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel2 { to: "elm.padding.bottom_right"; relative: 0.0 0.0; } fixed: 1 1; visible: 0; } } part { name: "defaultbg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1.to: "bg"; rel2 { to: PART_ELM_SWALLOW_TEXTBG; relative: 1.0 0.0; } color: 0 0 0 115; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: PART_ELM_SWALLOW_THUMBNAIL; type: SWALLOW; scale: 1; description { state : "default" 0.0; rel1.to: "defaultbg"; rel2.to: "defaultbg"; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "default_image"; type: IMAGE; scale: 1; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 0.5 0.5; } rel2 { to: "defaultbg"; relative: 0.5 0.5; } image.normal: IMAGE_PREVIEW_PLAY; min: 80 80; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "padding_favorite"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 1.0 0.0; } rel2 { to: "defaultbg"; relative: 1.0 0.0; } min: 14 18; align: 1.0 0.0; fixed: 1 1; } } part { name: PART_ELM_SWALLOW_FAVORITE; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { to: "padding_favorite"; relative: 0.0 1.0; } rel2 { to: "padding_favorite"; relative: 0.0 1.0; } min: 28 28; align: 1.0 0.0; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "part_focus1"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.to: "bg"; rel2 { to: "bg"; relative: 1.0 0.0; } min: 0 6; align: 0.5 0.0; color: COLOR_ITEM_FOCUS; fixed: 0 1; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus2"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus1"; relative: 0.0 1.0; } rel2 { to: PART_ELM_SWALLOW_TEXTBG; relative: 0.0 0.0; } min: 6 0; align: 0.0 0.5; color: COLOR_ITEM_FOCUS; fixed: 1 0; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus3"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus1"; relative: 1.0 1.0; } rel2 { to: PART_ELM_SWALLOW_TEXTBG; relative: 1.0 0.0; } min: 6 0; align: 1.0 0.5; color: COLOR_ITEM_FOCUS; fixed: 1 0; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: PART_ELM_SWALLOW_TEXTBG; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { to: "bg"; relative: 0.0 1.0; } rel2.to: "bg"; min: 0 82; align: 0.5 1.0; fixed: 0 1; map { perspective_on: 1; perspective: "map"; } } } part { name: "defaultbg_text"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.to: PART_ELM_SWALLOW_TEXTBG; rel2.to: PART_ELM_SWALLOW_TEXTBG; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS; map.on: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; color: COLOR_ITEM_FOCUS_0; } } part { name: "elm.padding.text.left"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.to: PART_ELM_SWALLOW_TEXTBG; rel2 { to: PART_ELM_SWALLOW_TEXTBG; relative: 0.0 0.0; } min: 18 82; align: 0.0 0.0; fixed: 1 1; } } part { name: "elm.padding.text.right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: PART_ELM_SWALLOW_TEXTBG; relative: 1.0 0.0; } rel2 { to: PART_ELM_SWALLOW_TEXTBG; relative: 1.0 0.0; } min: 18 82; align: 1.0 0.0; fixed: 1 1; } } part { name: PART_ELM_TEXT_TITLE; type: TEXT; scale: 1; description { state: "default" 0.0; rel1 { to: "elm.padding.text.left"; relative: 1.0 0.0; } rel2 { to: "elm.padding.text.right"; relative: 0.0 1.0; } text { font: FONT_LIGHT; size: 28; align: 0.0 0.5; } color: COLOR_TEXT_FOCUS; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_TEXT_FOCUS; map.on: 1; } description { state: "selected_0" 0.0; inherit: "selected" 0.0; } } } programs { program { name: "go_active"; signal: "elm,state,focused"; source: "elm"; action: STATE_SET "selected_0" 0.0; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "defaultbg_text"; target: PART_ELM_TEXT_TITLE; after: "focus,in,anim"; } program { name: "focus,in,anim"; action: STATE_SET "selected" 0.0; target: "defaultbg"; target: "default_image"; target: PART_ELM_SWALLOW_THUMBNAIL; target: PART_ELM_SWALLOW_FAVORITE; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "defaultbg_text"; transition: TRANSITION_FOCUS; after: "item_focused"; } program { name: "item_focused"; action: SIGNAL_EMIT SIG_ITEM_FOCUSED SIG_SOURCE_EDC; } program { name: "go_passive"; signal: "elm,state,unfocused"; source: "elm"; action: STATE_SET "default" 0.0; target: PART_ELM_TEXT_TITLE; after: "focus,out,anim"; } program { name: "focus,out,anim"; action: STATE_SET "selected_0" 0.0; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "defaultbg_text"; transition: TRANSITION_FOCUS; after: "focus,out,anim,2"; } program { name: "focus,out,anim,2"; action: STATE_SET "default" 0.0; target: PART_ELM_SWALLOW_THUMBNAIL; target: PART_ELM_SWALLOW_FAVORITE; target: "defaultbg"; target: "default_image"; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "defaultbg_text"; } } } group { name: "elm/gengrid/item/gallery_item/default"; data.item: "selectraise" "on"; data.item: "texts" "elm.text.playtime"; data.item: "contents" "elm.swallow.thumbnail elm.swallow.video elm.swallow.favorite"; data.item: "focus_highlight" "on"; images { image: IMAGE_THUMBNAIL_PICTURE COMP; } parts { part { name: "elm.padding.bottom_right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 1.0; min: 6 6; align: 1.0 1.0; fixed: 1 1; } } part { name: "map"; type: RECT; scale: 1; description { state: "default" 0.0; perspective { zplane: 0; focal: 1000; } visible: 0; } description { state: "selected" 0.0; inherit: "default" 0.0; perspective.zplane: -100; } } part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel2 { to: "elm.padding.bottom_right"; relative: 0.0 0.0; } fixed: 1 1; visible: 0; } } part { name: "defaultbg"; scale: 1; type: RECT; description { state : "default" 0.0; rel1.to: "bg"; rel2.to: "bg"; color: COLOR_ITEM_DEFAULT; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "default_image"; scale: 1; type: IMAGE; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 0.5 0.5; } rel2 { to: "defaultbg"; relative: 0.5 0.5; } image.normal: IMAGE_THUMBNAIL_PICTURE; min: 80 80; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: PART_ELM_SWALLOW_THUMBNAIL; scale: 1; type: SWALLOW; description { state : "default" 0.0; rel1.to: "defaultbg"; rel2.to: "defaultbg"; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: PART_ELM_SWALLOW_VIDEO; scale: 1; type: SWALLOW; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 0.5 0.5; } rel2 { to: "defaultbg"; relative: 0.5 0.5; } min: 80 80; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "padding_favorite"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 1.0 0.0; } rel2 { to: "defaultbg"; relative: 1.0 0.0; } min: 8 8; align: 1.0 0.0; fixed: 1 1; } } part { name: PART_ELM_SWALLOW_FAVORITE; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { to: "padding_favorite"; relative: 0.0 1.0; } rel2 { to: "padding_favorite"; relative: 0.0 1.0; } min: 28 28; align: 1.0 0.0; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "part_focus1"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.to: "bg"; rel2 { to: "bg"; relative: 1.0 0.0; } min: 0 6; align: 0.5 0.0; color: COLOR_ITEM_FOCUS; fixed: 0 1; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus2"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus1"; relative: 0.0 1.0; } rel2 { to: "bg"; relative: 0.0 1.0; } min: 6 0; align: 0.0 0.5; color: COLOR_ITEM_FOCUS; fixed: 1 0; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus3"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus1"; relative: 1.0 1.0; } rel2.to: "bg"; min: 6 0; align: 1.0 0.5; color: COLOR_ITEM_FOCUS; fixed: 1 0; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus4"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus2"; relative: 1.0 1.0; } rel2 { to: "part_focus3"; relative: 0.0 1.0; } min: 0 6; align: 0.5 1.0; color: COLOR_ITEM_FOCUS; fixed: 0 1; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "padding_playtime"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 1.0 1.0; } rel2.to: "defaultbg"; min: 12 12; align: 1.0 1.0; fixed: 1 1; } } part { name: PART_ELM_TEXT_PLAYTIME; type: TEXT; scale: 1; description { state: "default" 0.0; rel1.to: "padding_playtime"; rel2 { to: "padding_playtime"; relative: 0.0 0.0; } text { font: FONT_LIGHT; size: 24; min: 1 0; align: 1.0 1.0; ellipsis: -1; } min: 0 24; align: 1.0 1.0; color: COLOR_TEXT_FOCUS; fixed: 0 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } } programs { program { name: "go_active"; signal: "elm,state,focused"; source: "elm"; action: STATE_SET "selected_0" 0.0; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "part_focus4"; after: "focus,in,anim"; } program { name: "focus,in,anim"; action: STATE_SET "selected" 0.0; target: "defaultbg"; target: "default_image"; target: PART_ELM_SWALLOW_THUMBNAIL; target: PART_ELM_SWALLOW_VIDEO; target: PART_ELM_SWALLOW_FAVORITE; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "part_focus4"; target: PART_ELM_TEXT_PLAYTIME; transition: TRANSITION_FOCUS; after: "item_focused"; } program { name: "item_focused"; action: SIGNAL_EMIT SIG_ITEM_FOCUSED SIG_SOURCE_EDC; } program { name: "go_passive"; signal: "elm,state,unfocused"; source: "elm"; action: STATE_SET "selected_0" 0.0; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "part_focus4"; transition: TRANSITION_FOCUS; after: "focus,out,anim"; } program { name: "focus,out,anim"; action: STATE_SET "default" 0.0; target: PART_ELM_SWALLOW_THUMBNAIL; target: PART_ELM_SWALLOW_VIDEO; target: PART_ELM_SWALLOW_FAVORITE; target: "defaultbg"; target: "default_image"; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "part_focus4"; target: PART_ELM_TEXT_PLAYTIME; } } } group { name: "elm/gengrid/item/song_item/default"; data.item: "selectraise" "on"; data.item: "texts" "elm.text.title elm.text.artist elm.text.album"; data.item: "contents" "elm.swallow.thumbnail elm.swallow.favorite"; data.item: "focus_highlight" "on"; images { image: IMAGE_THUMBNAIL_SONG COMP; } parts { part { name: "elm.padding.bottom_right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 1.0; min: 26 26; align: 1.0 1.0; fixed: 1 1; } } part { name: "map"; type: RECT; scale: 1; description { state: "default" 0.0; perspective { zplane: 0; focal: 1000; } visible: 0; } description { state: "selected" 0.0; inherit: "default" 0.0; perspective.zplane: -100; } } part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel2 { to: "elm.padding.bottom_right"; relative: 0.0 0.0; } fixed: 1 1; visible: 0; } } part { name: "defaultbg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1.to: "bg"; rel2 { to: "elm.bg.text"; relative: 0.0 1.0; } color: COLOR_ITEM_DEFAULT; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "default_image"; type: IMAGE; scale: 1; description { state: "default" 0.0; rel1 { to: "defaultbg"; relative: 0.5 0.5; } rel2 { to: "defaultbg"; relative: 0.5 0.5; } image.normal: IMAGE_THUMBNAIL_SONG; min: 80 80; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: PART_ELM_SWALLOW_THUMBNAIL; type: SWALLOW; scale: 1; description { state : "default" 0.0; rel1.to: "defaultbg"; rel2.to: "defaultbg"; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "part_focus1"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.to: "bg"; rel2 { to: "elm.bg.text"; relative: 0.0 0.0; } min: 0 6; align: 0.5 0.0; color: COLOR_ITEM_FOCUS; fixed: 0 1; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus2"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus1"; relative: 0.0 1.0; } rel2 { to: "bg"; relative: 0.0 1.0; } min: 6 0; align: 0.0 0.5; color: COLOR_ITEM_FOCUS; fixed: 1 0; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "part_focus3"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "part_focus2"; relative: 1.0 1.0; } rel2 { to: "elm.bg.text"; relative: 0.0 1.0; } min: 0 6; align: 0.5 1.0; color: COLOR_ITEM_FOCUS; fixed: 1 0; visible: 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; visible: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; visible: 1; color: COLOR_ITEM_FOCUS_0; } } part { name: "defaultbg_text"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { to: "bg"; relative: 1.0 0.0; } rel2.to: "bg"; min: 354 0; align: 1.0 0.5; color: COLOR_ITEM_BG; fixed: 1 0; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_ITEM_FOCUS; map.on: 1; } } part { name: "elm.bg.text"; type: RECT; scale: 1; description { state: "default" 0.0; rel1.to: "defaultbg_text"; rel2.to: "defaultbg_text"; color: COLOR_ITEM_BG; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_ITEM_FOCUS; map.on: 1; } description { state: "selected_0" 0.0; inherit: "default" 0.0; color: COLOR_ITEM_FOCUS_0; } } part { name: "elm.padding.title.left"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.to: "elm.bg.text"; rel2 { to: "elm.bg.text"; relative: 0.0 0.0; } min: 28 22; align: 0.0 0.0; fixed: 1 1; } } part { name: "elm.padding.title.right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: PART_ELM_SWALLOW_FAVORITE; relative: 0.0 0.0; } rel2 { to: PART_ELM_SWALLOW_FAVORITE; relative: 0.0 0.0; } } } part { name: PART_ELM_TEXT_TITLE; type: TEXT; scale: 1; description { state: "default" 0.0; rel1 { to: "elm.padding.title.left"; relative: 1.0 1.0; } rel2 { to: "elm.padding.title.right"; relative: 0.0 1.0; } text { font: FONT_LIGHT; size: 28; align: 0.0 0.5; } min: 0 28; align: 0.5 0.0; color: COLOR_TEXT_TITLE; fixed: 0 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_TEXT_FOCUS; map.on: 1; } description { state: "selected_0" 0.0; inherit: "selected" 0.0; } } part { name: "elm.padding.artist"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: PART_ELM_TEXT_TITLE; relative: 0.0 1.0; } rel2.to: PART_ELM_TEXT_TITLE; min: 0 14; align: 0.5 0.0; fixed: 0 1; } } part { name: PART_ELM_TEXT_ARTIST; type: TEXT; scale: 1; description { state: "default" 0.0; rel1 { to: "elm.padding.artist"; relative: 0.0 1.0; } rel2.to: "elm.padding.artist"; text { font: FONT_LIGHT; size: 24; align: 0.0 0.5; } min: 0 24; align: 0.5 0.0; color: COLOR_TEXT_INFO; fixed: 0 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_TEXT_FOCUS; map.on: 1; } description { state: "selected_0" 0.0; inherit: "selected" 0.0; } } part { name: "elm.padding.album"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: PART_ELM_TEXT_ARTIST; relative: 0.0 1.0; } rel2.to: PART_ELM_TEXT_ARTIST; min: 0 4; align: 0.5 0.0; fixed: 0 1; } } part { name: PART_ELM_TEXT_ALBUM; type: TEXT; scale: 1; description { state: "default" 0.0; rel1 { to: "elm.padding.album"; relative: 0.0 1.0; } rel2.to: "elm.padding.album"; text { font: FONT_LIGHT; size: 24; align: 0.0 0.5; } min: 0 24; align: 0.5 0.0; color: COLOR_TEXT_INFO; fixed: 0 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_TEXT_FOCUS; map.on: 1; } description { state: "selected_0" 0.0; inherit: "selected"; } } part { name: "padding_favorite"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1 { to: "defaultbg_text"; relative: 1.0 0.0; } rel2 { to: "defaultbg_text"; relative: 1.0 0.0; } min: 15 22; align: 1.0 0.0; fixed: 1 1; } } part { name: PART_ELM_SWALLOW_FAVORITE; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { to: "padding_favorite"; relative: 0.0 1.0; } rel2 { to: "padding_favorite"; relative: 0.0 1.0; } min: 28 28; align: 1.0 0.0; fixed: 1 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "border_top"; type: RECT; scale: 1; description { state: "default" 0.0; rel1.to: "bg"; rel2 { to: "bg"; relative: 1.0 0.0; } min: 0 1; align: 0.5 0.0; color: COLOR_ITEM_BORDER; fixed: 0 1; map { perspective_on: 1; perspective: "map"; } } description { state: "selected" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name: "border_left"; inherit: "border_top"; description { state: "default" 0.0; rel1 { to: "border_top"; relative: 0.0 1.0; } rel2 { to: "bg"; relative: 0.0 1.0; } min: 1 0; align: 0.0 0.5; fixed: 1 0; } } part { name: "border_right"; inherit: "border_top"; description { state: "default" 0.0; rel1 { to: "border_top"; relative: 1.0 1.0; } rel2 { to: "bg"; relative: 1.0 1.0; } min: 1 0; align: 1.0 0.5; fixed: 1 0; } } part { name: "border_bottom"; inherit: "border_top"; description { state: "default" 0.0; rel1 { to: "border_left"; relative: 1.0 1.0; } rel2 { to: "border_right"; relative: 0.0 1.0; } align: 0.5 1.0; } } } programs { program { name: "go_active"; signal: "elm,state,focused"; source: "elm"; action: STATE_SET "selected_0" 0.0; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "elm.bg.text"; target: PART_ELM_TEXT_TITLE; target: PART_ELM_TEXT_ARTIST; target: PART_ELM_TEXT_ALBUM; after: "focus,in,anim"; } program { name: "focus,in,anim"; action: STATE_SET "selected" 0.0; target: "defaultbg"; target: PART_ELM_SWALLOW_THUMBNAIL; target: PART_ELM_SWALLOW_FAVORITE; target: "default_image"; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "elm.bg.text"; transition: TRANSITION_FOCUS; after: "focus,in,anim,2"; } program { name: "focus,in,anim,2"; action: STATE_SET "selected" 0.0; target: "defaultbg_text"; after: "item_focused"; } program { name: "item_focused"; action: SIGNAL_EMIT SIG_ITEM_FOCUSED SIG_SOURCE_EDC; } program { name: "go_passive"; signal: "elm,state,unfocused"; source: "elm"; action: STATE_SET "default" 0.0; target: PART_ELM_TEXT_TITLE; target: PART_ELM_TEXT_ARTIST; target: PART_ELM_TEXT_ALBUM; target: "defaultbg_text"; after: "focus,out,anim"; } program { name: "focus,out,anim"; action: STATE_SET "selected_0" 0.0; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "elm.bg.text"; transition: TRANSITION_FOCUS; after: "focus,out,anim,2"; } program { name: "focus,out,anim,2"; action: STATE_SET "default" 0.0; target: PART_ELM_SWALLOW_THUMBNAIL; target: PART_ELM_SWALLOW_FAVORITE; target: "default_image"; target: "defaultbg"; target: "part_focus1"; target: "part_focus2"; target: "part_focus3"; target: "elm.bg.text"; } } } group { name: "elm/gengrid/item/movie_item_favorite/default"; inherit: "elm/gengrid/item/movie_item/default"; parts { part { name: "elm.padding.bottom_right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 1.0; min: 0 32; align: 1.0 1.0; fixed: 1 1; } } } } group { name: "elm/gengrid/item/gallery_item_favorite/default"; inherit: "elm/gengrid/item/gallery_item/default"; parts { part { name: "elm.padding.bottom_right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 1.0; min: 20 20; align: 1.0 1.0; fixed: 1 1; } } } } group { name: "elm/gengrid/item/song_item_favorite/default"; inherit: "elm/gengrid/item/song_item/default"; parts { part { name: "elm.padding.bottom_right"; type: SPACER; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 1.0; min: 0 20; align: 1.0 1.0; fixed: 1 1; } } part { name: "defaultbg_text"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { to: "bg"; relative: 1.0 0.0; } rel2.to: "bg"; min: 306 0; align: 1.0 0.5; color: COLOR_ITEM_BG; fixed: 1 0; } description { state: "selected" 0.0; inherit: "default" 0.0; color: COLOR_ITEM_FOCUS; map.on: 1; } } } }