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>
#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*/
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;
}
}
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 {
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;
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;
}