TizenRefApp-9220 [Call UI] Modify code according to latest GUI changes 98/146998/1
authorIgor Olshevskyi <i.olshevskyi@samsung.com>
Wed, 30 Aug 2017 12:02:39 +0000 (15:02 +0300)
committerIgor Olshevskyi <i.olshevskyi@samsung.com>
Wed, 30 Aug 2017 12:02:39 +0000 (15:02 +0300)
Change-Id: Ie793779db21a6614faf94f9ab7c1a2b52e1cbdfd

call-ui/presenters/misc/CallInfoPresenter.cpp
edc/buttons.edc
edc/call_info.edc
edc/color_classes.edc
edc/images/w_outgoing_icon_gear_02.png [new file with mode: 0644]
edc/images/w_outgoing_icon_towatch_02.png [deleted file]

index b8176e8cdf56fb694761134c1549774e89868f8c..002254f39245b803975ff486ba22d8d523f875e5 100644 (file)
@@ -46,8 +46,6 @@ namespace callui { namespace { namespace impl {
        constexpr EdjeSignal SIGN_CID_ENABLE {"caller_id_enable"};
        constexpr EdjeSignal SIGN_CID_DISABLE {"caller_id_disable"};
        constexpr EdjeSignal SIGN_EMERGENCY {"emergency"};
-       constexpr EdjeSignal SIGN_EMERGENCY_BIG_TXT {"big_txt_emergency"};
-       constexpr EdjeSignal SIGN_BIG_TXT {"big_txt"};
        constexpr EdjeSignal SIGN_CENTRE_1LINE {"centre_1line"};
        constexpr EdjeSignal SIGN_CENTRE_2LINE {"centre_2line"};
        constexpr EdjeSignal SIGN_INCOMING {"incoming"};
@@ -548,29 +546,8 @@ namespace callui {
                                m_widget->emit(impl::SIGN_CENTRE_2LINE, impl::SRC_TOP_PAD);
                        }
                        return;
-               } else if (m_mode == CallMode::END) {
-                       if (info->isEmergency()
-                                       || info->getContactInfo()
-                                       || (info->getConferenceMemberCount() > 1)) {
-                               // Font size and color
-                               if (info->isEmergency()) {
-                                       m_widget->emit(impl::SIGN_EMERGENCY_BIG_TXT,
-                                                       impl::SRC_TXT_1LINE);
-                               } else {
-                                       m_widget->emit(impl::SIGN_BIG_TXT, impl::SRC_TXT_1LINE);
-                               }
-                               // Info text top padding
-                               if (impl::getTextWidth(*m_widget,
-                                               impl::CU_BIG_FONT_STYLE,
-                                               impl::CU_BIG_FONT_SIZE,
-                                               text) <= impl::SUB_TXT_WIDTH) {
-                                       m_widget->emit(impl::SIGN_CENTRE_1LINE, impl::SRC_TOP_PAD);
-                               } else {
-                                       m_widget->emit(impl::SIGN_CENTRE_2LINE, impl::SRC_TOP_PAD);
-                               }
-                               return;
-                       }
                }
+
                // Font size and color
                if (info->isEmergency()) {
                        m_widget->emit(impl::SIGN_EMERGENCY, impl::SRC_TXT_1LINE);
index 8b1ef396af895673f5f5ba632c95c1c7f5e312d8..5f92973f30536904b76f78b598bc618fe9c96bfe 100644 (file)
@@ -1281,7 +1281,7 @@ CU_BTN_VOLUME_CONTROL("callui/plus", "b_slider_icon_plus.png")
 
 CU_BTN_ACCESSORY("callui/volume", "w_outgoing_icon_volume_02.png")
 CU_BTN_ACCESSORY("callui/mute", "w_outgoing_icon_mute_02.png")
-CU_BTN_ACCESSORY_TOGGLE_ICON("callui/bluetooth", "w_outgoing_icon_towatch_02.png",
+CU_BTN_ACCESSORY_TOGGLE_ICON("callui/bluetooth", "w_outgoing_icon_gear_02.png",
        "w_outgoing_icon_headset_02.png")
 CU_BTN_ACCESSORY("callui/add_contact", "w_outgoing_icon_contact_add_02.png")
 
index f6b7e3900617177cdcbff6e5b56401255d854958..9ff3dab8d3c4745c2574b8b726e69e72413b09a5 100644 (file)
@@ -29,7 +29,7 @@ styles {
        }
        style {
                name: "main_text_emergency";
-               base: "font=Tizen font_weight=Regular font_width=Condensed font_size=24 align=center valign=center color=#FF870F ellipsis=1.0";
+               base: "font=Tizen font_weight=Regular font_width=Condensed font_size=24 align=center valign=center color=#FF4E47 ellipsis=1.0";
        }
        style {
                name: "main_text_big";
@@ -39,10 +39,6 @@ styles {
                name: "main_text_big_photo";
                base: "font=Tizen font_weight=Regular font_width=Condensed font_size=40 align=center valign=center color=#FFFFFF  wrap=mixed ellipsis=1.0";
        }
-       style {
-               name: "main_text_big_emergency";
-               base: "font=Tizen font_weight=Regular font_width=Condensed font_size=40 align=center valign=center color=#FF870F wrap=mixed ellipsis=1.0";
-       }
 }
 
 
@@ -251,10 +247,6 @@ group { "elm/layout/callui/call_info";
                                inherit: "default";
                                text.style: "main_text_big_photo";
                        }
-                       desc { "big_emergency";
-                               inherit: "default";
-                               text.style: "main_text_big_emergency";
-                       }
                }
                rect { "ao_text_1line";
                        mouse;
@@ -501,22 +493,6 @@ group { "elm/layout/callui/call_info";
                                set_state(PART:"text_info", "default", 0.0);
                        }
                }
-               program {
-                       signal: "big_txt";
-                       source: "text_1line";
-                       script {
-                               set_state(PART:"text_1line", "big", 0.0);
-                               set_state(PART:"text_info", "default", 0.0);
-                       }
-               }
-               program {
-                       signal: "big_txt_emergency";
-                       source: "text_1line";
-                       script {
-                               set_state(PART:"text_1line", "big_emergency", 0.0);
-                               set_state(PART:"text_info", "default", 0.0);
-                       }
-               }
                program {
                        signal: "default";
                        source: "text_2line";
index 308a4dea598857dd7858a1dcedca3405c2a6c6e7..1f659028885588a00566af947ef7dff3b3424d18 100644 (file)
@@ -108,7 +108,7 @@ color_classes {
                color: 255 255 255 255;
        }
        color_class { name: "AO012";
-               color: 0 149 255 255;
+               color: 77 207 255 255;
        }
        color_class { name: "AO012D";
                color: 255 255 255 77;
diff --git a/edc/images/w_outgoing_icon_gear_02.png b/edc/images/w_outgoing_icon_gear_02.png
new file mode 100644 (file)
index 0000000..ae4cbbc
Binary files /dev/null and b/edc/images/w_outgoing_icon_gear_02.png differ
diff --git a/edc/images/w_outgoing_icon_towatch_02.png b/edc/images/w_outgoing_icon_towatch_02.png
deleted file mode 100644 (file)
index 36bc29a..0000000
Binary files a/edc/images/w_outgoing_icon_towatch_02.png and /dev/null differ