This patch performs following modifications in IOT taskmanager- 69/215269/2 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_wearable_hotfix submit/tizen/20191007.071952 submit/tizen/20200205.111911 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185109 submit/tizen_5.5_mobile_hotfix/20201125.191001 submit/tizen_5.5_mobile_hotfix/20201126.134001 submit/tizen_5.5_wearable_hotfix/20201026.184309 tizen_5.5_src.m2_release
authorJagrat Patidar <j1.patidar@samsung.com>
Fri, 4 Oct 2019 17:52:33 +0000 (23:22 +0530)
committerJagrat Patidar <j1.patidar@samsung.com>
Mon, 7 Oct 2019 14:33:43 +0000 (20:03 +0530)
1) makes app icon more transparent(dim) as we move the particular app away from taskmanager in vertical direction.
2) adds padding between "clear all" cross icon and right side of display.
3) sets alignment of app titles currectly.

Change-Id: I015d63146a8cd35fe7ff8aa0776550b56036cc9d
Signed-off-by: Jagrat Patidar <j1.patidar@samsung.com>
res/edje/conf.edc
res/edje/item.edc
src/item.c

index 1456c656e969e35e4473293e37858a951f4da7a8..0c5e980a53f0e7bba0db19734041ef07d12f11d7 100644 (file)
@@ -44,7 +44,7 @@
 #define ITEM_WIDTH 232 /**<Width of the entire list item*/
 #define ITEM_HEIGHT ITEM_ICON_HEIGHT /**<Height of the entire list item*/
 
-#define PADDING_TOP 0 /**<Padding from the top of the view to clear item*/
+#define PADDING_RIGHT 170 /**<Padding from the right of the view to clear item*/
 
 #define SWIPE_THRESHOLD 0.1 /**<Item swipe threshold. If item position exceeds this value, related
                              application is killed*/
index 6d7e7296ab93f1e7104b21a5e724334dcf4de288..c28d678088fc6a7d5c9c7b12dcae8ff5491986a1 100644 (file)
@@ -116,10 +116,11 @@ collections {
                                        text {
                                                text: "";
                                                style: "item_style";
-                                               min: 1 0;
+                                               min: 1 1;
+                                               max: 1 1;
                                                ellipsis: -1;
                                        }
-                                       align: 0.5 0.0;
+                                       align: 0.5 0.5;
                                        fixed: 1 0;
                                }
                        }
@@ -140,16 +141,16 @@ collections {
                name: "clear_item";
                parts {
                        part {
-                               name: "padding.top";
+                               name: "padding.right";
                                type: SPACER;
                                scale: 1;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 0.0 0.0; }
                                        rel2 { relative: 1.0 1.0; }
-                                       min: 0 PADDING_TOP;
-                                       max: -1 PADDING_TOP;
-                                       align: 0.0 0.0;
+                                       min: PADDING_RIGHT 0;
+                                       max: PADDING_RIGHT -1;
+                                       align: 1.0 0.5;
                                }
                        }
                        part {
@@ -158,8 +159,8 @@ collections {
                                scale: 1;
                                description {
                                        state: "default" 0.0;
-                                       rel1 { relative: 0.0 1.0; to: "padding.top"; }
-                                       rel2 { relative: 1.0 1.0; }
+                                       rel1 { relative: 0.0 0.0; }
+                                       rel2 { relative: 0.0 1.0; to: "padding.right"; }
                                        color: 0 0 0 0;
                                        min: 176 CLEAR_ITEM_HEIGHT;
                                        max: 176 CLEAR_ITEM_HEIGHT;
index 654e350c21acd2245c785545e7ab98dbdfc9beef..88aebff280499d9fb56879593fb30c5648aae349 100644 (file)
@@ -485,7 +485,7 @@ static void _move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
                ret_if(!_content_unset_item_inner(item_outer));
        }
 
-       alpha = 255 - (abs(vec_x) * PRIVATE_ITEM_ALPHA);
+       alpha = 255 - (abs(vec_y) * PRIVATE_ITEM_ALPHA);
        if (alpha < PRIVATE_ITEM_ALPHA_MAX) {
                alpha = PRIVATE_ITEM_ALPHA_MAX;
        }