#define GE_DEFAULT_YEAR 1900
-#define GALLERY_APP_ICON_DIR "/usr/share/icons/default/small/"
#define GE_UG_RES_DIR ge_get_resource_path()
#define GE_IMAGES_DIR full_path(GE_UG_RES_DIR, "edje/images/")
#define GE_EDJ_DIR full_path(GE_UG_RES_DIR, "edje/")
#define GE_GRP_GRIDVIEW "gallery_efl/gridview"
#define GE_GRP_ALBUMVIEW "gallery_efl/albumview"
-#define GE_CBAR_STYLE_DEFAULT "gallery_efl/default"
-#define GE_NAVIFRAME_STYLE_DEFAULT "gallery_efl/default"
-#define GE_CHECKBOX_STYLE_GRID "gallery_efl/grid"
-
#define GE_BUNDLE_LAUNCH_TYPE "launch-type"
#define GE_BUNDLE_SELECTION_MODE_SINGLE "single"
#define GE_BUNDLE_SELECTION_MODE_MULTI "multiple"
#define GE_LAUNCH_SELECT_ALBUM "select-album"
-#define GE_ALBUM_SELECT_RETURN_ID "album-id"
-#define GE_ALBUM_SELECT_RETURN_PATH "folder-path"
-
#define GE_LAUNCH_SELECT_ONE "select-one"
#define GE_LAUNCH_SELECT_MULTIPLE "select-multiple"
#define GE_LAUNCH_SELECT_SETAS "select-setas"
-#define GE_LAUNCH_SELECT_IMFT "select-imft"
#define GE_FILE_TYPE_IMAGE "image"
#define GE_FILE_TYPE_VIDEO "video"
#define GE_FILE_TYPE_ALL "all"
-#define GE_SETAS_WALLPAPER "wallpaper"
-#define GE_SETAS_LOCKSCREEN "lockscreen"
-#define GE_SETAS_WALLPAPER_AND_LOCKSCREEN "wallpaper and lockscreen"
#define GE_SETAS_CROP_WALLPAPER "crop"
#define GE_SETAS_CALLERID "callerid"
#define GE_FILE_SELECT_RETURN_PATH "path"
#define GE_SETAS_IMAGE_PATH "image-path"
-#define GE_BUNDLE_HOMESCREEN_PATH "homescreen_path"
-#define GE_BUNDLE_LOCKSCREEN_PATH "lockscreen_path"
#define GE_IMAGEVIEWER_RETURN_ERROR "Error"
/* MIME type */
#define GE_DCIM "DCIM"
#define GE_ALBUM_ALL_ID "GALLERY_ALBUM_ALL_ALBUMS_ID"
-/* String length of mtye item id */
-#define GE_MTYPE_ITEN_ID_LEN_MAX 37
-#define GE_BASE_WIN_WIDTH 720
#define GE_BASE_WIN_HEIGHT 1280
/* Indicator + naviframe title + naviframe bottom toobar */
#define GE_FIXED_HEIGHT_HIDE (111 + 98)
#define GE_GRID_ITEM_SIZE_W 202
#define GE_GRID_ITEM_SIZE_H 202
-#define GE_GRID_ITEM_ZOOM_LEVEL_02 2
-#define GE_GRID_ITEM_ZOOM_LEVEL_02_CNT 8
#define GE_ALBUM_COVER_THUMB_NUM 1
-#define GE_SELINFO_TEXT_LEN_MAX 64
-#define GE_ALBUM_DATE_LEN_MAX 256
-#define GE_VIDEO_DURATION_MAX 256
#define GE_NOCONTENTS_LABEL_LEN_MAX 512
#define GE_FILE_PATH_LEN_MAX (4095 * GE_MAX_BYTES_FOR_CHAR + 1)
#define GE_DIR_PATH_LEN_MAX GE_FILE_PATH_LEN_MAX
-#define GE_TIME_SECOND_MILLISECOND 1000 // 1s=1000ms
-#define GE_TIME_USEC_PER_SEC 1000000L
-#define GE_TIME_MINUTE_SECOND 60 // 1min=60s
-#define GE_TIME_HOUR_MINUTE 60 // 1h=60min
-#define GE_TIME_HOUR_SECOND (GE_TIME_HOUR_MINUTE * GE_TIME_MINUTE_SECOND) // 1h=(60x60)s
-
#define GE_FIRST_VIEW_START_POS 0
#define GE_GET_ONE_RECORD 1
#define GE_FIRST_VIEW_END_POS 47
#define GE_IMAGES_EDJ_FILE full_path(GE_EDJ_DIR, "images/gallery-efl-images.edj")
-#define GE_DEFAULT_APP_ICON GALLERY_APP_ICON_DIR"org.tizen.gallery.png"
#define GE_ALBUM_ICON_CAMERA "T01_album_icon_camera.png"
#define GE_ALBUM_ICON_DOWNLOAD "T01_album_icon_download.png"
#define GE_ALBUM_ICON_FOLDER "T01_album_icon_folder.png"
#include "ge-data.h"
#define GE_TILE_ICON "elm.swallow.icon"
-#define GE_TILE_LABEL "label_bg"
#define GE_TILE_TYPE_ICON "elm.swallow.type_icon"
#define GE_SD_CARD_TYPE_ICON "ug_sd_icon"
/* type for showing different icon in typeicon part in edc */
typedef enum _ge_tile_type {
GE_TILE_TYPE_NONE,
- GE_TILE_TYPE_FACEBOOK, /* Facebook album */
- GE_TILE_TYPE_CLOUD, /* Cloud album */
GE_TILE_TYPE_CAMERA, /* Camera album */
GE_TILE_TYPE_DOWNLOAD, /* Download album */
GE_TILE_TYPE_FOLDER, /* Folder album */
- GE_TILE_TYPE_PEOPLE, /* People album */
GE_TILE_TYPE_MMC, /* MMC album */
} ge_tile_type;
#include "ge-gridview.h"
int _ge_timeline_create_view(void *data, Evas_Object *parent);
-int _ge_timeline_update_view(void *data);
int _ge_timeline_update_lang(void *data);
-int _ge_timeline_view_rotate(void *data);
-int _ge_timeline_rotate_view(void *data);
bool __ge_update_timeline(void *data);
+int _ge_timeline_view_rotate(void *data);
void _ge_update_timeview_iv_select_mode_reply(void *data, char **select_result, int count);
int _ge_ext_load_time_iv_selected_list(app_control_h service, void *data);
#endif
-#define GE_BTN_NAVI_PRE "naviframe/back_btn/default"
-#define GE_BTN_NAVI_TOOLBAR "naviframe/toolbar/default"
-#define GE_NAVIFRAME_BTN1 "toolbar_button1"
#define GE_NAVIFRAME_TITLE_RIGHT_BTN "title_right_btn"
#define GE_NAVIFRAME_TITLE_LEFT_BTN "title_left_btn"
#define GE_BTN_POPUP "popup"
-#define GE_NAVIFRAME_PREB_BTN "prev_btn"
-#define GE_BUTTON_STYLE_NAVI_TITLE_ICON "naviframe/title_icon"
typedef enum {
GE_POPUP_ONEBUT,
Evas_Object *ge_ui_create_main_ly(Evas_Object *parent);
Evas_Object* ge_ui_load_edj(Evas_Object *parent, const char *file, const char *group);
Evas_Object* ge_ui_create_nocontents(ge_ugdata* ugd);
-int ge_ui_lock_albums(ge_cluster* album_item);
Evas_Object* ge_ui_create_popup(ge_ugdata* ugd, ge_popup_mode_e mode,
char* desc);
int _ge_ui_create_notiinfo(const char *text);
elm_image_file_set(icon, GE_IMAGES_EDJ_FILE, img)
-void _ge_set_current_item(ge_item* gitem);
int ge_reg_db_update_noti(ge_ugdata* ugd);
int ge_dereg_db_update_noti(void);
Eina_Bool ge_update_view(ge_ugdata* ugd);
int _ge_set_view_mode(ge_ugdata *ugd, ge_view_mode mode);
double _ge_get_win_factor(Evas_Object *win, bool b_hide_indicator, int *width,
int *height);
-int _ge_addhome_image(ge_ugdata *ugd, char *path);
int _ge_send_result(ge_ugdata *ugd);
int _ge_atoi(const char *number);
char *_ge_str(char *str_id);
if (GE_FILE_EXISTS(gitem->item->thumb_url)) {
path = gitem->item->thumb_url;
} else {
- path = GE_ICON_NO_THUMBNAIL;
+ path = GE_ICON_CONTENTS_BROKEN;
}
bool b_favor = false;
path = item->thumb_url;
} else {
/* Use default image */
- path = GE_ICON_NO_THUMBNAIL;
+ path = GE_ICON_CONTENTS_BROKEN;
}
if (item->type == MEDIA_CONTENT_TYPE_VIDEO) {