2 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
23 name: "ongoing_content_text";
24 base: "font=Tizen:style=Roman text_class=tizen align=left valign=top font_size=28 linegap=-6 ellipsis=1.0 color=#828384FF wrap=mixed";
29 name: "quickpanel/listitem/default";
32 image: "quick_icon_bg_02.png" COMP;
37 public ctnt_multiline_shown;
47 min: 0 QP_THEME_LIST_ITEM_ONGOING_HEIGHT + QP_THEME_LIST_ITEM_ONGOING_SEPERATOR_HEIGHT;
48 max: 9999 QP_THEME_LIST_ITEM_ONGOING_HEIGHT + QP_THEME_LIST_ITEM_ONGOING_SEPERATOR_HEIGHT;
56 color: QP_THEME_BG_COLOR;
57 visible: QP_THEME_BG_VISIBILITY;
60 part { name: "bg_image";
66 color: QP_THEME_NOTI_BG_COLOR;
69 state: "selected" 0.0;
70 inherit: "default" 0.0;
71 color: QP_THEME_NOTI_BG_COLOR;
74 part { name: "elm.padding.top";
79 min: 0 16 + QP_THEME_LIST_ITEM_ONGOING_SEPERATOR_HEIGHT;
84 rel1.relative: 0.0 0.0;
85 rel2.relative: 1.0 0.0;
89 part { name: "elm.padding.top.text.contents";
94 min: 0 61 + QP_THEME_LIST_ITEM_ONGOING_SEPERATOR_HEIGHT;
99 rel1.relative: 0.0 0.0;
100 rel2.relative: 1.0 0.0;
104 part { name: "elm.padding.bottom.mutiline.content";
108 state: "default" 0.0;
114 rel1.relative: 0.0 1.0;
118 part { name: "elm.padding.bottom.time";
122 state: "default" 0.0;
133 rel1.relative: 0.0 1.0;
134 rel2.relative: 1.0 1.0;
138 part { name: "elm.padding.bottom.progress";
141 description { state: "default" 0.0;
146 rel1.relative: 0.0 1.0;
147 rel2.relative: 1.0 1.0;
157 part { name: "elm.padding.bottom.icon";
161 state: "default" 0.0;
166 rel1.relative: 0.0 1.0;
167 rel2.relative: 1.0 1.0;
172 part { name: "elm.padding.left.bg";
176 state: "default" 0.0;
181 rel1.relative: 0.0 0.0;
182 rel2.relative: 0.0 1.0;
184 color: QP_THEME_BG_COLOR;
185 visible: QP_THEME_BG_VISIBILITY;
188 part { name: "elm.padding.right.bg";
192 state: "default" 0.0;
197 rel1.relative: 1.0 0.0;
198 rel2.relative: 1.0 1.0;
200 color: QP_THEME_BG_COLOR;
201 visible: QP_THEME_BG_VISIBILITY;
204 part { name: "elm.padding.top.bg";
208 state: "default" 0.0;
209 min: 0 QP_THEME_LIST_ITEM_ONGOING_SEPERATOR_HEIGHT;
213 rel1.relative: 0.0 0.0;
214 rel2.relative: 1.0 0.0;
216 color: QP_THEME_BG_COLOR;
217 visible: QP_THEME_BG_VISIBILITY;
220 part { name: "elm.content.bg";
224 state: "default" 0.0;
226 to_x:"elm.padding.left.bg";
227 to_y:"elm.padding.top.bg";
231 to_x:"elm.padding.right.bg";
237 color: QP_THEME_NOTI_BG_COLOR;
240 part { name: "elm.padding.left";
244 state: "default" 0.0;
249 rel1.relative: 0.0 0.0;
250 rel2.relative: 0.0 1.0;
255 part { name: "elm.padding.right";
259 state: "default" 0.0;
264 rel1.relative: 1.0 0.0;
265 rel2.relative: 1.0 1.0;
275 part { name: "elm.rect.thumbnail";
280 state: "default" 0.0;
285 to_x: "elm.padding.right";
286 to_y: "elm.padding.bottom.icon";
290 to_x: "elm.padding.right";
291 to_y: "elm.padding.bottom.icon";
297 part { name: "elm.thumbnail.bg";
302 state: "default" 0.0;
304 rel1 {to: "elm.rect.thumbnail";}
305 rel2 {to: "elm.rect.thumbnail";}
307 normal:"quick_icon_bg_02.png";
313 part { name: "elm.swallow.thumbnail";
318 state: "default" 0.0;
321 to: "elm.rect.thumbnail";
324 to: "elm.rect.thumbnail";
329 part { name: "elm.swallow.icon";
334 state: "default" 0.0;
339 to: "elm.rect.thumbnail";
343 to: "elm.rect.thumbnail";
348 part { name: "elm.padding.right.slider.bounder";
352 state: "default" 0.0;
357 to_x: "elm.padding.right";
361 to_x: "elm.padding.right";
367 part { name: "elm.padding.right.text.bounder";
371 state: "default" 0.0;
376 to_x: "elm.padding.right";
380 to_x: "elm.padding.right";
386 part { name: "elm.text.title";
391 state: "default" 0.0;
397 to_x: "elm.padding.left";
398 to_y: "elm.padding.top";
402 to_x: "elm.padding.right.text.bounder";
403 to_y: "elm.padding.top";
405 color: 248 246 239 255;
407 font: "Tizen:style=Regular";
417 state: "selected" 0.0;
418 inherit: "default" 0.0;
419 color: 248 246 239 255;
422 part { name: "elm.text.time";
427 state: "default" 0.0;
433 to_x: "elm.padding.left";
434 to_y: "elm.padding.bottom.time";
438 to_x: "elm.padding.right.slider.bounder";
439 to_y: "elm.padding.bottom.time";
441 color: 255 255 255 255;
443 font: "Tizen:style=Medium";
450 state: "selected" 0.0;
451 inherit: "default" 0.0;
452 color: 255 255 255 255;
456 name: "elm.rect.content";
461 state: "default" 0.0;
467 to_x: "elm.padding.left";
468 to_y: "elm.padding.top.text.contents";
472 to_x: "elm.padding.right.text.bounder";
473 to_y: "elm.padding.top.text.contents";
479 name: "elm.text.content";
484 state: "default" 0.0;
488 to: "elm.rect.content";
491 to: "elm.rect.content";
493 color: 130 131 132 255;
495 font: "Tizen:style=Roman";
507 inherit: "default" 0.0;
511 state: "selected" 0.0;
512 inherit: "default" 0.0;
513 color: 130 131 132 255;
518 name: "elm.rect.content.multiline";
523 state: "default" 0.0;
529 to_x: "elm.padding.left";
530 to_y: "elm.text.title";
534 to_x: "elm.padding.right.text.bounder";
535 to_y: "elm.padding.bottom.mutiline.content";
541 name: "elm.text.content.multiline";
546 state: "default" 0.0;
550 to: "elm.rect.content.multiline";
553 to: "elm.rect.content.multiline";
556 style: "ongoing_content_text";
564 inherit: "default" 0.0;
568 state: "selected" 0.0;
569 inherit: "default" 0.0;
570 color: 130 131 132 255;
575 name: "elm.box.progress";
580 state: "default" 0.0;
586 to_x: "elm.padding.left";
587 to_y: "elm.padding.bottom.progress";
591 to_x: "elm.padding.right.slider.bounder";
592 to_y: "elm.padding.bottom.progress";
596 color: 100 100 100 200;
603 name: "elm.swallow.progress";
608 state: "default" 0.0;
610 to: "elm.box.progress";
613 to: "elm.box.progress";
619 name: "object.layer.touch.background";
625 state: "default" 0.0;
632 name: "accessibility";
638 state: "default" 0.0;
640 to: "elm.content.bg";
643 to: "elm.content.bg";
645 color: QP_ACCESSIBILITY_TEST_COLOR;
653 name: "listbox.touch.down";
654 signal: "mouse,clicked,1";
655 source: "object.layer.touch.background";
656 action: SIGNAL_EMIT "selected" "edje";
658 program { name: "show_content";
659 signal: "elm,state,elm.text.content,active";
662 set_state(PART:"elm.text.content", "show", 0.0);
663 set_int(ctnt_shown, 1);
666 program { name: "show_content_multiline";
667 signal: "elm,state,elm.text.content.multiline,active";
670 set_state(PART:"elm.text.content.multiline", "show", 0.0);
671 set_int(ctnt_multiline_shown, 1);