[NUI] Sync dalihub - Add C# layout (#816)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Fri, 3 May 2019 06:05:14 +0000 (15:05 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 3 May 2019 06:05:14 +0000 (15:05 +0900)
commit901af237681283f6887ffc46fd7f66c4186bf280
tree885150daa6aed6832cf84c9ba7f4b3804c270b52
parent1dc29f4f444406e1a06d8e915f476475ec10e241
[NUI] Sync dalihub - Add C# layout (#816)

* Revert "[NUI] Split NUI Interop class (#804)"

This reverts commit df6e6ac473c9d202f3847019b037d8cd464faf54.

* C# exclusive layouting

Squashed commit of the following:

    updated TizenFX layouting tests
    GridLayout change columns bug
    Replacing EX class suffixes
    Removing existing Layout code
    Remove fix, Margin fix and other fixes
     1) Ensure removing a View from a container removes the LayoutItem from the LayoutGroup.
     2) Setting fixed specs also sets size of View.
     3) LayoutController to MATCH_PARENT on height not just width.
     4) Margin support added although bug raised for toolkit error/
    Nested Layout support
    LayoutController multiple roots
     1) Layouting can now starts from the first View assigned at Layout.
     2) Previously had to start from the Window and then all Views would need a layout.
     3) Multiple starting roots are supported.

    Remove AbsoluteLayout from Layer, Child removal fixed.
    Changing Layouts bug
    Pure C# Grid Layout
    Updating unmanaged GridLayout to a Pure C# implementation
    Ensure RequestLayout is called when layout dirty
      1) When a child is added to a Layout the ForceLayout flag needs setting.
      2) Also changing parameters of a Layout can require a ForceLayout.
    LayoutParamsPolices now a class
      1) Previous an enum which required casting to an int when comparing.
      2) Now a class with defined ints.
    AbsoluteLayout updated to pure C#
    Adding LinearLayoutEx
    Adding Layout base classes and updates to View, Window
    Added ILayoutParent,LayoutGroupEx and LayoutItemEx  and LayoutData
    Ex classes will replace the existing classes before this branch is merged.

Change-Id: I5da5b7853d1a19194f8a390f7913cf1ace1146fa
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Split NUI Interop class (#804)

* Split interop API

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* split2

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Fix codacy

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Revert "Fix codacy"

This reverts commit 84b8b90814499188516e7d8872a2cf46a16a551d.

* [NUI] Add so lib

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* delete NUI log

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Add EditorBrowsable

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
34 files changed:
src/Tizen.NUI/src/internal/Layouting/AbsoluteLayout.cs
src/Tizen.NUI/src/internal/Layouting/FlexLayout.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/GridLayout.cs
src/Tizen.NUI/src/internal/Layouting/GridLocations.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Layouting/ILayoutParent.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Layouting/Interop/Interop.LayoutGroupWrapperImpl.cs
src/Tizen.NUI/src/internal/Layouting/Interop/Interop.LayoutItemWrapperImpl.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutController.cs
src/Tizen.NUI/src/internal/Layouting/LayoutData.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Layouting/LayoutGroup.cs
src/Tizen.NUI/src/internal/Layouting/LayoutGroupWrapper.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutGroupWrapperImpl.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutItem.cs
src/Tizen.NUI/src/internal/Layouting/LayoutItemPtr.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutItemWrapper.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutItemWrapperImpl.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutLength.cs
src/Tizen.NUI/src/internal/Layouting/LayoutLengthEx.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutMeasureSpec.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LayoutSize.cs
src/Tizen.NUI/src/internal/Layouting/LayoutSizeEx.cs [deleted file]
src/Tizen.NUI/src/internal/Layouting/LinearLayout.cs
src/Tizen.NUI/src/internal/Layouting/MeasureSpecification.cs
src/Tizen.NUI/src/internal/Layouting/MeasuredSize.cs
src/Tizen.NUI/src/internal/Layouting/MeasuredSizeEx.cs [deleted file]
src/Tizen.NUI/src/internal/NDalic.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/Layer.cs
src/Tizen.NUI/src/public/Window.cs
test/NUITestSample/NUITestSample/examples/layouting/custom-layout-root-layer-test.cs
test/NUITestSample/NUITestSample/examples/layouting/custom-layout-test-2.cs
test/NUITestSample/NUITestSample/examples/layouting/custom-layout-test.cs
test/NUITestSample/NUITestSample/examples/layouting/custom-layout-without-absoluteLayout-test.cs
test/NUITestSample/NUITestSample/examples/layouting/root-problem-fix-adding-several-layers.cs