rel2{relative: 1.0 1.0; to: SIZE_SETTER;}
aspect: 1.0 1.0;
aspect_preference: BOTH;
- image {
- normal: "../res/images/folder_appicon_empty_bg.png";
- }
- }
- description {
- state: "item_count_1" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "../res/images/folder_appicon_bg.png";
- }
- }
- description {
- state: "item_count_2" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "../res/images/folder_appicon_bg.png";
- }
- }
- description {
- state: "item_count_3" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "../res/images/folder_appicon_bg.png";
- }
- }
- description {
- state: "item_count_4" 0.0;
- inherit: "default" 0.0;
image {
normal: "../res/images/folder_appicon_bg.png";
}
type: SWALLOW;
description {
state: "default" 0.0;
- rel1{relative: 0.325 0.325; to: SIZE_SETTER;}
- rel2{relative: 0.675 0.675; to: SIZE_SETTER;}
+ rel1{relative: 0.185 0.185; to: SIZE_SETTER;}
+ rel2{relative: 0.485 0.485; to: SIZE_SETTER;}
aspect: 1.0 1.0;
aspect_preference: BOTH;
visible: 0;
}
description {
state: "item_count_1" 0.0;
- rel1{relative: 0.325 0.325; to: SIZE_SETTER;}
- rel2{relative: 0.675 0.675; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
description {
state: "item_count_2" 0.0;
- rel1{relative: 0.135 0.325; to: SIZE_SETTER;}
- rel2{relative: 0.485 0.675; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
description {
state: "item_count_3" 0.0;
- rel1{relative: 0.185 0.185; to: SIZE_SETTER;}
- rel2{relative: 0.485 0.485; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
description {
state: "item_count_4" 0.0;
- rel1{relative: 0.185 0.185; to: SIZE_SETTER;}
- rel2{relative: 0.485 0.485; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
}
type: SWALLOW;
description {
state: "default" 0.0;
- rel1{relative: 0.488 0.325; to: SIZE_SETTER;}
- rel2{relative: 0.838 0.675; to: SIZE_SETTER;}
+ rel1{relative: 0.515 0.185; to: SIZE_SETTER;}
+ rel2{relative: 0.815 0.485; to: SIZE_SETTER;}
aspect: 1.0 1.0;
aspect_preference: BOTH;
visible: 0;
}
description {
state: "item_count_2" 0.0;
- rel1{relative: 0.488 0.325; to: SIZE_SETTER;}
- rel2{relative: 0.838 0.675; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
description {
state: "item_count_3" 0.0;
- rel1{relative: 0.515 0.185; to: SIZE_SETTER;}
- rel2{relative: 0.815 0.485; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
description {
state: "item_count_4" 0.0;
- rel1{relative: 0.515 0.185; to: SIZE_SETTER;}
- rel2{relative: 0.815 0.485; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
}
}
description {
state: "item_count_3" 0.0;
- rel1{relative: 0.185 0.515; to: SIZE_SETTER;}
- rel2{relative: 0.485 0.815; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
description {
state: "item_count_4" 0.0;
- rel1{relative: 0.185 0.515; to: SIZE_SETTER;}
- rel2{relative: 0.485 0.815; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
}
}
description {
state: "item_count_4" 0.0;
- rel1{relative: 0.515 0.515; to: SIZE_SETTER;}
- rel2{relative: 0.815 0.815; to: SIZE_SETTER;}
+ inherit: "default" 0.0;
visible: 1;
}
}
target: "icon_1";
target: "icon_2";
target: "icon_3";
- target: "folder_icon_bg_image";
transition: DECELERATE 0.2;
}
target: "icon_1";
target: "icon_2";
target: "icon_3";
- target: "folder_icon_bg_image";
transition: DECELERATE 0.2;
}
target: "icon_1";
target: "icon_2";
target: "icon_3";
- target: "folder_icon_bg_image";
transition: DECELERATE 0.2;
}
program {
target: "icon_1";
target: "icon_2";
target: "icon_3";
- target: "folder_icon_bg_image";
transition: DECELERATE 0.2;
}
program {
target: "icon_1";
target: "icon_2";
target: "icon_3";
- target: "folder_icon_bg_image";
}
program {
apps_db_insert(item);
apps_data_sort();
apps_view_icon_add(item);
- apps_view_reroder();
+ apps_view_reorder();
}
void apps_data_uninstall(const char *package)
apps_db_insert(new_item);
apps_view_icon_add(new_item);
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
return new_item;
}
apps_data_s.data_list = eina_list_remove(apps_data_s.data_list, folder_item);
apps_db_delete(folder_item);
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
apps_view_delete_icon(folder_item);
__apps_data_item_free(folder_item);
}
{
apps_db_update(folder_item);
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
}
static int __apps_data_shortcut_request_cb(const char *package_name,
apps_db_insert(new_item);
apps_view_icon_add(new_item);
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
return 0;
}
apps_data_s.data_list = eina_list_remove(apps_data_s.data_list, item);
apps_db_delete(item);
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
apps_view_folder_reroder();
if (item->parent_db_id != APPS_ROOT) {
app_data_t *parent = __apps_data_find_item(item->parent_db_id);
}
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
apps_view_folder_reroder();
EINA_LIST_FOREACH(list, find_list, item) {
}
}
-void apps_view_reroder(void)
+void apps_view_reorder(void)
{
Eina_List *data_list = apps_data_get_list();
app_data_t *item = NULL;
item->app_layout = apps_view_create_icon(item);
}
}
- apps_view_reroder();
+ apps_view_reorder();
int ret = BADGE_ERROR_NONE;
ret = badge_register_changed_cb(__apps_view_badge_update_cb, NULL);
}
}
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
Eina_List *list = apps_data_get_list();
EINA_LIST_FOREACH(list, find_list, item) {
}
}
if (apps_view_s.candidate_folder) {
- elm_object_signal_emit(apps_view_s.candidate_folder->folder_layout, SIGNAL_FRAME_POSSIBLE_SHOW, SIGNAL_SOURCE);
+ if(apps_data_get_folder_item_count(apps_view_s.candidate_folder) >= APPS_FOLDER_MAX_ITEM)
+ elm_object_signal_emit(apps_view_s.candidate_folder->folder_layout, SIGNAL_FRAME_IMPOSSIBLE_SHOW, SIGNAL_SOURCE);
+ else
+ elm_object_signal_emit(apps_view_s.candidate_folder->folder_layout, SIGNAL_FRAME_POSSIBLE_SHOW, SIGNAL_SOURCE);
}
}
}
evas_object_del(item->app_layout);
item->app_layout = NULL;
}
- apps_view_s.candidate_folder = NULL;
}
+ elm_object_signal_emit(apps_view_s.candidate_folder->folder_layout, SIGNAL_FRAME_POSSIBLE_HIDE, SIGNAL_SOURCE);
+ apps_view_s.candidate_folder = NULL;
+
}
apps_data_sort();
- apps_view_reroder();
+ apps_view_reorder();
}
static Eina_Bool __apps_view_scroll_timer_cb(void *data)