[NUI] Layout scroller pages api6 (#1185)
authoragnelovaz <agnelo.vaz@samsung.com>
Thu, 19 Dec 2019 12:40:33 +0000 (12:40 +0000)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 19 Dec 2019 12:40:33 +0000 (21:40 +0900)
commit917a131a10e4fac1cd88c6804224e321f622fd30
treee6a037a08424df401eafc295fcd1f1424c8f36a1
parentf721345783cb35daa47cd30f3d182bd4e6018ec7
[NUI] Layout scroller pages api6 (#1185)

* [NUI.Components] LayoutScroller flick added

Flick support
Configurable Flick animation
Ensuring uniform duration of flick animation by removing flick multipler

Change-Id: Ib654a38cb2070c29520069a75b5782d458ab4da6

* [NUI.Components] Horizontal Scroll supported

* [NUI.Components] LayoutScroller with horizontal Pages support

Other features added:

FlickDurationModifier renamed to FlickAnimationSpeed
Defaults changed so faster.

Uses View API for Add/Remove child instead of the new dedicated API.
ScrollStart and ScrollEnd signals added
Vertical and Horizontal axis enums to set Horizontal or Vertical scrolling

Fixes:
Tap gesture doesn't stop pages scrolling mid way.
Flick in Pages should not stack pages changes. Must wait until scroll ended to flick again.

Change-Id: I8dcabff1e956b747987865ceb4272ccb2ce55061

* [NUI.Components] LayoutScroller renamed to Scrollable

Change-Id: I42805c3b240997d1921db4b3c1008b120d264cbb

* [NUI.Components] Scrollable derives from NUI.Components.Control

Change-Id: Iec6f083fe4601ceff40f74bbe1ae8de4d8da6917

* [NUI.Components] Scrollable Pages MatchParent fix

Fixed bug in which the Scrollable would be the size of it's content
even when set to MatchParent

Change-Id: I2be91b1a6f975b4e8aa2a132dc63009a21ef4b62

* [NUI] Rename component

Rename component Scrollable -> Scroll

* [NUI.Components] rename Scroll to ScrollableBase

* [NUI.Components] change PanGesture direction when scrolling direction is changed

When scrolling direction is changed, pan gesture direction should be changed.
This change makes ScrollableBase support nested list cases.
src/Tizen.NUI.Components/Controls/DropDown.cs
src/Tizen.NUI.Components/Controls/LayoutScroller.cs [deleted file]
src/Tizen.NUI.Components/Controls/ScrollableBase.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/Layouting/LayoutGroup.cs