Reduce time for tzsh region set 83/79083/1 accepted/tizen/3.0/mobile/20161015.033903 accepted/tizen/common/20160719.173209 accepted/tizen/common/20160906.131315 accepted/tizen/mobile/20160708.092115 accepted/tizen/mobile/20160906.222927 submit/tizen/20160906.054227 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_common/20160718.184553 submit/tizen_mobile/20160708.063501
authorjunkyu han <junkyu.han@samsung.com>
Fri, 8 Jul 2016 06:26:34 +0000 (15:26 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Fri, 8 Jul 2016 06:26:34 +0000 (15:26 +0900)
Change-Id: Id601102f8f08ab1c9d6fa5787c7bb847ca6ad921

src/control.c
src/view.c

index b780f83..7043e0e 100755 (executable)
@@ -337,7 +337,7 @@ Eina_Bool volume_control_show_view(int status, sound_type_e sound_type, int soun
                        if(VOLUME_ERROR_OK != volume_view_window_show(sound_type)) {
                                _E("Failed to show volume window");
                        }
-                       ecore_timer_add(1.0f, _volume_region_set_timer_cb, win);
+                       ecore_timer_add(0.1f, _volume_region_set_timer_cb, win);
                }
 
                control_info.is_launching = EINA_TRUE;
index 668da6c..205795d 100755 (executable)
@@ -445,6 +445,11 @@ volume_error_e volume_view_layout_create(Evas_Object *win)
        return VOLUME_ERROR_OK;
 }
 
+static void _iconified_cb(void *data, Evas_Object *obj, void *event_info)
+{
+       _D("ICONIFIED IS CALLED");
+}
+
 Evas_Object *add_volume_window(const char *name)
 {
        Evas_Object *eo = NULL;
@@ -467,6 +472,8 @@ Evas_Object *add_volume_window(const char *name)
        elm_win_screen_size_get(eo, &x, &y, &w, &h);
        _D("volume screen size => x: %d, y: %d, w: %d, h: %d", x, y, w, h);
 
+       evas_object_smart_callback_add(eo, "iconified", _iconified_cb, NULL);
+
        return eo;
 }