diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2015-07-14 22:13:53 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-07-14 22:13:53 +0900 |
commit | 8b565e4ce5f0370425274142cd861c345beb10a3 (patch) | |
tree | 9db754708b995c0631c2045b4267976f92391db3 | |
parent | 756d7a7e989b001a9ed65aafa16c87302126ee9f (diff) | |
download | air_mediahub-8b565e4ce5f0370425274142cd861c345beb10a3.tar.gz air_mediahub-8b565e4ce5f0370425274142cd861c345beb10a3.tar.bz2 air_mediahub-8b565e4ce5f0370425274142cd861c345beb10a3.zip |
music player: add edc file
Change-Id: I92a59937bf93a76627a72ea30fa2d6e79735c4b2
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r-- | res/edc/mediahub.edc | 1 | ||||
-rw-r--r-- | res/edc/view/mplayer.edc | 438 |
2 files changed, 439 insertions, 0 deletions
diff --git a/res/edc/mediahub.edc b/res/edc/mediahub.edc index 1366e00..448edc8 100644 --- a/res/edc/mediahub.edc +++ b/res/edc/mediahub.edc @@ -19,6 +19,7 @@ collections { #include "view/base.edc" #include "view/viewer.edc" + #include "view/mplayer.edc" #include "layout/movie.edc" #include "layout/gallery.edc" #include "layout/music.edc" diff --git a/res/edc/view/mplayer.edc b/res/edc/view/mplayer.edc new file mode 100644 index 0000000..e15fcda --- /dev/null +++ b/res/edc/view/mplayer.edc @@ -0,0 +1,438 @@ +/* + * 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: GRP_MPLAYER_VIEW; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + + /* LEFT */ + part { + name: "leftarea"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.5 1.0; + } + align: 0.0 0.0; + fixed: 0 0; + } + } + part { + name: "leftarea_bg"; + type: RECT; + scale: 1; + clip_to: "leftarea"; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1.to: "leftarea"; + rel2.to: "leftarea"; + } + } + part { + name: "padding_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 376; + rel1 { + to: "leftarea"; + relative: 0.0 0.0; + } + rel2 { + to: "leftarea"; + relative: 1.0 0.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "padding_thumb"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 296; + rel1 { + to: "padding_top"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_top"; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: PART_MPLAYER_THUMB; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 440 440; + rel1 { + to: "padding_top"; + relative: 0.5 1.0; + } + rel2 { + to: "padding_top"; + relative: 0.5 1.0; + } + fixed: 1 1; + align: 0.5 0.5; + } + } + part { + name: PART_MPLAYER_TITLE; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 0 42; + rel1 { + to: "padding_thumb"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_thumb"; + relative: 1.0 1.0; + } + text { + font: FONT_LIGHT; + size: 42; + align: 0.5 0.5; + } + color: COLOR_TEXT_TITLE; + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "padding_title"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 18; + rel1 { + to: PART_MPLAYER_TITLE; + relative: 0.0 1.0; + } + rel2 { + to: PART_MPLAYER_TITLE; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: PART_MPLAYER_INFO; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 0 30; + rel1 { + to: "padding_title"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_title"; + relative: 1.0 1.0; + } + text { + font: FONT_LIGHT; + size: 30; + align: 0.5 0.5; + } + color: COLOR_TEXT_MENU; + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "padding_info"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 34; + rel1 { + to: PART_MPLAYER_INFO; + relative: 0.0 1.0; + } + rel2 { + to: PART_MPLAYER_INFO; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: "controls_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 820 142; + rel1 { + to: "padding_info"; + relative: 0.5 1.0; + } + rel2 { + to: "padding_info"; + relative: 0.5 1.0; + } + fixed: 1 1; + align: 0.5 0.0; + visible: 0; + } + } + part { + name: "control_btn0"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "controls_bg"; + relative: 0.0 0.5; + } + rel2 { + to: "controls_bg"; + relative: 0.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn1"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn0"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn0"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn2"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn1"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn1"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn3"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn2"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn2"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "control_btn4"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 164 142; + rel1 { + to: "control_btn3"; + relative: 1.0 0.5; + } + rel2 { + to: "control_btn3"; + relative: 1.0 0.5; + } + fixed: 1 1; + align: 0.0 0.5; + } + } + part { + name: "padding_control"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 28; + rel1 { + to: "controls_bg"; + relative: 0.0 1.0; + } + rel2 { + to: "controls_bg"; + relative: 1.0 1.0; + } + fixed: 0 1; + align: 0.0 0.0; + } + } + part { + name: PART_MPLAYER_SLIDER; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: 698 28; + rel1 { + to: "padding_control"; + relative: 0.5 1.0; + } + rel2 { + to: "padding_control"; + relative: 0.5 1.0; + } + fixed: 1 1; + align: 0.5 0.0; + } + } + part { + name: PART_MPLAYER_PROGRESS; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 86 28; + rel1 { + to: PART_MPLAYER_SLIDER; + relative: 0.0 0.0; + } + rel2 { + to: PART_MPLAYER_SLIDER; + relative: 0.0 0.0; + } + text { + font: FONT_LIGHT; + size: 28; + align: 0.0 0.5; + } + color: COLOR_TEXT_SELECTED; + fixed: 0 1; + align: 1.0 0.0; + } + } + part { + name: PART_MPLAYER_TOTAL; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + min: 86 28; + rel1 { + to: PART_MPLAYER_SLIDER; + relative: 1.0 0.0; + } + rel2 { + to: PART_MPLAYER_SLIDER; + relative: 1.0 0.0; + } + text { + font: FONT_LIGHT; + size: 28; + align: 1.0 0.5; + } + color: COLOR_TEXT_MENU; + fixed: 0 1; + align: 0.0 0.0; + } + } + + /* RIGHT */ + part { + name: "rightarea"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.5 0.0; + } + rel2 { + relative: 1.0 1.0; + } + align: 0.0 0.0; + fixed: 0 0; + } + } + part { + name: "rightarea_bg"; + type: RECT; + scale: 1; + clip_to: "rightarea"; + description { + state: "default" 0.0; + color: COLOR_BASE_BG; + rel1.to: "rightarea"; + rel2.to: "rightarea"; + } + } + } +} |