Update smack rule (disable icon effect)
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 31 Oct 2013 03:17:41 +0000 (12:17 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 31 Oct 2013 03:18:44 +0000 (12:18 +0900)
Change-Id: I4a60e6dec2944ddfcfa6ff751d20ab4bb01fc1c6

com.samsung.data-provider-slave.rule
data/icon.edc
icon_src/script_handler.c

index be4d7c7..d2a67ee 100644 (file)
@@ -20,3 +20,4 @@ com.samsung.app-tray com.samsung.data-provider-slave rx
 dbus com.samsung.data-provider-slave rwx
 com.samsung.data-provider-slave sound_server rw
 com.samsung.data-provider-slave tts-server rwx
+com.samsung.data-provider-slave aul::launch x
index 2df2d1c..cbf17ae 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 images {
+       image: "icon_shadow.png" COMP;
        image: "shortcut_bg_1x1.png" COMP;
 }
 
@@ -35,12 +36,12 @@ collections {
 
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 23/175 11/175; }
-                                       rel2 { relative: 160/175 150/175; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 152/175 140/175; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -51,8 +52,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -98,14 +99,14 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 112.5/354 11/175; }
-                                       rel2 { relative: 249.5/354 150/175; }
+                                       rel2 { relative: 241.5/354 140/175; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
-                                       color: 0 0 0 0;
                                        aspect_preference: BOTH;
                                }
                        }
@@ -114,8 +115,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -161,12 +162,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 112.5/354 100.5/354; }
-                                       rel2 { relative: 249.5/354 239.5/354; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 241.5/354 229.5/354; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -177,8 +178,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -224,12 +225,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 291.5/712 11/175; }
-                                       rel2 { relative: 428.5/712 150/175; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 420.5/712 140/175; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -240,8 +241,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -287,12 +288,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 291.5/712 100.5/354; }
-                                       rel2 { relative: 428.5/712 239.5/354; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 420.5/712 229.5/354; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -303,8 +304,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -350,12 +351,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 291.5/712 190/533; }
-                                       rel2 { relative: 428.5/712 329/533; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 420.5/712 319/533; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -366,8 +367,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -413,12 +414,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 291.5/712 279.5/712; }
-                                       rel2 { relative: 428.5/712 418.5/712; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 420.5/712 408.5/712; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -429,8 +430,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -476,12 +477,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 291.5/712 369/891; }
-                                       rel2 { relative: 428.5/712 508/891; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 420.5/712 498/891; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -492,8 +493,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
@@ -539,12 +540,12 @@ collections {
                parts {
                        part {
                                name: "bg";
-                               type: RECT;
+                               type: IMAGE;
                                description {
                                        state: "default" 0.0;
                                        rel1 { relative: 291.5/712 458.5/1070; }
-                                       rel2 { relative: 428.5/712 597.5/1070; }
-                                       color: 0 0 0 0;
+                                       rel2 { relative: 420.5/712 587.5/1070; }
+                                       image { normal: "icon_shadow.png"; }
                                        align: 0.5 0.5;
                                        aspect: 1.0 1.0;
                                        aspect_preference: BOTH;
@@ -555,8 +556,8 @@ collections {
                                 name: "icon";
                                 type: SWALLOW;
                                 description {
-                                       rel1 { relative: 6/137 0/139; to, "bg"; }
-                                       rel2 { relative: 131/137 130/139; to, "bg"; } // 117x117 125x127
+                                        rel1 { relative: 6/129 3/129; to, "bg"; }
+                                        rel2 { relative: 123/129 120/129; to, "bg"; }
                                }
                         }
 
index 002cb0f..8972f75 100644 (file)
@@ -707,6 +707,7 @@ static int update_script_image(Evas_Object *edje, struct block *block)
        img_opt.shadow.color = 0x99000000;
 #endif
        if (img_opt.shadow.enabled) {
+#if 0
                ea_effect_h *ea_effect;
 
                ea_effect = ea_image_effect_create();
@@ -724,6 +725,7 @@ static int update_script_image(Evas_Object *edje, struct block *block)
 
                        ea_image_effect_destroy(ea_effect);
                }
+#endif
        }
 
        /*!