Merge "Fix issue detected by static analysis tool" into tizen
[platform/core/uifw/inputdelegator.git] / res / wearable / edje / w-input-selector.edc
index c00e082..9be1ffa 100755 (executable)
@@ -805,4 +805,145 @@ collections {
                                }
                        )
                }
-}
+       }
+
+// ------------------------------------------------Drawing ---------------------------------------------//
+       styles{
+               style {
+                       name: "list_text_drawing_normal";
+                       base: "font=Tizen:style=Regular font_size=36 align=left color=#FFFFFF color_class=AT021 wrap=word text_class=AT021";
+               }
+       }
+
+       images {
+               image, "./fadeout_masking.#.png" COMP;
+       }
+
+       group {
+               name: "elm/genlist/item/drawing/default";
+               data.item: "treesize" 0;
+               data.item: "flips" "elm.flip.icon elm.flip.content";
+               data.item: "texts" "elm.text";
+               data.item: "contents" "base elm.icon";
+               data.item: "vi_effect" "on";
+               data.item: "dim" "off";
+               data.item: "focus_bg" "off";
+
+               parts {
+                       PART_LIST_BG
+                       PART_LIST_PADDINGS(
+                       0, 0,
+                       LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
+                       )
+
+                       PART(SWALLOW, "base",DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", min: 360 0; fixed: 1 0; visible: 1;))
+
+                       part {
+                               name: "elm.padding.text.left_a";
+                               type: SPACER;
+                               scale: 1;
+                               mouse_events: 0;
+                               repeat_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       min: (30+76+24) 0;
+                                       max: (30+76+24) 51;
+                                       fixed: 1 0;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
+                               }
+                       }
+                       part {
+                               name: "elm.padding.text.left_b";
+                               type: SPACER;
+                               scale: 1;
+                               mouse_events: 0;
+                               repeat_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       min: (360-30) 0;
+                                       max: (360-30) 51;
+                                       fixed: 1 0;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
+                               }
+                       }
+
+                       part {
+                               name: "elm.text";
+                               type: TEXTBLOCK;
+                               scale: 1;
+                               mouse_events: 0;
+                               repeat_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 0 48;
+                                       max: -1 48;
+                                       fixed: 0 1;
+                                       align: 0.5 0.5;
+                                       text {
+                                               min: 0 1;
+                                               max: 1 1;
+                                               ellipsis: -1.0;
+                                               fade_ellipsis: 1.0;
+                                               style: "list_text_drawing_normal";
+                                       }
+                                       rel1 { relative: 1.0 1.0; to_x: "elm.padding.text.left_a"; to_y: "elm.padding.top"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "elm.padding.text.left_b"; to_y: "elm.padding.bottom"; }
+                               }
+                       }
+
+                       part {
+                               name: "fadeout";
+                               type: IMAGE;
+                               scale: 1;
+                               mouse_events: 0;
+                               repeat_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       align: 1.0 0.5;
+                                       min: 49 44;
+                                       max: 49 44;
+                                       fixed: 1 1;
+                                       rel1 { relative: 1.0 1.0; to_x: "elm.padding.text.left_b"; to_y: "elm.padding.top"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "elm.padding.text.left_b"; to_y: "elm.padding.bottom"; }
+                                       image.normal: "./fadeout_masking.#.png";
+                                       color: 0 0 0 10;
+                               }
+                       }
+
+                       part {
+                               name: "elm.padding.icon.left";
+                               type: SPACER;
+                               scale: 1;
+                               mouse_events: 0;
+                               repeat_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 24 0;
+                                       max: 24 51;
+                                       fixed: 1 1;
+                                       align: 1.0 0.5;
+                                       rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "elm.padding.top"; }
+                                       rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "elm.padding.bottom"; }
+                               }
+                       }
+
+                       part {
+                               name: "elm.icon";
+                               type: SWALLOW;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 1;
+                                       align: 1.0 0.5;
+                                       fixed: 1 1;
+                                       min: 76 76;
+                                       max: 76 76;
+                                       rel1 { relative: 0.0 1.0; to_x: "elm.padding.icon.left"; to_y: "elm.padding.top"; }
+                                       rel2 { relative: 0.0 0.0; to_x: "elm.padding.icon.left"; to_y: "elm.padding.bottom"; }
+                               }
+                       }
+               }
+       }