platform/core/uifw/dali-toolkit.git
14 months agoDo not substarct outline width in text-controller 28/178228/2
minho.sun [Wed, 9 May 2018 01:43:44 +0000 (10:43 +0900)]
Do not substarct outline width in text-controller

Change-Id: I27ae359943599ff50a8635a75adb2c7ab3a367dd
Signed-off-by: minho.sun <minho.sun@samsung.com>
14 months agoAPI for Control to set LayoutRequired flag 06/188406/7
agnelo vaz [Tue, 4 Sep 2018 18:13:48 +0000 (19:13 +0100)]
API for Control to set LayoutRequired flag

Control behaviour can be set to need a layout and use
the Layout system or not and use the legacy size negotiation.

Change-Id: I90848cc238d8857d9ea380d9a6d5f6d82a431085

14 months agoDALi Version 1.3.40 69/188669/1 dali_1.3.40
Victor Cebollada [Fri, 7 Sep 2018 07:31:35 +0000 (08:31 +0100)]
DALi Version 1.3.40

Change-Id: I64c4e6279489397410a68dc0dec1d2a11ea88633

14 months agoMerge "Fix possible error if negative grid columns set" into devel/master
David Steele [Wed, 5 Sep 2018 10:07:50 +0000 (10:07 +0000)]
Merge "Fix possible error if negative grid columns set" into devel/master

14 months agoMerge "Actor's position and size is not updated after DevelControl::SetLayout." into...
David Steele [Wed, 5 Sep 2018 10:04:28 +0000 (10:04 +0000)]
Merge "Actor's position and size is not updated after DevelControl::SetLayout." into devel/master

14 months agoFix possible error if negative grid columns set 44/187944/4
Agnelo Vaz [Wed, 29 Aug 2018 18:25:34 +0000 (19:25 +0100)]
Fix possible error if negative grid columns set

Change-Id: Icd20fe7968f1e77501e4593b2fa81d40aabacb55

14 months agoAdd weight support for LinearLayout. 01/187601/8
Anton Obzhirov [Thu, 23 Aug 2018 09:35:00 +0000 (10:35 +0100)]
Add weight support for LinearLayout.

Change-Id: Ibb97ee80b4346b9cca842043951dab42b3470a52

14 months agoActor's position and size is not updated after DevelControl::SetLayout. 49/188149/2
Anton Obzhirov [Fri, 31 Aug 2018 15:50:01 +0000 (16:50 +0100)]
Actor's position and size is not updated after DevelControl::SetLayout.

In case of reusing a layout LayoutItem::SetFrame
might fail to update actor position/size if the new and
the old layout bounds are the same.

Change-Id: I5c189afae93413866147c8814e3a10f2335872a7

14 months agoMerge "Fix setting z value issue in Layout" into devel/master
Adeel Kazmi [Fri, 31 Aug 2018 13:30:43 +0000 (13:30 +0000)]
Merge "Fix setting z value issue in Layout" into devel/master

14 months agoDALi Version 1.3.39 07/188107/1 dali_1.3.39
Richard Huang [Fri, 31 Aug 2018 09:40:03 +0000 (10:40 +0100)]
DALi Version 1.3.39

Change-Id: I07c0378420792cbbb3d16acd977049cc0f57bbcd

14 months agoFix setting z value issue in Layout 40/187840/8
huiyu.eun [Wed, 29 Aug 2018 02:05:36 +0000 (11:05 +0900)]
Fix setting z value issue in Layout

Change-Id: I3b6dd617b4150b033bb600ae74c59c1dfdeb2d67
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
14 months agoMerge "Fix grid layout defaults" into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 11:12:12 +0000 (11:12 +0000)]
Merge "Fix grid layout defaults" into devel/master

14 months agoMerge "Added IGNORE_SPACES_AFTER_TEXT property" into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 10:40:38 +0000 (10:40 +0000)]
Merge "Added IGNORE_SPACES_AFTER_TEXT property" into devel/master

14 months agoMerge "Add bidirectional text tct." into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 10:38:51 +0000 (10:38 +0000)]
Merge "Add bidirectional text tct." into devel/master

14 months agoMerge "Modify linebreak unit when creating LineLayout" into devel/master
Adeel Kazmi [Tue, 28 Aug 2018 10:38:15 +0000 (10:38 +0000)]
Merge "Modify linebreak unit when creating LineLayout" into devel/master

14 months agoFix grid layout defaults 89/187789/1
Agnelo Vaz [Tue, 28 Aug 2018 10:01:37 +0000 (11:01 +0100)]
Fix grid layout defaults

Change-Id: I6108a67192b01b06d62f8df0bdbbf1426aac5fc6

14 months agoFix typo in namespace description 17/187717/1
Jiyun Yang [Tue, 28 Aug 2018 05:04:01 +0000 (14:04 +0900)]
Fix typo in namespace description

Change-Id: I75a04ea5c74b49a5f0d3e75fe0c06d1ffa3707aa
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
14 months agoModify linebreak unit when creating LineLayout 13/166613/5
minho.sun [Thu, 11 Jan 2018 06:33:32 +0000 (15:33 +0900)]
Modify linebreak unit when creating LineLayout

 - period is reconized word unit.
 - In the past, if the text exceeded the line layout size, only the
   period was down to another line.
 - Modify line breaks to linebreak instead of Wordbreak.

Change-Id: Ice94c19550807f5e7d8907152e07ec0aaa4c6e10
Signed-off-by: minho.sun <minho.sun@samsung.com>
14 months agoAdd bidirectional text tct. 40/187640/1
minho.sun [Mon, 27 Aug 2018 06:01:44 +0000 (15:01 +0900)]
Add bidirectional text tct.

Add bidirectional text tct.
For this, made CreateTextModel() can support markup text.

Change-Id: I13ad4025635ba257611875284563bce09d8c6192
Signed-off-by: minho.sun <minho.sun@samsung.com>
14 months agoAdded IGNORE_SPACES_AFTER_TEXT property 75/186675/7
minho.sun [Mon, 13 Aug 2018 09:52:28 +0000 (18:52 +0900)]
Added IGNORE_SPACES_AFTER_TEXT property

Currently, DALi doesn't make text to ellipsis when there are spaces
after text.

 "AAA                            " can't be ellipsis.
 "AAA                           A" can be ellipsis.

User wants to choose whether ignoring spaces after text or not.
So, added devel text property for this which is named IGNORE_SPACES_AFTER_TEXT.

Change-Id: Ibad9f70b1f8012dc4e04914e4f98072fc8741ad9
Signed-off-by: minho.sun <minho.sun@samsung.com>
14 months agoMerge "Controls are LayoutGroups instead of LayoutItems" into devel/master
Adeel Kazmi [Fri, 24 Aug 2018 11:18:59 +0000 (11:18 +0000)]
Merge "Controls are LayoutGroups instead of LayoutItems" into devel/master

14 months agoControls are LayoutGroups instead of LayoutItems 93/187193/11
Agnelo Vaz [Mon, 20 Aug 2018 16:28:20 +0000 (17:28 +0100)]
Controls are LayoutGroups instead of LayoutItems

LayoutGroup measures and layouts it's children.
Children are currently positioned by their AnchorPoint and Position.
Children are not positioned in relation to each other so may overlap.

Change-Id: I786736a13f5f0b00c15fec461b5a20883da9f346

14 months agoMerge "Add alignment support in LinearLayout." into devel/master
Adeel Kazmi [Thu, 23 Aug 2018 17:02:05 +0000 (17:02 +0000)]
Merge "Add alignment support in LinearLayout." into devel/master

14 months agoDALi Version 1.3.38 81/187481/1 dali_1.3.38
Anton Obzhirov [Thu, 23 Aug 2018 14:02:33 +0000 (15:02 +0100)]
DALi Version 1.3.38

Change-Id: I9f1ecdc0193ae5405f410d16c5de5af1c1867043

14 months agoAdd alignment support in LinearLayout. 48/184648/9
Anton Obzhirov [Thu, 19 Jul 2018 16:54:19 +0000 (17:54 +0100)]
Add alignment support in LinearLayout.

Change-Id: Ie9a575c4318335ab7806f06502a5e624f8365b50

14 months agoMerge "Add ImageVisualShaderFactory" into devel/master
Heeyong Song [Tue, 21 Aug 2018 00:16:38 +0000 (00:16 +0000)]
Merge "Add ImageVisualShaderFactory" into devel/master

15 months agoDALi Version 1.3.37 48/187048/1 dali_1.3.37
thothamon [Fri, 17 Aug 2018 11:15:46 +0000 (12:15 +0100)]
DALi Version 1.3.37

Change-Id: I9a2217b59745816dd2d8254e194e8369cf095c43

15 months agoAdd ImageVisualShaderFactory 12/187012/2
Heeyong Song [Fri, 17 Aug 2018 06:02:58 +0000 (15:02 +0900)]
Add ImageVisualShaderFactory

- Add ImageVisualShaderFactory to share shader sources
- Support custom shader in SVG visual

Change-Id: I58ebab4dbbbb3a3976e1ec7ce84ac284f5bc890b

15 months agoImageView Relayout after ResourceReady 23/183723/2
Agnelo Vaz [Tue, 10 Jul 2018 09:30:18 +0000 (10:30 +0100)]
ImageView Relayout after ResourceReady

Change-Id: I81177df0b26eb8d4108e587724bd35e8d2e1c51e

15 months agoRevert "Fix focus issue after calling ClearFocus api" 60/186760/1
xb.teng [Tue, 14 Aug 2018 06:55:09 +0000 (14:55 +0800)]
Revert "Fix focus issue after calling ClearFocus api"

I revert this patch, because it doesn't cover mobile profile.
Mr. Sun upload a new patch for it:
https://review.tizen.org/gerrit/#/c/186741

This reverts commit f7e78caead4596a66b750444e77343856432d36d.

Change-Id: I8aef3d12907d74af849be9f061f92d65b27dea17

15 months agoFix a custom shader issue 58/186658/2
Heeyong Song [Mon, 13 Aug 2018 07:55:03 +0000 (16:55 +0900)]
Fix a custom shader issue

- Fix a hash key generation in the texture manager
- Set a pre-multiplied state according to the flag

Change-Id: I22481d3a01f9634f8ec2d85506034d8142b2ceaa

15 months agoSvace errors in Grid layout 95/186595/1
Agnelo Vaz [Fri, 10 Aug 2018 14:37:46 +0000 (15:37 +0100)]
Svace errors in Grid layout

Change-Id: I396bded7da473a87a54428105d86ff5b5a85d5d2

15 months agoDALi Version 1.3.36 53/186553/1 dali_1.3.36
György Straub [Fri, 10 Aug 2018 09:11:07 +0000 (10:11 +0100)]
DALi Version 1.3.36

Change-Id: I9901953dfa0791187a721b47efcec40baabebf3f

15 months agoMerge "Adding GridLayout" into devel/master
Adeel Kazmi [Thu, 9 Aug 2018 08:36:07 +0000 (08:36 +0000)]
Merge "Adding GridLayout" into devel/master

15 months agoAdding GridLayout 15/182515/18
Agnelo Vaz [Mon, 25 Jun 2018 15:41:31 +0000 (16:41 +0100)]
Adding GridLayout

Change-Id: I2e23b7b2a396677167a88f6366a6b9ea6d0f617b

15 months agoMerge "Added UseFocusIndicator API to devel keyboard-focus-manager" into devel/master
Adeel Kazmi [Wed, 8 Aug 2018 16:28:18 +0000 (16:28 +0000)]
Merge "Added UseFocusIndicator API to devel keyboard-focus-manager" into devel/master

15 months agoSet the thread name (image/svg) 44/185744/3
huiyu.eun [Thu, 2 Aug 2018 03:01:09 +0000 (12:01 +0900)]
Set the thread name (image/svg)

Change-Id: I367167bbe0e5b6d66080d3d093ba0a1a1d785831
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
15 months agoAdded UseFocusIndicator API to devel keyboard-focus-manager 01/183901/7
minho.sun [Thu, 12 Jul 2018 06:58:12 +0000 (15:58 +0900)]
Added UseFocusIndicator API to devel keyboard-focus-manager

Added UseFocusIndicator API to devel keyboard-focus-manager.

Some developers want to use other way to indicate focus state instead of using focus indicator.
In this case, currently they use work-around which is setting transparent actor as focus indicator.

For convenience, support UseFocusIndicator API.

If user sets state to false, focus indicator will disapear immediately
and not be shown until setting state to true.

Change-Id: I0678f56e17e76751fe6a365b2d565f7b592c6d36
Signed-off-by: minho.sun <minho.sun@samsung.com>
15 months agoMerge "Support software styling" into devel/master
minho.sun [Mon, 6 Aug 2018 00:29:22 +0000 (00:29 +0000)]
Merge "Support software styling" into devel/master

15 months agoDALi Version 1.3.35 02/185902/1 dali_1.3.35
greynaga [Fri, 3 Aug 2018 09:30:28 +0000 (10:30 +0100)]
DALi Version 1.3.35

Change-Id: Ie6be83bf0927dbd530cc530553bb3ab60fa61fb8

15 months agoSupport software styling 42/185142/9
minho.sun [Thu, 26 Jul 2018 08:20:42 +0000 (17:20 +0900)]
Support software styling

When DALi fails to find font which support correct style,
apply software styling to glyph.

DALi will support bold / italic by software.

Change-Id: Icaacd70c3721fe0c1f56b7782f3a6510fc6bfb59
Signed-off-by: minho.sun <minho.sun@samsung.com>
15 months agoMerge "Fix focus issue after calling ClearFocus api" into devel/master
Adeel Kazmi [Wed, 1 Aug 2018 12:56:18 +0000 (12:56 +0000)]
Merge "Fix focus issue after calling ClearFocus api" into devel/master

15 months agoMerge "Modified StyleManager::SetTheme to prevent ApplyDefaultTheme breaking" into...
HyunJu Shin [Tue, 31 Jul 2018 09:58:20 +0000 (09:58 +0000)]
Merge "Modified StyleManager::SetTheme to prevent ApplyDefaultTheme breaking" into devel/master

15 months agoFix LinearLayout Padding bug 43/185043/3
Seoyeon Kim [Wed, 25 Jul 2018 11:25:27 +0000 (20:25 +0900)]
Fix LinearLayout Padding bug

- Consider padding.start to child left when layouting the children vertically.
- Consider padding.top to child top at first on Layout passes.

Change-Id: I75236f8c85a4b5e91edc5868da2250bdc9bf3f19
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
15 months agoModified StyleManager::SetTheme to prevent ApplyDefaultTheme breaking 06/184106/2
David Steele [Fri, 13 Jul 2018 15:44:06 +0000 (16:44 +0100)]
Modified StyleManager::SetTheme to prevent ApplyDefaultTheme breaking

Change-Id: I6066314d734b87eb1b13ed7946f5e14ef40e4e70

15 months agoMerge "Change layout item list order according to the actor's child list" into devel...
Adeel Kazmi [Fri, 27 Jul 2018 15:51:55 +0000 (15:51 +0000)]
Merge "Change layout item list order according to the actor's child list" into devel/master

15 months agoDALi Version 1.3.34 12/185312/1 dali_1.3.34
David Steele [Fri, 27 Jul 2018 11:42:35 +0000 (12:42 +0100)]
DALi Version 1.3.34

Change-Id: Ief0d54cbd4756d718e03b381899c6dc25358c56d

15 months agoChange layout item list order according to the actor's child list 25/185025/2
Heeyong Song [Wed, 25 Jul 2018 08:56:31 +0000 (17:56 +0900)]
Change layout item list order according to the actor's child list

Change-Id: Ibffb65ec27cc5aea98a2736efb3dab9af4b66322

15 months ago(ImageView) if no padding, then do not set the transform 62/185062/2
Adeel Kazmi [Wed, 25 Jul 2018 18:24:30 +0000 (19:24 +0100)]
(ImageView) if no padding, then do not set the transform

Previously, we hardcoded the transform every time even if we didn't need to.
This inadvertantly meant that we could not do some animations.

Now, we just set the transform if we've got padding or the fitting-mode
is set to FIT_KEEPT_ASPECT_RATIO.

Change-Id: Ie15c79bb547ced3399851e33a11704fe869d31f6

15 months agoAdded base64 encoding/decoding for Property Array/String 75/184975/2
David Steele [Tue, 24 Jul 2018 19:25:22 +0000 (20:25 +0100)]
Added base64 encoding/decoding for Property Array/String

We need a means of reading and writing data blocks through the property
system for CustomShaders in VK. Added a mechanism to allow encoding
a vector of uin32_t data into a Property::Value of type STRING or
ARRAY of STRINGS, and a means of decoding the same.

This allows us to keep the property system in line with a JSON encoding,
but trading off data size and decode time.

Change-Id: I2247b340571644b21be5b9ef87fc0e3108e2f571
Signed-off-by: David Steele <david.steele@samsung.com>
15 months agoFix focus issue after calling ClearFocus api 34/185034/2
xb.teng [Wed, 25 Jul 2018 10:00:31 +0000 (18:00 +0800)]
Fix focus issue after calling ClearFocus api

After calling ClearFocus api, mIsFocusIndicatorEnabled will be 0.
In this case, if you call SetCurrentFocusActor again, then the first pressed direction key is valid, but the second pressed direction key can works. It's an issue.

Change-Id: I0d731263f11b40fa3211fd64388f8c9da5707fc9

15 months agoFix image-visual natural size issue using atlas 16/174916/20
huiyu.eun [Thu, 5 Apr 2018 02:29:36 +0000 (11:29 +0900)]
Fix image-visual natural size issue using atlas

Change-Id: Id91909d3a2d934b485723c0b1d2d21ab4b075b70
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
15 months agoDALi Version 1.3.33 26/184726/1 dali_1.3.33
Angelos Gkountis [Fri, 20 Jul 2018 12:30:36 +0000 (13:30 +0100)]
DALi Version 1.3.33

Change-Id: I58aa483da47b670f172a4a3856ebcc8b6a66e890

16 months agoRemove dali-csharp-wrapper.manifest 47/184647/1
Adeel Kazmi [Thu, 19 Jul 2018 16:51:07 +0000 (17:51 +0100)]
Remove dali-csharp-wrapper.manifest

Change-Id: I2e4ce97709a324bf5fe3d17c9ef7973d38235956

16 months agoFix text opacity issue 09/184409/1
Heeyong Song [Wed, 18 Jul 2018 01:18:54 +0000 (10:18 +0900)]
Fix text opacity issue

The renderer opacity value should be restored when the text opacity value is not zero.

Change-Id: Iff61b7e5665b3d083278d34fcb7701089cd48c91

16 months agoFix text color issue 93/183793/4
Heeyong Song [Wed, 11 Jul 2018 06:20:43 +0000 (15:20 +0900)]
Fix text color issue

- Alpha values are pre-multiplied in all text cases. Don't multiply alpha in text shaders.
- Make Renderer's opacity 0 only if a text color's alpha is zero to skip rendering

Change-Id: Ie27ecf23d5b38a2234466ba4963a4a04103b5a45

16 months agoMerge "Apply markup properties for pre-set text" into devel/master
Adeel Kazmi [Fri, 13 Jul 2018 11:53:54 +0000 (11:53 +0000)]
Merge "Apply markup properties for pre-set text" into devel/master

16 months agoDALi Version 1.3.32 61/184061/1 dali_1.3.32
Adeel Kazmi [Fri, 13 Jul 2018 08:48:39 +0000 (09:48 +0100)]
DALi Version 1.3.32

Change-Id: Iffa83459f0584c4552b1fd3d44992610cee0cf41

16 months agoApply markup properties for pre-set text 40/158940/4
Jinho, Lee [Mon, 6 Nov 2017 05:12:09 +0000 (14:12 +0900)]
Apply markup properties for pre-set text

Change-Id: Idbff0dabb14f643f44e2268f6db9dacd7d1e1a44

16 months agoFix typo 95/183795/1
Heeyong Song [Wed, 11 Jul 2018 06:24:12 +0000 (15:24 +0900)]
Fix typo

Change-Id: I43210b09469197805ac36f8eedc71a9054af0919

16 months agoDALi Version 1.3.31 35/183535/1 dali_1.3.31
Agnelo Vaz [Fri, 6 Jul 2018 09:36:34 +0000 (10:36 +0100)]
DALi Version 1.3.31

Change-Id: Icae0ebdac2ade63739e63eb0efbc8672b447e723

16 months agoMerge "Add new layouting support for TextLabel and ImageView." into devel/master
Adeel Kazmi [Thu, 5 Jul 2018 15:24:55 +0000 (15:24 +0000)]
Merge "Add new layouting support for TextLabel and ImageView." into devel/master

16 months agoMerge "Fix ImageView Padding and Margin issues" into devel/master
Adeel Kazmi [Thu, 5 Jul 2018 15:03:18 +0000 (15:03 +0000)]
Merge "Fix ImageView Padding and Margin issues" into devel/master

16 months agoFix ImageView Padding and Margin issues 81/181981/16
Seoyeon Kim [Tue, 19 Jun 2018 09:47:56 +0000 (18:47 +0900)]
Fix ImageView Padding and Margin issues

- Currently padding does not apply to ImageView
  because the default Fitting Mode of ImageVisual have changed to FittingMode::FILL,
  so ImageVisual does not transform anything on ImageView::OnRelayout().

- Trigger to call Relayout when setting Margin and Padding.

- Removed SetBackgroundVisual() in control-impl.cpp as before,
  because it caused an incorrect behavior.

Change-Id: Ic9090180caec59dc5a5f0d63bbb95757f18be0ed
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
16 months agoAdded test to show Order of SetLayout is not important 23/183123/3
Agnelo Vaz [Mon, 2 Jul 2018 10:53:00 +0000 (11:53 +0100)]
Added test to show Order of SetLayout is not important

Change-Id: If80f4ce350504c22fa6bae70df1e519cffe98d1c

16 months agoMerge "Fixed unparenting a layout item from a layout group" into devel/master
David Steele [Wed, 4 Jul 2018 11:24:53 +0000 (11:24 +0000)]
Merge "Fixed unparenting a layout item from a layout group" into devel/master

16 months agoFixed unparenting a layout item from a layout group 34/183134/4
David Steele [Mon, 2 Jul 2018 15:42:11 +0000 (16:42 +0100)]
Fixed unparenting a layout item from a layout group

Unparenting a layout item from a layout group did not actually remove the
child from the parent, which if a new layout were set on a container, resulted
in the container having 2 separate layouts in it's parent layout.

Changed the Layout Parent/Child interfaces to allow LayoutItem
to remove itself from a LayoutGroup without explicitly referencing it's subclass.

Change-Id: Idf6d7813ab5a440dfbf44a8bbe46df2ca3698d64
Signed-off-by: David Steele <david.steele@samsung.com>
16 months agoAdd new layouting support for TextLabel and ImageView. 35/183135/2
Anton Obzhirov [Mon, 2 Jul 2018 17:13:56 +0000 (18:13 +0100)]
Add new layouting support for TextLabel and ImageView.

Change-Id: Ic4e72c3abc397277df72f14ce2af7057536ef4d0

16 months agoMerge "Change dependency" into devel/master
Adeel Kazmi [Tue, 3 Jul 2018 15:13:23 +0000 (15:13 +0000)]
Merge "Change dependency" into devel/master

16 months agoChanged Control::SetLayout to handle empty layouts 56/182256/2
David Steele [Thu, 21 Jun 2018 21:08:23 +0000 (22:08 +0100)]
Changed Control::SetLayout to handle empty layouts

Setting an empty layout now removes the layout from the control
and unparents it's children from that layout, orphaning them (removes
them from the layout hierarchy - they will no longer get measured/laid out).

Change-Id: Ice74ad251111f59c34b65f233ad288c412bb6883
Signed-off-by: David Steele <david.steele@samsung.com>
16 months agoChange dependency 56/176556/2
minho.sun [Fri, 20 Apr 2018 03:57:10 +0000 (12:57 +0900)]
Change dependency

Currently, we don't use adaptor-uv.
So don't need to give option to app which adaptor app will use.

So, make dali-toolkit directly require dali-adaptor instead of
dali-adaptor-devel.

Change-Id: Id32071301c78c114a2f67e0645a2ff92cd846c59
Signed-off-by: minho.sun <minho.sun@samsung.com>
16 months agoPrevent Control from positioning controls with margin/padding 20/182920/5
Agnelo Vaz [Fri, 29 Jun 2018 11:02:03 +0000 (12:02 +0100)]
Prevent Control from positioning controls with margin/padding

Fixes the issue in which adding margins or padding to a Layout causes
the child control's Relayout to re-position itself using
this margin/padding.
This should be done by the layoutgroup not in Control.

Change-Id: Ic50b94f2d6c9503313ca93bfc7de413129e0824b

16 months agoMerge "DALi Version 1.3.30" into devel/master
Adeel Kazmi [Fri, 29 Jun 2018 13:17:18 +0000 (13:17 +0000)]
Merge "DALi Version 1.3.30" into devel/master

16 months agoDALi Version 1.3.30 00/183000/1 dali_1.3.30
adam.b [Fri, 29 Jun 2018 12:50:50 +0000 (13:50 +0100)]
DALi Version 1.3.30

Change-Id: Id90032a8f56dc96415f217dfb46c50f73e746b58

16 months agoSimplify and improve FlexLayout::OnChildMeasure. 92/182592/2
Anton Obzhirov [Tue, 26 Jun 2018 10:18:26 +0000 (11:18 +0100)]
Simplify and improve FlexLayout::OnChildMeasure.

Also FlexLayout::OnChildMeasure now uses LayoutGroup::GetChildMeasureSpec
to get measure spec for its children which is in line with other layouts.

Change-Id: I71a05e092e2ba524d1a1eb5ac3b0cd78fcac4797

16 months agoMerge "Use Actor target size for default layout." into devel/master
Adeel Kazmi [Thu, 28 Jun 2018 16:33:58 +0000 (16:33 +0000)]
Merge "Use Actor target size for default layout." into devel/master

16 months agoFix to use width and height correctly in flex-layout-impl.cpp 27/182827/1
Seoyeon Kim [Thu, 28 Jun 2018 07:58:28 +0000 (16:58 +0900)]
Fix to use width and height correctly in flex-layout-impl.cpp

Change-Id: I2535ead9236099f738bf07c420eb058396eace50
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
16 months agoFix crash when Layer added to LayoutGroup 14/182514/3
Agnelo Vaz [Mon, 25 Jun 2018 15:13:40 +0000 (16:13 +0100)]
Fix crash when Layer added to LayoutGroup

Change-Id: I17ca7a07509f376ad0a49cd6015147a04886cdfe

16 months agoUse Actor target size for default layout. 84/182384/2
Anton Obzhirov [Fri, 22 Jun 2018 10:49:23 +0000 (11:49 +0100)]
Use Actor target size for default layout.

Change-Id: I0497f5e3284e6a5e733d5dbf9ebb13c7562ba7ab

16 months agoFix svace issues in LinearLayout. 69/182469/1
Anton Obzhirov [Mon, 25 Jun 2018 10:04:30 +0000 (11:04 +0100)]
Fix svace issues in LinearLayout.

Change-Id: If82808ed8390cc5ae9305f495ca4647cca1a8a7a

16 months agoMerge "DALi Version 1.3.29" into devel/master
David Steele [Fri, 22 Jun 2018 08:27:46 +0000 (08:27 +0000)]
Merge "DALi Version 1.3.29" into devel/master

16 months agoDALi Version 1.3.29 60/182360/1 dali_1.3.29
Victor Cebollada [Fri, 22 Jun 2018 07:54:56 +0000 (08:54 +0100)]
DALi Version 1.3.29

Change-Id: Ie44c304b9b2a02db3a1dc23250ffa05d970f2fed

16 months agoOn Actor child order change signal, forces relayout of container. 93/181693/4
David Steele [Fri, 15 Jun 2018 15:38:10 +0000 (16:38 +0100)]
On Actor child order change signal, forces relayout of container.

If the child order changes, then relayout occurs. Note that the basic layouts work
in LayoutID order, not actor sibling order. A specialized layout has to be written
to order the children by sibling order.

Added custom layout to test harness.

Change-Id: I7c8f393ff804192eed74a23fd06b0b5763de1dc1
Signed-off-by: David Steele <david.steele@samsung.com>
16 months agoInherit parent's layout animation 96/182196/2
Heeyong Song [Thu, 21 Jun 2018 07:01:11 +0000 (16:01 +0900)]
Inherit parent's layout animation

Change-Id: I049b087506c4aa1ed286b8aaf797709256b78e8e

16 months agoMerge "Fix request layout propagation in layout tree" into devel/master
David Steele [Wed, 20 Jun 2018 14:43:22 +0000 (14:43 +0000)]
Merge "Fix request layout propagation in layout tree" into devel/master

16 months agoMerge "Fix RTL direction layout for LinearLayout." into devel/master
David Steele [Wed, 20 Jun 2018 14:41:40 +0000 (14:41 +0000)]
Merge "Fix RTL direction layout for LinearLayout." into devel/master

16 months agoMerge "Exporting one constructor used by csharpbinder and making an API private....
David Steele [Wed, 20 Jun 2018 13:22:38 +0000 (13:22 +0000)]
Merge "Exporting one constructor used by csharpbinder and making an API private." into devel/master

16 months agoFix RTL direction layout for LinearLayout. 08/182008/2
Anton Obzhirov [Tue, 19 Jun 2018 14:45:14 +0000 (15:45 +0100)]
Fix RTL direction layout for LinearLayout.

Change-Id: I43be3b6a10aa76455a920a61d20981a26070b1b4

16 months agoFix request layout propagation in layout tree 96/181896/2
Anton Obzhirov [Mon, 18 Jun 2018 16:10:58 +0000 (17:10 +0100)]
Fix request layout propagation in layout tree

Change-Id: I5af25ad0e7699659cb1329c7685c891873200eed

16 months agoMerge "Fix linear layout size issue" into devel/master
David Steele [Wed, 20 Jun 2018 11:10:15 +0000 (11:10 +0000)]
Merge "Fix linear layout size issue" into devel/master

16 months agoMerge "Fix nested layout issue" into devel/master
David Steele [Wed, 20 Jun 2018 11:09:47 +0000 (11:09 +0000)]
Merge "Fix nested layout issue" into devel/master

16 months agoChange the API macros of layout 70/182070/1
Heeyong Song [Fri, 18 May 2018 01:26:15 +0000 (10:26 +0900)]
Change the API macros of layout

Change-Id: I149912ba6bcb33de04d27c7dbb86aa5ff56754a5

16 months agoFix linear layout size issue 54/182054/1
Heeyong Song [Wed, 20 Jun 2018 06:08:04 +0000 (15:08 +0900)]
Fix linear layout size issue

Change-Id: Ic129628d5a8eba3d40f074de445e31ebd441359b

16 months agoFix nested layout issue 52/182052/1
Heeyong Song [Wed, 20 Jun 2018 06:00:35 +0000 (15:00 +0900)]
Fix nested layout issue

Change-Id: Ic739aa8787aa972c3fd6752f394537d15c40eb66

16 months agoMerge HBoxLayout and VBoxLayout into LinearLayout. 55/181555/4
Anton Obzhirov [Fri, 8 Jun 2018 16:30:45 +0000 (17:30 +0100)]
Merge HBoxLayout and VBoxLayout into LinearLayout.

Change-Id: I4e1f6b50e37f8050312116f73048a026c1855b4f

17 months agoRemoved obsolete MARGIN_SPECIFICATION child property 61/181561/2
David Steele [Thu, 14 Jun 2018 18:22:56 +0000 (19:22 +0100)]
Removed obsolete MARGIN_SPECIFICATION child property

LayoutGroup no longer defines MARGIN_SPECIFICATION child property
Removed from header, and migrated Vbox to use LayoutItem::GetMargin instead.

Change-Id: Id9bb90cf5faffb6162d1b9d661f855a7b7164af6
Signed-off-by: David Steele <david.steele@samsung.com>
17 months agoTurned off Layout logging by default 60/181560/3
David Steele [Thu, 14 Jun 2018 18:18:56 +0000 (19:18 +0100)]
Turned off Layout logging by default

Extended layouting logging to show when measures happen

Change-Id: Ifb2fd075162af175e3982da19ef8ef022e707dd1

17 months agoMerge "Adding Absolute layout" into devel/master
Adeel Kazmi [Fri, 15 Jun 2018 08:08:40 +0000 (08:08 +0000)]
Merge "Adding Absolute layout" into devel/master

17 months agoAdd a parameter of AddIdle function 78/180978/2
Heeyong Song [Thu, 7 Jun 2018 05:49:32 +0000 (14:49 +0900)]
Add a parameter of AddIdle function

Change-Id: I5aac12993d17d41830116298845a3b870e1e6d85

17 months agoAdding Absolute layout 83/181383/8
Agnelo Vaz [Tue, 12 Jun 2018 16:22:41 +0000 (17:22 +0100)]
Adding Absolute layout

An layout that allows it's children to be positioned explictly.
Use Actor::Property::POSITION to provide the position.
The children can overlap and exceed their parent's boundary.

Limitations

The absolute layout does not have it's own Padding.

Change-Id: I52d15128acd22250c90d993bb1a33afd738e1cbe