2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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.
17 #include "../../inc/conf.h"
23 //We want to have animations and don't take care about gengrid size from code.
24 //Because of that we must to add a part into the layout which set the size of the elm_layout
27 name: PART_APP_GRID_SIZE_SETTER;
31 rel1 {relative: 0.0 0.0;}
32 rel2 {relative: 1.0 1.0;}
36 name: PART_APP_GRID_BG;
40 rel1 {relative: 0.0 0.0; to: PART_APP_GRID_SIZE_SETTER;}
41 rel2 {relative: 1.0 1.0; to: PART_APP_GRID_SIZE_SETTER;}
46 state: "hidden" 0.0; //Used in the folder
47 inherit: "default" 0.0;
52 name: PART_APP_GRID_EDIT_BG;
56 rel1 {relative: 0.0 0.0; to: PART_APP_GRID_CONTENT;}
57 rel2 {relative: 1.0 1.0; to: PART_APP_GRID_CONTENT;}
63 inherit: "default" 0.0;
67 state: "hidden" 0.0; //Used in the folder
68 inherit: "default" 0.0;
73 name: PART_APP_GRID_CONTENT;
78 rel1 {relative: 0.0 CONTENT_Y_MIN; to: PART_APP_GRID_SIZE_SETTER;}
79 rel2 {relative: 1.0 CONTENT_APP_Y_MAX; to: PART_APP_GRID_SIZE_SETTER;}
83 inherit: "default" 0.0;
84 rel1.relative: 0.05 CONTENT_Y_MIN;
85 rel2.relative: 0.95 0.9;
91 name: "bg_edit_mode_on";
92 signal: SIGNAL_EDIT_MODE_ON;
93 source: SIGNAL_SOURCE;
94 action: STATE_SET "edit" 0.0;
95 target: PART_APP_GRID_CONTENT;
96 target: PART_APP_GRID_EDIT_BG;
97 transition: DECELERATE ANIMATION_RESIZE_TIME;
100 name: "bg_edit_mode_off";
101 signal: SIGNAL_EDIT_MODE_OFF;
102 source: SIGNAL_SOURCE;
103 action: STATE_SET "default" 0.0;
104 target: PART_APP_GRID_CONTENT;
105 target: PART_APP_GRID_EDIT_BG;
106 transition: DECELERATE ANIMATION_RESIZE_TIME;
109 name: "bg_choose_mode_off";
110 signal: SIGNAL_CHOOSE_MODE_OFF;
111 source: SIGNAL_SOURCE;
112 action: STATE_SET "default" 0.0;
113 target: PART_APP_GRID_CONTENT;
114 transition: DECELERATE ANIMATION_RESIZE_TIME;
117 name: "bg_choose_mode_on";
118 signal: SIGNAL_CHOOSE_MODE_ON;
119 source: SIGNAL_SOURCE;
120 action: STATE_SET "edit" 0.0;
121 target: PART_APP_GRID_CONTENT;
122 transition: DECELERATE ANIMATION_RESIZE_TIME;
126 signal: SIGNAL_APP_GRID_BG_HIDE;
127 source: SIGNAL_SOURCE;
128 action: STATE_SET "hidden" 0.0;
129 target: PART_APP_GRID_BG;
130 target: PART_APP_GRID_EDIT_BG;
135 name: GROUP_APP_GRID_ITEM_CONTAINER;
138 name: PART_APP_GRID_ITEM;
141 state: "default" 0.0;
142 rel1.relative: 0.0 0.0;
143 rel2.relative: 1.0 1.0;