bug fix: TIVI-3001 - Apps gesture switching fails to work in ICO Homescreen 37/19137/1 accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/ivi/20140410.192440 accepted/tizen/ivi/release/20140423.003041 submit/tizen/20140409.024657 submit/tizen_ivi_release/20140422.204754
authorMasayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>
Tue, 8 Apr 2014 01:55:01 +0000 (10:55 +0900)
committerMasayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>
Tue, 8 Apr 2014 02:00:40 +0000 (11:00 +0900)
Change-Id: I65183eb6ec2c22d631917012d636013fc8377d71
Signed-off-by: Masayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>
lib/system-controller/CicoSCWlWinMgrIF.cpp
packaging/ico-uxf-homescreen.changes
src/homescreen/CicoHSAppHistoryExt.cpp
src/homescreen/CicoHSSwipeTouch.cpp
src/homescreen/CicoHSSwipeTouch.h

index 177a1f4..88771f2 100644 (file)
@@ -904,6 +904,16 @@ CicoSCWlWinMgrIF::wlIviAppNativeShellInfoCB(void *data,
         return;
     }
 
+    // if same pid and same title, skip
+    tp = m_wait_surface_creation;
+    while (tp)  {
+        if ((tp->pid == pid) && (strcmp(tp->title, title) == 0))    {
+            ICO_TRA("CicoSCWlWinMgrIF::wlIviAppNativeShellInfoCB: Leave(same title)");
+            return;
+        }
+        tp = tp->next;
+    }
+
     // get native surface info
     tp = m_free_surface_creation;
     if (tp)  {
index fb44569..cbbef6f 100644 (file)
@@ -1,3 +1,15 @@
+* Tue Apr 08 2014 Shibata Makoto <shibata@mac.tec.toyota.co.jp> accepted/tizen/ivi/panda/20140403.020026@294446b
+- 0.9.22 release
+-- bug fix: TIVI-3007 - Home button doesn't response after some operations.
+-- bug fix: Two or more Display(s) cannot be used.
+-- bug fix: SystemController sometimes crashes at the time of deletion of Surface.
+-- bug fix: defaultApps.info file overlaps in the definition of a spec file.
+-- cleanup debug log messages.
+-- Adjusted a gesture operation domain.
+-- bug fix: A lot of Surface will be temporarily made from the application which changes the title name of Surface like MiniBrowser.
+-- bug fix: TIVI-3018 - unable to launch smartdevicelink-sample-hmi(SDL) in ico homescreen.
+-- bug fix: TIVI-3001 - Apps gesture switching fails to work in ICO Homescreen.
+
 * Fri Mar 28 2014 Shibata Makoto <shibata@mac.tec.toyota.co.jp> accepted/tizen/ivi/panda/20140326.234210@52d43be
 - bug fix(StatusBar): Clock is not displayed at the time of the first start
 - bug fix(StatusBar): Adjustment of the clock image interval
index 61565ad..74042a3 100644 (file)
@@ -373,7 +373,11 @@ void CicoHSAppHistoryExt::activeApp(const string& appid)
  */
 void CicoHSAppHistoryExt::activeApp(const char* appid)
 {
+    if (strcmp(appid, ICO_HS_PROC_DEFAULT_HOMESCREEN) == 0) {
+        return;
+    }
     ICO_DBG("start %s", appid);
+
     if (true == m_waitSelApp.empty()) {
         moveHistoryHead(appid);
         ICO_DBG("end current none");
@@ -385,7 +389,7 @@ void CicoHSAppHistoryExt::activeApp(const char* appid)
         ICO_DBG("end touch operate app");
         return;
     }
-    ICO_DBG("end  no match select app(%s)", m_waitSelApp.c_str());
+    ICO_DBG("end no match select app(%s)", m_waitSelApp.c_str());
     if (true == moveHistoryHead(appid)) {
         m_waitSelApp.clear();
     }
index 5e83791..8232668 100644 (file)
@@ -184,7 +184,7 @@ CicoHSSwipeTouch::TouchUpSwipe(void *data, Evas *evas, Evas_Object *obj, void *e
 
     /* check swipe left to right or right to left   */
     if (sub > ICO_HS_SWIPE_TOUCH_SWIPE_THREASHOLD_DISTANCE) {
-        if (touch_state_b_x < ICO_HS_SWIPE_TOUCH_SWIPE_THREASHOLD_DISTANCE) {
+        if (touch_state_b_x < ICO_HS_SWIPE_TOUCH_SWIPE_WIDTH)   {
             /* get current application  */
             curapp = app_history->getSwipeCurrentAppid();
 
@@ -277,8 +277,7 @@ CicoHSSwipeTouch::TouchUpSwipe(void *data, Evas *evas, Evas_Object *obj, void *e
         }
     }
     else if (sub < (-1 * ICO_HS_SWIPE_TOUCH_SWIPE_THREASHOLD_DISTANCE)) {
-        if (touch_state_b_x >
-            (full_width - ICO_HS_SWIPE_TOUCH_SWIPE_THREASHOLD_DISTANCE))    {
+        if (touch_state_b_x >= (full_width - ICO_HS_SWIPE_TOUCH_SWIPE_WIDTH))   {
             /* get current application  */
             curapp = app_history->getSwipeCurrentAppid();
 
index b484fc1..4f5a0bc 100644 (file)
@@ -23,8 +23,8 @@
 #include "CicoHSControlBarWindow.h"
 #include "CicoHSAppHistoryExt.h"
 
-#define ICO_HS_SWIPE_TOUCH_SWIPE_WIDTH  80
-#define ICO_HS_SWIPE_TOUCH_SWIPE_HEIGHT 80
+#define ICO_HS_SWIPE_TOUCH_SWIPE_WIDTH  100
+#define ICO_HS_SWIPE_TOUCH_SWIPE_HEIGHT 100
 #define ICO_HS_SWIPE_TOUCH_DISTANCE_TOP     200
 #define ICO_HS_SWIPE_TOUCH_DISTANCE_BOTTOM  128
 #define ICO_HS_SWIPE_TOUCH_SWIPE_THREASHOLD_DISTANCE 60