platform/core/uifw/dali-toolkit.git
4 years agoDALi Version 1.9.17 03/236703/1 dali_1.9.17
greynaga [Fri, 19 Jun 2020 11:03:00 +0000 (12:03 +0100)]
DALi Version 1.9.17

Change-Id: I706fcd5849e426d81ff2b2482047fdabca9c1429

4 years agoMerge changes I17acf67f,If2410a4d into devel/master
Adeel Kazmi [Thu, 18 Jun 2020 11:02:13 +0000 (11:02 +0000)]
Merge changes I17acf67f,If2410a4d into devel/master

* changes:
  Image class Usage Removal
  Remove ResourceImage Usage

4 years agoRemove reserved properties from toolkit 90/236590/1
Richard Huang [Thu, 18 Jun 2020 08:54:04 +0000 (09:54 +0100)]
Remove reserved properties from toolkit

Change-Id: I055f72651bda6286684b31a66fddbab4b530db08

4 years agoImage class Usage Removal 16/236516/1
Adeel Kazmi [Wed, 17 Jun 2020 21:44:58 +0000 (22:44 +0100)]
Image class Usage Removal

Change-Id: I17acf67f1f66cc36e2e5b35e64686a12830b0e9a

4 years agoRemove ResourceImage Usage 13/236513/4
Adeel Kazmi [Wed, 17 Jun 2020 18:39:34 +0000 (19:39 +0100)]
Remove ResourceImage Usage

Change-Id: If2410a4d27fd388af26920335764f264a4c6cc75

4 years agoFrameBuffer Usage Removal 92/236492/1
Adeel Kazmi [Wed, 17 Jun 2020 11:06:57 +0000 (12:06 +0100)]
FrameBuffer Usage Removal

Change-Id: Ib709a407334caf049a02d5ccd2f8a3e42a476c96

4 years agoMerge "Change size for new visual using initialized transformMap when mVisual is...
Adeel Kazmi [Wed, 17 Jun 2020 09:48:19 +0000 (09:48 +0000)]
Merge "Change size for new visual using initialized transformMap when mVisual is not updated." into devel/master

4 years agoMerge "Add tc log to check a failure" into devel/master
Adeel Kazmi [Wed, 17 Jun 2020 09:26:23 +0000 (09:26 +0000)]
Merge "Add tc log to check a failure" into devel/master

4 years agoMerge "Replace some Dali::Actor public APIs with new properties" into devel/master
Adeel Kazmi [Wed, 17 Jun 2020 09:24:37 +0000 (09:24 +0000)]
Merge "Replace some Dali::Actor public APIs with new properties" into devel/master

4 years agoAdd tc log to check a failure 69/236469/1
Heeyong Song [Wed, 17 Jun 2020 08:14:09 +0000 (17:14 +0900)]
Add tc log to check a failure

Change-Id: I1dbfda76c3084fcc759d72e1ca9ae60c2e7259e7

4 years agoMerge "Remove NativeImage Usage" into devel/master
Adeel Kazmi [Tue, 16 Jun 2020 16:13:03 +0000 (16:13 +0000)]
Merge "Remove NativeImage Usage" into devel/master

4 years agoMerge "Fix logging for debug build." into devel/master
Adeel Kazmi [Tue, 16 Jun 2020 15:53:27 +0000 (15:53 +0000)]
Merge "Fix logging for debug build." into devel/master

4 years agoRemove NativeImage Usage 86/236386/2
Adeel Kazmi [Tue, 16 Jun 2020 14:29:22 +0000 (15:29 +0100)]
Remove NativeImage Usage

Change-Id: I6aaba9d2d3654063d0a0fd57400c08dbf610d242

4 years agoFix logging for debug build. 81/236381/1
Anton Obzhirov [Tue, 16 Jun 2020 14:12:37 +0000 (15:12 +0100)]
Fix logging for debug build.

Change-Id: Ic820c299dc038bce3c9b08a5fdd5d11d388bdaa6

4 years agoRemove Image Usage from ImageVisual & WebView 80/236380/2
Adeel Kazmi [Tue, 16 Jun 2020 13:49:55 +0000 (14:49 +0100)]
Remove Image Usage from ImageVisual & WebView

Change-Id: Id91a3dd6a1cc079c83f1e0822992bcd26e8ab01f

4 years agoReplace some Dali::Actor public APIs with new properties 77/236377/1
Richard Huang [Tue, 16 Jun 2020 11:13:29 +0000 (12:13 +0100)]
Replace some Dali::Actor public APIs with new properties

Change-Id: I2a0c6ac05533722b59e6bc76924f2f15f106d3a2

4 years agoChange size for new visual using initialized transformMap when mVisual is not updated. 25/222625/4
Sunghyun kim [Wed, 15 Jan 2020 09:27:23 +0000 (18:27 +0900)]
Change size for new visual using initialized transformMap when mVisual is not updated.

When the size was set for the new visual, there was an issue that the previous transformMap was set together.
so in order to prevent this, The new visual has been changed to use the initialized map.

Change-Id: I1ce1b735691e1b4963c3d4f3faf07d2c148ad478

4 years agoMerge "Update cursor position when the default font style is changed" into devel...
Víctor Cebollada [Tue, 16 Jun 2020 09:02:11 +0000 (09:02 +0000)]
Merge "Update cursor position when the default font style is changed" into devel/master

4 years ago(ArcVisual) Add UPDATE_PROPERTY action 11/235611/3
Heeyong Song [Mon, 8 Jun 2020 05:16:47 +0000 (14:16 +0900)]
(ArcVisual) Add UPDATE_PROPERTY action

Change-Id: I686d24237403a7b70b94d1092d86ba72dabd3ea5

4 years agoMerge "(Vector) Fix memory leak" into devel/master
Heeyong Song [Tue, 16 Jun 2020 08:05:53 +0000 (08:05 +0000)]
Merge "(Vector) Fix memory leak" into devel/master

4 years agoUpdate cursor position when the default font style is changed 24/236124/2
Seoyeon Kim [Mon, 15 Jun 2020 05:17:29 +0000 (14:17 +0900)]
Update cursor position when the default font style is changed

Change-Id: Iabf1dacbbd8df57f4244be1d7615877df52dad82
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoAdd circular ProgressBar style 01/235301/7
Jiyun Yang [Tue, 9 Jun 2020 07:55:30 +0000 (16:55 +0900)]
Add circular ProgressBar style

* The style implements UX requirements for wearable, but it can be used in other devices too.
* The style uses arc visuals for track, secondary progress, progress and indeterminate visual.
* The progress value will change sweepAngle of the track visual.
* The indeterminate animation in the style uses visuals (e.g. track, progress) including indeterminate visual.
* Add ProgressBar::NEW(Style) to easy use of style.

Change-Id: I74c227ad2716bc829180f002abe22a28ffdef959
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoAdd VisualBase::GetType() 36/235736/10
Jiyun Yang [Tue, 9 Jun 2020 07:26:43 +0000 (16:26 +0900)]
Add VisualBase::GetType()

Some controls want to know the visual type when the visual is given from the user.
To do that in current DALi, it needs to call CreatePropertyMap() and get TYPE property from the map.
Instead, this patch provides an API Visual::Base::GetType() to make it easy to see what the visual type is.

Change-Id: I387a6cc43466897b2de17d3c2d9bae7dba201a10
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago(Vector) Fix memory leak 42/235742/2
Heeyong Song [Tue, 9 Jun 2020 07:53:08 +0000 (16:53 +0900)]
(Vector) Fix memory leak

Sometimes the VectorAnimationTask was not destructed because it tried to rasterize repeatedly.

Change-Id: Id4c6cc9bc32f8f5d4c5836e0b4fc9edf33eaa5f9

4 years agoBufferImage Usage Removal 89/236089/1
Adeel Kazmi [Fri, 12 Jun 2020 17:31:00 +0000 (18:31 +0100)]
BufferImage Usage Removal

Change-Id: I2e9705eec2ae6154ed27fce87c132b693fa750fd

4 years ago(ImageView) Remove Image class Usage 83/236083/1
Adeel Kazmi [Fri, 12 Jun 2020 14:52:49 +0000 (15:52 +0100)]
(ImageView) Remove Image class Usage

Change-Id: I2afb183f11604ed5f72bdf74e3c37d39c060f985

4 years agoMerge "(Text Decorator) Remove Image class Usage" into devel/master
Adeel Kazmi [Fri, 12 Jun 2020 10:32:35 +0000 (10:32 +0000)]
Merge "(Text Decorator) Remove Image class Usage" into devel/master

4 years agoDALi Version 1.9.16 57/236057/1 dali_1.9.16
Cheng-Shiun Tsai [Fri, 12 Jun 2020 09:07:10 +0000 (10:07 +0100)]
DALi Version 1.9.16

Change-Id: Ic99255e74ec7510b9b4bc42501b40ffb8be2890c

4 years ago(Text Decorator) Remove Image class Usage 92/235992/4
Adeel Kazmi [Thu, 11 Jun 2020 19:46:07 +0000 (20:46 +0100)]
(Text Decorator) Remove Image class Usage

Change-Id: I1f49effda779dbc341511a0489aa526920882735

4 years agoMerge "Remove Setter/Getter public APIs from Dali::Layer" into devel/master
Adeel Kazmi [Thu, 11 Jun 2020 17:40:39 +0000 (17:40 +0000)]
Merge "Remove Setter/Getter public APIs from Dali::Layer" into devel/master

4 years agoMerge "(VectorBlobAtlas) Use Texture instead of BufferImage" into devel/master
Adeel Kazmi [Wed, 10 Jun 2020 18:07:50 +0000 (18:07 +0000)]
Merge "(VectorBlobAtlas) Use Texture instead of BufferImage" into devel/master

4 years ago(VectorBlobAtlas) Use Texture instead of BufferImage 84/235784/5
Adeel Kazmi [Tue, 9 Jun 2020 19:01:40 +0000 (20:01 +0100)]
(VectorBlobAtlas) Use Texture instead of BufferImage

Change-Id: Iee2f187789282c59503c5eaeec8c062e1ce3a375

4 years agoRemove Setter/Getter public APIs from Dali::Layer 78/235878/3
Richard Huang [Wed, 10 Jun 2020 12:59:17 +0000 (13:59 +0100)]
Remove Setter/Getter public APIs from Dali::Layer

Change-Id: Ic37c946754573dca358baa1d5d0489f1296587cf

4 years ago(Automated Tests) Sync with dali-core 90/235790/1
Adeel Kazmi [Tue, 9 Jun 2020 21:24:38 +0000 (22:24 +0100)]
(Automated Tests) Sync with dali-core

Change-Id: I43ec43fedca24bd82c6a5304646e37fb7581ddc8

4 years agoMerge "(Vector) Ensure that all animation data is applied at once" into devel/master
Heeyong Song [Tue, 9 Jun 2020 01:27:08 +0000 (01:27 +0000)]
Merge "(Vector) Ensure that all animation data is applied at once" into devel/master

4 years agoMerge "Change Resize() to Reserve() to improve performance." into devel/master
joogab yun [Tue, 9 Jun 2020 00:45:13 +0000 (00:45 +0000)]
Merge "Change Resize() to Reserve() to improve performance." into devel/master

4 years agoRemove NinePatchImage Usage 71/235671/2
Adeel Kazmi [Mon, 8 Jun 2020 16:42:59 +0000 (17:42 +0100)]
Remove NinePatchImage Usage

Change-Id: I686f15d6e4a8c1daa38a60a988423b4358342ef0

4 years agoRemove const at the index paramenter in image.h and modify comment 20/235620/1
Seungho, Baek [Mon, 8 Jun 2020 06:17:16 +0000 (15:17 +0900)]
Remove const at the index paramenter in image.h and modify comment

     - Remove const keyword at the index paramenter of "std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, uint8_t index )"
     - Fix some comment error

Change-Id: I30bd63ac81179ede08f11ed1c451a1ade75cd9d6
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years ago(Vector) Ensure that all animation data is applied at once 53/220553/9
Heeyong Song [Thu, 19 Dec 2019 10:10:41 +0000 (19:10 +0900)]
(Vector) Ensure that all animation data is applied at once

Change-Id: I22b285e52062e187a7e2117d8a543dc7f49f82c5

4 years agoChange Resize() to Reserve() to improve performance. 86/235586/1
Joogab Yun [Mon, 8 Jun 2020 01:51:41 +0000 (10:51 +0900)]
Change Resize() to Reserve() to improve performance.

Change-Id: I6078fb17131630a770cb770dc9f2251f1c9ae6b6

4 years agoDALi Version 1.9.15 44/235544/1 dali_1.9.15
Anton Obzhirov [Fri, 5 Jun 2020 10:21:03 +0000 (11:21 +0100)]
DALi Version 1.9.15

Change-Id: I00ecdd1f2538016d270ada3685fbbde51e76a63b

4 years agoFurther Setter/Getter public API removal from Dali::Actor 48/235448/1
Richard Huang [Tue, 2 Jun 2020 16:35:36 +0000 (17:35 +0100)]
Further Setter/Getter public API removal from Dali::Actor

Change-Id: I714972e4311b141d2f0ae60ea57cc3629bd465e7

4 years agoUtil functions that convert a kind of buffers to url 16/234316/9
Seungho, Baek [Mon, 25 May 2020 11:02:03 +0000 (20:02 +0900)]
Util functions that convert a kind of buffers to url

 - FrameBuffer without attached texture.
 - FrameBuffer already attached several textures
 - PixelData
 - NativeImageSource

Change-Id: I1793edf375dbdbe9dafc48432fbeb474904d9f46
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoSync common test files 10/233810/2
Heeyong Song [Tue, 19 May 2020 08:36:22 +0000 (17:36 +0900)]
Sync common test files

Change-Id: I6a8c5e28e1bc257c20a636b3ac680cad2e97d683

4 years agoCheck if a texture is valid 00/232500/3
Heeyong Song [Wed, 6 May 2020 04:52:04 +0000 (13:52 +0900)]
Check if a texture is valid

Change-Id: Ia5541d3340435aa14b9254983ad42660bbb63f0f

4 years agoMerge "(Vector) Fix crash issues" into devel/master
Heeyong Song [Mon, 1 Jun 2020 08:06:22 +0000 (08:06 +0000)]
Merge "(Vector) Fix crash issues" into devel/master

4 years agoDALi Version 1.9.14 90/234890/1 dali_1.9.14
Adeel Kazmi [Fri, 29 May 2020 11:17:44 +0000 (12:17 +0100)]
DALi Version 1.9.14

Change-Id: I46892f8faf5006d7167854176dc436387faeb541

4 years ago(Vector) Fix crash issues 80/218980/4
Heeyong Song [Fri, 29 Nov 2019 08:11:30 +0000 (17:11 +0900)]
(Vector) Fix crash issues

Change-Id: I98043d28667e39ec54e2fd06020811fdc3d62edf

4 years agoMerge "Check loadPixelBuffer in the Caching Texture" into devel/master
Adeel Kazmi [Wed, 27 May 2020 17:28:37 +0000 (17:28 +0000)]
Merge "Check loadPixelBuffer in the Caching Texture" into devel/master

4 years agoRemove more public Setter/Getter APIs from Dali::Actor 40/234640/2
Richard Huang [Wed, 27 May 2020 13:07:54 +0000 (14:07 +0100)]
Remove more public Setter/Getter APIs from Dali::Actor

Change-Id: I09a99222f80f56d64e31d052c99576bb2ec4ccba

4 years agoCheck loadPixelBuffer in the Caching Texture 99/234399/4
Seungho, Baek [Tue, 26 May 2020 05:40:32 +0000 (14:40 +0900)]
Check loadPixelBuffer in the Caching Texture

 - A image can be entered twice one as ImageVisual another as NinePatchVisual.
 - If ImageVisual is already entered, the image is already Uploaded to the Texture
 - But, NinePatchVisual need only PixelBuffer.
 - So, we need to cache them separately

Change-Id: Ib0824645da70d172fb603b957c999967eef663d7
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoMerge "Add FittingMode for image" into devel/master
sunghyun kim [Wed, 27 May 2020 05:32:49 +0000 (05:32 +0000)]
Merge "Add FittingMode for image" into devel/master

4 years agoMerge "Even if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, Ellips...
joogab yun [Wed, 27 May 2020 00:28:05 +0000 (00:28 +0000)]
Merge "Even if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, Ellipsis is alaways set to true when scrolling is finished." into devel/master

4 years agoMerge "To use ActivateOnce to blur child views" into devel/master
Seungho BAEK [Tue, 26 May 2020 23:29:43 +0000 (23:29 +0000)]
Merge "To use ActivateOnce to blur child views" into devel/master

4 years agoMerge "Recreate resources after blur is deactivated." into devel/master
Seungho BAEK [Tue, 26 May 2020 23:28:51 +0000 (23:28 +0000)]
Merge "Recreate resources after blur is deactivated." into devel/master

4 years agoDALi Version 1.9.13 81/234181/1 dali_1.9.13
adam.b [Fri, 22 May 2020 09:54:03 +0000 (10:54 +0100)]
DALi Version 1.9.13

Change-Id: I8391a11be94511ef2d0cd93a43d32ea7d706f5d2

4 years agoEven if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, 11/234011/4
Joogab Yun [Thu, 21 May 2020 05:38:12 +0000 (14:38 +0900)]
Even if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true,
Ellipsis is alaways set to true when scrolling is finished.

Do not change user settings.

textLabel.SetProperty(TextLabel::Property::ELLIPSIS, false);
textLabel.SetProperty(TextLabel::Property::ENABLE_AUTO_SCROLL, true);

Change-Id: I98703d5c25237901812af568a1f2ca4c6c143889

4 years agoTo use ActivateOnce to blur child views 17/234017/3
Seungho, Baek [Thu, 21 May 2020 06:03:02 +0000 (15:03 +0900)]
To use ActivateOnce to blur child views

Change-Id: Idf5997e7b9e06a617752bd31ea0f6dcd6cee34e8
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoRecreate resources after blur is deactivated. 23/233923/6
Seungho, Baek [Wed, 20 May 2020 08:50:54 +0000 (17:50 +0900)]
Recreate resources after blur is deactivated.

 - Currently, each resources are created only the size is changed.
 - But, if the Blur is deactivated, the resources are reset and we need to create each resource again when the blur is re-activated.

Change-Id: Ie8eab91e571439d6db74b6f39f43e0016a277416
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoAdd FittingMode for image 80/225580/36
Sunghyun Kim [Fri, 21 Feb 2020 05:10:38 +0000 (14:10 +0900)]
Add FittingMode for image

Add fittingMode for image.
- CENTER : Image fills inside using original width & height.
- FILL   : Image filles whole width & height. this fitting mode don't  maintain aspect ratio.

Change-Id: Ia0b54a867a867d547e430384b17eb5e65593ce61

4 years agoRemove some public Setter/Getter APIs from Dali::Actor 43/233843/2
Richard Huang [Tue, 19 May 2020 12:50:25 +0000 (13:50 +0100)]
Remove some public Setter/Getter APIs from Dali::Actor

Change-Id: I4bd57607f198205be31ec0a17411e54dbf45c049

4 years agoMerge "Add MIN_LINE_SIZE property" into devel/master
joogab yun [Mon, 18 May 2020 01:30:00 +0000 (01:30 +0000)]
Merge "Add MIN_LINE_SIZE property" into devel/master

4 years agoMerge "DALi Version 1.9.12" into devel/master
Adeel Kazmi [Fri, 15 May 2020 07:45:43 +0000 (07:45 +0000)]
Merge "DALi Version 1.9.12" into devel/master

4 years agoDALi Version 1.9.12 01/233501/1 dali_1.9.12
Victor Cebollada [Fri, 15 May 2020 05:51:59 +0000 (06:51 +0100)]
DALi Version 1.9.12

Change-Id: Ia4c0a76761d1d3dc946e0c99219921ce67b780b7

4 years agoMerge "Support rounded corners for GradientVisual" into devel/master
Heeyong Song [Fri, 15 May 2020 01:32:00 +0000 (01:32 +0000)]
Merge "Support rounded corners for GradientVisual" into devel/master

4 years agoAdd MIN_LINE_SIZE property 95/233095/14
Joogab Yun [Tue, 12 May 2020 05:55:59 +0000 (14:55 +0900)]
Add MIN_LINE_SIZE property

Users want to set the line size in multi-line.
We have a lineSpacing property which allows us to set the spacing of the lines.

However, the user wants to achieve a similar effect by setting the size of the line, not lineSpacing.

Change-Id: Ia96e1875e90454a3269d2ad853d3c4e20ce66ae9

4 years agoMerge "Textfield: remove duplicated functionality Getting selected text is done using...
Víctor Cebollada [Wed, 13 May 2020 16:19:34 +0000 (16:19 +0000)]
Merge "Textfield: remove duplicated functionality Getting selected text is done using property no need for special get function" into devel/master

4 years agoTextfield: remove duplicated functionality 42/233042/1
ali198724 [Mon, 11 May 2020 16:17:46 +0000 (19:17 +0300)]
Textfield: remove duplicated functionality
Getting selected text is done using property no need for special get function

Change-Id: I8b0cbcce414d4ac229eef20860929a394ab40126

4 years agoUpdate a font description run only in Selecting state for input font 75/232575/2
Seoyeon Kim [Wed, 6 May 2020 11:06:45 +0000 (20:06 +0900)]
Update a font description run only in Selecting state for input font

- When setting input font properties, its font description run has been
updated in InsertText().
- UpdateSelectionFontStyleRun() resets the FontDescriptionRun value already set.
- So, only in EventData::SELECTING state, updated a new font description run.

Change-Id: I5c6643f919e077b2870d04c8a881ab9a1d125811
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoDALi Version 1.9.11 83/232783/1 dali_1.9.11
Richard Huang [Thu, 7 May 2020 11:16:23 +0000 (12:16 +0100)]
DALi Version 1.9.11

Change-Id: I399f60d55e0dea6dae0a16df23af54a1c84ce75f

4 years agoSupport rounded corners for GradientVisual 34/230934/4
Heeyong Song [Thu, 16 Apr 2020 05:41:52 +0000 (14:41 +0900)]
Support rounded corners for GradientVisual

Change-Id: Ibb63224756ad34359f84a7c620231a0cfa61ae3e

4 years agoMerge "Libraries & RPM renamed to provide DALi 2" into devel/master
Adeel Kazmi [Mon, 4 May 2020 19:27:54 +0000 (19:27 +0000)]
Merge "Libraries & RPM renamed to provide DALi 2" into devel/master

4 years agoMerge "Add support to unselect text And Get_SelectedText" into devel/master
joogab yun [Mon, 4 May 2020 06:49:05 +0000 (06:49 +0000)]
Merge "Add support to unselect text And Get_SelectedText" into devel/master

4 years agoDALi Version 1.9.10 46/232346/1 dali_1.9.10
György Straub [Fri, 1 May 2020 11:01:18 +0000 (12:01 +0100)]
DALi Version 1.9.10

Change-Id: I411e023c92053c5c8caadb82669e6ce36f1b75e7

4 years agoLibraries & RPM renamed to provide DALi 2 52/232152/1
Adeel Kazmi [Tue, 28 Apr 2020 16:20:34 +0000 (17:20 +0100)]
Libraries & RPM renamed to provide DALi 2

Change-Id: Ibb3809dd605fa6718e0c7838a2f8b5da89eb1b12

4 years agoAdd support to unselect text And Get_SelectedText 24/231224/4
Ali [Mon, 20 Apr 2020 07:51:54 +0000 (10:51 +0300)]
Add support to unselect text And Get_SelectedText

This patch add two kind of support for TextField
1- SelectNone function: this will unselect text in textfield Programmatically by user.
2- Selected_Text property: this is readonly to return string for selected text.

After this patch approve, I will create other one for dali-csharp-bindings

Change-Id: If93ed6df44a41ff00f772a0abcfc9e2401c41480

4 years agoMerge "DALi Version 1.9.9" into devel/master
Adeel Kazmi [Fri, 24 Apr 2020 15:02:42 +0000 (15:02 +0000)]
Merge "DALi Version 1.9.9" into devel/master

4 years agoDALi Version 1.9.9 78/231878/1 dali_1.9.9
greynaga [Fri, 24 Apr 2020 15:00:47 +0000 (16:00 +0100)]
DALi Version 1.9.9

Change-Id: I5858046599cf88685961114230a623157956df78

4 years agotext tiling 78/230578/38
Joogab Yun [Mon, 13 Apr 2020 01:04:47 +0000 (10:04 +0900)]
text tiling

If the length of text is very long and exceeds maxTextureSize,
it cannot be displayed on the screen.

So tiling is required.
I implement tiling by attaching multiple renderers.

And the MAX_TEXT_LENGTH limit is removed.

sample)

    std::ifstream file;
    file.open(PATH[0]);
    std::stringstream ss;
    ss << file.rdbuf();
    file.close();

    ScrollView scroller = ScrollView::New();
    scroller.SetPosition( 100.f, 100.f);
    scroller.SetSize(500.f, 1000.f);
    scroller.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    scroller.SetParentOrigin(ParentOrigin::TOP_LEFT);
    scroller.SetAxisAutoLock(true);

    TextLabel textLabel = TextLabel::New( );
    textLabel.SetProperty( TextLabel::Property::TEXT,  ss.str() );
    textLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textLabel.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textLabel.SetProperty( TextLabel::Property::VERTICAL_ALIGNMENT, "TOP" );
    textLabel.SetProperty( TextLabel::Property::MULTI_LINE, true );
    textLabel.SetProperty( TextLabel::Property::ELLIPSIS, false );
    textLabel.SetProperty( TextLabel::Property::ENABLE_MARKUP, true );
    textLabel.SetProperty( TextLabel::Property::POINT_SIZE, 16);
    textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT_COLOR, Color::BLUE );

    scroller.Add( textLabel );
    stage.Add( scroller );

Change-Id: I65082244a801ba697fd9ab0b598c82e702c2a948

4 years agoFix corner radius shader of the ImageVisual 80/230780/3
Heeyong Song [Tue, 14 Apr 2020 06:31:07 +0000 (15:31 +0900)]
Fix corner radius shader of the ImageVisual

It didn't work for premultiplied-alpha images.

Change-Id: I69d612112cb0f1ef132979ce830c8466a639c6f7

4 years agoMerge "Add Pixel format for depth and stencil" into devel/master
Seungho BAEK [Wed, 22 Apr 2020 04:33:41 +0000 (04:33 +0000)]
Merge "Add Pixel format for depth and stencil" into devel/master

4 years agoIntroduce new visual transform property : EXTRA_SIZE 92/231192/2
Jiyun Yang [Mon, 13 Apr 2020 09:28:06 +0000 (18:28 +0900)]
Introduce new visual transform property : EXTRA_SIZE

The EXTRA_SIZE can increase/decrease the computed visual size.

The property can be used when a user want to set a visual size
as a combined value of `absolute` and `relative`: ControlSize * a + b

For example, when a user want to set a visual size to (ControlSize * 2 + 10),
The transform map will be,

transformMap.Add( Transform::Property::SIZE, Vector2( 2.0f, 2.0f ) )
            .Add( Transform::Property::SIZE_POLICY, Vector2( Transform::Policy::Relative, Transform::Policy::Relative ) )
            .Add( Transform::Property::EXTRA_SIZE, Vector2( 10.0f, 10.0f ) );

Change-Id: Ibd1b7667a96900f216f7a9a14ea6813636161b48
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoAdd Pixel format for depth and stencil 07/230907/3
Seungho, Baek [Thu, 16 Apr 2020 03:47:47 +0000 (12:47 +0900)]
Add Pixel format for depth and stencil

 - add cases on the switch to control pixel enum

Change-Id: Ib9c88d92926263e24fbd18c9bbed17ee76559a71
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoMerge "Fix VCPKG CMake build issue." into devel/master
Adeel Kazmi [Fri, 17 Apr 2020 10:51:27 +0000 (10:51 +0000)]
Merge "Fix VCPKG CMake build issue." into devel/master

4 years agoDALi Version 1.9.8 15/231115/1 dali_1.9.8
Cheng-Shiun Tsai [Fri, 17 Apr 2020 09:07:09 +0000 (10:07 +0100)]
DALi Version 1.9.8

Change-Id: I1df33883ddd2136037f17dcf6871aa531fa02bfd

4 years agoFix VCPKG CMake build issue. 18/231018/1
Victor Cebollada [Thu, 16 Apr 2020 16:07:13 +0000 (17:07 +0100)]
Fix VCPKG CMake build issue.

Change-Id: Ife6103e8fea70ffc2759ef292e3c82838e719cac
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years agoFix a crash of the TextureManager 66/230766/3
Heeyong Song [Tue, 14 Apr 2020 05:30:18 +0000 (14:30 +0900)]
Fix a crash of the TextureManager

The observer may be deleted during the UploadComplete callback.
So disconnect the signal and erase the object from the list first.

Change-Id: I614008c9a93025aef973dc8fcf38e1b578f8f35c

4 years agoCMake for MS Windows command line 56/224156/11
Victor Cebollada [Thu, 6 Feb 2020 09:23:27 +0000 (09:23 +0000)]
CMake for MS Windows command line

Change-Id: I177976b075d26ddc520c772a801179b5871bad84
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years agoUpdate 360x360 default stylesheet 75/230675/1
Seoyeon Kim [Mon, 13 Apr 2020 10:00:11 +0000 (19:00 +0900)]
Update 360x360 default stylesheet

Change-Id: If57afc8b8339dd6d7c2d9513d5336ab4d285b2be
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoMerge "DALi Version 1.9.7" into devel/master
Adeel Kazmi [Thu, 9 Apr 2020 14:48:43 +0000 (14:48 +0000)]
Merge "DALi Version 1.9.7" into devel/master

4 years agoDALi Version 1.9.7 68/230368/1 dali_1.9.7
Anton Obzhirov [Thu, 9 Apr 2020 14:48:23 +0000 (15:48 +0100)]
DALi Version 1.9.7

Change-Id: I067800b2dfc87df280172caa4f22695877a4653b

4 years agoMerge "AssetManager - Comments added to the code." into devel/master
Adeel Kazmi [Thu, 9 Apr 2020 08:48:11 +0000 (08:48 +0000)]
Merge "AssetManager - Comments added to the code." into devel/master

4 years agoAssetManager - Comments added to the code. 21/230321/1
Victor Cebollada [Thu, 9 Apr 2020 08:25:37 +0000 (09:25 +0100)]
AssetManager - Comments added to the code.

* Doxygen comments added to the interface.
* Comments added to clarify the logic.

Change-Id: Ic707e12b4a479014bfdb9907b094a16fc33a734c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years agoMerge "DALi Version 1.9.6" into devel/master
Adeel Kazmi [Fri, 3 Apr 2020 08:13:29 +0000 (08:13 +0000)]
Merge "DALi Version 1.9.6" into devel/master

4 years ago[dali_1.9.6] Merge branch 'devel/master' 68/229768/1
Adeel Kazmi [Fri, 3 Apr 2020 07:39:02 +0000 (08:39 +0100)]
[dali_1.9.6] Merge branch 'devel/master'

Change-Id: I98c515fe5baff5d83bff8e4d8ea325962c5d7142

4 years agoDALi Version 1.9.6 62/229762/1 dali_1.9.6
Adeel Kazmi [Fri, 3 Apr 2020 07:38:23 +0000 (08:38 +0100)]
DALi Version 1.9.6

Change-Id: I2bc552e51a1724050b431e43d4a8fa44b7381acd

4 years agoMerge "fixed align problems when whitespaces are included" into devel/master
joogab yun [Fri, 3 Apr 2020 03:16:53 +0000 (03:16 +0000)]
Merge "fixed align problems when whitespaces are included" into devel/master

4 years agoExport Builder::TreeNode::ConstIterator symbols. 52/224152/8
Victor Cebollada [Wed, 29 Jan 2020 07:15:40 +0000 (07:15 +0000)]
Export Builder::TreeNode::ConstIterator symbols.

* These symbols were not exported and failed to link
  on a MS Windows app that uses them.

Change-Id: I655bad09c14611205ebe0b9ae7d9a17c17fe8b17
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
4 years agoMerge "CMake - Option added to define the default toolkit resource path." into devel...
Adeel Kazmi [Thu, 2 Apr 2020 14:46:48 +0000 (14:46 +0000)]
Merge "CMake - Option added to define the default toolkit resource path." into devel/master

4 years agofixed align problems when whitespaces are included 72/229272/5
Joogab Yun [Tue, 31 Mar 2020 01:30:13 +0000 (10:30 +0900)]
fixed align problems when whitespaces are included

    TextLabel ellipsisTest = TextLabel::New( "abcde abced                                ");
    ellipsisTest.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    ellipsisTest.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    ellipsisTest.SetPosition(100.f, 600.f);
    ellipsisTest.SetSize( 344.f, 100.f);
    ellipsisTest.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER");
    stage.Add( ellipsisTest );

Change-Id: I1641df673a9407e085da8645737f292d73fc8f0f