[ElmSharp] Fix several warnings 73/153173/5
authorRinaYou <rina6350.you@samsung.com>
Thu, 28 Sep 2017 05:58:07 +0000 (14:58 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Thu, 28 Sep 2017 06:07:08 +0000 (06:07 +0000)
Change-Id: I52e62ec113e5744e53d9cf0184151b0ef5b80442

src/ElmSharp/ElmSharp/AccessibleRelation.cs
src/ElmSharp/ElmSharp/AnimatorMotionMapper.cs [changed mode: 0644->0755]
src/ElmSharp/ElmSharp/Elementary.cs
src/ElmSharp/ElmSharp/ElmScrollConfig.cs [changed mode: 0644->0755]
src/ElmSharp/ElmSharp/Entry.cs
src/ElmSharp/ElmSharp/EvasCanvas.cs

index 4d24e98..0c88422 100755 (executable)
@@ -23,7 +23,14 @@ namespace ElmSharp.Accessible
     public interface IAccessibleRelation
     {
 
+        /// <summary>
+        /// Gets or sets the target object.
+        /// </summary>
         AccessibleObject Target { get; set; }
+
+        /// <summary>
+        /// Gets the type.
+        /// </summary>
         int Type { get; }
     }
 
old mode 100644 (file)
new mode 100755 (executable)
index defc7af..22db0c5
@@ -4,112 +4,230 @@ using System.Text;
 
 namespace ElmSharp
 {
+    /// <summary>
+    /// The AnimatorMotionMapper interface
+    /// </summary>
     public interface AnimatorMotionMapper
     {
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         double Caculate(double position);
     }
 
+    /// <summary>
+    /// The LinearMotionMapper class
+    /// </summary>
     public class LinearMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Linear, 0, 0);
         }
     }
 
+    /// <summary>
+    /// The AccelerateMotionMapper class
+    /// </summary>
     public class AccelerateMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Accelerate, 0, 0);
         }
     }
 
+    /// <summary>
+    /// The DecelerateMotionMapper class
+    /// </summary>
     public class DecelerateMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Decelerate, 0, 0);
         }
     }
 
+    /// <summary>
+    /// The SinusoidalMotionMapper class
+    /// </summary>
     public class SinusoidalMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Sinusoidal, 0, 0);
         }
     }
 
+    /// <summary>
+    /// The AccelerateFactorMotionMapper class
+    /// </summary>
     public class AccelerateFactorMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The power factor of AccelerateFactorMotionMapper
+        /// </summary>
         public double PowerFactor { get; set; } = 0;
 
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.AccelerateFactor, PowerFactor, 0);
         }
     }
 
+    /// <summary>
+    /// The DecelerateFactorMotionMapper class
+    /// </summary>
     public class DecelerateFactorMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The power factor of DecelerateFactorMotionMapper
+        /// </summary>
         public double PowerFactor { get; set; } = 0;
 
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.DecelerateFactor, PowerFactor, 0);
         }
     }
 
+    /// <summary>
+    /// The SinusoidalFactorMotionMapper class
+    /// </summary>
     public class SinusoidalFactorMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The power factor of SinusoidalFactorMotionMapper
+        /// </summary>
         public double PowerFactor { get; set; } = 0;
 
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.SinusoidalFactor, PowerFactor, 0);
         }
     }
 
+    /// <summary>
+    /// The DivisorInterpolatedMotionMapper class
+    /// </summary>
     public class DivisorInterpolatedMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The Divisor of DivisorInterpolatedMotionMapper
+        /// </summary>
         public double Divisor { get; set; } = 0;
+
+        /// <summary>
+        /// The power of DivisorInterpolatedMotionMapper
+        /// </summary>
         public double Power { get; set; } = 0;
 
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.DivisorInterp, Divisor, Power);
         }
     }
 
+    /// <summary>
+    /// The BounceMotionMapper class
+    /// </summary>
     public class BounceMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The bounces of BounceMotionMapper
+        /// </summary>
         public int Bounces { get; set; } = 0;
+
+        /// <summary>
+        /// The decay factor of BounceMotionMapper
+        /// </summary>
         public double DecayFactor { get; set; } = 0;
+
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Bounce, DecayFactor, Bounces);
         }
     }
 
+    /// <summary>
+    /// The SpringMotionMapper class
+    /// </summary>
     public class SpringMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The wobbles of SpringMotionMapper
+        /// </summary>
         public int Wobbles { get; set; } = 0;
+
+        /// <summary>
+        /// The decat factir of SpringMotionMapper
+        /// </summary>
         public double DecayFactor { get; set; } = 0;
 
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Bounce, DecayFactor, Wobbles);
         }
     }
 
+    /// <summary>
+    /// The CubicBezierMotionMapper class
+    /// </summary>
     public class CubicBezierMotionMapper : AnimatorMotionMapper
     {
+        /// <summary>
+        /// The X1 of CubicBezierMotionMapper
+        /// </summary>
         public double X1 { get; set; } = 0;
+
+        /// <summary>
+        /// The Y1 of CubicBezierMotionMapper
+        /// </summary>
         public double Y1 { get; set; } = 0;
+
+        /// <summary>
+        /// The X2 of CubicBezierMotionMapper
+        /// </summary>
         public double X2 { get; set; } = 0;
+
+        /// <summary>
+        /// The Y2 of CubicBezierMotionMapper
+        /// </summary>
         public double Y2 { get; set; } = 0;
 
+        /// <summary>
+        /// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve
+        /// </summary>
         public double Caculate(double position)
         {
             double[] values = { X1, Y1, X2, Y2 };
index bd90845..c0c6abb 100755 (executable)
@@ -191,6 +191,9 @@ namespace ElmSharp
             Interop.Elementary.elm_run();
         }
 
+        /// <summary>
+        /// Prepends a theme overlay to the list of overlays
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void ThemeOverlay()
         {
@@ -261,30 +264,45 @@ namespace ElmSharp
             Interop.Elementary.elm_theme_extension_del(IntPtr.Zero, item);
         }
 
+        /// <summary>
+        /// Gets the amount of inertia a scroller imposes during region bring animations.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static double GetSystemScrollFriction()
         {
             return BringInScrollFriction;
         }
 
+        /// <summary>
+        /// Sets the amount of inertia a scroller imposes during region bring animations.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void SetSystemScrollFriction(double timeSet)
         {
             BringInScrollFriction = timeSet;
         }
 
+        /// <summary>
+        /// Get Elementary's profile in use
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static string GetProfile()
         {
             return Interop.Elementary.elm_config_profile_get();
         }
 
+        /// <summary>
+        /// Set the global scaling factor
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void SetScale(double scale)
         {
             Scale = scale;
         }
 
+        /// <summary>
+        /// Get the global scaling factor
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static double GetScale()
         {
@@ -320,6 +338,9 @@ namespace ElmSharp
             return Interop.Elementary.elm_policy_set(policy, value);
         }
 
+        /// <summary>
+        /// Reload Elementary's configuration, bounded to current selected profile.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void ReloadConfig()
         {
old mode 100644 (file)
new mode 100755 (executable)
index 974d74f..c3079e2
@@ -24,6 +24,9 @@ namespace ElmSharp
     /// </summary>
     public static class ElmScrollConfig
     {
+        /// <summary>
+        /// Gets or sets the amount of inertia a scroller imposes during region bring animations.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static double BringInScrollFriction
         {
index 68d2364..65777ef 100755 (executable)
@@ -174,22 +174,22 @@ namespace ElmSharp
     }
 
     /// <summary>
-    /// Enumeration that defines the entry's copy & paste policy.
+    /// Enumeration that defines the entry's copy and paste policy.
     /// </summary>
     public enum CopyAndPasteMode
     {
         /// <summary>
-        /// Copy & paste text with markup tag
+        /// Copy and paste text with markup tag
         /// </summary>
         Markup,
 
         /// <summary>
-        /// Copy & paste text without item(image) tag
+        /// Copy and paste text without item(image) tag
         /// </summary>
         NoImage,
 
         /// <summary>
-        /// Copy & paste text without markup tag
+        /// Copy and paste text without markup tag
         /// </summary>
         PlainText
     }
index 067f47d..95100c3 100755 (executable)
@@ -153,7 +153,7 @@ namespace ElmSharp
         /// <summary>
         /// Creates an Evas canvas handle.
         /// </summary>
-        /// <param name="parent">Parent EvasObject</param>
+        /// <param name="evasObject">EvasObject</param>
         /// <returns>Handle IntPtr</returns>
         IntPtr CreateHandle(IntPtr evasObject)
         {