Merge "fix the difference of DefaultLayer and Layer" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 29 Jun 2017 14:32:52 +0000 (14:32 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 29 Jun 2017 14:32:52 +0000 (14:32 +0000)
51 files changed:
NUISample2/NUISample2/NUISample2.Tizen/NUISample2.Tizen.cs
NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj
NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/as-is-test-sample.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/control-dashboard.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/custom-control.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/dali-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/date-picker-using-json.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/flex-container.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-world.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/positionUsesPivotPoint-test.cs [moved from NUISamples/NUISamples/NUISamples.TizenTV/examples/positionUsesAnchorPoint-test.cs with 91% similarity]
NUISamples/NUISamples/NUISamples.TizenTV/examples/scroll-view.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/user-alphafunction.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/view-navi-property.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-animation-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-animation-test3.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test2.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test3.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-example.cs [changed mode: 0644->0755]
NUISamples/NUISamples/NUISamples.TizenTV/firstscreen/App.cs
NUISamples/NUISamples/NUISamples.TizenTV/firstscreen/FocusData.cs
NUISamples/NUISamples/NUISamples.TizenTV/firstscreen/ScrollContainer.cs
NUISamples/NUISamples/NUISamples.TizenTV/res/json/date-picker-template.json
src/Tizen.NUI/src/internal/Alignment.cs
src/Tizen.NUI/src/internal/GaussianBlurView.cs
src/Tizen.NUI/src/internal/Model3dView.cs
src/Tizen.NUI/src/internal/PageTurnView.cs
src/Tizen.NUI/src/internal/Slider.cs
src/Tizen.NUI/src/public/BaseComponents/CustomView.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/CustomViewRegistry.cs
src/Tizen.NUI/src/public/FlexContainer.cs
src/Tizen.NUI/src/public/NUIConstants.cs
src/Tizen.NUI/src/public/Position.cs
src/Tizen.NUI/src/public/ProgressBar.cs
src/Tizen.NUI/src/public/Property.cs
src/Tizen.NUI/src/public/Scrollable.cs
src/Tizen.NUI/src/public/TableView.cs
src/Tizen.NUI/src/public/UIComponents/Button.cs
src/Tizen.NUI/src/public/UIComponents/Popup.cs
src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs
src/Tizen.NUI/src/public/VideoView.cs
src/Tizen.NUI/src/public/ViewWrapper.cs

index e84a93a..536e502 100755 (executable)
@@ -87,7 +87,8 @@ namespace ControlDashboard
             TextLabel topLabel = new TextLabel();\r
             topLabel.WidthResizePolicy = ResizePolicyType.FillToParent;\r
             topLabel.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;\r
-            topLabel.AnchorPoint = AnchorPoint.TopCenter;\r
+            topLabel.PivotPoint = PivotPoint.TopCenter;\r
+            topLabel.PositionUsesPivotPoint = true;\r
             topLabel.ParentOrigin = ParentOrigin.TopCenter;\r
             topLabel.SetSizeModeFactor(new Vector3(0.0f, 0.1f, 0.0f));\r
             topLabel.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);\r
@@ -105,7 +106,8 @@ namespace ControlDashboard
             _contentContainer.WidthResizePolicy = ResizePolicyType.FillToParent;\r
             _contentContainer.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;\r
             _contentContainer.SetSizeModeFactor(new Vector3(0.0f, 0.9f, 0.0f));\r
-            _contentContainer.AnchorPoint = AnchorPoint.BottomCenter;\r
+            _contentContainer.PivotPoint = PivotPoint.BottomCenter;\r
+            _contentContainer.PositionUsesPivotPoint = true;\r
             _contentContainer.ParentOrigin = ParentOrigin.BottomCenter;\r
             _contentContainer.SetRelativeHeight(0, 0.07f);\r
             _contentContainer.SetRelativeHeight(1, 0.26f);\r
@@ -329,7 +331,8 @@ namespace ControlDashboard
                     PushButton button = new PushButton();\r
                     button.LabelText = "Popup";\r
                     button.ParentOrigin = ParentOrigin.Center;\r
-                    button.AnchorPoint = AnchorPoint.Center;\r
+                    button.PivotPoint = PivotPoint.Center;\r
+                    button.PositionUsesPivotPoint = true;\r
                     button.MaximumSize = new Size2D(150, 100);\r
                     _popup = CreatePopup();\r
                     _popup.SetTitle(CreateTitle("Popup"));\r
@@ -358,7 +361,8 @@ namespace ControlDashboard
                     PushButton button = new PushButton();\r
                     button.LabelText = "Toast";\r
                     button.ParentOrigin = ParentOrigin.Center;\r
-                    button.AnchorPoint = AnchorPoint.Center;\r
+                    button.PivotPoint = PivotPoint.Center;\r
+                    button.PositionUsesPivotPoint = true;\r
                     button.Clicked += (obj, ee) =>\r
                     {\r
                         TypeInfo typeInfo = new TypeInfo(TypeRegistry.Get().GetTypeInfo("PopupToast"));\r
@@ -404,25 +408,29 @@ namespace ControlDashboard
             footer.HeightResizePolicy = ResizePolicyType.Fixed;\r
             footer.Size = new Size(0.0f, 80.0f, 0.0f);\r
             footer.ParentOrigin = ParentOrigin.Center;\r
-            footer.AnchorPoint = AnchorPoint.Center;\r
+            footer.PivotPoint = PivotPoint.Center;\r
+            footer.PositionUsesPivotPoint = true;\r
 \r
             PushButton okButton = CreateOKButton();\r
             okButton.ParentOrigin = ParentOrigin.Center;\r
-            okButton.AnchorPoint = AnchorPoint.Center;\r
+            okButton.PivotPoint = PivotPoint.Center;\r
+            okButton.PositionUsesPivotPoint = true;\r
             okButton.WidthResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;\r
             okButton.HeightResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;\r
             okButton.SetSizeModeFactor(new Vector3(-20.0f, -20.0f, 0.0f));\r
 \r
             PushButton cancelButton = CreateCancelButton();\r
             cancelButton.ParentOrigin = ParentOrigin.Center;\r
-            cancelButton.AnchorPoint = AnchorPoint.Center;\r
+            cancelButton.PivotPoint = PivotPoint.Center;\r
+            cancelButton.PositionUsesPivotPoint = true;\r
             cancelButton.WidthResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;\r
             cancelButton.HeightResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;\r
             cancelButton.SetSizeModeFactor(new Vector3(-20.0f, -20.0f, 0.0f));\r
 \r
             TableView controlLayout = new TableView(1, 2);\r
             controlLayout.ParentOrigin = ParentOrigin.Center;\r
-            controlLayout.AnchorPoint = AnchorPoint.Center;\r
+            controlLayout.PivotPoint = PivotPoint.Center;\r
+            controlLayout.PositionUsesPivotPoint = true;\r
             controlLayout.WidthResizePolicy = ResizePolicyType.FillToParent;\r
             controlLayout.HeightResizePolicy = ResizePolicyType.FillToParent;\r
             controlLayout.SetCellPadding(new Size2D(10, 10));\r
index db68db3..2442cfc 100755 (executable)
@@ -67,7 +67,7 @@
     <Compile Include="examples\hello-world.cs" />\r
     <Compile Include="examples\image-view.cs" />\r
     <Compile Include="examples\Main.cs" />\r
-    <Compile Include="examples\positionUsesAnchorPoint-test.cs" />\r
+    <Compile Include="examples\positionUsesPivotPoint-test.cs" />\r
     <Compile Include="examples\relative-vector.cs" />\r
     <Compile Include="examples\scroll-view.cs" />\r
     <Compile Include="examples\sibling-order-test.cs" />\r
index 78fd748..17ca5fb 100755 (executable)
@@ -14,32 +14,32 @@ namespace NUISamples.TizenTV.examples
         [STAThread]
         static void Main(string[] args)
         {
-            //new ControlDashboard.Example().Run(args);                 //o
-            //new DatePickerTest.Example().Run(args);                   //o
-            //new DatePickerUsingJson.Example().Run(args);              //o
-            // new HelloTest.Example().Run(args);                        //o
-            // new HelloWorldTest.Example().Run(args);                   //o
-            // new Test1.Example().Run(args);                            //o
-            //new SiblingOrderTest.Example().Run(args);                 //o
-            //new UserAlphaFunctionTest.Example().Run(args);            //o
-            //new MyCSharpExample.Example().Run(args);                  //o
-            //new CustomControlTest.Example().Run(args);                //o
-            //new ScrollViewTest.Example().Run(args);                   //o
-            //new ImageViewTest.Example().Run(args);                    //o
-            //new FlexContainerTest.SampleMain().Run(args);             //o
-            //new DaliTest.Example().Run(args);                         //o
+            //new ControlDashboard.Example().Run(args);
+            //new DatePickerTest.Example().Run(args);
+            //new DatePickerUsingJson.Example().Run(args);
+            //new HelloTest.Example().Run(args);
+            //new HelloWorldTest.Example().Run(args);
+            //new Test1.Example().Run(args);
+            //new SiblingOrderTest.Example().Run(args);
+            //new UserAlphaFunctionTest.Example().Run(args);
+            //new MyCSharpExample.Example().Run(args);
+            //new CustomControlTest.Example().Run(args);
+            //new ScrollViewTest.Example().Run(args);
+            //new ImageViewTest.Example().Run(args);
+            //new FlexContainerTest.SampleMain().Run(args);
+            //new DaliTest.Example().Run(args);
             //new RelativeVectorTest.Example().Run(args);
             //new VisaulAnimationExample.Example().Run(args);
-            // new VisaulAnimationExample.Example2().Run(args);          //o
-            new VisaulAnimationExample.Example3().Run(args);          //o
-            //new VisualViewTest.Example().Run(args);                   //o
+            //new VisaulAnimationExample.Example2().Run(args);
+            //new VisaulAnimationExample.Example3().Run(args);
+            //new VisualViewTest.Example().Run(args);
             //new VisualViewTest2.VisualSample().Run(args);
-            //new VisualViewTest3.Example().Run(args);                   //o
-            //new VisualsUsingCustomView.VisualsExample().Run(args);    //o
-            //new FirstScreen.FirstScreenApp().Run(args);               //o
-            //new PositionUsesAnchorPointTest.Example().Run(args);
-            // new VisualsExampleTest.Example().Run(args);               //o
-            //new TizenSTVUIApplication15.Program().Run(args);
+            //new PositionUsesPivotPointTest.Example().Run(args);
+            //new VisualViewTest3.Example().Run(args);
+            //new VisualsUsingCustomView.VisualsExample().Run(args);
+            //new FirstScreen.FirstScreenApp().Run(args);
+            //new VisualsExampleTest.Example().Run(args);
+            new AsIsTest.Example().Run(args);
         }
     }
 }
index 3da0a43..f9ea851 100755 (executable)
@@ -2,9 +2,9 @@ using System;
 using Tizen.NUI.BaseComponents;
 using Tizen.NUI;
 
-namespace TizenSTVUIApplication15
+namespace AsIsTest
 {
-    class Program : NUIApplication
+    class Example : NUIApplication
     {
         private Timer myTimer;
 
@@ -24,16 +24,17 @@ namespace TizenSTVUIApplication15
             base.OnCreate();
 
             myView = new View();
-            myView.Size = new Size(100, 100, 0);
+            myView.Size2D = new Size2D(100, 100);
             myView.Position = new Position(100, 100, 0);
             myView.BackgroundColor = Color.Red;
             myView.Name = "myView";
+            myView.SizeWidth = 111;
 
             Window.Instance.GetDefaultLayer().Add(myView);
 
             myTextLabel = new TextLabel();
             myTextLabel.Position = new Position(100, 100, 0);
-            myTextLabel.Size = new Size(100, 100, 0);
+            myTextLabel.Size2D = new Size2D(100, 100);
             myTextLabel.Name = "myTextLabel";
 
             myView.Add(myTextLabel);
@@ -92,7 +93,7 @@ namespace TizenSTVUIApplication15
             {
                 Layer myLayer = o as Layer;
 
-                for (int i = 0; i < myLayer.GetChildCount(); i++)
+                for (int i = 0; i < myLayer.ChildCount; i++)
                 {
                     BFS(myLayer.GetChildAt((uint)i), depth + 1);
                 }
@@ -105,8 +106,12 @@ namespace TizenSTVUIApplication15
 
         private bool Mytimer_Tick(object source, Timer.TickEventArgs e)
         {
-            //ObjectDumpTrigger();
+            ObjectDumpTrigger();
             ObjectDumpTrigger2();
+            Tizen.Log.Debug("NUI", " === Size property set/get test!");
+            myView.Size2D.Width += 5;  //this is not working, because stage's Size is Vector2 but view's Size is Vector3. need to figure out.
+            myView.SizeHeight += 5;
+            Tizen.Log.Debug("NUI", $" view's size width= {myView.Size2D.Width} heigh={myView.Size2D.Height}");
 
             return true;
         }
@@ -143,7 +148,7 @@ namespace TizenSTVUIApplication15
             layer.Add(vi2);
             layer.Add(tb3);
 
-            Window.Instance.AddLayer(layer);
+            Window.Instance.Add(layer);
         }
 
         void ObjectDumpTrigger2()
@@ -167,7 +172,7 @@ namespace TizenSTVUIApplication15
                     Tizen.Log.Fatal("NUI-APP", "### layer is null! just return!");
                     return;
                 }
-                uint childCnt = layer.GetChildCount();
+                uint childCnt = layer.ChildCount;
                 if (childCnt > 0)
                 {
                     for (uint i = 0; i < childCnt; i++)
@@ -199,6 +204,32 @@ namespace TizenSTVUIApplication15
                     {
                         var temp = view.GetChildAt(i) as View;
                         Tizen.Log.Fatal("NUI-APP", "depth[" + depth + "] child in layer! type=" + temp.GetTypeName() + " AS-IS Test: IsView?=" + (temp is View) + " IsTextLabel?=" + (temp is TextLabel) );
+
+                        if (temp is TextLabel)
+                        {
+                            ToggleButton _toggleBt = temp as ToggleButton;
+                            if(_toggleBt == null)
+                            {
+                                Tizen.Log.Debug("NUI", $"temp is TextLabel! try to do invalid cast! should return null! OK!GOOD!");
+                            }
+                            else
+                            {
+                                Tizen.Log.Debug("NUI", $"temp is TextLabel! try to do invalid cast! should return null! BAD!ERROR!");
+                            }
+                        }
+                        else if (temp is ToggleButton)
+                        {
+                            TextLabel _textLb = temp as TextLabel;
+                            if(_textLb == null)
+                            {
+                                Tizen.Log.Debug("NUI", $"temp is ToggleButton! try to do invalid cast! should return null! OK!GOOD!");
+                            }
+                            else
+                            {
+                                Tizen.Log.Debug("NUI", $"temp is ToggleButton! try to do invalid cast! should return null! BAD!ERROR!");
+                            }
+                        }
+
                         ViewCheckRecurse(temp, depth);
                     }
                 }
@@ -217,7 +248,7 @@ namespace TizenSTVUIApplication15
         private static void _Main(string[] args)
         {
             //Create an Application
-            Program myProgram = new Program();
+            Example myProgram = new Example();
             myProgram.Run(args);
         }
     }
old mode 100644 (file)
new mode 100755 (executable)
index d76e91a..bea0ec6
@@ -46,7 +46,9 @@ namespace ControlDashboard
         private Window _window;
         private Popup _popup;
         private ProgressBar _progressBar;
-        private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        private const string _resPath = "./res";  //for ubuntu
+
 
         // List of items
         private Item[] mViewList = {
@@ -140,7 +142,7 @@ namespace ControlDashboard
         {
             // Make label for item
             TextLabel itemLabel = new TextLabel("    " + item.name);
-            itemLabel.Size = new Vector3(_window.Size.Width * 0.2f, _window.Size.Height * 0.05f, 0.0f);
+            itemLabel.Size2D = new Size2D((int)(_window.Size.Width * 0.2f), (int)(_window.Size.Height * 0.05f));
             itemLabel.HorizontalAlignment = HorizontalAlignment.Begin;
             itemLabel.VerticalAlignment = VerticalAlignment.Bottom;
             //itemLabel.PointSize = 18.0f;
@@ -392,7 +394,7 @@ namespace ControlDashboard
             else
             {
                 ImageView notSupportView = new ImageView(_resPath + "/images/not_yet_sign.png");
-                notSupportView.Size = new Vector3(_window.Size.Width * 0.2f, _window.Size.Height * 0.25f, 0.0f);
+                notSupportView.Size2D = new Size2D((int)(_window.Size.Width * 0.2f), (int)(_window.Size.Height * 0.25f));
                 notSupportView.Focusable = (true);
                 _contentContainer.AddChild(notSupportView, new TableView.CellPosition(((uint)idx / 5) * 2 + 1, (uint)idx % 5));
             }
@@ -405,7 +407,7 @@ namespace ControlDashboard
             footer.Name = ("Footer");
             footer.WidthResizePolicy = ResizePolicyType.FillToParent;
             footer.HeightResizePolicy = ResizePolicyType.Fixed;
-            footer.Size = new Size(0.0f, 80.0f, 0.0f);
+            footer.Size2D = new Size2D(0, 80);
             footer.PivotPoint = PivotPoint.Center;
 
             PushButton okButton = CreateOKButton();
old mode 100644 (file)
new mode 100755 (executable)
index 0a37c07..df9e60e
@@ -58,8 +58,6 @@ namespace CustomControlTest
             // Create a container for the star images
             _container = new FlexContainer();
 
-            //_container.ParentOrigin = ParentOrigin.TopLeft;
-            //_container.AnchorPoint = AnchorPoint.TopLeft;
             _container.FlexDirection = FlexContainer.FlexDirectionType.Row;
             _container.WidthResizePolicy = ResizePolicyType.FillToParent;
             _container.HeightResizePolicy = ResizePolicyType.FillToParent;
@@ -223,7 +221,7 @@ namespace CustomControlTest
 
                 // Add the image view to the row
                 ImageView image = new ImageView(resources+"/images/gallery-" + i + ".jpg");
-                image.Size = new Vector3(120.0f, 120.0f, 0.0f);
+                image.Size2D = new Size2D(120, 120);
                 image.WidthResizePolicy = ResizePolicyType.Fixed;
                 image.HeightResizePolicy = ResizePolicyType.Fixed;
                 image.AlignSelf = (int)FlexContainer.Alignment.AlignCenter;
@@ -237,7 +235,7 @@ namespace CustomControlTest
                 // Add the rating control to the row
                 view.ParentOrigin = ParentOrigin.Center;
                 view.PivotPoint = PivotPoint.Center;
-                view.Size = new Vector3(200.0f, 40.0f, 0.0f);
+                view.Size2D = new Size2D(200, 40);
                 view.Flex = 0.7f;
                 view.AlignSelf = (int)FlexContainer.Alignment.AlignCenter;
                 view.FlexMargin = new Vector4(30.0f, 0.0f, 0.0f, 0.0f);
index be7571d..b25aa6e 100755 (executable)
@@ -95,7 +95,8 @@ namespace DaliTest
 
     class Example : NUIApplication
     {
-        private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        private const string _resPath = "./res";  //for ubuntu
 
         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
         delegate void CallbackDelegate(IntPtr appPtr); // void, void delgate
@@ -143,15 +144,15 @@ namespace DaliTest
             Tizen.Log.Debug("NUI",  "myProperty value: " + myProperty );
 
             int myPropertyIndex2 = handle.RegisterProperty("myProperty2", new PropertyValue(new Size(5.0f, 5.0f, 0.0f)), PropertyAccessMode.ReadWrite);
-            Size myProperty2 = new Size(0.0f, 0.0f, 0.0f);
+            Size2D myProperty2 = new Size2D(0, 0);
             handle.GetProperty(myPropertyIndex2).Get(myProperty2);
             Tizen.Log.Debug("NUI",  "myProperty2 value: " + myProperty2.Width + ", " + myProperty2.Height );
 
             View view = new View();
-            view.Size = new Size(200.0f, 200.0f, 0.0f);
+            view.Size2D = new Size2D(200, 200);
             view.Name = "MyView";
             //view.MixColor = new Color(1.0f, 0.0f, 1.0f, 0.8f);
-            Tizen.Log.Debug("NUI", "View size: " + view.Size.Width + ", " + view.Size.Height);
+            Tizen.Log.Debug("NUI", "View size: " + view.Size2D.Width + ", " + view.Size2D.Height);
             Tizen.Log.Debug("NUI", "View name: " + view.Name);
 
             Window window = Window.Instance;
old mode 100644 (file)
new mode 100755 (executable)
index dd26180..a797434
@@ -31,6 +31,9 @@ namespace DatePickerUsingJson
         private Spin _spinDay;   // spin control for day
         private Builder _builder; // DALi Builder
 
+        //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        private const string _resPath = "./res";  //for ubuntu
+
         public Example() : base()
         {
         }
@@ -58,7 +61,7 @@ namespace DatePickerUsingJson
             constants.Insert( "CONFIG_SCRIPT_LOG_LEVEL",  new PropertyValue( "Verbose") );
             _builder.AddConstants( constants );
 
-            _builder.LoadFromFile("/home/owner/apps_rw/NUISamples.TizenTV/res/json/date-picker-template.json" );
+            _builder.LoadFromFile(_resPath + "/json/date-picker-template.json" );
 
             // create the date-picker from the template in the json file
             BaseHandle handle =  _builder.Create( "date-picker");
@@ -88,7 +91,7 @@ namespace DatePickerUsingJson
             keyboardFocusManager.PreFocusChange += OnKeyboardPreFocusChange;
             keyboardFocusManager.FocusedViewActivated += OnFocusedViewActivated;
 
-            StyleManager.Get().ApplyTheme("/home/owner/apps_rw/NUISamples.TizenTV/res/json/date-picker-theme.json");
+            StyleManager.Get().ApplyTheme(_resPath + "/json/date-picker-theme.json");
         }
 
         private View OnKeyboardPreFocusChange(object source, FocusManager.PreFocusChangeEventArgs e)
old mode 100644 (file)
new mode 100755 (executable)
index b707ca2..1163ee4
@@ -52,17 +52,13 @@ namespace DatePickerTest
             // Create a container for the spins
             _container = new FlexContainer();
 
-            //_container.ParentOrigin = ParentOrigin.Center;
-            _container.PivotPoint = PivotPoint.Center;
             _container.FlexDirection = FlexContainer.FlexDirectionType.Row;
-            _container.Size = new Vector3(480.0f, 150.0f, 0.0f);
-            _container.Position2D = new Position2D(400, 400);
+            _container.Size2D = new Size2D(480, 150);
 
             window.Add(_container);
 
             // Create a Spin control for year
             _spinYear = new Spin();
-            _spinYear.PivotPoint = PivotPoint.Center;
             _spinYear.Flex = 0.3f;
             _spinYear.FlexMargin = new Vector4(5.0f, 0.0f, 5.0f, 0.0f);
             _container.Add(_spinYear);
@@ -79,7 +75,6 @@ namespace DatePickerTest
 
             // Create a Spin control for month
             _spinMonth = new Spin();
-            _spinMonth.PivotPoint = PivotPoint.Center;
             _spinMonth.Flex = 0.3f;
             _spinMonth.FlexMargin = new Vector4(5.0f, 0.0f, 5.0f, 0.0f);
             _container.Add(_spinMonth);
@@ -96,7 +91,6 @@ namespace DatePickerTest
 
             // Create a Spin control for day
             _spinDay = new Spin();
-            _spinDay.PivotPoint = PivotPoint.Center;
             _spinDay.Flex = 0.3f;
             _spinDay.FlexMargin = new Vector4(5.0f, 0.0f, 5.0f, 0.0f);
             _container.Add(_spinDay);
old mode 100644 (file)
new mode 100755 (executable)
index 1e11b77..2a6274b
@@ -34,7 +34,7 @@ namespace FlexContainerTest
             Window.Instance.BackgroundColor = new Color(0.1f, 0.8f, 0.1f, 1.0f);
 
             container = new FlexContainer();
-            container.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height, 0);
+            container.Size2D = new Size2D(Window.Instance.Size.Width, Window.Instance.Size.Height);
             container.PivotPoint = PivotPoint.TopLeft;
             container.Padding = new Vector4(100, 100, 100, 100);
 
index a2e21d8..fb1f994 100755 (executable)
@@ -1,4 +1,3 @@
-using Tizen.Applications;
 
 using System.Collections.Generic;
 using System;
@@ -34,8 +33,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
 
                 myViewList.Add(v);
 
@@ -71,8 +70,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
                 v.Text = "label " + i;
 
                 myViewList.Add(v);
@@ -87,8 +86,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
                 v.LabelText = "button " + i;
 
                 myViewList.Add(v);
@@ -103,8 +102,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
                 v.ResourceUrl = resources + "/images/gallery-3.jpg";
 
                 myViewList.Add(v);
@@ -119,8 +118,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
                 v.Text = "editor" + i;
 
                 myViewList.Add(v);
@@ -135,8 +134,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
                 v.Text = "field " + i;
 
                 myViewList.Add(v);
@@ -151,8 +150,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
                 v.LabelText = "check " + i;
 
                 myViewList.Add(v);
@@ -167,8 +166,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
 
                 myViewList.Add(v);
 
@@ -182,8 +181,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
 
                 myViewList.Add(v);
 
@@ -197,8 +196,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
 
                 myViewList.Add(v);
 
@@ -212,8 +211,8 @@ namespace TizenVDUIApplication19
                 float intensity = myRandom.Next(0, 255) / 255.0f;
                 v.BackgroundColor = new Color(intensity, intensity, intensity, 1);
                 v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0);
-                v.AnchorPoint = AnchorPoint.TopLeft;
-                v.Size = new Size(100, 100, 0);
+                v.PivotPoint = PivotPoint.TopLeft;
+                v.Size2D = new Size2D(100, 100);
 
                 myViewList.Add(v);
 
index ea3a59e..b4dd9e2 100755 (executable)
@@ -96,7 +96,7 @@ namespace HelloWorldTest
             window.Add(_text);
 
             _view = new View();
-            _view.Size = new Size(100, 100, 100);
+            _view.Size2D = new Size2D(100, 100);
             _view.SizeWidth = 50;
             Tizen.Log.Debug("NUI", "[1]_view SizeWidth=" + _view.SizeWidth);
 
index 8f16634..e119d29 100755 (executable)
@@ -92,7 +92,7 @@ namespace ImageViewTest
             _imageView.PivotPoint = PivotPoint.TopLeft;
             _imageView.Position = new Position(5.0f, 5.0f, 0.0f);
             _imageView.PixelArea = new Vector4(0.0f, 0.0f, 0.5f, 0.5f);
-            _imageView.Size = new Size(200.0f, 80.0f, 0.0f);
+            _imageView.Size2D = new Size2D(200, 80);
             //_imageView.SetResizePolicy(ResizePolicyType.USE_NATURAL_SIZE, DimensionType.ALL_DIMENSIONS);
             layer.Add(_imageView);
 
@@ -115,7 +115,7 @@ namespace ImageViewTest
             ImageView syncImage = new ImageView();
             syncImage.ParentOrigin = ParentOrigin.CenterLeft;
             syncImage.PivotPoint = PivotPoint.CenterLeft;
-            syncImage.PositionUsesAnchorPoint = true;
+            syncImage.PositionUsesPivotPoint = true;
             syncImage.Size2D = new Size2D(150, 150);
             syncImage.ResourceUrl = resources+"/images/gallery-3.jpg";
             syncImage.SynchronosLoading = true;
@@ -128,8 +128,8 @@ namespace ImageViewTest
             ImageView nPatchImage = new ImageView();
             nPatchImage.ParentOrigin = ParentOrigin.BottomLeft;
             nPatchImage.PivotPoint = PivotPoint.BottomLeft;
-            nPatchImage.PositionUsesAnchorPoint = true;
-            nPatchImage.Size = new Size(300.0f, 100.0f, 0.0f);
+            nPatchImage.PositionUsesPivotPoint = true;
+            nPatchImage.Size2D = new Size2D(300, 100);
             nPatchImage.ImageMap = _map;
             layer.Add(nPatchImage);
 
@@ -137,8 +137,8 @@ namespace ImageViewTest
             syncNineImage.ParentOrigin = ParentOrigin.CenterLeft;
             syncNineImage.PivotPoint = PivotPoint.CenterLeft;
             syncNineImage.Position2D = new Position2D(0, 200);
-            syncNineImage.PositionUsesAnchorPoint = true;
-            syncNineImage.Size = new Size(150.0f, 150.0f, 0.0f);
+            syncNineImage.PositionUsesPivotPoint = true;
+            syncNineImage.Size2D = new Size2D(150, 150);
             syncNineImage.ResourceUrl = resources+"/images/00_popup_bg.9.png";
             syncNineImage.SynchronosLoading = true;
             syncNineImage.Border = new Rectangle(0, 0, 0, 0);
@@ -29,7 +29,7 @@ using Tizen.NUI.Constants;
 // This file can only run on Tizen target. You should compile it with DaliApplication.cs, and
 // add tizen c# application related library as reference.
 //------------------------------------------------------------------------------
-namespace PositionUsesAnchorPointTest
+namespace PositionUsesPivotPointTest
 {
     class Example : NUIApplication
     {
@@ -59,22 +59,22 @@ namespace PositionUsesAnchorPointTest
         {
             // Connect the signal callback for window touched signal
             _window = Window.Instance;
-            _text1 = new TextLabel("PositionUsesAnchorPoint");
+            _text1 = new TextLabel("PositionUsesPivotPoint");
             _text1.ParentOrigin = ParentOrigin.Center;
             _text1.PivotPoint = PivotPoint.Center;
             _text1.Position = new Position(0, 0, 0);
-            _text1.PositionUsesAnchorPoint = true;
+            _text1.PositionUsesPivotPoint = true;
             _text1.HorizontalAlignment = HorizontalAlignment.Center;
             _text1.Size2D = new Size2D(200, 100);
             _text1.PointSize = 10.0f;
             _text1.BackgroundColor = Color.Blue;
             _window.Add(_text1);
 
-            _text2 = new TextLabel("PositionNotUsesAnchorPoint");
+            _text2 = new TextLabel("PositionNotUsesPivotPoint");
             _text2.ParentOrigin = ParentOrigin.Center;
             _text2.PivotPoint = PivotPoint.Center;
             _text2.Position = new Position(0, 0, 0);
-            _text2.PositionUsesAnchorPoint = false;
+            _text2.PositionUsesPivotPoint = false;
             _text2.HorizontalAlignment = HorizontalAlignment.Center;
             _text2.Size2D = new Size2D(200, 100);
             _text2.PointSize = 10.0f;
old mode 100644 (file)
new mode 100755 (executable)
index 7a3dadf..4f4c45d
@@ -70,7 +70,7 @@ namespace ScrollViewTest
       // Create a scroll view
       _scrollView = new ScrollView();
       Size windowSize = new Size(window.Size.Width, window.Size.Height, 0.0f);
-      _scrollView.Size = new Size(windowSize.Width, windowSize.Height, 0.0f);
+      _scrollView.Size2D = new Size2D((int)windowSize.Width, (int)windowSize.Height);
       _scrollView.ParentOrigin = ParentOrigin.Center;
       _scrollView.PivotPoint = PivotPoint.Center;
       window.Add(_scrollView);
@@ -103,7 +103,7 @@ namespace ScrollViewTest
               ImageView imageView = new ImageView(resources+"/images/image-" + imageId + ".jpg");
               imageView.ParentOrigin = ParentOrigin.Center;
               imageView.PivotPoint = PivotPoint.Center;
-              imageView.Size = new Size(imageSize.X, imageSize.Y, imageSize.Z);
+              imageView.Size2D = new Size2D((int)imageSize.X, (int)imageSize.Y);
               imageView.Position = new Position( margin * 0.5f + (imageSize.X + margin) * column - windowSize.Width * 0.5f + imageSize.X * 0.5f,
                   margin * 0.5f + (imageSize.Y + margin) * row - windowSize.Height * 0.5f + imageSize.Y * 0.5f, 0.0f );
               pageActor.Add(imageView);
@@ -197,7 +197,7 @@ namespace ScrollViewTest
       Tizen.Log.Debug("NUI", "View OnRelayoutEventArgs EVENT callback....");
 
       // Set the correct scroll bar size after size negotiation of scroll view is done
-      _scrollBar.Size = new Size(0.0f, _scrollView.GetRelayoutSize(DimensionType.Width), 0.0f);
+      _scrollBar.Size2D = new Size2D(0, (int)_scrollView.GetRelayoutSize(DimensionType.Width));
     }
 
     /// <summary>
old mode 100644 (file)
new mode 100755 (executable)
index dca7e30..54f6891
@@ -78,7 +78,7 @@ namespace UserAlphaFunctionTest
             window.Add(_text);
 
             _view1 = new View();
-            _view1.Size = new Vector3(200.0f, 200.0f, 0.0f);
+            _view1.Size2D = new Size2D(200, 200);
             _view1.BackgroundColor = Color.Green;
             _view1.ParentOrigin = ParentOrigin.Center;
             _view1.PivotPoint = PivotPoint.Center;
@@ -89,7 +89,7 @@ namespace UserAlphaFunctionTest
 
             _view2 = new View();
             _view2.BackgroundColor = Color.Red;
-            _view2.Size = new Vector3(50.0f, 50.0f, 0.0f);
+            _view2.Size2D = new Size2D(50, 50);
             _view2.ParentOrigin = ParentOrigin.TopLeft;
             _view2.PivotPoint = PivotPoint.TopLeft;
             _view2.WidthResizePolicy = ResizePolicyType.Fixed;
@@ -98,7 +98,7 @@ namespace UserAlphaFunctionTest
 
             _view3 = new View();
             _view3.BackgroundColor = Color.Blue;
-            _view3.Size = new Vector3(50.0f, 50.0f, 0.0f);
+            _view3.Size2D = new Size2D(50, 50);
             _view3.ParentOrigin = ParentOrigin.TopLeft;
             _view3.PivotPoint = PivotPoint.TopLeft;
             _view3.WidthResizePolicy = ResizePolicyType.Fixed;
old mode 100644 (file)
new mode 100755 (executable)
index ca45028..71f324d
@@ -41,7 +41,7 @@ namespace MyCSharpExample
             for (int i = 0; i < num; i++)
             {
                 view[i] = new View();
-                view[i].Size = new Size(200, 200, 0);
+                view[i].Size2D = new Size2D(200, 200);
                 view[i].BackgroundColor = Color.Blue;
                 view[i].Position = new Position(300 + i * 300, 300, 0);
                 view[i].Name = "MyView" + i;
index d6ac8d8..d175a11 100755 (executable)
@@ -30,7 +30,8 @@ namespace VisaulAnimationExample
         private TextLabel _title;
         private PushButton _shadowButton;
         private bool _active = false;
-        private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        private const string _resPath = "./res";  //for ubuntu
 
         private Animation _animation1;
         private bool _transitionInProgress = false;
index ebe3cc3..f356c54 100755 (executable)
@@ -36,7 +36,8 @@ namespace VisaulAnimationExample
         private bool _active1 = false;
         private bool _active2 = false;
         private bool _active3 = false;
-        private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        private const string _resPath = "./res";  //for ubuntu
 
         private Animation _animation;
         private ImageVisual _icon;
old mode 100644 (file)
new mode 100755 (executable)
index 876a899..6c199d3
@@ -62,7 +62,7 @@ namespace VisualViewTest
             _visualView = new VisualView();
             _visualView.ParentOrigin = ParentOrigin.TopLeft;
             _visualView.PivotPoint = PivotPoint.TopLeft;
-            _visualView.Size = new Size(window.Size.Width, window.Size.Height, 0.0f);
+            _visualView.Size2D = new Size2D((int)window.Size.Width, (int)window.Size.Height);
 
             /* color visual */
             ColorVisual colorVisualMap1 = new ColorVisual();
old mode 100644 (file)
new mode 100755 (executable)
index 4bca14e..cad1003
@@ -35,7 +35,7 @@ namespace VisualViewTest2
             for (int i = 0; i < num; i++)
             {
                 view[i] = new VisualView();
-                view[i].Size = new Size(600, 600, 0);
+                view[i].Size2D = new Size2D(600, 600);
                 view[i].BackgroundColor = Color.Blue;
                 view[i].Position = new Position(400 + i * 800, 600, 0);
                 view[i].Focusable = true;
@@ -55,7 +55,7 @@ namespace VisualViewTest2
             imageMap.Origin = Visual.AlignType.TopBegin;
             imageMap.Position = new Vector2(0, 0);
             imageMap.PositionPolicy = VisualTransformPolicyType.Absolute;
-            imageMap.Size = new Vector2(500, 500);
+            imageMap.Size = new Size2D(500, 500);
             imageMap.SizePolicy = VisualTransformPolicyType.Absolute;
             imageMap.DepthIndex = 0;
             view[0].AddVisual("bgVisual", imageMap);
old mode 100644 (file)
new mode 100755 (executable)
index eda52c5..ea9205a
@@ -60,7 +60,7 @@ namespace VisualViewTest3
             _visualView = new VisualView();
             _visualView.ParentOrigin = ParentOrigin.TopLeft;
             _visualView.PivotPoint = PivotPoint.TopLeft;
-            _visualView.Size = new Size(window.Size.Width, window.Size.Height, 0.0f);
+            _visualView.Size2D = new Size2D(window.Size.Width, window.Size.Height);
 
             /* color visual */
             ColorVisual colorVisualMap1 = new ColorVisual();
old mode 100644 (file)
new mode 100755 (executable)
index 705c115..559971d
@@ -54,9 +54,6 @@ namespace VisualsExampleTest
             contentLayout.Name = ("ContentLayout");
             contentLayout.WidthResizePolicy = ResizePolicyType.FillToParent;
             contentLayout.HeightResizePolicy = ResizePolicyType.FillToParent;
-            //contentLayout.ParentOrigin = ParentOrigin.Center;
-            //contentLayout.AnchorPoint = AnchorPoint.Center;
-            // contentLayout.Size = new Size(window.Size.Width, window.Size.Height, 0.0f);
 
             contentLayout.SetCellPadding(new Size2D(0, 5));
             contentLayout.BackgroundColor = Color.Red;//new Color(0.949f, 0.949f, 0.949f, 1.0f);
@@ -81,7 +78,7 @@ namespace VisualsExampleTest
             // colorVisual.Add( Visual.Property.Type, new PropertyValue( (int)Visual.Type.Color ))
             //            .Add( ColorVisualProperty.MixColor, new PropertyValue( Color.Green ));
             //colorView.Background = colorVisual;
-            colorView.Size = new Size(500.0f, 200.0f, 0.0f);
+            colorView.Size2D = new Size2D(500, 200);
             colorView.ResourceUrl = resources+"/images/00_popup_bg.9.png";
             colorView.Border = new Rectangle(100, 100, 100, 100);
            // colorView.
index 0b2bf00..1d849c8 100644 (file)
@@ -268,7 +268,6 @@ namespace FirstScreen
             _topContainer.Size = new Size(_stageSize.Width, _stageSize.Height * Constants.TopContainerHeightFactor, 0);
             _topContainer.Position = new Position(0.0f, _stageSize.Height * Constants.TopContainerPositionFactor, 0.0f);
             _topContainer.ParentOrigin = ParentOrigin.TopLeft;
-            _topContainer.AnchorPoint = AnchorPoint.TopLeft;
 
             // Add a background to Top container
             PropertyMap visual = new PropertyMap();
@@ -282,7 +281,6 @@ namespace FirstScreen
             _bottomContainer.Size = new Size(_stageSize.Width, _stageSize.Height * Constants.BottomContainerHeightFactor, 0);
             _bottomContainer.Position = new Position(0.0f, _stageSize.Height * Constants.BottomContainerHidePositionFactor, 0.0f);
             _bottomContainer.ParentOrigin = ParentOrigin.TopLeft;
-            _bottomContainer.AnchorPoint = AnchorPoint.TopLeft;
 
             // Add a background to Bottom Container
             visual = new PropertyMap();
@@ -297,7 +295,6 @@ namespace FirstScreen
 
             // Add a clip layer to Top Container
             _topClipLayer = new Layer();
-            _topClipLayer.AnchorPoint = AnchorPoint.BottomCenter;
             _topClipLayer.ParentOrigin = ParentOrigin.BottomCenter;
             _topClipLayer.ClippingEnable = true;
             _topClipLayer.ClippingBox = new Rectangle(0,
@@ -311,13 +308,15 @@ namespace FirstScreen
             spotLight.WidthResizePolicy = ResizePolicyType.UseNaturalSize;
             spotLight.HeightResizePolicy = ResizePolicyType.UseNaturalSize;
             spotLight.ParentOrigin = ParentOrigin.Center;
-            spotLight.AnchorPoint = AnchorPoint.Center;
+            spotLight.PivotPoint = PivotPoint.Center;
+            spotLight.PositionUsesPivotPoint = true;
             spotLight.Name = "spotLight";
 
             // Create a shadowBorder for items / images of Poster ScrollContainers
             ImageView shadowBorder = new ImageView(_imagePath + "/focuseffect/thumbnail_shadow.9.png");
             shadowBorder.ParentOrigin = ParentOrigin.Center;
-            shadowBorder.AnchorPoint = AnchorPoint.Center;
+            shadowBorder.PivotPoint = PivotPoint.Center;
+            shadowBorder.PositionUsesPivotPoint = true;
             shadowBorder.WidthResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;
             shadowBorder.HeightResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;
             shadowBorder.SizeModeFactor = (new Vector3(32.0f, 41.0f, 0.0f));
@@ -352,7 +351,8 @@ namespace FirstScreen
 
             // Add a clip layer to Bottom Container
             _bottomClipLayer = new Layer();
-            _bottomClipLayer.AnchorPoint = AnchorPoint.BottomCenter;
+            _bottomClipLayer.PivotPoint = PivotPoint.BottomCenter;
+            _bottomClipLayer.PositionUsesPivotPoint = true;
             _bottomClipLayer.ParentOrigin = ParentOrigin.BottomCenter;
             _bottomClipLayer.ClippingEnable = true;
             _bottomClipLayer.ClippingBox = new Rectangle(Convert.ToInt32(Constants.LauncherWidth),
@@ -370,7 +370,8 @@ namespace FirstScreen
                 launcherIcon[launcherIndex].WidthResizePolicy = ResizePolicyType.UseNaturalSize;
                 launcherIcon[launcherIndex].HeightResizePolicy = ResizePolicyType.UseNaturalSize;
                 launcherIcon[launcherIndex].ParentOrigin = ParentOrigin.CenterLeft;
-                launcherIcon[launcherIndex].AnchorPoint = AnchorPoint.CenterLeft;
+                launcherIcon[launcherIndex].PivotPoint = PivotPoint.CenterLeft;
+                launcherIcon[launcherIndex].PositionUsesPivotPoint = true;
                 launcherIcon[launcherIndex].Position = new Position(Constants.LauncherIconWidth * launcherIndex + Constants.LauncherLeftMargin, 0.0f, 0.0f);
                 _bottomContainer.Add(launcherIcon[launcherIndex]);
             }
@@ -381,7 +382,8 @@ namespace FirstScreen
             _launcherSeparator.WidthResizePolicy = ResizePolicyType.UseNaturalSize;
             _launcherSeparator.HeightResizePolicy = ResizePolicyType.FillToParent;
             _launcherSeparator.ParentOrigin = ParentOrigin.CenterLeft;
-            _launcherSeparator.AnchorPoint = AnchorPoint.CenterLeft;
+            _launcherSeparator.PivotPoint = PivotPoint.CenterLeft;
+            _launcherSeparator.PositionUsesPivotPoint = true;
             _launcherSeparator.Position = new Position(Constants.LauncherIconWidth * Constants.LauncherItemsCount + Constants.LauncherLeftMargin, 0.0f, 0.0f);
             _bottomContainer.Add(_launcherSeparator);
 
@@ -401,8 +403,8 @@ namespace FirstScreen
             _menuContainer.ShadowBorder.Size = new Size(_menuContainer.ItemSize.Width + 40.0f, _menuContainer.ItemSize.Height + 50.0f, 0.0f);
             _menuContainer.ShadowBorder.Position = new Position(0.0f, 5.0f, 0.0f);
             _menuContainer.ShadowBorder.ParentOrigin = ParentOrigin.Center;
-            _menuContainer.ShadowBorder.AnchorPoint = AnchorPoint.Center;
-            //_menuContainer.ShadowBorder.MixColor = Color.Red;
+            _menuContainer.ShadowBorder.PivotPoint = PivotPoint.Center;
+            _menuContainer.ShadowBorder.PositionUsesPivotPoint = true;
             _menuContainer.SpotLight = spotLight;
             _bottomClipLayer.Add(_menuContainer);
 
@@ -415,7 +417,8 @@ namespace FirstScreen
 
             _keyboardFocusIndicator = new ImageView(_imagePath + "/focuseffect/highlight_stroke.9.png");
             _keyboardFocusIndicator.ParentOrigin = ParentOrigin.Center;
-            _keyboardFocusIndicator.AnchorPoint = AnchorPoint.Center;
+            _keyboardFocusIndicator.PivotPoint = PivotPoint.Center;
+            _keyboardFocusIndicator.PositionUsesPivotPoint = true;
             _keyboardFocusIndicator.WidthResizePolicy = ResizePolicyType.FillToParent;
             _keyboardFocusIndicator.HeightResizePolicy = ResizePolicyType.FillToParent;
 
@@ -437,7 +440,8 @@ namespace FirstScreen
             TextLabel _dateOfTest = new TextLabel();
             _dateOfTest.WidthResizePolicy = ResizePolicyType.FillToParent;
             _dateOfTest.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;
-            _dateOfTest.AnchorPoint = AnchorPoint.TopCenter;
+            _dateOfTest.PivotPoint = PivotPoint.TopCenter;
+            _dateOfTest.PositionUsesPivotPoint = true;
             _dateOfTest.ParentOrigin = ParentOrigin.TopCenter;
             _dateOfTest.SizeModeFactor = new Vector3(0.0f, 0.1f, 0.0f);
             _dateOfTest.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);
index 3a2c4e9..39ab573 100644 (file)
@@ -34,7 +34,8 @@ namespace FirstScreen
             _imageFocus = new ImageView(Constants.ImageResourcePath + "/focuseffect/" + _imageName); // Target
 
             _imageFocus.ParentOrigin = _parentOrigin;
-            _imageFocus.AnchorPoint = AnchorPoint.Center;
+            _imageFocus.PivotPoint = PivotPoint.Center;
+            _imageFocus.PositionUsesPivotPoint = true;
             _imageFocus.Name = _name;
         }
 
index 998e6ac..4faa23d 100644 (file)
@@ -256,13 +256,11 @@ namespace FirstScreen
             _itemList = new List<View>();
 
             this.ParentOrigin = Tizen.NUI.ParentOrigin.TopLeft;
-            this.AnchorPoint = Tizen.NUI.AnchorPoint.TopLeft;
             this.WidthResizePolicy = ResizePolicyType.FillToParent;
             this.HeightResizePolicy = ResizePolicyType.FillToParent;
             this.Focusable = (true);
 
             _container.ParentOrigin = Tizen.NUI.ParentOrigin.TopLeft;
-            _container.AnchorPoint = Tizen.NUI.AnchorPoint.TopLeft;
             _container.WidthResizePolicy = ResizePolicyType.FillToParent;
             _container.HeightResizePolicy = ResizePolicyType.FillToParent;
 
@@ -288,7 +286,8 @@ namespace FirstScreen
 
             if (item is View && item != _container)
             {
-                item.AnchorPoint = Tizen.NUI.AnchorPoint.BottomCenter;
+                item.PivotPoint = Tizen.NUI.PivotPoint.BottomCenter;
+                item.PositionUsesPivotPoint = true;
                 item.ParentOrigin = Tizen.NUI.ParentOrigin.BottomCenter;
 
                 item.Size = _itemSize;
index dd01d8f..79ab9a2 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,8 +22,6 @@
     {
       "type":"FlexContainer",
       "name":"exampleDatePicker",
-      "parentOrigin": "CENTER",
-      "anchorPoint": "CENTER",
       "flexDirection":"ROW",
       "size":[480.0, 150, 0 ],
       "actors": [
@@ -31,8 +29,6 @@
 
         "type": "Spin",
         "name": "Year",
-        "parentOrigin": "CENTER",
-        "anchorPoint": "CENTER",
         "Value":2017,
         "MinValue":1900,
         "MaxValue":2100,
@@ -47,9 +43,6 @@
 
         "type": "Spin",
         "name": "Month",
-        "parentOrigin": "CENTER",
-        "anchorPoint": "CENTER",
-        "parentOrigin": "CENTER",
         "Value":10,
         "Step":1,
         "MinValue":1,
@@ -65,8 +58,6 @@
 
         "type": "Spin",
         "name": "Day",
-        "parentOrigin": "CENTER",
-        "anchorPoint": "CENTER",
         "Value":1,
         "MinValue":1,
         "MaxValue":31,
index e43fe34..5da5a92 100755 (executable)
@@ -36,8 +36,6 @@ namespace Tizen.NUI
         internal Alignment(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Alignment_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Alignment obj)
index 4bde8c3..c2e77c5 100755 (executable)
@@ -40,8 +40,6 @@ namespace Tizen.NUI
         internal GaussianBlurView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.GaussianBlurView_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GaussianBlurView obj)
index 7c66870..cb6a581 100755 (executable)
@@ -36,8 +36,6 @@ namespace Tizen.NUI
         internal Model3dView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Model3dView_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Model3dView obj)
index 61cbfd1..c94792a 100755 (executable)
@@ -22,8 +22,6 @@ namespace Tizen.NUI
         internal PageTurnView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PageTurnView_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PageTurnView obj)
index fad752c..8df9be4 100755 (executable)
@@ -41,8 +41,6 @@ namespace Tizen.NUI.UIComponents
         internal Slider(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Slider_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Slider obj)
index 5bfe0a6..3f2d165 100755 (executable)
@@ -64,9 +64,6 @@ namespace Tizen.NUI.BaseComponents
             viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);
             viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);
 
-            // By default, we do not want the position to use the anchor point
-            this.PositionUsesAnchorPoint = false;
-
             // Make sure CustomView is initialized.
             OnInitialize();
 
index ce3a7d4..e5ea920 100755 (executable)
@@ -40,8 +40,6 @@ namespace Tizen.NUI.BaseComponents
         internal ImageView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ImageView_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImageView obj)
index 366d821..008211d 100755 (executable)
@@ -40,8 +40,6 @@ namespace Tizen.NUI.BaseComponents
         internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)
index c898ac8..0c31cd9 100755 (executable)
@@ -40,8 +40,6 @@ namespace Tizen.NUI.BaseComponents
         internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)
index 10d6acb..4cacebf 100755 (executable)
@@ -38,8 +38,6 @@ namespace Tizen.NUI.BaseComponents
         internal TextLabel(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextLabel_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextLabel obj)
index 698d0d2..71e85ce 100755 (executable)
@@ -30,6 +30,7 @@ namespace Tizen.NUI.BaseComponents
         internal View(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.View_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            PositionUsesPivotPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)
@@ -801,7 +802,6 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         public View() : this(NDalicPINVOKE.View_New(), true)
         {
-            PositionUsesAnchorPoint = false;
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 
         }
@@ -1723,7 +1723,7 @@ namespace Tizen.NUI.BaseComponents
 
         /// <summary>
         /// Sets the position of the View for X and Y.<br>
-        /// By default, sets the position vector between the parent origin and anchor point(default).<br>
+        /// By default, sets the position vector between the parent origin and pivot point(default).<br>
         /// If Position inheritance if disabled, sets the world position.<br>
         /// </summary>
         public Position2D Position2D
@@ -1754,13 +1754,13 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Determines whether the anchor point should be used to determine the position of the view.
+        /// Determines whether the pivot point should be used to determine the position of the view.
         /// This is true by default.
         /// </summary>
         /// <remarks>If false, then the top-left of the view is used for the position.
         /// Setting this to false will allow scaling or rotation around the anchor-point without affecting the view's position.
         /// </remarks>
-        public bool PositionUsesAnchorPoint
+        public bool PositionUsesPivotPoint
         {
             get
             {
@@ -2818,7 +2818,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Gets/Sets the anchor-point of an view.<br>
         /// This is expressed in unit coordinates, such that (0.0, 0.0, 0.5) is the top-left corner of the view, and (1.0, 1.0, 0.5) is the bottom-right corner.<br>
-        /// The default anchor point is AnchorPoint.Center (0.5, 0.5, 0.5).<br>
+        /// The default pivot point is PivotPoint.Center (0.5, 0.5, 0.5).<br>
         /// An view position is the distance between its parent-origin and this anchor-point.<br>
         /// An view's orientation is the rotation from its default orientation, the rotation is centered around its anchor-point.<br>
         /// <pre>The View has been initialized.</pre>
@@ -2915,7 +2915,7 @@ namespace Tizen.NUI.BaseComponents
 
         /// <summary>
         /// Gets/Sets the position of the View.<br>
-        /// By default, sets the position vector between the parent origin and anchor point(default).<br>
+        /// By default, sets the position vector between the parent origin and pivot point(default).<br>
         /// If Position inheritance if disabled, sets the world position.<br>
         /// </summary>
         public Position Position
@@ -3576,7 +3576,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Gets/Sets whether a child view inherits it's parent's position.<br>
         /// Default is to inherit.<br>
-        /// Switching this off means that using Position sets the view's world position, i.e. translates from the world origin(0,0,0) to the anchor point of the view.<br>
+        /// Switching this off means that using Position sets the view's world position, i.e. translates from the world origin(0,0,0) to the pivot point of the view.<br>
         /// </summary>
         public bool InheritPosition
         {
index 2a5763a..37180f9 100644 (file)
@@ -280,7 +280,7 @@ namespace Tizen.NUI
             TypeRegistration.RegisterControl(viewType.Name, _createCallback);
 
             // Cycle through each property in the class
-            foreach (System.Reflection.PropertyInfo propertyInfo in viewType.GetProperties())
+            foreach (System.Reflection.PropertyInfo propertyInfo in viewType.GetProperties(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public))
             {
 
                 if (propertyInfo.CanRead)
index e82bc4c..09b1985 100755 (executable)
@@ -41,8 +41,6 @@ namespace Tizen.NUI
         internal FlexContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.FlexContainer_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FlexContainer obj)
index cd559ae..2b63ffd 100755 (executable)
@@ -1072,7 +1072,7 @@ namespace Tizen.NUI
     }
 
     /// <summary>
-    /// AnchorPoint constants.
+    /// PivotPoint constants.
     /// </summary>
     public struct PivotPoint
     {
index cff3f9b..1c66e93 100755 (executable)
@@ -558,9 +558,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.0
+        /// PivotPoint constants: 0.0
         /// </summary>
-        public static float AnchorPointTop
+        public static float PivotPointTop
         {
             get
             {
@@ -571,9 +571,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 1.0
+        /// PivotPoint constants: 1.0
         /// </summary>
-        public static float AnchorPointBottom
+        public static float PivotPointBottom
         {
             get
             {
@@ -584,9 +584,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.0
+        /// PivotPoint constants: 0.0
         /// </summary>
-        public static float AnchorPointLeft
+        public static float PivotPointLeft
         {
             get
             {
@@ -597,9 +597,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 1.0
+        /// PivotPoint constants: 1.0
         /// </summary>
-        public static float AnchorPointRight
+        public static float PivotPointRight
         {
             get
             {
@@ -610,9 +610,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.0
+        /// PivotPoint constants: 0.0
         /// </summary>
-        public static float AnchorPointMiddle
+        public static float PivotPointMiddle
         {
             get
             {
@@ -623,9 +623,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.0, 0.0, 0.5
+        /// PivotPoint constants: 0.0, 0.0, 0.5
         /// </summary>
-        public static Position AnchorPointTopLeft
+        public static Position PivotPointTopLeft
         {
             get
             {
@@ -637,9 +637,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.5, 0.0, 0.5
+        /// PivotPoint constants: 0.5, 0.0, 0.5
         /// </summary>
-        public static Position AnchorPointTopCenter
+        public static Position PivotPointTopCenter
         {
             get
             {
@@ -651,9 +651,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 1.0, 0.0, 0.5
+        /// PivotPoint constants: 1.0, 0.0, 0.5
         /// </summary>
-        public static Position AnchorPointTopRight
+        public static Position PivotPointTopRight
         {
             get
             {
@@ -665,9 +665,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.0, 0.5, 0.5
+        /// PivotPoint constants: 0.0, 0.5, 0.5
         /// </summary>
-        public static Position AnchorPointCenterLeft
+        public static Position PivotPointCenterLeft
         {
             get
             {
@@ -679,9 +679,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.5, 0.5, 0.5
+        /// PivotPoint constants: 0.5, 0.5, 0.5
         /// </summary>
-        public static Position AnchorPointCenter
+        public static Position PivotPointCenter
         {
             get
             {
@@ -693,9 +693,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 1.0, 0.5, 0.5
+        /// PivotPoint constants: 1.0, 0.5, 0.5
         /// </summary>
-        public static Position AnchorPointCenterRight
+        public static Position PivotPointCenterRight
         {
             get
             {
@@ -707,9 +707,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.0, 1.0, 0.5
+        /// PivotPoint constants: 0.0, 1.0, 0.5
         /// </summary>
-        public static Position AnchorPointBottomLeft
+        public static Position PivotPointBottomLeft
         {
             get
             {
@@ -721,9 +721,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 0.5, 1.0, 0.5
+        /// PivotPoint constants: 0.5, 1.0, 0.5
         /// </summary>
-        public static Position AnchorPointBottomCenter
+        public static Position PivotPointBottomCenter
         {
             get
             {
@@ -735,9 +735,9 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// AnchorPoint constants: 1.0, 1.0, 0.5
+        /// PivotPoint constants: 1.0, 1.0, 0.5
         /// </summary>
-        public static Position AnchorPointBottomRight
+        public static Position PivotPointBottomRight
         {
             get
             {
index 913f913..5de2847 100755 (executable)
@@ -41,8 +41,6 @@ namespace Tizen.NUI.UIComponents
         internal ProgressBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ProgressBar_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ProgressBar obj)
index a1b30a0..7c87c3c 100755 (executable)
@@ -1171,6 +1171,15 @@ namespace Tizen.NUI
         }
 
         /// <summary>
+        /// Creates a Size property value.
+        /// </summary>
+        /// <param name="vectorValue">A Size values</param>
+        internal PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
         /// Creates a Position property value.
         /// </summary>
         /// <param name="vectorValue">A Position values</param>
@@ -1212,6 +1221,17 @@ namespace Tizen.NUI
         }
 
         /// <summary>
+        /// Retrieves a Size value.
+        /// </summary>
+        /// <param name="vectorValue"> On return, a Size value</param>
+        internal bool Get(Size vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
         /// Retrieves a Position value.
         /// </summary>
         /// <param name="vectorValue"> On return, a Position value</param>
index 57e8a9d..f464990 100755 (executable)
@@ -22,8 +22,6 @@ namespace Tizen.NUI
         internal Scrollable(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Scrollable_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Scrollable obj)
@@ -485,4 +483,4 @@ namespace Tizen.NUI
 
     }
 
-}
\ No newline at end of file
+}
index 28f5aad..99ca7dd 100755 (executable)
@@ -42,8 +42,6 @@ namespace Tizen.NUI
         internal TableView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TableView_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TableView obj)
index 4559b03..313d2f9 100755 (executable)
@@ -43,8 +43,6 @@ namespace Tizen.NUI.UIComponents
         internal Button(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Button_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Button obj)
index 72ad327..4d7a0e2 100755 (executable)
@@ -41,8 +41,6 @@ namespace Tizen.NUI.UIComponents
         internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
index 828af76..bb6e19c 100755 (executable)
@@ -42,8 +42,6 @@ namespace Tizen.NUI.UIComponents
         internal ScrollBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ScrollBar_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollBar obj)
index a5363ca..f50f417 100755 (executable)
@@ -41,8 +41,6 @@ namespace Tizen.NUI
         internal VideoView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VideoView_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VideoView obj)
index deb1b85..f931357 100755 (executable)
@@ -27,8 +27,6 @@ namespace Tizen.NUI
         internal ViewWrapper(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ViewWrapper_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-            // By default, we do not want the position to use the anchor point
-            PositionUsesAnchorPoint = false;
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewWrapper obj)