3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
24 group { name: "elm/genlist/item/mode/slide/default";
25 alias: "elm/genlist/item_odd/mode/slide/default";
26 alias: "elm/genlist/item_compress/mode/slide/default";
27 alias: "elm/genlist/item_compress_odd/mode/slide/default";
28 data.item: "stacking" "above";
29 data.item: "selectraise" "on";
30 data.item: "contents" "elm.slide.swallow.1";
31 data.item: "mode_part" "elm.swallow.origin";
32 data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
37 GENLIST_PART_BOTTOM_LINE
38 GENLIST_PART_PADDING_LEFT
39 GENLIST_PART_PADDING_RIGHT
40 GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 171)
41 GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 171)
43 GENLIST_PART_ICON("elm.slide.swallow.1",
44 GENLIST_DESCRIPTION_LR("elm.padding.btn.left", "elm.padding.btn.right",
45 min: 326 GENLIST_BTN_01_HEIGHT;
46 max: -1 GENLIST_BTN_01_HEIGHT; )
48 // Swallow part for original genlist item
49 GENLIST_PART_ICON("elm.swallow.origin";,
51 GENLIST_DESCRIPTION_ENVELOP("base", )
52 description { state: "slide" 0.0;
53 inherit: "default" 0.0;
68 signal: "elm,state,slide,active";
70 action: STATE_SET "slide" 0.0;
71 target: "elm.swallow.origin";
72 transition: ACCELERATE 0.5;
77 signal: "elm,state,slide,passive";
79 action: STATE_SET "default" 0.0;
80 target: "elm.swallow.origin";
81 transition: DECELERATE 0.5;
86 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
91 group { name: "elm/genlist/item/mode/slide2/default";
92 alias: "elm/genlist/item_odd/mode/slide2/default";
93 alias: "elm/genlist/item_compress/mode/slide2/default";
94 alias: "elm/genlist/item_compress_odd/mode/slide2/default";
95 inherit: "elm/genlist/item/mode/slide/default";
96 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2";
98 GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 0)
99 GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 0)
100 GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1)
102 GENLIST_PART_ICON("elm.slide.swallow.1",
103 GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center",
104 min: 0 GENLIST_BTN_01_HEIGHT;
105 max: -1 GENLIST_BTN_01_HEIGHT; )
107 GENLIST_PART_ICON("elm.slide.swallow.2",
108 insert_before: "elm.slide.swallow.1";
109 GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.right",
110 min: 0 GENLIST_BTN_01_HEIGHT;
111 max: -1 GENLIST_BTN_01_HEIGHT; )
116 group { name: "elm/genlist/item/mode/slide3/default";
117 alias: "elm/genlist/item_odd/mode/slide3/default";
118 alias: "elm/genlist/item_compress/mode/slide3/default";
119 alias: "elm/genlist/item_compress_odd/mode/slide3/default";
120 inherit: "elm/genlist/item/mode/slide2/default";
121 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3";
123 GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.333 0, 0.333 1)
124 GENLIST_PART_PADDING("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, 0.666 0, 0.666 1)
125 GENLIST_PART_ICON("elm.slide.swallow.1",
126 GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center",
127 min: 0 GENLIST_BTN_01_HEIGHT;
128 max: -1 GENLIST_BTN_01_HEIGHT; )
130 GENLIST_PART_ICON("elm.slide.swallow.2",
131 GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.center1",
132 min: 0 GENLIST_BTN_01_HEIGHT;
133 max: -1 GENLIST_BTN_01_HEIGHT; )
135 GENLIST_PART_ICON("elm.slide.swallow.3",
136 insert_before: "elm.slide.swallow.2";
137 GENLIST_DESCRIPTION_LR("elm.padding.center1", "elm.padding.right",
138 min: 0 GENLIST_BTN_01_HEIGHT;
139 max: -1 GENLIST_BTN_01_HEIGHT; )
144 group { name: "elm/genlist/item/mode/slide4/default";
145 alias: "elm/genlist/item_odd/mode/slide4/default";
146 alias: "elm/genlist/item_compress/mode/slide4/default";
147 alias: "elm/genlist/item_compress_odd/mode/slide4/default";
148 inherit: "elm/genlist/item/mode/slide3/default";
149 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4";
151 GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.25 0, 0.25 1)
152 GENLIST_PART_PADDING("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1)
153 GENLIST_PART_PADDING("elm.padding.center2", GENLIST_PADDING_SIZE_DEFAULT, 0.75 0, 0.75 1)
154 GENLIST_PART_ICON("elm.slide.swallow.1",
155 GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center",
156 min: 0 GENLIST_BTN_01_HEIGHT;
157 max: -1 GENLIST_BTN_01_HEIGHT; )
159 GENLIST_PART_ICON("elm.slide.swallow.2",
160 GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.center1",
161 min: 0 GENLIST_BTN_01_HEIGHT;
162 max: -1 GENLIST_BTN_01_HEIGHT; )
164 GENLIST_PART_ICON("elm.slide.swallow.3",
165 GENLIST_DESCRIPTION_LR("elm.padding.center1", "elm.padding.center2",
166 min: 0 GENLIST_BTN_01_HEIGHT;
167 max: -1 GENLIST_BTN_01_HEIGHT; )
169 GENLIST_PART_ICON("elm.slide.swallow.4",
170 insert_before: "elm.slide.swallow.3";
171 GENLIST_DESCRIPTION_LR("elm.padding.center2", "elm.padding.right",
172 min: 0 GENLIST_BTN_01_HEIGHT;
173 max: -1 GENLIST_BTN_01_HEIGHT; )
179 // ---------------------------------------- Belows are not used anymore ?? ------------------------------------------------------
180 group { name: "elm/genlist/item/mode/slide.1text/default";
181 alias: "elm/genlist/item_odd/mode/slide.1text/default";
182 alias: "elm/genlist/item_compress/mode/slide.1text/default";
183 alias: "elm/genlist/item_compress_odd/mode/slide.1text/default";
184 data.item: "stacking" "above";
185 data.item: "selectraise" "on";
186 data.item: "texts" "elm.slide.text.1";
187 data.item: "contents" "elm.slide.swallow.1";
188 data.item: "mode_part" "elm.swallow.origin";
189 data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
195 description { state: "default" 0.0;
196 min: 0 GENLIST_HEIGHT_1LINE;
197 color: GENLIST_SWEEP_BG_COLOR_INC;
200 part { name: "bottom_line";
203 description { state: "default" 0.0;
207 color: GENLIST_LIST_LINE1_COLOR;
216 part { name: "base.padding.left";
220 description { state: "default" 0.0;
221 min: GENLIST_PADDING_16_INC 0;
231 part { name: "base.padding.right";
235 description { state: "default" 0.0;
236 min: GENLIST_PADDING_16_INC 0;
246 part { name: "base.padding.bottom";
250 description { state: "default" 0.0;
251 min: 0 GENLIST_PADDING_6_INC;
265 part { name: "elm.slide.text.1";
269 description { state: "default" 0.0;
270 min: 0 GENLIST_SIZE_45_INC;
275 to_x: "base.padding.left";
280 to_x: "base.padding.right";
283 color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
285 font: "Tizen:style=Roman";
286 size: GENLIST_FONT_32_INC;
293 part { name: "elm.slide.swallow.1";
295 description { state: "default" 0.0;
296 min: GENLIST_SIZE_390_INC GENLIST_SIZE_SLIDE_60_INC;
297 max: GENLIST_SIZE_390_INC GENLIST_SIZE_SLIDE_60_INC;
302 to_y: "elm.slide.text.1";
307 to_y: "base.padding.bottom";
311 // Transparent part between base parts and slidable parts
312 part { name: "event_block_layer";
315 description { state: "default" 0.0;
320 description { state: "repeat_events" 0.0;
321 inherit: "default" 0.0;
325 // Swallow part for original genlist item style
326 part { name: "elm.swallow.origin";
328 description { state: "default" 0.0;
330 description { state: "slide" 0.0;
331 inherit: "default" 0.0;
336 part { name: "disclip";
338 description { state: "default" 0.0;
347 signal: "elm,state,slide,active";
349 action: STATE_SET "slide" 0.0;
350 target: "elm.swallow.origin";
351 transition: ACCELERATE 0.5;
352 after: "unblock_event";
355 name: "unblock_event";
356 action: STATE_SET "repeat_events" 0.0;
357 target: "event_block_layer";
361 signal: "elm,state,slide,passive";
363 action: STATE_SET "default" 0.0;
364 target: "event_block_layer";
365 after: "slide_left2";
369 action: STATE_SET "default" 0.0;
370 target: "elm.swallow.origin";
371 transition: DECELERATE 0.5;
372 after: "slide_left_finished";
375 name: "slide_left_finished";
376 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
381 group { name: "elm/genlist/item/mode/slide2.text/default";
382 alias: "elm/genlist/item_odd/mode/slide2.text/default";
383 alias: "elm/genlist/item_compress/mode/slide2.text/default";
384 alias: "elm/genlist/item_compress_odd/mode/slide2.text/default";
385 data.item: "stacking" "above";
386 data.item: "selectraise" "on";
387 data.item: "texts" "elm.slide.text.1";
388 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2";
389 data.item: "mode_part" "elm.swallow.origin";
390 data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
396 description { state: "default" 0.0;
397 min: 0 GENLIST_HEIGHT_129_INC;
398 color: GENLIST_SWEEP_BG_COLOR_INC;
401 part { name: "bottom_line";
404 description { state: "default" 0.0;
408 color: GENLIST_LIST_LINE1_COLOR;
417 part { name: "base.padding.left";
421 description { state: "default" 0.0;
422 min: GENLIST_SIZE_16_INC 0;
432 part { name: "base.padding.right";
436 description { state: "default" 0.0;
437 min: GENLIST_SIZE_16_INC 0;
447 part { name: "base.padding.bottom";
451 description { state: "default" 0.0;
452 min: 0 GENLIST_PADDING_11_INC;
466 part { name: "elm.slide.text.1";
470 description { state: "default" 0.0;
471 min: 0 GENLIST_SIZE_56_INC;
476 to_x: "base.padding.left";
481 to_x: "base.padding.right";
484 color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
486 font: "Tizen:style=Roman";
487 size: GENLIST_FONT_32_INC;
494 part { name: "base.padding.center";
498 description { state: "default" 0.0;
499 min: GENLIST_SIZE_16_INC 0;
513 part { name: "elm.slide.swallow.1";
515 description { state: "default" 0.0;
518 to_x: "base.padding.left";
519 to_y: "elm.slide.text.1";
523 to_x: "base.padding.center";
524 to_y: "base.padding.bottom";
528 part { name: "elm.slide.swallow.2";
530 description { state: "default" 0.0;
533 to_x: "base.padding.center";
534 to_y: "elm.slide.text.1";
538 to_x: "base.padding.right";
539 to_y: "base.padding.bottom";
543 // Transparent part between base parts and slidable parts
544 part { name: "event_block_layer";
547 description { state: "default" 0.0;
552 description { state: "repeat_events" 0.0;
553 inherit: "default" 0.0;
557 // Swallow part for original genlist item style
558 part { name: "elm.swallow.origin";
560 description { state: "default" 0.0;
562 description { state: "slide" 0.0;
563 inherit: "default" 0.0;
568 part { name: "disclip";
570 description { state: "default" 0.0;
579 signal: "elm,state,slide,active";
581 action: STATE_SET "slide" 0.0;
582 target: "elm.swallow.origin";
583 transition: ACCELERATE 0.5;
584 after: "unblock_event";
587 name: "unblock_event";
588 action: STATE_SET "repeat_events" 0.0;
589 target: "event_block_layer";
593 signal: "elm,state,slide,passive";
595 action: STATE_SET "default" 0.0;
596 target: "event_block_layer";
597 after: "slide_left2";
601 action: STATE_SET "default" 0.0;
602 target: "elm.swallow.origin";
603 transition: DECELERATE 0.5;
604 after: "slide_left_finished";
607 name: "slide_left_finished";
608 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
613 group { name: "elm/genlist/item/mode/slide3.text/default";
614 alias: "elm/genlist/item_odd/mode/slide3.text/default";
615 alias: "elm/genlist/item_compress/mode/slide3.text/default";
616 alias: "elm/genlist/item_compress_odd/mode/slide3.text/default";
617 data.item: "stacking" "above";
618 data.item: "selectraise" "on";
619 data.item: "texts" "elm.slide.text.1";
620 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3";
621 data.item: "mode_part" "elm.swallow.origin";
622 data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
628 description { state: "default" 0.0;
629 min: 0 GENLIST_HEIGHT_1LINE;
630 color: GENLIST_SWEEP_BG_COLOR_INC;
633 part { name: "bottom_line";
636 description { state: "default" 0.0;
640 color: GENLIST_LIST_LINE1_COLOR;
649 part { name: "base.padding.left";
653 description { state: "default" 0.0;
654 min: GENLIST_SIZE_16_INC 0;
664 part { name: "base.padding.right";
668 description { state: "default" 0.0;
669 min: GENLIST_SIZE_16_INC 0;
679 part { name: "base.padding.bottom";
683 description { state: "default" 0.0;
684 min: 0 GENLIST_PADDING_6_INC;
698 part { name: "elm.slide.text.1";
702 description { state: "default" 0.0;
703 min: 0 GENLIST_LIST_MAIN_TEXT_SIZE;
708 to_x: "base.padding.left";
713 to_x: "base.padding.right";
716 color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
718 font: "Tizen:style=Roman";
719 size: GENLIST_FONT_32_INC;
726 part { name: "elm.slide.swallow.2";
729 description { state: "default" 0.0;
730 min: GENLIST_SIZE_SLIDE_220_INC 0;
735 to_y: "elm.slide.text.1";
740 to_y: "base.padding.bottom";
744 part { name: "elm.padding.swallow.2.left";
748 description { state: "default" 0.0;
749 min: GENLIST_SIZE_16_INC 0;
753 rel1.to: "elm.slide.swallow.2";
756 to: "elm.slide.swallow.2";
760 part { name: "elm.slide.swallow.1";
763 description { state: "default" 0.0;
764 min: GENLIST_SIZE_SLIDE_220_INC 0;
767 rel1.to: "elm.padding.swallow.2.left";
770 to: "elm.padding.swallow.2.left";
774 part { name: "elm.padding.swallow.2.right";
778 description { state: "default" 0.0;
779 min: GENLIST_SIZE_16_INC 0;
785 to: "elm.slide.swallow.2";
787 rel2.to: "elm.slide.swallow.2";
790 part { name: "elm.slide.swallow.3";
793 description { state: "default" 0.0;
794 min: GENLIST_SIZE_SLIDE_220_INC 0;
799 to: "elm.padding.swallow.2.right";
801 rel2.to: "elm.padding.swallow.2.right";
804 // Transparent part between base parts and slidable parts
805 part { name: "event_block_layer";
808 description { state: "default" 0.0;
813 description { state: "repeat_events" 0.0;
814 inherit: "default" 0.0;
818 // Swallow part for original genlist item style
819 part { name: "elm.swallow.origin";
821 description { state: "default" 0.0;
823 description { state: "slide" 0.0;
824 inherit: "default" 0.0;
829 part { name: "disclip";
831 description { state: "default" 0.0;
840 signal: "elm,state,slide,active";
842 action: STATE_SET "slide" 0.0;
843 target: "elm.swallow.origin";
844 transition: ACCELERATE 0.5;
845 after: "unblock_event";
848 name: "unblock_event";
849 action: STATE_SET "repeat_events" 0.0;
850 target: "event_block_layer";
854 signal: "elm,state,slide,passive";
856 action: STATE_SET "default" 0.0;
857 target: "event_block_layer";
858 after: "slide_left2";
862 action: STATE_SET "default" 0.0;
863 target: "elm.swallow.origin";
864 transition: DECELERATE 0.5;
865 after: "slide_left_finished";
868 name: "slide_left_finished";
869 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
874 group { name: "elm/genlist/item/mode/slide4.text/default";
875 alias: "elm/genlist/item_odd/mode/slide4.text/default";
876 alias: "elm/genlist/item_compress/mode/slide4.text/default";
877 alias: "elm/genlist/item_compress_odd/mode/slide4.text/default";
878 data.item: "stacking" "above";
879 data.item: "selectraise" "on";
880 data.item: "texts" "elm.slide.text.1";
881 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4";
882 data.item: "mode_part" "elm.swallow.origin";
883 data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
889 description { state: "default" 0.0;
890 min: 0 GENLIST_HEIGHT_129_INC;
891 color: GENLIST_SWEEP_BG_COLOR_INC;
894 part { name: "bottom_line";
897 description { state: "default" 0.0;
901 color: GENLIST_LIST_LINE1_COLOR;
910 part { name: "base.padding.left";
914 description { state: "default" 0.0;
915 min: GENLIST_SIZE_16_INC 0;
925 part { name: "base.padding.right";
929 description { state: "default" 0.0;
930 min: GENLIST_SIZE_16_INC 0;
940 part { name: "base.padding.bottom";
944 description { state: "default" 0.0;
959 part { name: "elm.slide.text.1";
963 description { state: "default" 0.0;
964 min: 0 GENLIST_SIZE_57_INC;
969 to_x: "base.padding.left";
974 to_x: "base.padding.right";
977 color: GENLIST_TEXT_COLOR_SWEEP_STYLE;
979 font: "Tizen:style=Roman";
980 size: GENLIST_FONT_32_INC;
987 part { name: "base.padding.center";
991 description { state: "default" 0.0;
992 min: GENLIST_PADDING_13_INC 0;
999 to_y: "elm.slide.text.1";
1004 to_y: "base.padding.bottom";
1008 part { name: "elm.slide.swallow.2";
1011 description { state: "default" 0.0;
1012 min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1013 max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1016 rel1.to: "base.padding.center";
1019 to: "base.padding.center";
1023 part { name: "elm.padding.swallow.2.left";
1027 description { state: "default" 0.0;
1028 min: GENLIST_SIZE_13_INC 0;
1032 rel1.to: "elm.slide.swallow.2";
1035 to: "elm.slide.swallow.2";
1039 part { name: "elm.slide.swallow.1";
1042 description { state: "default" 0.0;
1043 min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1044 max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1047 rel1.to: "elm.padding.swallow.2.left";
1050 to: "elm.padding.swallow.2.left";
1054 part { name: "elm.slide.swallow.3";
1057 description { state: "default" 0.0;
1058 min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1059 max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1064 to: "base.padding.center";
1066 rel2.to: "base.padding.center";
1069 part { name: "elm.padding.swallow.3.right";
1073 description { state: "default" 0.0;
1074 min: GENLIST_SIZE_13_INC 0;
1080 to: "elm.slide.swallow.3";
1082 rel2.to: "elm.slide.swallow.2";
1085 part { name: "elm.slide.swallow.4";
1088 description { state: "default" 0.0;
1089 min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1090 max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC;
1095 to: "elm.padding.swallow.3.right";
1097 rel2.to: "elm.padding.swallow.3.right";
1100 // Transparent part between base parts and slidable parts
1101 part { name: "event_block_layer";
1104 description { state: "default" 0.0;
1109 description { state: "repeat_events" 0.0;
1110 inherit: "default" 0.0;
1114 // Swallow part for original genlist item style
1115 part { name: "elm.swallow.origin";
1117 description { state: "default" 0.0;
1119 description { state: "slide" 0.0;
1120 inherit: "default" 0.0;
1125 part { name: "disclip";
1127 description { state: "default" 0.0;
1135 name: "slide_right";
1136 signal: "elm,state,slide,active";
1138 action: STATE_SET "slide" 0.0;
1139 target: "elm.swallow.origin";
1140 transition: ACCELERATE 0.5;
1141 after: "unblock_event";
1144 name: "unblock_event";
1145 action: STATE_SET "repeat_events" 0.0;
1146 target: "event_block_layer";
1150 signal: "elm,state,slide,passive";
1152 action: STATE_SET "default" 0.0;
1153 target: "event_block_layer";
1154 after: "slide_left2";
1157 name: "slide_left2";
1158 action: STATE_SET "default" 0.0;
1159 target: "elm.swallow.origin";
1160 transition: DECELERATE 0.5;
1161 after: "slide_left_finished";
1164 name: "slide_left_finished";
1165 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";