Change-Id: I4cf350ebea976d902e9529abdf170983b7571ba4
MSG_HIGH("ivug_crop_ug_start");
IV_ASSERT(crop_ug != NULL);
MSG_HIGH("ivug_crop_ug_start");
IV_ASSERT(crop_ug != NULL);
+ Evas_Object *conformant = (Evas_Object *)ug_get_conformant();
+ elm_object_signal_emit(conformant, "elm,state,indicator,nooverlap", "");
+
ivug_crop_view_file_set(crop_ug->crop_view, crop_ug->filepath);
return true;
ivug_crop_view_file_set(crop_ug->crop_view, crop_ug->filepath);
return true;
{
IvugCropView *pCropView = static_cast<IvugCropView *>(data);
///////////////////////////////////////////////////////////////////
{
IvugCropView *pCropView = static_cast<IvugCropView *>(data);
///////////////////////////////////////////////////////////////////
+
+ int rotate = gGetRotationDegree();
+ MSG_HIGH("rotate=%d", rotate);
+ if(pCropView->PrevRotate == rotate)
+ {
+ return;
+ }
+ pCropView->PrevRotate = rotate;
+
int org_x, org_y, org_w, org_h;
ivug_image_region_get(pCropView->photocam, &org_x, &org_y, &org_w, &org_h);
int org_x, org_y, org_w, org_h;
ivug_image_region_get(pCropView->photocam, &org_x, &org_y, &org_w, &org_h);
if(pCropView->box_timer)
ecore_timer_del(pCropView->box_timer);
if(pCropView->box_timer)
ecore_timer_del(pCropView->box_timer);
- pCropView->box_timer = ecore_timer_add(0.3, _on_box_timer_expired, data);
+ pCropView->box_timer = ecore_timer_add(0.5, _on_box_timer_expired, data);
pCropView->notify_area = const_cast<Evas_Object *>(edje_object_part_object_get(_EDJ(pCropView->layout),
"crop.contents.swallow.notify"));
pCropView->notify_area = const_cast<Evas_Object *>(edje_object_part_object_get(_EDJ(pCropView->layout),
"crop.contents.swallow.notify"));
pCropView->notify = ivug_notify_static_create(pCropView->notify_area, IDS_CROP_NOTIFY, NOTIFY_ALIGN_BOTTOM);
evas_object_show(pCropView->photocam);
pCropView->notify = ivug_notify_static_create(pCropView->notify_area, IDS_CROP_NOTIFY, NOTIFY_ALIGN_BOTTOM);
evas_object_show(pCropView->photocam);
+
+ pCropView->PrevRotate = gGetRotationDegree();