[NUI] Bind corner radius properties
authorjmm <j0064423.lee@samsung.com>
Tue, 25 Feb 2025 08:45:39 +0000 (17:45 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 9 Apr 2025 02:09:46 +0000 (11:09 +0900)
Signed-off-by: jmm <j0064423.lee@samsung.com>
12 files changed:
src/Tizen.NUI.Scene3D/src/public/Controls/SceneView.cs
src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEnum.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/BaseComponents/ViewLiteProperty.cs
src/Tizen.NUI/src/public/ViewProperty/BackgroundExtraData.cs
src/Tizen.NUI/src/public/WebView/WebView.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSImageView.cs

index a88525c6a827b2679dd799bce4e97f17c9a11f6b..0c13712623c9aa98384504dcf0fb8992f1488ec3 100755 (executable)
@@ -834,36 +834,6 @@ namespace Tizen.NUI.Scene3D
             return ret;
         }
 
-        /// <summary>
-        /// Callback when CornerRadius property changed.
-        /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        internal override void ApplyCornerRadius()
-        {
-            base.ApplyCornerRadius();
-
-            if (backgroundExtraData == null) return;
-
-            // Update corner radius properties to image by ActionUpdateProperty
-            if (backgroundExtraDataUpdatedFlag.HasFlag(BackgroundExtraDataUpdatedFlag.ContentsCornerRadius))
-            {
-                if (backgroundExtraData.CornerRadius != null)
-                {
-                    using var setValue = new Tizen.NUI.PropertyValue(backgroundExtraData.CornerRadius);
-                    SetProperty(Interop.SceneView.CornerRadiusGet(), setValue);
-                }
-                if (backgroundExtraData.CornerSquareness != null)
-                {
-                    using var setValue = new Tizen.NUI.PropertyValue(backgroundExtraData.CornerSquareness);
-                    SetProperty(Interop.SceneView.CornerSquarenessGet(), setValue);
-                }
-                {
-                    using var setValue = new Tizen.NUI.PropertyValue((int)backgroundExtraData.CornerRadiusPolicy);
-                    SetProperty(Interop.SceneView.CornerRadiusPolicyGet(), setValue);
-                }
-            }
-        }
-
         /// <summary>
         /// Callback when Borderline property changed.
         /// </summary>
index 4be6ff4dbf2b875f199a7455cb21d3824a61aef0..b66293c227249958d01a784a1c7e22f494606953 100755 (executable)
@@ -95,6 +95,15 @@ namespace Tizen.NUI
 
             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_OFFSCREEN_RENDERING_get")]
             public static extern int OffScreenRenderingGet();
+
+            [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_CORNER_RADIUS_POLICY_get")]
+            public static extern int CornerRadiusPolicyGet();
+
+            [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_CORNER_RADIUS_get")]
+            public static extern int CornerRadiusGet();
+
+            [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_CORNER_SQUARENESS_get")]
+            public static extern int CornerSquarenessGet();
         }
     }
 }
index c818d8342e972d9ba7510fd5fdcfc835286b9274..84b0fdd0dfe4ff25071943613060a36855f612b1 100755 (executable)
@@ -2231,28 +2231,6 @@ namespace Tizen.NUI.BaseComponents
             return ret;
         }
 
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        internal override void ApplyCornerRadius()
-        {
-            base.ApplyCornerRadius();
-
-            if (backgroundExtraData == null) return;
-
-            // Update corner radius properties to image by ActionUpdateProperty
-            if (backgroundExtraDataUpdatedFlag.HasFlag(BackgroundExtraDataUpdatedFlag.ContentsCornerRadius))
-            {
-                if (backgroundExtraData.CornerRadius != null)
-                {
-                    _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
-                }
-                if (backgroundExtraData.CornerSquareness != null)
-                {
-                    _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerSquareness, Vector4.getCPtr(backgroundExtraData.CornerSquareness));
-                }
-                _ = Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-            }
-        }
-
         [EditorBrowsable(EditorBrowsableState.Never)]
         internal override void ApplyBorderline()
         {
@@ -2562,17 +2540,6 @@ namespace Tizen.NUI.BaseComponents
                 }
             }
 
-            if (backgroundExtraData != null && backgroundExtraData.CornerRadius != null)
-            {
-                cachedImagePropertyMap.Set(Visual.Property.CornerRadius, backgroundExtraData.CornerRadius);
-                cachedImagePropertyMap.Set(Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-
-                if (backgroundExtraData.CornerSquareness != null)
-                {
-                    cachedImagePropertyMap.Set(Visual.Property.CornerSquareness, backgroundExtraData.CornerSquareness);
-                }
-            }
-
             if (backgroundExtraData != null && backgroundExtraData.BorderlineWidth > 0.0f)
             {
                 cachedImagePropertyMap.Set(Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth);
@@ -2581,7 +2548,6 @@ namespace Tizen.NUI.BaseComponents
             }
 
             // We already applied background extra data now.
-            backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.ContentsCornerRadius;
             backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.ContentsBorderline;
 
             UpdateImageMap();
index ee2c6752488c413aa4950cf602c7150c9ecef56e..1e8fd489a866d499d67149f26cd111a746ea7088 100755 (executable)
@@ -242,10 +242,6 @@ namespace Tizen.NUI.BaseComponents
 
                 if (backgroundExtraData != null)
                 {
-                    if (backgroundExtraData.CornerRadius != null || backgroundExtraData.CornerSquareness != null)
-                    {
-                        UpdateBackgroundExtraData(BackgroundExtraDataUpdatedFlag.ContentsCornerRadius);
-                    }
                     if (backgroundExtraData.BorderlineWidth > 0.0f)
                     {
                         UpdateBackgroundExtraData(BackgroundExtraDataUpdatedFlag.ContentsBorderline);
index f2d289572656727f7b0d309dddf1292b9f83ca86..c109da805c7a9c151650c9e2d350788f719e9660 100755 (executable)
@@ -1458,15 +1458,16 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        private void SetInternalCornerRadius(Vector4 newValue)
+        private void SetInternalCornerRadius(Vector4 cornerRadius)
         {
-            (backgroundExtraData ?? (backgroundExtraData = new BackgroundExtraData())).CornerRadius = newValue;
-            UpdateBackgroundExtraData(BackgroundExtraDataUpdatedFlag.CornerRadius);
+            Object.InternalSetPropertyVector4(SwigCPtr, Property.CornerRadius, cornerRadius.SwigCPtr);
         }
 
         private Vector4 GetInternalCornerRadius()
         {
-            return backgroundExtraData == null ? Vector4.Zero : backgroundExtraData.CornerRadius;
+            Vector4 value = new Vector4();
+            Object.InternalRetrievingPropertyVector4(SwigCPtr, Property.CornerRadius, value.SwigCPtr);
+            return value;
         }
 
         /// <summary>
@@ -1501,19 +1502,14 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        private void SetInternalCornerRadiusPolicy(VisualTransformPolicyType value)
+        private void SetInternalCornerRadiusPolicy(VisualTransformPolicyType cornerRadiusPolicy)
         {
-            (backgroundExtraData ?? (backgroundExtraData = new BackgroundExtraData())).CornerRadiusPolicy = value;
-
-            if (backgroundExtraData.CornerRadius != null)
-            {
-                UpdateBackgroundExtraData(BackgroundExtraDataUpdatedFlag.CornerRadius);
-            }
+            Object.InternalSetPropertyInt(SwigCPtr, Property.CornerRadiusPolicy, (int)cornerRadiusPolicy);
         }
 
         private VisualTransformPolicyType GetInternalCornerRadiusPolicy()
         {
-            return backgroundExtraData == null ? VisualTransformPolicyType.Absolute : backgroundExtraData.CornerRadiusPolicy;
+            return (VisualTransformPolicyType)(Object.InternalGetPropertyInt(SwigCPtr, Property.CornerRadiusPolicy));
         }
 
         /// <summary>
@@ -1541,22 +1537,23 @@ namespace Tizen.NUI.BaseComponents
         {
             get
             {
-                return GetInternalCornerSqurenessProperty();
+                return GetInternalCornerSqureness();
             }
             set
             {
-                SetInternalCornerSqurenessProperty(value);
+                SetInternalCornerSqureness(value);
                 NotifyPropertyChanged();
             }
         }
-        internal void SetInternalCornerSqurenessProperty(Vector4 cornerSquareness)
+        internal void SetInternalCornerSqureness(Vector4 cornerSquareness)
         {
-            (backgroundExtraData ?? (backgroundExtraData = new BackgroundExtraData())).CornerSquareness = cornerSquareness;
-            UpdateBackgroundExtraData(BackgroundExtraDataUpdatedFlag.CornerRadius);
+            Object.InternalSetPropertyVector4(SwigCPtr, Property.CornerSquareness, cornerSquareness.SwigCPtr);
         }
-        internal Vector4 GetInternalCornerSqurenessProperty()
+        internal Vector4 GetInternalCornerSqureness()
         {
-            return backgroundExtraData == null ? Vector4.Zero : backgroundExtraData.CornerSquareness;
+            Vector4 value = new Vector4();
+            Object.InternalRetrievingPropertyVector4(SwigCPtr, Property.CornerSquareness, value.SwigCPtr);
+            return value;
         }
 
         /// <summary>
index d061fef07cc86b01778083f20281ff071f0ec082..278f956a5f504ff2e51fc5be34d3ebd5191b0953 100755 (executable)
@@ -2216,10 +2216,7 @@ namespace Tizen.NUI.BaseComponents
 
             if (backgroundExtraData != null)
             {
-                map.Add(Visual.Property.CornerRadius, backgroundExtraData.CornerRadius)
-                   .Add(Visual.Property.CornerSquareness, backgroundExtraData.CornerSquareness)
-                   .Add(Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy)
-                   .Add(Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth)
+                map.Add(Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth)
                    .Add(Visual.Property.BorderlineColor, backgroundExtraData.BorderlineColor == null ? Color.Black : backgroundExtraData.BorderlineColor)
                    .Add(Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
             }
@@ -2299,9 +2296,6 @@ namespace Tizen.NUI.BaseComponents
 
             map.Add(Visual.Property.Type, (int)Visual.Type.Color)
                .Add(ColorVisualProperty.MixColor, value)
-               .Add(Visual.Property.CornerRadius, backgroundExtraData.CornerRadius)
-               .Add(Visual.Property.CornerSquareness, backgroundExtraData.CornerSquareness)
-               .Add(Visual.Property.CornerRadiusPolicy, (int)(backgroundExtraData.CornerRadiusPolicy))
                .Add(Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth)
                .Add(Visual.Property.BorderlineColor, backgroundExtraData.BorderlineColor == null ? Color.Black : backgroundExtraData.BorderlineColor)
                .Add(Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
@@ -2373,7 +2367,6 @@ namespace Tizen.NUI.BaseComponents
 
         private void SetShadow(ShadowBase value)
         {
-            backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.Shadow;
             Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, View.Property.SHADOW, value == null ? new PropertyValue() : value.ToPropertyValue(this));
         }
     }
index 35792fd1ad670cfef1f4589114cdb33947f88b22..457928a0e1693b3a4167e6a6f48de9323325978c 100755 (executable)
@@ -293,6 +293,9 @@ namespace Tizen.NUI.BaseComponents
             internal static readonly int DispatchTouchMotion = Interop.ActorProperty.DispatchTouchMotionGet();
             internal static readonly int DispatchHoverMotion = Interop.ActorProperty.DispatchHoverMotionGet();
             internal static readonly int OffScreenRendering = Interop.ViewProperty.OffScreenRenderingGet();
+            internal static readonly int CornerRadiusPolicy = Interop.ViewProperty.CornerRadiusPolicyGet();
+            internal static readonly int CornerRadius = Interop.ViewProperty.CornerRadiusGet();
+            internal static readonly int CornerSquareness = Interop.ViewProperty.CornerSquarenessGet();
         }
     }
 }
index d37773af40c45f51d2d83cac1c02f64479b2233e..7a8af456610197e6dcdb9753fdc297ea24de9faf 100755 (executable)
@@ -34,20 +34,15 @@ namespace Tizen.NUI.BaseComponents
         [Flags]
         internal enum BackgroundExtraDataUpdatedFlag : byte
         {
-            BackgroundCornerRadius = 1 << 0,
             BackgroundBorderline = 1 << 1,
-            ShadowCornerRadius = 1 << 2,
-            ContentsCornerRadius = 1 << 3, /// Subclass cases.
             ContentsBorderline = 1 << 4, /// Subclass cases.
 
-            Background = BackgroundCornerRadius | BackgroundBorderline,
-            Shadow = ShadowCornerRadius,
+            Background = BackgroundBorderline,
 
-            CornerRadius = BackgroundCornerRadius | ShadowCornerRadius | ContentsCornerRadius,
             Borderline = BackgroundBorderline | ContentsBorderline,
 
             None = 0,
-            All = Background | Shadow,
+            All = Background,
         }
 
         internal BackgroundExtraDataUpdatedFlag backgroundExtraDataUpdatedFlag = BackgroundExtraDataUpdatedFlag.None;
@@ -1219,10 +1214,6 @@ namespace Tizen.NUI.BaseComponents
                 return;
             }
 
-            if (IsShadowEmpty())
-            {
-                backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.Shadow;
-            }
             if (!Rectangle.IsNullOrZero(backgroundExtraData.BackgroundImageBorder))
             {
                 backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.Background;
@@ -1237,43 +1228,14 @@ namespace Tizen.NUI.BaseComponents
             {
                 ApplyBorderline();
             }
-            if ((backgroundExtraDataUpdatedFlag & BackgroundExtraDataUpdatedFlag.CornerRadius) != BackgroundExtraDataUpdatedFlag.None)
-            {
-                ApplyCornerRadius();
-            }
+
             backgroundExtraDataUpdatedFlag = BackgroundExtraDataUpdatedFlag.None;
         }
 
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        [Obsolete("Do not use this, that is deprecated in API13.")]
         internal virtual void ApplyCornerRadius()
         {
-            if (backgroundExtraData == null) return;
-
-            // Update corner radius properties to background and shadow by ActionUpdateProperty
-            if (backgroundExtraDataUpdatedFlag.HasFlag(BackgroundExtraDataUpdatedFlag.BackgroundCornerRadius))
-            {
-                if (backgroundExtraData.CornerRadius != null)
-                {
-                    _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
-                }
-                if (backgroundExtraData.CornerSquareness != null)
-                {
-                    _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.CornerSquareness, Vector4.getCPtr(backgroundExtraData.CornerSquareness));
-                }
-                _ = Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-            }
-            if (backgroundExtraDataUpdatedFlag.HasFlag(BackgroundExtraDataUpdatedFlag.ShadowCornerRadius))
-            {
-                if (backgroundExtraData.CornerRadius != null)
-                {
-                    _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.SHADOW, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
-                }
-                if (backgroundExtraData.CornerSquareness != null)
-                {
-                    _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.SHADOW, Visual.Property.CornerSquareness, Vector4.getCPtr(backgroundExtraData.CornerSquareness));
-                }
-                _ = Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, View.Property.SHADOW, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-            }
+            Tizen.Log.Error("NUI", "ApplyCornerRadius() deprecated internally, Please don't use it.\n");
         }
 
         [EditorBrowsable(EditorBrowsableState.Never)]
index f2addb5ece96ab729d729e9b980e35739a3dcdf6..b6613867acad5dbc16a65a5129c3040cfa696e66 100755 (executable)
@@ -36,15 +36,10 @@ namespace Tizen.NUI.BaseComponents
                 using var map = new PropertyMap()
                     .Append(Visual.Property.Type, (int)Visual.Type.Color)
                     .Append(ColorVisualProperty.MixColor, color)
-                    .Append(Visual.Property.CornerRadius, backgroundExtraData.CornerRadius)
-                    .Append(Visual.Property.CornerSquareness, backgroundExtraData.CornerSquareness)
-                    .Append(Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy)
                     .Append(Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth)
                     .Append(Visual.Property.BorderlineColor, backgroundExtraData.BorderlineColor ?? Color.Black)
                     .Append(Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
 
-                backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.Background;
-
                 Object.InternalSetPropertyMap(SwigCPtr, Property.BACKGROUND, map.SwigCPtr);
             }
 
@@ -57,8 +52,6 @@ namespace Tizen.NUI.BaseComponents
         {
             themeData?.selectorData?.ClearShadow(this);
 
-            backgroundExtraDataUpdatedFlag &= ~BackgroundExtraDataUpdatedFlag.Shadow;
-
             using var map = shadow.BuildMap(this);
 
             Object.InternalSetPropertyMap(SwigCPtr, Property.SHADOW, map.SwigCPtr);
index f02f5c833f44b79a7747e03d0dc02f2456e23793..b53041b0570616a818aa849d88a2414f14a4ae32 100755 (executable)
@@ -33,9 +33,6 @@ namespace Tizen.NUI
         internal BackgroundExtraData(BackgroundExtraData other)
         {
             BackgroundImageBorder = other.BackgroundImageBorder;
-            CornerRadius = other.CornerRadius;
-            CornerSquareness = other.CornerSquareness;
-            CornerRadiusPolicy = other.CornerRadiusPolicy;
             BorderlineWidth = other.BorderlineWidth;
             BorderlineColor = other.BorderlineColor;
             BorderlineOffset = other.BorderlineOffset;
@@ -51,14 +48,17 @@ namespace Tizen.NUI
         }
 
         /// <summary></summary>
+        [Obsolete("Do not use this, that is deprecated in API13.")]
         internal Vector4 CornerRadius { get; set; }
 
         /// <summary></summary>
+        [Obsolete("Do not use this, that is deprecated in API13.")]
         internal Vector4 CornerSquareness { get; set; }
 
         /// <summary>
         /// Whether the CornerRadius value is relative (percentage [0.0f to 0.5f] of the view size) or absolute (in world units).
         /// </summary>
+        [Obsolete("Do not use this, that is deprecated in API13.")]
         internal VisualTransformPolicyType CornerRadiusPolicy { get; set; } = VisualTransformPolicyType.Absolute;
 
         /// <summary></summary>
index 2c73403e35306819b9fd9b3f29c65adf8c2480bb..ebfa623e95551921904742e9265cad83bf743d59 100755 (executable)
@@ -3012,28 +3012,6 @@ namespace Tizen.NUI.BaseComponents
             return ret;
         }
 
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        internal override void ApplyCornerRadius()
-        {
-            base.ApplyCornerRadius();
-
-            if (backgroundExtraData == null) 
-            {
-                return;
-            }
-
-            // Update corner radius properties to webView by ActionUpdateProperty
-            if (backgroundExtraData.CornerRadius != null)
-            {
-                _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, WebView.Property.Url, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
-            }
-            if (backgroundExtraData.CornerSquareness != null)
-            {
-                _ = Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, WebView.Property.Url, Visual.Property.CornerSquareness, Vector4.getCPtr(backgroundExtraData.CornerSquareness));
-            }
-            _ = Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, WebView.Property.Url, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-        }
-
         private void OnPageLoadStarted(string pageUrl)
         {
             WebViewPageLoadEventArgs e = new WebViewPageLoadEventArgs();
index 2f43851fc573933f5ea1aed7e30c7b43e849df98..e7d9c5a7f4d39bf17aff39d01b01a7fe891cde88 100755 (executable)
@@ -357,65 +357,6 @@ namespace Tizen.NUI.Devel.Tests
 
             tlog.Debug(tag, $"ImageViewIsResourceReady END (OK)");
         }
-
-               [Test]
-        [Category("P1")]
-        [Description("ImageView ApplyCornerRadius.")]
-        [Property("SPEC", "Tizen.NUI.ImageView.ApplyCornerRadius M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void ImageViewApplyCornerRadius()
-        {
-            tlog.Debug(tag, $"ImageViewApplyCornerRadius START");
-
-            var testingTarget = new ImageView();
-            Assert.IsNotNull(testingTarget, "Can't create success object ImageView");
-            Assert.IsInstanceOf<ImageView>(testingTarget, "Should be an instance of ImageView type.");
-            
-            try
-            {
-                testingTarget.ApplyCornerRadius();
-            }
-            catch (Exception e)
-            {
-                tlog.Debug(tag, e.Message.ToString());
-                Assert.Fail("Caught Exception: Failed!");
-            }
-
-            testingTarget.Dispose();
-            tlog.Debug(tag, $"ImageViewApplyCornerRadius END (OK)");
-        }
-               [Test]
-        [Category("P1")]
-        [Description("ImageView ApplyCornerRadius.")]
-        [Property("SPEC", "Tizen.NUI.ImageView.ApplyCornerRadius M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void ImageViewApplyCornerRadiusWithBackgroundExtraData()
-        {
-            tlog.Debug(tag, $"ImageViewApplyCornerRadiusWithBackgroundExtraData START");
-
-            var testingTarget = new ImageView();
-            Assert.IsNotNull(testingTarget, "Can't create success object ImageView");
-            Assert.IsInstanceOf<ImageView>(testingTarget, "Should be an instance of ImageView type.");
-
-            testingTarget.CornerRadius = new Vector4(0.3f, 0.8f, 0.6f, 1.0f);
-            
-            try
-            {
-                testingTarget.ApplyCornerRadius();
-            }
-            catch (Exception e)
-            {
-                tlog.Debug(tag, e.Message.ToString());
-                Assert.Fail("Caught Exception: Failed!");
-            }
-
-            testingTarget.Dispose();
-            tlog.Debug(tag, $"ImageViewApplyCornerRadiusWithBackgroundExtraData END (OK)");
-        }
        
                [Test]
         [Category("P1")]