Changed below things. 50/77150/5 accepted/tizen/common/20160629.223252 accepted/tizen/mobile/20160630.003344 accepted/tizen/tv/20160630.003337 accepted/tizen/wearable/20160630.003313 submit/tizen/20160629.085315
authorchangjoo.lee <changjoo.lee@samsung.com>
Wed, 29 Jun 2016 01:17:35 +0000 (10:17 +0900)
committerchangjoo.lee <changjoo.lee@samsung.com>
Wed, 29 Jun 2016 02:43:18 +0000 (11:43 +0900)
1. priority of overheat
2. priority issue by modifying .manefest
3. coding rule violations

Change-Id: I0d9cac1a88c057f518ba3c0e486d7e78a5458f58
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
14 files changed:
CMakeLists.txt
packaging/org.tizen.overheat-syspopup.manifest [new file with mode: 0755]
packaging/system-servant.spec
src/CMakeLists.txt
src/common/macro.h
src/crash/org.tizen.crash-syspopup.xml
src/launcher/launcher.c
src/launcher/launcher.h
src/launcher/popup.c
src/org.tizen.system-syspopup.xml
src/overheat/CMakeLists.txt [new file with mode: 0755]
src/overheat/org.tizen.overheat-syspopup.xml [new file with mode: 0755]
src/overheat/overheat-popup.edc [new file with mode: 0755]
src/overheat/system-syspopup.edc [deleted file]

index 51525fc3e205e35c5f5eb74d0865db7e9d0e21bb..de78f1840f4a3ffd833839433ae9331a99c98509 100644 (file)
@@ -57,6 +57,7 @@ ENDIF()
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(src/powerkey)
 ADD_SUBDIRECTORY(src/crash)
+ADD_SUBDIRECTORY(src/overheat)
 ADD_SUBDIRECTORY(src/launcher)
 ADD_SUBDIRECTORY(src/po)
 ADD_SUBDIRECTORY(signal-sender)
diff --git a/packaging/org.tizen.overheat-syspopup.manifest b/packaging/org.tizen.overheat-syspopup.manifest
new file mode 100755 (executable)
index 0000000..75b0fa5
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_"/>
+    </request>
+</manifest>
index 3fd025ccd0c42dd043909eece9e943750be03fc6..4b6c8cbb2887cba74262c622b175d6f888fc29d8 100755 (executable)
@@ -7,6 +7,7 @@
 
 #Main applications
 %define powerkey_popup off
+%define overheat_popup off
 %define crash_popup off
 %define system_popup off
 %define notification_service off
@@ -17,7 +18,6 @@
 %define mmc_popup off
 %define usb_popup off
 %define watchdog_popup off
-%define overheat_popup off
 %define storage_popup off
 %define system_cooperator off
 
@@ -25,6 +25,7 @@
 %define PROFILE mobile
 #Main applicaitons
 %define powerkey_popup on
+%define overheat_popup on
 %define crash_popup on
 %define system_popup on
 %define notification_service on
@@ -36,9 +37,6 @@
 %define mmc_popup on
 %define usb_popup on
 %define watchdog_popup on
-%if %{?system_popup} == on
-%define overheat_popup on
-%endif
 %define storage_popup on
 %endif
 
@@ -51,6 +49,7 @@
 %endif
 #Main applicaitons
 %define powerkey_popup on
+%define overheat_popup off
 %define crash_popup on
 %define system_popup on
 %define system_cooperator on
@@ -59,9 +58,6 @@
 %define watchdog_popup on
 %define battery_popup on
 %define cooldown_popup on
-%if %{?system_popup} == on
-%define overheat_popup on
-%endif
 %endif
 
 %if "%{?profile}" == "tv"
@@ -80,6 +76,7 @@ License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1:    %{name}.manifest
 Source1001:    org.tizen.powerkey-syspopup.manifest
+Source1002:    org.tizen.overheat-syspopup.manifest
 Source1015:    org.tizen.crash-syspopup.manifest
 Source2001:    org.tizen.system-syspopup.manifest
 Source2003:    org.tizen.system-signal-sender.manifest
@@ -136,6 +133,17 @@ to inform user powerkey information. It is activated
 when user power key event is happened
 %endif
 
+%if %{?overheat_popup} == on
+%package -n org.tizen.overheat-syspopup
+Summary:    Overheat-popup application
+Group:      System/Utilities
+Requires:   %{name} = %{version}-%{release}
+
+%description -n org.tizen.overheat-syspopup
+to inform user overheat information. It is activated
+when overheat event is happened
+%endif
+
 %if %{?signal_sender} == on
 %package -n org.tizen.system-signal-sender
 Summary:    System FW signal sender
@@ -171,6 +179,11 @@ chmod 0644 %{SOURCE1001}
 cp %{SOURCE1001} .
 %endif
 
+%if %{overheat_popup} == on
+chmod 0644 %{SOURCE1002}
+cp %{SOURCE1002} .
+%endif
+
 %if %{crash_popup} == on
 chmod 0644 %{SOURCE1015}
 cp %{SOURCE1015} .
@@ -321,9 +334,6 @@ rm -rf %{buildroot}
 %manifest org.tizen.system-syspopup.manifest
 %defattr(-,root,root,-)
 %{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
-%if %{overheat_popup} == on
-%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/system-syspopup.edj
-%endif
 %{TZ_SYS_RO_SHARE}/packages/org.tizen.system-syspopup.xml
 %endif
 
@@ -340,6 +350,16 @@ rm -rf %{buildroot}
 %{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/circle_btn_delete.png
 %endif
 
+%if %{overheat_popup} == on
+%files -n org.tizen.overheat-syspopup
+%manifest org.tizen.overheat-syspopup.manifest
+%license LICENSE
+%defattr(-,root,root,-)
+%{TZ_SYS_RO_APP}/org.tizen.overheat-syspopup/bin/overheat-popup
+%{TZ_SYS_RO_APP}/org.tizen.overheat-syspopup/shared/res/overheat-popup.edj
+%{TZ_SYS_RO_SHARE}/packages/org.tizen.overheat-syspopup.xml
+%endif
+
 %if %{signal_sender} == on
 %files -n org.tizen.system-signal-sender
 %manifest org.tizen.system-signal-sender.manifest
index 6d62d26a8a4b824488f22d64a6bdf481b7604236..b82d74fb05ea19b9b6ef637174660fb352e0df3b 100755 (executable)
@@ -58,12 +58,6 @@ IF(USB_POPUP STREQUAL on)
        ENDIF()
 ENDIF(USB_POPUP STREQUAL on)
 
-IF(OVERHEAT_POPUP STREQUAL on)
-       IF(PROFILE_MOBILE)
-               SET(SRCS ${SRCS} overheat/overheat.c)
-       ENDIF()
-ENDIF(OVERHEAT_POPUP STREQUAL on)
-
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/common)
 
@@ -74,9 +68,6 @@ SET(PREFIX "${CMAKE_INSTALL_PREFIX}/apps/${PKGNAME}")
 SET(BINDIR "${PREFIX}/bin")
 SET(RESDIR "${PREFIX}/res")
 SET(MANIFESTDIR "${CMAKE_INSTALL_PREFIX}/share/packages")
-IF(OVERHEAT_POPUP STREQUAL on)
-       SET(OVERHEAT_RES "${TZ_SYS_RO_APP}/${PKGNAME}/shared/res")
-ENDIF(OVERHEAT_POPUP STREQUAL on)
 
 SET(PKG_MODULES
                appcore-efl
@@ -107,8 +98,6 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -O2 -g -Wall -fpie")
 ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
 ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
 ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
-ADD_DEFINITIONS("-DOVERHEAT_RES=\"${OVERHEAT_RES}\"")
-ADD_DEFINITIONS("-DELM_OVERHEAT_EDC=\"${OVERHEAT_RES}/${PACKAGE}.edj\"")
 
 SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
 
@@ -118,16 +107,6 @@ TARGET_LINK_LIBRARIES(${PACKAGE} syspopup ${system_pkgs_LDFLAGS})
 
 INSTALL(TARGETS ${PACKAGE} DESTINATION ${BINDIR})
 
-IF(OVERHEAT_POPUP STREQUAL on)
-       ADD_CUSTOM_TARGET(${PACKAGE}.edj
-               COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/overheat/${PACKAGE}.edc ${CMAKE_BINARY_DIR}/${PACKAGE}.edj
-               DEPENDS ${CMAKE_SOURCE_DIR}/src/overheat/${PACKAGE}.edc
-               COMMENT "making edj file"
-       )
-       ADD_DEPENDENCIES(${PACKAGE} ${PACKAGE}.edj)
-       INSTALL(FILES ${CMAKE_BINARY_DIR}/${PACKAGE}.edj DESTINATION ${OVERHEAT_RES})
-ENDIF(OVERHEAT_POPUP STREQUAL on)
-
 # install manifest file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
 ############## END ##############
index 7726620bcae0a7433ecf322dcdde7e59ed0d1a12..a60e769e3fd1082d924d41b8d27adff3bbd7437d 100755 (executable)
@@ -30,7 +30,7 @@
 
 #define FREE(arg) \
        do { \
-               if(arg) { \
+               if (arg) { \
                        free((void *)arg); \
                        arg = NULL; \
                } \
 
 #define ARRAY_SIZE(name) (sizeof(name)/sizeof(name[0]))
 
-#define max(a,b) \
+#define max(a, b) \
        ({ __typeof__ (a) _a = (a); \
-        __typeof__ (b) _b = (b);  \
+        __typeof__ (b) _b = (b); \
         _a > _b ? _a : _b; })
 
 #define RETRY_MAX 10
 #define SLEEP_USEC 200000
 
 /* DBus paths, interfaces */
-#define BUS_NAME                               "org.tizen.system.popup"
-#define POPUP_DBUS_PATH                        "/Org/Tizen/System/Popup"
-#define POPUP_DBUS_IFACE               BUS_NAME
+#define BUS_NAME               "org.tizen.system.popup"
+#define POPUP_DBUS_PATH                "/Org/Tizen/System/Popup"
+#define POPUP_DBUS_IFACE       BUS_NAME
 
-#define POPUP_PATH_NOTI                        POPUP_DBUS_PATH"/Noti"
-#define POPUP_IFACE_NOTI               BUS_NAME".Noti"
+#define POPUP_PATH_NOTI                POPUP_DBUS_PATH"/Noti"
+#define POPUP_IFACE_NOTI       BUS_NAME".Noti"
 
-#define POPUP_PATH_SYSTEM              POPUP_DBUS_PATH"/System"
-#define POPUP_IFACE_SYSTEM             BUS_NAME".System"
+#define POPUP_PATH_SYSTEM      POPUP_DBUS_PATH"/System"
+#define POPUP_IFACE_SYSTEM     BUS_NAME".System"
 
-#define POPUP_PATH_POWERKEY            POPUP_DBUS_PATH"/Powerkey"
+#define POPUP_PATH_POWERKEY    POPUP_DBUS_PATH"/Powerkey"
 #define POPUP_IFACE_POWERKEY   BUS_NAME".Powerkey"
 
-#define POPUP_PATH_CRASH               POPUP_DBUS_PATH"/Crash"
-#define POPUP_IFACE_CRASH              BUS_NAME".Crash"
+#define POPUP_PATH_OVERHEAT    POPUP_DBUS_PATH"/Overheat"
+#define POPUP_IFACE_OVERHEAT   BUS_NAME".Overheat"
 
-#define POPUP_PATH_APP                 POPUP_DBUS_PATH"/Apps"
-#define POPUP_IFACE_APP                        BUS_NAME".Apps"
+#define POPUP_PATH_CRASH       POPUP_DBUS_PATH"/Crash"
+#define POPUP_IFACE_CRASH      BUS_NAME".Crash"
+
+#define POPUP_PATH_APP         POPUP_DBUS_PATH"/Apps"
+#define POPUP_IFACE_APP                BUS_NAME".Apps"
 
 
 /* App to launch a popup on a notification */
-#define SYSTEM_SIGNAL_SENDER          "org.tizen.system-signal-sender"
-#define SIGNAL_SENDER_TYPE            "_SIGNAL_TYPE_"
-#define SIGNAL_SENDER_TYPE_RECOVERY   "recovery-popup"
-#define SIGNAL_SENDER_TYPE_USBSTORAGE_UNMOUNT "usbstorage-unmount-popup"
-#define SIGNAL_SENDER_TYPE_ENCRYPT    ODE_ENCRYPT
-#define SIGNAL_SENDER_TYPE_DECRYPT    ODE_DECRYPT
-#define SIGNAL_SENDER_TYPE_ODE_UG     "ode-setting-ug"
-#define SIGNAL_SENDER_DEVICE_PATH     "_DEVICE_PATH_"
-#define SIGNAL_SENDER_ERROR_TYPE      "_ERROR_TYPE_"
-#define SIGNAL_SENDER_MEMORY_SPACE    "_MEMORY_SPACE_"
+#define SYSTEM_SIGNAL_SENDER                   "org.tizen.system-signal-sender"
+#define SIGNAL_SENDER_TYPE                     "_SIGNAL_TYPE_"
+#define SIGNAL_SENDER_TYPE_RECOVERY            "recovery-popup"
+#define SIGNAL_SENDER_TYPE_USBSTORAGE_UNMOUNT  "usbstorage-unmount-popup"
+#define SIGNAL_SENDER_TYPE_ENCRYPT             ODE_ENCRYPT
+#define SIGNAL_SENDER_TYPE_DECRYPT             ODE_DECRYPT
+#define SIGNAL_SENDER_TYPE_ODE_UG              "ode-setting-ug"
+#define SIGNAL_SENDER_DEVICE_PATH              "_DEVICE_PATH_"
+#define SIGNAL_SENDER_ERROR_TYPE               "_ERROR_TYPE_"
+#define SIGNAL_SENDER_MEMORY_SPACE             "_MEMORY_SPACE_"
 
 /* ODE */
 #define ODE_ENCRYPT "encrypt"
index 09e6e53ca20cd2d71302cbefff461a516795d38b..732544913520897ae64ba95f18470a78e4fe25d4 100755 (executable)
@@ -7,4 +7,7 @@ api-version="3.0" version="0.1.7" install-location="internal-only" support-mode=
        <ui-application appid="org.tizen.crash-syspopup" exec="/usr/apps/org.tizen.crash-syspopup/bin/crash-popup" nodisplay="true" multiple="false" type="capp" taskmanage="false">
                <label>Crash popup</label>
        </ui-application>
+       <privileges>
+               <privilege>http://tizen.org/privilege/window.priority.set</privilege>
+       </privileges>
 </manifest>
index 6c931ca1e994cb4e1962726b6d42b792c3e8c947..a12fe440d65a086c792fd60c2ebd900ca706762e 100755 (executable)
@@ -84,6 +84,13 @@ static DBusMessage *powerkey_popup(E_DBus_Object *obj, DBusMessage *msg)
        return launch_powerkey_popup(obj, msg, POWERKEY_SYSPOPUP);
 }
 
+/* Overheat popup */
+static DBusMessage *overheat_popup(E_DBus_Object *obj, DBusMessage *msg)
+{
+       set_timer_to_terminate();
+       return launch_overheat_popup(obj, msg, OVERHEAT_SYSPOPUP);
+}
+
 /* Crash popup */
 static DBusMessage *crash_popup(E_DBus_Object *obj, DBusMessage *msg)
 {
@@ -157,6 +164,12 @@ dbus_powerkey_methods[] = {
        /* Add methods here */
 };
 
+static const struct edbus_method
+dbus_overheat_methods[] = {
+       { "PopupLaunch", "a{ss}", "i", overheat_popup },
+       /* Add methods here */
+};
+
 static const struct edbus_method
 dbus_crash_methods[] = {
        { "PopupLaunch", "a{ss}", "i", crash_popup      },
@@ -166,32 +179,34 @@ dbus_crash_methods[] = {
 static const struct edbus_method
 dbus_noti_methods[] = {
        /* LED */
-       { "LedTorchNotiOn"                      , NULL          , "i"   , led_torch_noti_on                     },
-       { "LedTorhNotiOff"                      , "i"           , "i"   , noti_off                                      },
+       { "LedTorchNotiOn"              , NULL          , "i"   , led_torch_noti_on             },
+       { "LedTorhNotiOff"              , "i"           , "i"   , noti_off                      },
        /* USB storage */
        { "UsbStorageNotiOn"            , "s"           , "i"   , usb_storage_noti_on           },
        { "UsbStorageRoNotiOn"          , "s"           , "i"   , usb_storage_ro_noti_on        },
-       { "UsbStorageNotiOff"           , "i"           , "i"   , noti_off                                      },
-       { "UsbDeviceNotiOn"             , "ss"          , "i"   , usb_device_noti_on            },
-       { "UsbDeviceNotiUpdate"         , "isss"        , "i"   , usb_device_noti_update        },
-       { "UsbDeviceNotiOff"            , "i"           , "i"   , noti_off                                      },      
+       { "UsbStorageNotiOff"           , "i"           , "i"   , noti_off                      },
+       { "UsbDeviceNotiOn"             , "ss"          , "i"   , usb_device_noti_on            },
+       { "UsbDeviceNotiUpdate"         , "isss"        , "i"   , usb_device_noti_update        },
+       { "UsbDeviceNotiOff"            , "i"           , "i"   , noti_off                      },
        /* Battery */
        { "BatteryFullNotiOn"           , NULL          , "i"   , battery_full_noti_on          },
-       { "BatteryFullNotiOff"          , "i"           , "i"   , noti_off                                      },
+       { "BatteryFullNotiOff"          , "i"           , "i"   , noti_off                      },
        { "BatteryChargeNotiOn"         , NULL          , "i"   , battery_charge_noti_on        },
        /* Add notifications here */
 };
 
 static struct edbus_object
-edbus_objects[]= {
+edbus_objects[] = {
        { POPUP_PATH_SYSTEM             , POPUP_IFACE_SYSTEM    , NULL  , NULL  ,
-               dbus_system_methods     , ARRAY_SIZE(dbus_system_methods)               },
-       { POPUP_PATH_POWERKEY   , POPUP_IFACE_POWERKEY  , NULL  , NULL  ,
-               dbus_powerkey_methods   , ARRAY_SIZE(dbus_powerkey_methods)     },
-       { POPUP_PATH_NOTI               , POPUP_IFACE_NOTI              , NULL  , NULL  ,
-               dbus_noti_methods               , ARRAY_SIZE(dbus_noti_methods)                 },
-       { POPUP_PATH_CRASH              , POPUP_IFACE_CRASH             , NULL  , NULL  ,
-               dbus_crash_methods              , ARRAY_SIZE(dbus_crash_methods)                },
+               dbus_system_methods     , ARRAY_SIZE(dbus_system_methods)               },
+       { POPUP_PATH_POWERKEY           , POPUP_IFACE_POWERKEY  , NULL  , NULL  ,
+               dbus_powerkey_methods   , ARRAY_SIZE(dbus_powerkey_methods)             },
+       { POPUP_PATH_OVERHEAT           , POPUP_IFACE_OVERHEAT  , NULL  , NULL  ,
+               dbus_overheat_methods   , ARRAY_SIZE(dbus_overheat_methods)             },
+       { POPUP_PATH_NOTI               , POPUP_IFACE_NOTI      , NULL  , NULL  ,
+               dbus_noti_methods       , ARRAY_SIZE(dbus_noti_methods)                 },
+       { POPUP_PATH_CRASH              , POPUP_IFACE_CRASH     , NULL  , NULL  ,
+               dbus_crash_methods      , ARRAY_SIZE(dbus_crash_methods)                },
        /* Add new object & interface here*/
 };
 
@@ -286,7 +301,7 @@ out1:
        return ret;
 }
 
-int main (int argc, char *argv[])
+int main(int argc, char *argv[])
 {
        int ret;
 
@@ -296,7 +311,7 @@ int main (int argc, char *argv[])
        if (ret < 0)
                return ret;
 
-       ret= init_methods();
+       ret = init_methods();
        if (ret < 0)
                return ret;
 
index 67ec930db8c80949eaa43a9a2cfe5b32a667efb2..419d9224aa841c279cb01cf85882059fb2bcf574 100755 (executable)
@@ -31,6 +31,7 @@
 
 /* Popup names */
 #define POWERKEY_SYSPOPUP  "powerkey-syspopup"
+#define OVERHEAT_SYSPOPUP  "overheat-syspopup"
 #define SYSTEM_SYSPOPUP    "system-syspopup"
 #define CRASH_SYSPOPUP     "crash-syspopup"
 
@@ -103,10 +104,8 @@ struct edbus_object {
 };
 
 /* launch popup */
-DBusMessage *launch_popup(E_DBus_Object *obj,
-                               DBusMessage *msg, char *name);
-DBusMessage *launch_powerkey_popup(E_DBus_Object *obj,
-                               DBusMessage *msg, char *name);
-
+DBusMessage *launch_popup(E_DBus_Object *obj, DBusMessage *msg, char *name);
+DBusMessage *launch_powerkey_popup(E_DBus_Object *obj, DBusMessage *msg, char *name);
+DBusMessage *launch_overheat_popup(E_DBus_Object *obj, DBusMessage *msg, char *name);
 #endif /* __LAUNCHER_H__ */
 
index e396fc1872d99bd057ca9e30b68ad3088b81348c..146eddbc9fe7ca6ff6516330a298fe565acc5243 100755 (executable)
@@ -22,6 +22,7 @@
 
 #define POPUP_CONTENT          "_SYSPOPUP_CONTENT_"
 #define POPUP_NAME_POWERKEY    "powerkey"
+#define POPUP_NAME_OVERHEAT    "overheat"
 
 DBusMessage *launch_popup(E_DBus_Object *obj,
                                DBusMessage *msg, char *name)
@@ -120,3 +121,45 @@ out:
        dbus_message_iter_append_basic(&iter, DBUS_TYPE_INT32, &ret);
        return reply;
 }
+
+DBusMessage *launch_overheat_popup(E_DBus_Object *obj,
+                               DBusMessage *msg, char *name)
+{
+       DBusMessage *reply;
+       DBusMessageIter iter;
+       int ret;
+       bundle *b = NULL;
+
+       if (!name) {
+               ret = -EINVAL;
+               goto out;
+       }
+
+       _I("launch popup (%s)", name);
+
+       b = bundle_create();
+       if (!b) {
+               ret = -ENOMEM;
+               goto out;
+       }
+
+       ret = bundle_add(b, POPUP_CONTENT, POPUP_NAME_OVERHEAT);
+       if (ret < 0) {
+               _E("Failed to add bundle (%s,%s) (ret:%d)", POPUP_CONTENT, POPUP_NAME_OVERHEAT, ret);
+               goto out;
+       }
+
+       ret = syspopup_launch(name, b);
+       if (ret < 0)
+               _E("Failed to launch popup(%d)", ret);
+
+out:
+       if (b)
+               bundle_free(b);
+
+       reply = dbus_message_new_method_return(msg);
+       dbus_message_iter_init_append(reply, &iter);
+       dbus_message_iter_append_basic(&iter, DBUS_TYPE_INT32, &ret);
+
+       return reply;
+}
index e7ce7611f921ce28a95489a6ad535d17bedfb83c..59b71beef519a2e323c82cff825dba9f4339f3d3 100755 (executable)
@@ -9,5 +9,6 @@
        <privileges>
                <privilege>http://tizen.org/privilege/power</privilege>
                <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
+               <privilege>http://tizen.org/privilege/window.priority.set</privilege>
        </privileges>
 </manifest>
diff --git a/src/overheat/CMakeLists.txt b/src/overheat/CMakeLists.txt
new file mode 100755 (executable)
index 0000000..dd302c2
--- /dev/null
@@ -0,0 +1,75 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+
+IF("${OVERHEAT_POPUP}" STREQUAL "off")
+       RETURN()
+ENDIF("${OVERHEAT_POPUP}" STREQUAL "off")
+
+SET(OVERHEAT_SRCS ${COMMON_SRCS} overheat.c)
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
+INCLUDE_DIRECTORIES(${COMMON_DIR})
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/common)
+
+SET(VENDOR "tizen")
+SET(PACKAGE "overheat-syspopup")
+SET(EXECNAME "overheat-popup")
+SET(PKGNAME "org.${VENDOR}.${PACKAGE}")
+SET(OVERHEAT_PREFIX "${TZ_SYS_RO_APP}/${PKGNAME}")
+SET(RESDIR "${OVERHEAT_PREFIX}/res")
+SET(MANIFESTDIR "${TZ_SYS_RO_SHARE}/packages")
+SET(OVERHEAT_RES "${TZ_SYS_RO_APP}/${PKGNAME}/shared/res")
+
+SET(PKG_MODULES
+               appcore-efl
+               bundle
+               dlog
+               ecore
+               evas
+               syspopup
+               vconf
+               elementary
+               deviced
+               feedback
+               efl-extension
+               appsvc
+               edbus
+               capi-appfw-application
+)
+
+INCLUDE(FindPkgConfig)
+pkg_check_modules(overheat_pkgs REQUIRED ${PKG_MODULES})
+
+FOREACH(flag ${overheat_pkgs_CFLAGS})
+       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
+
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -O2 -g -Wall -fpie")
+SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -fpie")
+SET(CMAKE_C_FLAGS_RELEASE "-O2 -fpie")
+
+ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
+ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
+ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+ADD_DEFINITIONS("-DOVERHEAT_RES=\"${OVERHEAT_RES}\"")
+ADD_DEFINITIONS("-DELM_OVERHEAT_EDC=\"${OVERHEAT_RES}/${EXECNAME}.edj\"")
+
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
+
+ADD_EXECUTABLE(${EXECNAME} ${OVERHEAT_SRCS})
+TARGET_LINK_LIBRARIES(${EXECNAME} ${overheat_pkgs_LDFLAGS})
+
+INSTALL(TARGETS ${EXECNAME} DESTINATION ${TZ_SYS_RO_APP}/${PKGNAME}/bin)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/overheat/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
+
+ADD_CUSTOM_TARGET(${EXECNAME}.edj
+       COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/overheat/${EXECNAME}.edc ${CMAKE_BINARY_DIR}/${EXECNAME}.edj
+       DEPENDS ${CMAKE_SOURCE_DIR}/src/overheat/${EXECNAME}.edc
+       COMMENT "making edj file"
+)
+ADD_DEPENDENCIES(${EXECNAME} ${EXECNAME}.edj)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${EXECNAME}.edj DESTINATION ${OVERHEAT_RES})
+
+# install manifest file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/overheat/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
diff --git a/src/overheat/org.tizen.overheat-syspopup.xml b/src/overheat/org.tizen.overheat-syspopup.xml
new file mode 100755 (executable)
index 0000000..d6418c5
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.overheat-syspopup" api-version="3.0" version="0.2.0" install-location="internal-only">
+       <label>Overheat system popup</label>
+       <author email="changjoo.lee@samsung.com" href="www.samsung.com">ChangJoo Lee</author>
+       <description>System popup application (overheat system popup)</description>
+       <ui-application appid="org.tizen.overheat-syspopup" exec="/usr/apps/org.tizen.overheat-syspopup/bin/overheat-popup" nodisplay="true" multiple="false" type="capp" taskmanage="false">
+               <label>Overheat system popup</label>
+       </ui-application>
+       <privileges>
+               <privilege>http://tizen.org/privilege/power</privilege>
+               <privilege>http://tizen.org/privilege/window.priority.set</privilege>
+       </privileges>
+</manifest>
diff --git a/src/overheat/overheat-popup.edc b/src/overheat/overheat-popup.edc
new file mode 100755 (executable)
index 0000000..6252790
--- /dev/null
@@ -0,0 +1,1162 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+collections {
+       base_scale: 2.6;
+
+       #define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 27
+       #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15
+       #define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 15
+       #define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 27
+       #define POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC 96
+
+       #define POPUP_IMAGE_VIEW_LAYOUT_BG_MIN_INC 0 112
+       #define POPUP_IMAGE_SWALLOW_CONTENT_PADDING_BOTTOM_MIN_INC 0 20
+       #define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 38
+       #define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 162
+       #define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 90
+       #define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 50 50
+       #define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252
+
+       #define POPUP_TEXT_INPUTTEXT_VIEW_LAYOUT_BG_MIN_INC 480 159
+
+       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC 15 27
+       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_TEXT_FONT_SIZE_INC 0 38
+       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_INC 0 69
+       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_MIN_INC 0 161
+
+       #define POPUP_PROGRESSBAR_2TEXT_VIEW_LAYOUT_BG_MIN_INC 0 193
+       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_SUBTEXT_FONT_SIZE_INC 0 32
+
+       #define POPUP_GROUP_INDEX_BG_MIN_INC 0 52
+       #define POPUP_GROUP_INDEX_PROCESSING_MIN_INC 28 28
+       #define POPUP_GROUP_INDEX_PROCESSING_MAX_INC 28 28
+       #define POPUP_GROUP_INDEX_PADDING_BEFORE_SWALLOW_MIN_INC 15 52
+       #define POPUP_GROUP_INDEX_TEXT_MIN_INC 0 52
+
+       #define POPUP_TEXT_SLIDER_VIEW_LAYOUT_MIN_INC 0 144
+       #define POPUP_TEXT_SLIDER_PADDING_SIZE_INC 15 27
+       #define POPUP_TEXT_SLIDER_TEXT_DISCRIPTION_MIN_INC 0 38
+       #define POPUP_TEXT_SLIDER_BG_MIN_INC 0 42
+       #define POPUP_SLIDER_PADDING_LEFT_MIN_INC 10 0
+
+       #define POPUP_2TEXT_SLIDER_VIEW_LAYOUT_MIN_INC 0 176
+       #define POPUP_TEXT_SLIDER_SUBTEXT_DISCRIPTION_MIN_INC 0 32
+
+       #define POPUP_SCROLLABLE_TEXT_VIEW_BG_HEIGHT_INC 252
+
+       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MIN_INC 36 36
+       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MAX_INC 36 36
+       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_PADDING_AFTER_INC 15 90
+       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_INC 0 90
+       #define POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC 0 90
+       #define OVERHEAT_POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC 0 180
+
+       #define POPUP_TEXT_FONT_SIZE0 40
+       #define POPUP_TEXT_FONT_SIZE1 30
+       #define POPUP_TEXT_FONT_SIZE2 24
+       #define POPUP_TEXT_FONT_SIZE3 27
+
+       group { name: "popup_image_list_layout";
+          styles {
+             style { name: "popup_content_style";
+                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
+                tag: "br" "\n";
+                tag: "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_IMAGE_VIEW_LAYOUT_BG_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 0.0 0.0;
+                   rel2.relative: 0.0 1.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 1.0 0.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 0.0;
+                }
+             }
+             part { name: "pad_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   align: 0.0 0.0;
+                   min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 0.0;to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;to_x: "pad_r";
+                   }
+                }
+             }
+             part { name: "content_bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l";
+                      to_y: "pad_t";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to_x: "pad_r";
+                      to_y: "pad_b";
+                   }
+                   align: 0.5 0.5;
+                }
+             }
+             part { name: "elm.swallow.content";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 1 0;
+                   rel1.to: "content_bg";
+                   rel2.to: "content_bg";
+                }
+             }
+             part { name: "pad_b";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_IMAGE_SWALLOW_CONTENT_PADDING_BOTTOM_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_x: "pad_l";
+                      to_y: "elm.text";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to_x: "pad_r";
+                      to_y: "elm.text";
+                   }
+                   align: 0.0 1.0;
+                }
+             }
+             part { name: "elm.text";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: 0 POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC;
+                   fixed: 0 1;
+                   align: 0.0 1.0;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_x: "pad_l";
+                      to_y: "pad_bottom";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to_x: "pad_r";
+                      to_y: "pad_bottom";
+                   }
+                   text {
+                      style: "popup_content_style";
+                      min: 0 1;
+                   }
+                   color: 0 0 0 255;
+                }
+             }
+             part { name: "pad_bottom";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   align: 0.0 1.0;
+                   min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r";
+                   }
+                }
+             }
+          }
+       }
+
+       group { name: "popup_checkview_layout";
+          parts {
+             part { name: "bg";
+                scale: 1;
+                type: SPACER;
+                description { state: "default" 0.0;
+                   min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 0.0 0.0;
+                   rel2.relative: 0.0 1.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 1.0 0.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 0.0;
+                }
+             }
+             part { name: "elm.swallow.content";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
+                   align: 0.5 0.0;
+                   rel2 {
+                      relative: 1.0 0.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+             part { name: "pad_b";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   align: 0.0 1.0;
+                   min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
+                   fixed: 0 1;
+                   rel1.relative: 0.0 1.0;
+                }
+             }
+             part { name: "elm.swallow.end";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   align: 0.0 0.5;
+                   min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
+                   fixed: 1 1;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l";
+                      to_y: "pad_b";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to_x: "pad_r";
+                      to_y: "pad_b";
+                   }
+                }
+             }
+          }
+       }
+
+       group { name: "processing_view_layout";
+          styles {
+             style { name: "popup_processing_style";
+                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
+                tag:  "br" "\n";
+                tag:  "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 0.0 0.0;
+                   rel2.relative: 0.0 1.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 1.0 0.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 0.0;
+                }
+             }
+             part { name: "processing";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 1 1;
+                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MIN_INC;
+                   max: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MAX_INC;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r";
+                   }
+                   align: 0.0 0.5;
+                }
+             }
+             part { name: "pad_after_processing";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 1 1;
+                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_PADDING_AFTER_INC;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to: "processing";
+                   }
+                   rel2.to: "processing";
+                   align: 0.0 0.5;
+                }
+             }
+             part { name: "elm.text";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to: "pad_after_processing";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r";
+                   }
+                   align: 0.0 0.5;
+                   text {
+                      style: "popup_processing_style";
+                      min: 0 1;
+                   }
+                }
+             }
+          }
+       }
+
+       group { name: "overheat_view_layout";
+          styles {
+             style { name: "overheat_progress_style";
+                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE0" color=#000000 wrap=mixed text_class=tizen";
+                tag:  "br" "\n";
+                tag:  "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: OVERHEAT_POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC;
+                }
+             }
+             part { name: "pad_l";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 0.0 0.0;
+                      to: "bg";
+                   }
+                               rel2 {
+                      relative: 0.0 1.0;
+                      to: "bg";
+                   }
+                   align: 0.0 0.5;
+                }
+             }
+             part { name: "pad_r";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to: "bg";
+                   }
+                               rel2 {
+                      relative: 1.0 1.0;
+                      to: "bg";
+                   }
+                   align: 1.0 0.5;
+                }
+             }
+             part { name: "processing";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MIN_INC;
+                   max: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MAX_INC;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 1.0 0.0;
+                      to: "pad_after_processing";
+                   }
+                   align: 0.5 0.5;
+                   fixed: 1 1;
+                }
+             }
+             part { name: "pad_after_processing";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: 0 10;
+                   rel1 {
+                      to: "elm.text";
+                      relative: 0.0 0.0;
+                   }
+                   rel2 {
+                      to: "elm.text";
+                      relative: 1.0 0.0;
+                   }
+                   align: 0.5 1.0;
+                   fixed: 0 1;
+                }
+             }
+             part { name: "elm.text";
+                type: TEXTBLOCK;
+                scale: 1;
+                multiline: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r";
+                   }
+                   align: 0.5 1.0;
+                   fixed: 0 1;
+                   text {
+                      style: "overheat_progress_style";
+                      min: 0 1;
+                   }
+                }
+             }
+          }
+       }
+
+       group { name: "popup_text_progressbar_view_layout";
+          styles {
+             style { name: "popup_progress_style";
+                base: "font=Tizen:style=Regular align=right font_size="14" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
+                tag:  "br" "\n";
+                tag:  "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   fixed: 1 1;
+                   rel2.relative: 0.0 0.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   fixed: 1 1;
+                   rel1.relative: 1.0 1.0;
+                   align: 1.0 1.0;
+                }
+             }
+             part { name: "elm.text.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_TEXT_FONT_SIZE_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "pad_l_t";
+                   }
+                   text {
+                      style: "popup_processing_style";
+                      min: 0 1;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "progressbar_bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l_t";
+                      to_y: "elm.text.description";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "elm.text.description";
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "progressbar";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   rel1.to: "progressbar_bg";
+                   rel2.to: "progressbar_bg";
+                }
+             }
+          }
+       }
+
+       group { name: "popup_2text_progressbar_view_layout";
+          styles {
+             style { name: "popup_subtext_style";
+                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE2" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
+                tag:  "br" "\n";
+                tag:  "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_2TEXT_VIEW_LAYOUT_BG_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   fixed: 1 1;
+                   rel2.relative: 0.0 0.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
+                   fixed: 1 1;
+                   rel1.relative: 1.0 1.0;
+                   align: 1.0 1.0;
+                }
+             }
+             part { name: "elm.text.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_TEXT_FONT_SIZE_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "pad_l_t";
+                   }
+                   text {
+                      style: "popup_processing_style";
+                      min: 0 1;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "elm.subtext.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_SUBTEXT_FONT_SIZE_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l_t";
+                      to_y: "elm.text.description";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "elm.text.description";
+                   }
+                   text {
+                      style: "popup_subtext_style";
+                      min: 0 1;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "progressbar_bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l_t";
+                      to_y: "elm.subtext.description";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "elm.subtext.description";
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "progressbar";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   rel1.to: "progressbar_bg";
+                   rel2.to: "progressbar_bg";
+                }
+             }
+          }
+       }
+
+       group { name: "popup_groupindex_view_layout";
+          styles {
+             style { name: "popup_groupindex_style";
+                base: "font=Tizen:style=Regular align=right font_size="POPUP_TEXT_FONT_SIZE3" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
+                tag:  "br" "\n";
+                tag:  "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                }
+             }
+             part { name: "pad_l";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 0.0 0.0;
+                   rel2.relative: 0.0 1.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 1.0 0.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 0.0;
+                }
+             }
+             part { name: "index_bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_GROUP_INDEX_BG_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to: "pad_r";
+                   }
+                   align: 0.5 0.0;
+                }
+             }
+             part { name: "processing";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_GROUP_INDEX_PROCESSING_MIN_INC;
+                   max: POPUP_GROUP_INDEX_PROCESSING_MAX_INC;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to: "index_bg";
+                   }
+                   rel2.to: "index_bg";
+                   align: 1.0 0.5;
+                }
+             }
+             part { name: "pad_before_swallow";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_GROUP_INDEX_PADDING_BEFORE_SWALLOW_MIN_INC;
+                   rel1 {
+                      relative: 0.0 0.0;
+                      to: "processing";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to: "processing";
+                   }
+                   align: 1.0 0.5;
+                }
+             }
+             part { name: "elm.text";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_GROUP_INDEX_TEXT_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 0.0 0.0;
+                      to: "index_bg";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_before_swallow";
+                      to_y: "index_bg";
+                   }
+                   align: 0.5 0.0;
+                   text {
+                      style: "popup_groupindex_style";
+                      min: 0 1;
+                   }
+                }
+             }
+             part { name: "genlist";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   rel1 {
+                      relative: 0.0 1.0;
+                      to_y: "index_bg";
+                   }
+                   align: 0.5 0.0;
+                }
+             }
+          }
+       }
+
+       group { name: "popup_text_slider_view_layout";
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_SLIDER_VIEW_LAYOUT_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   fixed: 1 1;
+                   rel1 {
+                      relative: 0.0 0.0;
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   fixed: 1 1;
+                   rel1.relative: 1.0 1.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 1.0;
+                }
+             }
+             part { name: "elm.text.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_TEXT_SLIDER_TEXT_DISCRIPTION_MIN_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "pad_l_t";
+                   }
+                   text {
+                      style: "popup_processing_style";
+                      min: 0 1;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "slider";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_TEXT_SLIDER_BG_MIN_INC;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_y: "pad_r_t";
+                      to_x: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to: "pad_r_t";
+                   }
+                   align: 0.0 1.0;
+                }
+             }
+          }
+       }
+
+       group { name: "popup_2text_slider_view_layout";
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_2TEXT_SLIDER_VIEW_LAYOUT_MIN_INC;
+                   fixed: 1 0;
+                }
+             }
+             part { name: "pad_l_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   fixed: 1 1;
+                   rel1 {
+                      relative: 0.0 0.0;
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
+                   fixed: 1 1;
+                   rel1.relative: 1.0 1.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 1.0;
+                }
+             }
+             part { name: "elm.text.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_TEXT_SLIDER_TEXT_DISCRIPTION_MIN_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "pad_l_t";
+                   }
+                   text {
+                      style: "popup_processing_style";
+                      min: 0 1;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "elm.subtext.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_SLIDER_SUBTEXT_DISCRIPTION_MIN_INC;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to_x: "pad_l_t";
+                      to_y: "elm.text.description";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to_x: "pad_r_t";
+                      to_y: "elm.text.description";
+                   }
+                   text {
+                      style: "popup_subtext_style";
+                      min: 0 1;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "slider";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   fixed: 0 1;
+                   min: POPUP_TEXT_SLIDER_BG_MIN_INC;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_y: "pad_r_t";
+                      to_x: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to: "pad_r_t";
+                   }
+                   align: 0.0 1.0;
+                }
+             }
+          }
+       }
+
+       group { name: "popup_scrollable_text";
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: 0 POPUP_SCROLLABLE_TEXT_VIEW_BG_HEIGHT_INC;
+                   max: -1 POPUP_SCROLLABLE_TEXT_VIEW_BG_HEIGHT_INC;
+                }
+             }
+             part { name: "elm.swallow.content";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                }
+             }
+          }
+       }
+
+       group { name: "popup_input_text";
+          parts {
+             part { name: "pad_l";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 0.0 0.0;
+                   rel2.relative: 0.0 1.0;
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
+                   fixed: 1 0;
+                   rel1.relative: 1.0 0.0;
+                   rel2.relative: 1.0 1.0;
+                   align: 1.0 0.0;
+                }
+             }
+             part { name: "elm.swallow.content";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
+                   max: -1 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
+                   align: 0.5 0.5;
+                   rel1{
+                      relative: 1.0 0.0 ;
+                      to_x: "pad_l";
+                   }
+                   rel2{
+                      relative: 0.0 1.0;
+                      to_x: "pad_r";
+                   }
+                }
+             }
+          }
+       }
+
+       group { name: "popup_text_input_text";
+          styles {
+             style { name: "popup_input_style";
+                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed text_class=tizen";
+                tag:  "br" "\n";
+                tag:  "tab" "\t";
+             }
+          }
+          parts {
+             part { name: "bg";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_TEXT_INPUTTEXT_VIEW_LAYOUT_BG_MIN_INC;
+                }
+             }
+             part { name: "pad_l_t";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
+                   max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
+                   fixed: 1 1;
+                   rel1.to: "bg";
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to: "bg";
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r_b";
+                type: SPACER;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
+                   max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
+                   fixed: 1 1;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to: "bg";
+                   }
+                   rel2.to: "bg";
+                   align: 1.0 1.0;
+                }
+             }
+             part { name: "elm.text.description";
+                type: TEXTBLOCK;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: 0 POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC;
+                   rel1 {
+                      relative: 1.0 1.0;
+                      to: "pad_l_t";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;
+                      to_x: "pad_r_b";
+                      to_y: "elm.swallow.content";
+                   }
+                   text {
+                      style: "popup_input_style";
+                      min: 0 1;
+                   }
+                   align: 0.5 0.0;
+                }
+             }
+             part { name: "elm.swallow.content";
+                type: SWALLOW;
+                scale: 1;
+                description { state: "default" 0.0;
+                   min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
+                   max: -1 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
+                   fixed: 0 1;
+                   align: 0.0 1.0;
+                   rel1{
+                      relative: 1.0 0.0 ;
+                      to_x: "pad_l_t";
+                      to_y: "pad_r_b";
+                   }
+                   rel2{
+                      relative: 0.0 0.0;
+                      to: "pad_r_b";
+                   }
+                }
+             }
+          }
+       }
+}
diff --git a/src/overheat/system-syspopup.edc b/src/overheat/system-syspopup.edc
deleted file mode 100755 (executable)
index 4645c06..0000000
+++ /dev/null
@@ -1,1162 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-collections {
-   base_scale: 2.6;
-
-       #define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 27
-       #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15
-       #define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 15
-       #define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 27
-       #define POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC 96
-
-       #define POPUP_IMAGE_VIEW_LAYOUT_BG_MIN_INC 0 112
-       #define POPUP_IMAGE_SWALLOW_CONTENT_PADDING_BOTTOM_MIN_INC 0 20
-       #define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 38
-       #define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 162
-       #define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 90
-       #define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 50 50
-       #define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252
-
-       #define POPUP_TEXT_INPUTTEXT_VIEW_LAYOUT_BG_MIN_INC 480 159
-
-       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC 15 27
-       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_TEXT_FONT_SIZE_INC 0 38
-       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_INC 0 69
-       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_MIN_INC 0 161
-
-       #define POPUP_PROGRESSBAR_2TEXT_VIEW_LAYOUT_BG_MIN_INC 0 193
-       #define POPUP_PROGRESSBAR_VIEW_LAYOUT_SUBTEXT_FONT_SIZE_INC 0 32
-
-       #define POPUP_GROUP_INDEX_BG_MIN_INC 0 52
-       #define POPUP_GROUP_INDEX_PROCESSING_MIN_INC 28 28
-       #define POPUP_GROUP_INDEX_PROCESSING_MAX_INC 28 28
-       #define POPUP_GROUP_INDEX_PADDING_BEFORE_SWALLOW_MIN_INC 15 52
-       #define POPUP_GROUP_INDEX_TEXT_MIN_INC 0 52
-
-       #define POPUP_TEXT_SLIDER_VIEW_LAYOUT_MIN_INC 0 144
-       #define POPUP_TEXT_SLIDER_PADDING_SIZE_INC 15 27
-       #define POPUP_TEXT_SLIDER_TEXT_DISCRIPTION_MIN_INC 0 38
-       #define POPUP_TEXT_SLIDER_BG_MIN_INC 0 42
-       #define POPUP_SLIDER_PADDING_LEFT_MIN_INC 10 0
-
-       #define POPUP_2TEXT_SLIDER_VIEW_LAYOUT_MIN_INC 0 176
-       #define POPUP_TEXT_SLIDER_SUBTEXT_DISCRIPTION_MIN_INC 0 32
-
-       #define POPUP_SCROLLABLE_TEXT_VIEW_BG_HEIGHT_INC 252
-
-       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MIN_INC 36 36
-       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MAX_INC 36 36
-       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_PADDING_AFTER_INC 15 90
-       #define POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_INC 0 90
-       #define POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC 0 90
-       #define OVERHEAT_POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC 0 180
-
-       #define POPUP_TEXT_FONT_SIZE0 40
-       #define POPUP_TEXT_FONT_SIZE1 30
-       #define POPUP_TEXT_FONT_SIZE2 24
-       #define POPUP_TEXT_FONT_SIZE3 27
-
-       group { name: "popup_image_list_layout";
-          styles {
-             style { name: "popup_content_style";
-                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
-                tag: "br" "\n";
-                tag: "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_IMAGE_VIEW_LAYOUT_BG_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 0.0 0.0;
-                   rel2.relative: 0.0 1.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 1.0 0.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 0.0;
-                }
-             }
-             part { name: "pad_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   align: 0.0 0.0;
-                   min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 0.0;to_x: "pad_l";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;to_x: "pad_r";
-                   }
-                }
-             }
-             part { name: "content_bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 1 0;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l";
-                      to_y: "pad_t";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to_x: "pad_r";
-                      to_y: "pad_b";
-                   }
-                   align: 0.5 0.5;
-                }
-             }
-             part { name: "elm.swallow.content";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 1 0;
-                   rel1.to: "content_bg";
-                   rel2.to: "content_bg";
-                }
-             }
-             part { name: "pad_b";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_IMAGE_SWALLOW_CONTENT_PADDING_BOTTOM_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to_x: "pad_l";
-                      to_y: "elm.text";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to_x: "pad_r";
-                      to_y: "elm.text";
-                   }
-                   align: 0.0 1.0;
-                }
-             }
-             part { name: "elm.text";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: 0 POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC;
-                   fixed: 0 1;
-                   align: 0.0 1.0;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to_x: "pad_l";
-                      to_y: "pad_bottom";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to_x: "pad_r";
-                      to_y: "pad_bottom";
-                   }
-                   text {
-                      style: "popup_content_style";
-                      min: 0 1;
-                   }
-                   color: 0 0 0 255;
-                }
-             }
-             part { name: "pad_bottom";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   align: 0.0 1.0;
-                   min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r";
-                   }
-                }
-             }
-          }
-       }
-
-       group { name: "popup_checkview_layout";
-          parts {
-             part { name: "bg";
-                scale: 1;
-                type: SPACER;
-                description { state: "default" 0.0;
-                   min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 0.0 0.0;
-                   rel2.relative: 0.0 1.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 1.0 0.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 0.0;
-                }
-             }
-             part { name: "elm.swallow.content";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
-                   align: 0.5 0.0;
-                   rel2 {
-                      relative: 1.0 0.0;
-                      to: "pad_b";
-                   }
-                }
-             }
-             part { name: "pad_b";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   align: 0.0 1.0;
-                   min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
-                   fixed: 0 1;
-                   rel1.relative: 0.0 1.0;
-                }
-             }
-             part { name: "elm.swallow.end";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   align: 0.0 0.5;
-                   min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
-                   fixed: 1 1;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l";
-                      to_y: "pad_b";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to_x: "pad_r";
-                      to_y: "pad_b";
-                   }
-                }
-             }
-          }
-       }
-
-       group { name: "processing_view_layout";
-          styles {
-             style { name: "popup_processing_style";
-                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
-                tag:  "br" "\n";
-                tag:  "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 0.0 0.0;
-                   rel2.relative: 0.0 1.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 1.0 0.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 0.0;
-                }
-             }
-             part { name: "processing";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 1 1;
-                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MIN_INC;
-                   max: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MAX_INC;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to_x: "pad_l";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r";
-                   }
-                   align: 0.0 0.5;
-                }
-             }
-             part { name: "pad_after_processing";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 1 1;
-                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_PADDING_AFTER_INC;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to: "processing";
-                   }
-                   rel2.to: "processing";
-                   align: 0.0 0.5;
-                }
-             }
-             part { name: "elm.text";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to: "pad_after_processing";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r";
-                   }
-                   align: 0.0 0.5;
-                   text {
-                      style: "popup_processing_style";
-                      min: 0 1;
-                   }
-                }
-             }
-          }
-       }
-
-       group { name: "overheat_view_layout";
-          styles {
-             style { name: "overheat_progress_style";
-                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE0" color=#000000 wrap=mixed text_class=tizen";
-                tag:  "br" "\n";
-                tag:  "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: OVERHEAT_POPUP_PROCESSING_VIEW_LAYOUT_BG_MIN_INC;
-                }
-             }
-             part { name: "pad_l";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1 {
-                      relative: 0.0 0.0;
-                      to: "bg";
-                   }
-                               rel2 {
-                      relative: 0.0 1.0;
-                      to: "bg";
-                   }
-                   align: 0.0 0.5;
-                }
-             }
-             part { name: "pad_r";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to: "bg";
-                   }
-                               rel2 {
-                      relative: 1.0 1.0;
-                      to: "bg";
-                   }
-                   align: 1.0 0.5;
-                }
-             }
-             part { name: "processing";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MIN_INC;
-                   max: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_MAX_INC;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to_x: "pad_l";
-                   }
-                   rel2 {
-                      relative: 1.0 0.0;
-                      to: "pad_after_processing";
-                   }
-                   align: 0.5 0.5;
-                   fixed: 1 1;
-                }
-             }
-             part { name: "pad_after_processing";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: 0 10;
-                   rel1 {
-                      to: "elm.text";
-                      relative: 0.0 0.0;
-                   }
-                   rel2 {
-                      to: "elm.text";
-                      relative: 1.0 0.0;
-                   }
-                   align: 0.5 1.0;
-                   fixed: 0 1;
-                }
-             }
-             part { name: "elm.text";
-                type: TEXTBLOCK;
-                scale: 1;
-                multiline: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROCESSING_SWALLOW_VIEW_LAYOUT_TEXT_MIN_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r";
-                   }
-                   align: 0.5 1.0;
-                   fixed: 0 1;
-                   text {
-                      style: "overheat_progress_style";
-                      min: 0 1;
-                   }
-                }
-             }
-          }
-       }
-
-       group { name: "popup_text_progressbar_view_layout";
-          styles {
-             style { name: "popup_progress_style";
-                base: "font=Tizen:style=Regular align=right font_size="14" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
-                tag:  "br" "\n";
-                tag:  "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   fixed: 1 1;
-                   rel2.relative: 0.0 0.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   fixed: 1 1;
-                   rel1.relative: 1.0 1.0;
-                   align: 1.0 1.0;
-                }
-             }
-             part { name: "elm.text.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_TEXT_FONT_SIZE_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "pad_l_t";
-                   }
-                   text {
-                      style: "popup_processing_style";
-                      min: 0 1;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "progressbar_bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l_t";
-                      to_y: "elm.text.description";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "elm.text.description";
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "progressbar";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   rel1.to: "progressbar_bg";
-                   rel2.to: "progressbar_bg";
-                }
-             }
-          }
-       }
-
-       group { name: "popup_2text_progressbar_view_layout";
-          styles {
-             style { name: "popup_subtext_style";
-                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE2" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
-                tag:  "br" "\n";
-                tag:  "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_2TEXT_VIEW_LAYOUT_BG_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   fixed: 1 1;
-                   rel2.relative: 0.0 0.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   max: POPUP_PROGRESSBAR_VIEW_LAYOUT_PADDING_INC;
-                   fixed: 1 1;
-                   rel1.relative: 1.0 1.0;
-                   align: 1.0 1.0;
-                }
-             }
-             part { name: "elm.text.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_TEXT_FONT_SIZE_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "pad_l_t";
-                   }
-                   text {
-                      style: "popup_processing_style";
-                      min: 0 1;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "elm.subtext.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_SUBTEXT_FONT_SIZE_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l_t";
-                      to_y: "elm.text.description";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "elm.text.description";
-                   }
-                   text {
-                      style: "popup_subtext_style";
-                      min: 0 1;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "progressbar_bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_PROGRESSBAR_VIEW_LAYOUT_BG_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l_t";
-                      to_y: "elm.subtext.description";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "elm.subtext.description";
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "progressbar";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   rel1.to: "progressbar_bg";
-                   rel2.to: "progressbar_bg";
-                }
-             }
-          }
-       }
-
-       group { name: "popup_groupindex_view_layout";
-          styles {
-             style { name: "popup_groupindex_style";
-                base: "font=Tizen:style=Regular align=right font_size="POPUP_TEXT_FONT_SIZE3" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
-                tag:  "br" "\n";
-                tag:  "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                }
-             }
-             part { name: "pad_l";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 0.0 0.0;
-                   rel2.relative: 0.0 1.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 1.0 0.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 0.0;
-                }
-             }
-             part { name: "index_bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_GROUP_INDEX_BG_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to: "pad_l";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to: "pad_r";
-                   }
-                   align: 0.5 0.0;
-                }
-             }
-             part { name: "processing";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_GROUP_INDEX_PROCESSING_MIN_INC;
-                   max: POPUP_GROUP_INDEX_PROCESSING_MAX_INC;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to: "index_bg";
-                   }
-                   rel2.to: "index_bg";
-                   align: 1.0 0.5;
-                }
-             }
-             part { name: "pad_before_swallow";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_GROUP_INDEX_PADDING_BEFORE_SWALLOW_MIN_INC;
-                   rel1 {
-                      relative: 0.0 0.0;
-                      to: "processing";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to: "processing";
-                   }
-                   align: 1.0 0.5;
-                }
-             }
-             part { name: "elm.text";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_GROUP_INDEX_TEXT_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 0.0 0.0;
-                      to: "index_bg";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_before_swallow";
-                      to_y: "index_bg";
-                   }
-                   align: 0.5 0.0;
-                   text {
-                      style: "popup_groupindex_style";
-                      min: 0 1;
-                   }
-                }
-             }
-             part { name: "genlist";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   rel1 {
-                      relative: 0.0 1.0;
-                      to_y: "index_bg";
-                   }
-                   align: 0.5 0.0;
-                }
-             }
-          }
-}
-
-       group { name: "popup_text_slider_view_layout";
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_SLIDER_VIEW_LAYOUT_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   fixed: 1 1;
-                   rel1 {
-                      relative: 0.0 0.0;
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   fixed: 1 1;
-                   rel1.relative: 1.0 1.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 1.0;
-                }
-             }
-             part { name: "elm.text.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_TEXT_SLIDER_TEXT_DISCRIPTION_MIN_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "pad_l_t";
-                   }
-                   text {
-                      style: "popup_processing_style";
-                      min: 0 1;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "slider";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_TEXT_SLIDER_BG_MIN_INC;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to_y: "pad_r_t";
-                      to_x: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to: "pad_r_t";
-                   }
-                   align: 0.0 1.0;
-                }
-             }
-          }
-       }
-
-       group { name: "popup_2text_slider_view_layout";
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_2TEXT_SLIDER_VIEW_LAYOUT_MIN_INC;
-                   fixed: 1 0;
-                }
-             }
-             part { name: "pad_l_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   fixed: 1 1;
-                   rel1 {
-                      relative: 0.0 0.0;
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   max: POPUP_TEXT_SLIDER_PADDING_SIZE_INC;
-                   fixed: 1 1;
-                   rel1.relative: 1.0 1.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 1.0;
-                }
-             }
-             part { name: "elm.text.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_TEXT_SLIDER_TEXT_DISCRIPTION_MIN_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "pad_l_t";
-                   }
-                   text {
-                      style: "popup_processing_style";
-                      min: 0 1;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "elm.subtext.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_SLIDER_SUBTEXT_DISCRIPTION_MIN_INC;
-                   fixed: 0 1;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to_x: "pad_l_t";
-                      to_y: "elm.text.description";
-                   }
-                   rel2 {
-                      relative: 0.0 1.0;
-                      to_x: "pad_r_t";
-                      to_y: "elm.text.description";
-                   }
-                   text {
-                      style: "popup_subtext_style";
-                      min: 0 1;
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "slider";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   fixed: 0 1;
-                   min: POPUP_TEXT_SLIDER_BG_MIN_INC;
-                   rel1 {
-                      relative: 1.0 0.0;
-                      to_y: "pad_r_t";
-                      to_x: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to: "pad_r_t";
-                   }
-                   align: 0.0 1.0;
-                }
-             }
-          }
-       }
-
-       group { name: "popup_scrollable_text";
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: 0 POPUP_SCROLLABLE_TEXT_VIEW_BG_HEIGHT_INC;
-                   max: -1 POPUP_SCROLLABLE_TEXT_VIEW_BG_HEIGHT_INC;
-                }
-             }
-             part { name: "elm.swallow.content";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                }
-             }
-          }
-       }
-
-       group { name: "popup_input_text";
-          parts {
-             part { name: "pad_l";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 0.0 0.0;
-                   rel2.relative: 0.0 1.0;
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
-                   fixed: 1 0;
-                   rel1.relative: 1.0 0.0;
-                   rel2.relative: 1.0 1.0;
-                   align: 1.0 0.0;
-                }
-             }
-             part { name: "elm.swallow.content";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
-                   max: -1 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
-                   align: 0.5 0.5;
-                   rel1{
-                      relative: 1.0 0.0 ;
-                      to_x: "pad_l";
-                   }
-                   rel2{
-                      relative: 0.0 1.0;
-                      to_x: "pad_r";
-                   }
-                }
-             }
-          }
-       }
-
-       group { name: "popup_text_input_text";
-          styles {
-             style { name: "popup_input_style";
-                base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed text_class=tizen";
-                tag:  "br" "\n";
-                tag:  "tab" "\t";
-             }
-          }
-          parts {
-             part { name: "bg";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_TEXT_INPUTTEXT_VIEW_LAYOUT_BG_MIN_INC;
-                }
-             }
-             part { name: "pad_l_t";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
-                   max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
-                   fixed: 1 1;
-                   rel1.to: "bg";
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to: "bg";
-                   }
-                   align: 0.0 0.0;
-                }
-             }
-             part { name: "pad_r_b";
-                type: SPACER;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
-                   max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
-                   fixed: 1 1;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to: "bg";
-                   }
-                   rel2.to: "bg";
-                   align: 1.0 1.0;
-                }
-             }
-             part { name: "elm.text.description";
-                type: TEXTBLOCK;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: 0 POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC;
-                   rel1 {
-                      relative: 1.0 1.0;
-                      to: "pad_l_t";
-                   }
-                   rel2 {
-                      relative: 0.0 0.0;
-                      to_x: "pad_r_b";
-                      to_y: "elm.swallow.content";
-                   }
-                   text {
-                      style: "popup_input_style";
-                      min: 0 1;
-                   }
-                   align: 0.5 0.0;
-                }
-             }
-             part { name: "elm.swallow.content";
-                type: SWALLOW;
-                scale: 1;
-                description { state: "default" 0.0;
-                   min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
-                   max: -1 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
-                   fixed: 0 1;
-                   align: 0.0 1.0;
-                   rel1{
-                      relative: 1.0 0.0 ;
-                      to_x: "pad_l_t";
-                      to_y: "pad_r_b";
-                   }
-                   rel2{
-                      relative: 0.0 0.0;
-                      to: "pad_r_b";
-                   }
-                }
-             }
-          }
-       }
-}