Resize window & Resize time and icons 13/56313/1 accepted/tizen/mobile/20160107.101352 accepted/tizen/tv/20160107.101419 accepted/tizen/wearable/20160107.101438 submit/tizen/20160107.011739
authorEunyoung Lee <ey928.lee@samsung.com>
Wed, 6 Jan 2016 08:37:16 +0000 (17:37 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Wed, 6 Jan 2016 08:37:16 +0000 (17:37 +0900)
Change-Id: I05e4c65d62a4e546f5c4df031027676b610a7c55

daemon/main.c
data/resource/indicator_gui.h
data/resource/indicator_icon_animation.edc
data/resource/indicator_icon_nonfixed_theme.edc
data/resource/indicator_icon_theme.edc
data/resource/ticker.edc
modules/clock/clock.c

index 9aab38d..188f349 100644 (file)
@@ -702,6 +702,7 @@ static Eina_Bool _indicator_listen_timer_cb(void* data)
        }
 }
 
+#define INDICATOR_HEIGHT_TM1 52
 static void _create_window(struct appdata *ad)
 {
        Evas_Object *dummy_win = NULL;
@@ -738,11 +739,13 @@ static void _create_window(struct appdata *ad)
        evas_object_size_hint_fill_set(ad->win.win , EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        evas_object_size_hint_align_set(ad->win.win , 1.0, 0.5);
 
+       evas_object_resize(ad->win.win, ad->win.port_w, INDICATOR_HEIGHT_TM1);
+       _D("w,h(%d,%d)", ad->win.port_w, INDICATOR_HEIGHT_TM1);
+
        evas_object_show(ad->win.win);
 
 }
 
-#define INDICATOR_HEIGHT_TM1 52
 static void _create_base_gui(void* data)
 {
        struct appdata *ad = data;
@@ -763,13 +766,11 @@ static void _create_base_gui(void* data)
        ad->win.w = ad->win.port_w;
        ad->win.evas = evas_object_evas_get(ad->win.win);
 
-       //_D("win_size = Original(%d, %d), Scaled(%lf, %lf)", ad->win.port_w, ad->win.h, ELM_SCALE_SIZE(ad->win.port_w), ELM_SCALE_SIZE(ad->win.h));
+       _D("win_size = Original(%d, %d), Scaled(%lf, %lf)", ad->win.port_w, ad->win.h, ELM_SCALE_SIZE(ad->win.port_w), ELM_SCALE_SIZE(ad->win.h));
 
        _create_layout(ad, EDJ_FILE, GRP_NAME);
-
        _create_box(&(ad->win));
 
-       ad->win.data = data;
 
 #if 0 /* For test */
        Evas_Object *rect = evas_object_rectangle_add(ad->win.evas);
@@ -779,6 +780,7 @@ static void _create_base_gui(void* data)
        evas_object_show(rect);
        evas_object_layer_set(rect, -256);
 #endif
+       ad->win.data = data;
 
        return;
 }
index 644558b..173a946 100644 (file)
 #define DEFAULT_ICON_PADDING 3
 #define NOTI_ICON_PADDING 2
 
-#define DEFAULT_ICON_HEIGHT    25
-#define DEFAULT_ICON_WIDTH     25
-#define BATTERY_ICON_WIDTH     25
-#define BATTERY_ICON_HEIGHT    25
-#define FIXED4_ICON_HEIGHT     25
-#define FIXED4_ICON_WIDTH      25
+#define DEFAULT_ICON_HEIGHT    31
+#define DEFAULT_ICON_WIDTH     31
+#define BATTERY_ICON_WIDTH     31
+#define BATTERY_ICON_HEIGHT    31
+#define FIXED4_ICON_HEIGHT     31
+#define FIXED4_ICON_WIDTH      31
 
 #define BATTERY_DIGIT_WIDTH 8
 #define BATTERY_DIGIT_HEIGHT 12
index 6d07f81..6f8b9e3 100644 (file)
@@ -22,7 +22,7 @@
 #include "indicator_common.edc"
 
 collections {
-       base_scale: 1.7;
+       base_scale: 2.6;
 
        group {
                name: "elm/indicator/icon/base";
index 8f723ce..afe8d40 100644 (file)
@@ -22,7 +22,7 @@
 #include "indicator_common.edc"
 
 collections {
-       base_scale: 1.7;
+       base_scale: 2.6;
 
        group {
                name: "elm/indicator/icon/base";
index 23ffc65..a713eee 100644 (file)
@@ -22,7 +22,7 @@
 #include "indicator_common.edc"
 
 collections {
-       base_scale: 1.7;
+       base_scale: 2.6;
 
        group {
                name: "elm/indicator/icon/base";
index c9a89df..e88ed6e 100755 (executable)
@@ -22,7 +22,7 @@
  
 collections
 {
-       base_scale: 2.6;
+       base_scale: 1.7;
 
        group {
                name: "quickpanel/tickernoti/text";
index 2042d97..6f4ddd2 100644 (file)
@@ -39,9 +39,9 @@
 
 #define SYSTEM_RESUME          "system_wakeup"
 
-#define TIME_FONT_SIZE_24              ELM_SCALE_SIZE(14)
-#define TIME_FONT_SIZE_12              ELM_SCALE_SIZE(14)
-#define AMPM_FONT_SIZE         ELM_SCALE_SIZE(13)
+#define TIME_FONT_SIZE_24              ELM_SCALE_SIZE(30)
+#define TIME_FONT_SIZE_12              ELM_SCALE_SIZE(30)
+#define AMPM_FONT_SIZE         ELM_SCALE_SIZE(29)
 
 #define TIME_FONT_COLOR                200, 200, 200, 255
 #define AMPM_FONT_COLOR                200, 200, 200, 255