platform/core/uifw/dali-toolkit.git
2 years agoAdd support for Imagevisual to use External Texture as input through Url 66/150466/10
Kimmo Hoikka [Fri, 15 Sep 2017 16:57:01 +0000 (17:57 +0100)]
Add support for Imagevisual to use External Texture as input through Url

Change-Id: I36ddb93fb33569ec40f317b3c763845a59cd2c10

2 years agoAdd support for Texture url in ImageVisual 65/150465/4
Kimmo Hoikka [Fri, 15 Sep 2017 13:41:25 +0000 (14:41 +0100)]
Add support for Texture url in ImageVisual

Change-Id: If06957574b0c27b068e8e8181b339149837eaa9b

2 years agoMerge "Move json files when only uninstalling rpm." into devel/master
minho.sun [Tue, 26 Sep 2017 11:25:28 +0000 (11:25 +0000)]
Merge "Move json files when only uninstalling rpm." into devel/master

2 years agoMerge "Fix SVACE issue" into devel/master
Adeel Kazmi [Mon, 25 Sep 2017 12:59:56 +0000 (12:59 +0000)]
Merge "Fix SVACE issue" into devel/master

2 years agoMerge "Add Placeholder Ellipsis in TextField" into devel/master
HyunJu Shin [Mon, 25 Sep 2017 06:59:26 +0000 (06:59 +0000)]
Merge "Add Placeholder Ellipsis in TextField" into devel/master

2 years agoDALi Version 1.2.58 80/151980/1 dali_1.2.58
David Steele [Fri, 22 Sep 2017 14:23:46 +0000 (15:23 +0100)]
DALi Version 1.2.58

Change-Id: I4aa42db31a272a0994cacb49a7489772426b1ed4

2 years agoAdd Placeholder Ellipsis in TextField 38/147438/7
Seoyeon Kim [Mon, 4 Sep 2017 09:45:51 +0000 (18:45 +0900)]
Add Placeholder Ellipsis in TextField

- Added Ellipsis in TextField normal text and placeholder text

Change-Id: I11dd1aca040e3d9dacdfd955d6ef2a53981f1637
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoFix SVACE issue 86/151686/1
Seoyeon Kim [Thu, 21 Sep 2017 13:08:50 +0000 (22:08 +0900)]
Fix SVACE issue

- Added to missing break in switch statement at animated-image-visual.cpp:275

Change-Id: Id5792473b76684e4ab08bc73e6148912a41fdb31
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "Remove the unused-variable gLogFilter in internal/text/text-font-style.cpp...
Adeel Kazmi [Thu, 21 Sep 2017 10:15:58 +0000 (10:15 +0000)]
Merge "Remove the unused-variable gLogFilter in internal/text/text-font-style.cpp" into devel/master

2 years agoTextVisual Outline support 58/151358/3
Agnelo Vaz [Wed, 20 Sep 2017 13:21:55 +0000 (14:21 +0100)]
TextVisual Outline support

Text outline support for TextVisual

Memory Consuption memps

Average over 10 runs.

200 TextLabels = 16112 bytes    80 bytes per TextLabel (pre this patch)
200 TextLabels = 16118 bytes    80 bytes per TextLabel (including this patch)
No significant change before and after this patch for Textlabel

200 TextLabels = 101931 bytes   509 bytes per TextLabel with outline
Styling increases memory usage as expected.

MemPS data

16112    80 bytes per TextLabel before patch
16116
16112
16112
16116
16112
16116
16108
16116
16112

161132/10 = 16113 = 80bytes

16120    80 bytes per TextLabel after patch
16116
16116
16120
16116
16116
16128
16116
16116
16120

161184/10 = 16118 = 80bytes

101832   509 bytes per TextLabel after patch with outline
101832
101860
101836
101828
101828
101828
101832
101832
102808

1019316/10 = 101931 = 509 bytes

Change-Id: I69aa79f6211a3fb076f557faf6f104b472fd0787

2 years agoMove json files when only uninstalling rpm. 38/150938/1
minho.sun [Tue, 19 Sep 2017 06:39:25 +0000 (15:39 +0900)]
Move json files when only uninstalling rpm.

Move json files when only uninstalling rpm.

%preun
case "$1" in
  0) --> uninstall
  1) --> update

Change-Id: Ib6f63f53d7e65faa7f1daa673af2e5cbd6160307
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoMerge "Do not clear keyboard focus on touch when alwaysShowFocus is true." into devel...
Adeel Kazmi [Mon, 18 Sep 2017 10:30:56 +0000 (10:30 +0000)]
Merge "Do not clear keyboard focus on touch when alwaysShowFocus is true." into devel/master

2 years agoMerge "Added devel APIs to add and remove external Texture and TextureSet to texture...
David Steele [Fri, 15 Sep 2017 15:55:39 +0000 (15:55 +0000)]
Merge "Added devel APIs to add and remove external Texture and TextureSet to texture manager" into devel/master

2 years agoMerge "Revert "Revert TextVisual in TextLabel Patches"" into devel/master
David Steele [Fri, 15 Sep 2017 13:31:10 +0000 (13:31 +0000)]
Merge "Revert "Revert TextVisual in TextLabel Patches"" into devel/master

2 years agoAdded devel APIs to add and remove external Texture and TextureSet to texture manager 17/150417/4
Kimmo Hoikka [Fri, 15 Sep 2017 11:27:03 +0000 (12:27 +0100)]
Added devel APIs to add and remove external Texture and TextureSet to texture manager

Change-Id: Ieb6009e26303510172e1562ad62645c1e037679a

2 years agoDALi Version 1.2.57 92/150392/1 dali_1.2.57
Agnelo Vaz [Fri, 15 Sep 2017 10:09:45 +0000 (11:09 +0100)]
DALi Version 1.2.57

Change-Id: Ib70d2caeaa40d81c420d960b0a6ce2f509fd9e67

2 years agoRevert "Revert TextVisual in TextLabel Patches" 19/149619/3
Richard Huang [Tue, 12 Sep 2017 16:01:25 +0000 (16:01 +0000)]
Revert "Revert TextVisual in TextLabel Patches"

This reverts commit 723acb540264b5f3bfc98ec3284891aa58d765c4.

Change-Id: I91b8dcb55fdb985e12ed5f3eea97f6bffccd938e

2 years agoTest macros print just filename and not full path, all tests throw and harness catche... 01/150201/2
Kimmo Hoikka [Thu, 14 Sep 2017 17:08:35 +0000 (18:08 +0100)]
Test macros print just filename and not full path, all tests throw and harness catches tests

Change-Id: Id701d19543d3b08da66e769a88cacafa57da45f5

2 years agoMerge "Fixed patch-coverage generation" into devel/master
Kimmo Hoikka [Thu, 14 Sep 2017 14:36:07 +0000 (14:36 +0000)]
Merge "Fixed patch-coverage generation" into devel/master

2 years agoFixed patch-coverage generation 77/150177/1
David Steele [Thu, 14 Sep 2017 13:10:50 +0000 (14:10 +0100)]
Fixed patch-coverage generation

Change-Id: I9d65b13938a0d6fe46663383495326fa5f243189

2 years agoAdd support for TEXTURE url type in VisualUrl 54/149954/4
Kimmo Hoikka [Wed, 13 Sep 2017 14:21:08 +0000 (15:21 +0100)]
Add support for TEXTURE url type in VisualUrl

Change-Id: I65ed858a629c17cc149996ed5e10db89e8a91ed4

2 years agoMerge "Fix SVACE issue" into devel/master
David Steele [Wed, 13 Sep 2017 17:27:33 +0000 (17:27 +0000)]
Merge "Fix SVACE issue" into devel/master

2 years agoFix SVACE issue 15/149415/2
Seoyeon Kim [Tue, 12 Sep 2017 08:03:07 +0000 (17:03 +0900)]
Fix SVACE issue

- Fix to prevent 'name' from passing a null pointer to a 'std::string',
because it would result in dereferencing a null pointer.

Change-Id: If01974fa77662db75480962ff52373a6cc403b17
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoDo not clear keyboard focus on touch when alwaysShowFocus is true. 67/149367/1
minho.sun [Tue, 12 Sep 2017 06:22:22 +0000 (15:22 +0900)]
Do not clear keyboard focus on touch when alwaysShowFocus is true.

Do not clear keyboard focus on touch when alwaysShowFocus is ture.
TV app developer can use this feature to keep showing focus to app user.

Change-Id: I00c52244047172cb9d52310d3767a0eae3b67ef0
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoFix video play issue when rendering mode is changed and play soon. 19/149019/1
taeyoon0.lee [Mon, 11 Sep 2017 09:16:15 +0000 (18:16 +0900)]
Fix video play issue when rendering mode is changed and play soon.

Change-Id: Iada28d86abdbe9109abf2cc0f8f3a191e3e813c1

2 years agoMerge "Fix resource package install issue." into devel/master
HyunJu Shin [Mon, 11 Sep 2017 06:01:52 +0000 (06:01 +0000)]
Merge "Fix resource package install issue." into devel/master

2 years agoMerge "Adjust point size for 1920x1080" into devel/master
HyunJu Shin [Mon, 11 Sep 2017 06:01:10 +0000 (06:01 +0000)]
Merge "Adjust point size for 1920x1080" into devel/master

2 years agoRevert TextVisual in TextLabel Patches 44/148744/3
Adeel Kazmi [Fri, 8 Sep 2017 15:21:54 +0000 (16:21 +0100)]
Revert TextVisual in TextLabel Patches

"Reduce text visual memory consumption for text with no styles and emojis"
"(TextLabel) Added component properties for Text Color"
"Fix issues while rendering RTL text in Text Visual"
"Fix the padding issue while text is scrolling in TextLabel"
"Change filter mode in TextLabel to improve quality while scaling"
"Refactor TextLabel to use text visual"

Change-Id: I4b75398f8381272d0ae30b556efb71eb8516c6b6

2 years agoDALi Version 1.2.56 59/148659/1 dali_1.2.56
adam.b [Fri, 8 Sep 2017 08:27:29 +0000 (09:27 +0100)]
DALi Version 1.2.56

Change-Id: I6e5eaef8a8e41276e0ca93dc52a8aceaaba4253a

2 years agoReduce text visual memory consumption for text with no styles and emojis 89/148089/3
Richard Huang [Wed, 6 Sep 2017 16:37:37 +0000 (17:37 +0100)]
Reduce text visual memory consumption for text with no styles and emojis

Create single channel texture for text with no styles and emojis.

Change-Id: I14363763fe7c7422a2a555d8a9ba0b68e1ab575b

2 years agoAdd documentation on how to change the number of loader threads 48/148048/1
Francisco Santos [Wed, 6 Sep 2017 11:02:08 +0000 (12:02 +0100)]
Add documentation on how to change the number of loader threads

Change-Id: Ib8ef3b4b701f67667b5122553ddbd10ab7bf4e22

2 years agoAdjust point size for 1920x1080 35/147735/2
minho.sun [Tue, 5 Sep 2017 10:35:59 +0000 (19:35 +0900)]
Adjust point size for 1920x1080

Adjust point size for 1920x1080

Change-Id: Iddb6329aa92c09f633cd8a488f7cf36daf4442a8
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoMerge "(TableView) Change span child properties to integers" into devel/master
David Steele [Tue, 5 Sep 2017 18:24:59 +0000 (18:24 +0000)]
Merge "(TableView) Change span child properties to integers" into devel/master

2 years agoMerge "Support dual ABI" into devel/master
Adeel Kazmi [Tue, 5 Sep 2017 18:21:46 +0000 (18:21 +0000)]
Merge "Support dual ABI" into devel/master

2 years agoMerge changes Ib7c620f5,I75f6d47b into devel/master
Adeel Kazmi [Tue, 5 Sep 2017 17:59:16 +0000 (17:59 +0000)]
Merge changes Ib7c620f5,I75f6d47b into devel/master

* changes:
  Add multiple thread support to TextureManager
  Fix potentially uninitialized variable.

2 years agoAdd multiple thread support to TextureManager 08/147208/6
Francisco Santos [Fri, 1 Sep 2017 11:00:35 +0000 (12:00 +0100)]
Add multiple thread support to TextureManager

Change-Id: Ib7c620f509678ab0283e68b0b14435e2eda3bd1e

2 years agoMerge "Fixed crash issue by null reference" into devel/master
taeyoon0.lee [Tue, 5 Sep 2017 12:10:27 +0000 (12:10 +0000)]
Merge "Fixed crash issue by null reference" into devel/master

2 years agoFix resource package install issue. 47/147747/1
minho.sun [Tue, 5 Sep 2017 11:04:35 +0000 (20:04 +0900)]
Fix resource package install issue.

Fix resource package install issue.

Now resource package installing/updating are fine.

Change-Id: I878b43cf9ae50ebb5b19fd49c0f7f8ff2801d069
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years ago(TableView) Change span child properties to integers 12/147512/1
Adeel Kazmi [Mon, 4 Sep 2017 17:46:32 +0000 (18:46 +0100)]
(TableView) Change span child properties to integers

No API/ABI break as these values can still be passed in as floats, which the passing test cases indicate.

Change-Id: I7102050b0c093b4a29f791a751c1336237a734b2

2 years agoAdd ClearFocusOnEscape to config section. 10/147110/6
minho.sun [Fri, 1 Sep 2017 04:58:32 +0000 (13:58 +0900)]
Add ClearFocusOnEscape to config section.

This value indicates whether text control clear key input focus or not
when escape key is pressed.

Change-Id: Ifc9680d4de3a9d8eba83463b91ba5f349f4b36ef
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoSupport dual ABI 64/138464/10
Denis Khalikov [Thu, 4 May 2017 08:47:32 +0000 (11:47 +0300)]
Support dual ABI

Change-Id: I76ddf1cd3acd6d8e1f91859758de6929735fe580
Signed-off-by: Denis Khalikov <d.khalikov@partner.samsung.com>
2 years agoDALi Version 1.2.55 16/147216/1 dali_1.2.55
Umar [Fri, 1 Sep 2017 11:35:29 +0000 (12:35 +0100)]
DALi Version 1.2.55

Change-Id: I43320d7deebff50e5b8c6d35563d768640945ba2

2 years agoFixed crash issue by null reference 11/135811/2
taeyoon0.lee [Mon, 26 Jun 2017 14:38:03 +0000 (23:38 +0900)]
Fixed crash issue by null reference

Change-Id: I5273edd7282ac0fb0721085198ca555d537bccba

2 years agoAtlas manager using old block size for new atlas creation 31/144431/8
Agnelo Vaz [Wed, 16 Aug 2017 18:37:00 +0000 (19:37 +0100)]
Atlas manager using old block size for new atlas creation

Change-Id: I0a192908037db68e226fc3a5c18b2891c7df3a0e

2 years agoMerge "Revise installing a license file in automated-test" into devel/master
Adeel Kazmi [Thu, 31 Aug 2017 10:00:57 +0000 (10:00 +0000)]
Merge "Revise installing a license file in automated-test" into devel/master

2 years agoFix potentially uninitialized variable. 75/146775/2
Francisco Santos [Wed, 30 Aug 2017 10:40:15 +0000 (11:40 +0100)]
Fix potentially uninitialized variable.

Change-Id: I75f6d47bd86111675d1cf2e772cf034b15ee6ae9

2 years agoRemove the unused-variable gLogFilter in internal/text/text-font-style.cpp 70/146270/3
Mu-Woong Lee [Fri, 25 Aug 2017 13:09:14 +0000 (22:09 +0900)]
Remove the unused-variable gLogFilter in internal/text/text-font-style.cpp

It causes a build error on Ubuntu 16.04.

Change-Id: Icc8e374c6d3617993b909815c8d118273eb5bbf9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
2 years agoFix issues while rendering RTL text in Text Visual 38/146238/4
Richard Huang [Fri, 25 Aug 2017 10:35:26 +0000 (11:35 +0100)]
Fix issues while rendering RTL text in Text Visual

This patch fixes two issue:

1. Overlapped glyph is cut.
2. Small gap between joint glyphs.

The solution is:

1. When we copy glyphs to the big image buffer, we should only copy
   non-transparent pixels, and this will prevent overlapped glyphs
   from being cut.

2. For any pixel overlapped with the pixel in previous glyphs,
   make sure we don't overwrite a previous bigger alpha with a smaller
   alpha, so that we can avoid semi-transparent gaps between joint
   glyphs with overlapped pixels, which could happen e.g. in the RTL
   text when we copy glyphs from right to left.

Change-Id: Id4d9d028999612e0545aa47b5bf66e410fc7ee91

2 years agoDALi Version 1.2.54 45/146245/1 dali_1.2.54
Francisco Santos [Fri, 25 Aug 2017 10:48:47 +0000 (11:48 +0100)]
DALi Version 1.2.54

Change-Id: I6263a6bf14382dc026b8bffb78b8024a9648d8d7

2 years agoRevise installing a license file in automated-test 00/146200/1
Youngjae Shin [Tue, 22 Aug 2017 05:27:16 +0000 (14:27 +0900)]
Revise installing a license file in automated-test

Change-Id: Ie73bc0c033bf5d6a7f57c27b4912d7771d9ef73d

2 years agoMerge "Added option to test harness execution to only summarize failures" into devel...
Adeel Kazmi [Thu, 24 Aug 2017 10:55:31 +0000 (10:55 +0000)]
Merge "Added option to test harness execution to only summarize failures" into devel/master

2 years agoAdded option to test harness execution to only summarize failures 78/145778/1
David Steele [Wed, 23 Aug 2017 18:36:26 +0000 (19:36 +0100)]
Added option to test harness execution to only summarize failures

Change-Id: I6c235eb492302c5ee9fb4b85f51d50a7c20ac7be

2 years ago(TextLabel) Added component properties for Text Color 67/145767/6
Adeel Kazmi [Wed, 23 Aug 2017 15:25:55 +0000 (16:25 +0100)]
(TextLabel) Added component properties for Text Color

Also fixed the getter for TEXT_COLOR

Change-Id: I993ff3c289ccb703d1c95874001f882fd4a3e7eb

2 years agoFix the padding issue while text is scrolling in TextLabel 26/145526/1
Richard Huang [Tue, 22 Aug 2017 15:21:01 +0000 (16:21 +0100)]
Fix the padding issue while text is scrolling in TextLabel

Change-Id: I519f1c8b17aaa5b698a711dd3745b0e282b9aaea

2 years agoEnsure all users can run the unit test cases on the same machine. 99/145199/2
Victor Cebollada [Mon, 21 Aug 2017 14:28:13 +0000 (15:28 +0100)]
Ensure all users can run the unit test cases on the same machine.

Change-Id: Ibda920af96500256e99aa690534b980f0080a28a
Signed-off-by: Victor Cebollada <v.cebollada@ex1.seri.co.uk>
2 years agoChange filter mode in TextLabel to improve quality while scaling 22/144922/1
Richard Huang [Fri, 18 Aug 2017 10:28:36 +0000 (11:28 +0100)]
Change filter mode in TextLabel to improve quality while scaling

Change-Id: Ifc2c5a1a592d24851db2b2703d469b8797595a0b

2 years agoDALi Version 1.2.53 11/144911/1 dali_1.2.53
Victor Cebollada [Fri, 18 Aug 2017 09:20:47 +0000 (10:20 +0100)]
DALi Version 1.2.53

Change-Id: I5a78bc5589794a9fff46485970299da29790c397

2 years agoMerge "Fix for multi-language support." into devel/master
Adeel Kazmi [Thu, 17 Aug 2017 15:03:04 +0000 (15:03 +0000)]
Merge "Fix for multi-language support." into devel/master

2 years agoRefactor TextLabel to use text visual 75/135975/25
Richard Huang [Tue, 27 Jun 2017 15:37:17 +0000 (16:37 +0100)]
Refactor TextLabel to use text visual

Change-Id: Ia3f55571721cd988623200fb36bc47e1ee06f932

2 years agoFix for multi-language support. 80/144180/1
Victor Cebollada [Tue, 15 Aug 2017 14:59:20 +0000 (15:59 +0100)]
Fix for multi-language support.

* Fixes the issue when a font doesn't support all the glyphs of the script.
  i.e a font validated for the CJK script may contain glyphs for the chinese language but not for the Japanese.

  Uses the new IsCharacterSupportedByFont() method added to the font client.

Change-Id: I5f6e125298605d170de2d31f7ee7fc18585790f4
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
2 years agoDALi Version 1.2.52 37/143837/1 dali_1.2.52
Richard Huang [Fri, 11 Aug 2017 11:44:17 +0000 (12:44 +0100)]
DALi Version 1.2.52

Change-Id: I0afcd18970dd8c5f244b064f083f83ef01e8f544

2 years agoFixed focus manager crash Fixed focus manager crash. 70/140870/5
minho.sun [Thu, 27 Jul 2017 03:02:43 +0000 (12:02 +0900)]
Fixed focus manager crash Fixed focus manager crash.

When pre focused actor which is in history stack is removed, we cannot know about that
via base-object pointer.

So, contain WeakHandle of Actor instead of base-object pointer in std::vector.

Change-Id: Id523747099013319c72ae402ceea12fea9cf2ccb
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoMerge "Fix Slider MARKS GetProperty value" into devel/master
Adeel Kazmi [Wed, 9 Aug 2017 14:58:46 +0000 (14:58 +0000)]
Merge "Fix Slider MARKS GetProperty value" into devel/master

2 years agoRevert "Check character glyph index before using cached Font" 75/143375/2
Adeel Kazmi [Wed, 9 Aug 2017 11:32:22 +0000 (11:32 +0000)]
Revert "Check character glyph index before using cached Font"

This reverts commit efb94d8c348a12264e102ccf085ab5d707c85826.

Change-Id: I2168a955a612b47ab668032c4b3efc250f6ec762

2 years agoFix Slider MARKS GetProperty value 82/142982/1
Seoyeon Kim [Tue, 8 Aug 2017 06:20:09 +0000 (15:20 +0900)]
Fix Slider MARKS GetProperty value

- Fixed to return a PropertyArray of Slider MARKS property

Change-Id: Icc970a2a11a6ffed9de5f23adc053b422cfdb0cc
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "Add U0 case to Utf8ToUtf32" into devel/master
Adeel Kazmi [Fri, 4 Aug 2017 14:08:08 +0000 (14:08 +0000)]
Merge "Add U0 case to Utf8ToUtf32" into devel/master

2 years agoMerge "ImageView ResourceReady logic update" into devel/master
David Steele [Fri, 4 Aug 2017 13:49:22 +0000 (13:49 +0000)]
Merge "ImageView ResourceReady logic update" into devel/master

2 years agoMerge "Ensure ImageView updates mVisual once ready/loaded" into devel/master
David Steele [Fri, 4 Aug 2017 13:49:14 +0000 (13:49 +0000)]
Merge "Ensure ImageView updates mVisual once ready/loaded" into devel/master

2 years agoImageView ResourceReady logic update 26/142126/3
Agnelo Vaz [Wed, 2 Aug 2017 17:00:53 +0000 (18:00 +0100)]
ImageView ResourceReady logic update

Change-Id: I9cedf4f0edead2fb492a9431187cf88d9012da64

2 years agoDALi Version 1.2.51 88/142588/1 dali_1.2.51
greynaga [Fri, 4 Aug 2017 10:43:47 +0000 (11:43 +0100)]
DALi Version 1.2.51

Change-Id: I3d100ee1f792cddb46dbc0e8bb32d3a37a77b980

2 years agoAdd U0 case to Utf8ToUtf32 16/142316/3
Heeyong Song [Thu, 3 Aug 2017 10:57:35 +0000 (19:57 +0900)]
Add U0 case to Utf8ToUtf32

Change-Id: I9507be62ec8239b39fdd94035233c2b88f4d47c3

2 years agoEnsure ImageView updates mVisual once ready/loaded 28/141828/4
Agnelo Vaz [Tue, 1 Aug 2017 13:35:38 +0000 (14:35 +0100)]
Ensure ImageView updates mVisual once ready/loaded

Previously mVisual was only updated after OnRelayout but this is too late,
RelayoutRequest triggers GetNaturalSize before OnRelayout, GetNaturalSize needs mVisual to be the updated visual not the previous.

Change-Id: Ib0e46af88774d866a5f6074e43437f0b173bf0f6

2 years agoUpdated ImageVisual::GetNaturalSize to work with loaded images 11/142111/4
David Steele [Wed, 2 Aug 2017 13:11:52 +0000 (14:11 +0100)]
Updated ImageVisual::GetNaturalSize to work with loaded images

Change-Id: I33d5a66aec57460e318fced5b41deb16fe9beba5

2 years agoUpdated L8 text shader to account for actor alpha 76/141476/1
David Steele [Mon, 31 Jul 2017 19:53:57 +0000 (20:53 +0100)]
Updated L8 text shader to account for actor alpha

Fading demos such as popup and contact view were showing text too early / too late.
This patch fixes these demos.

Change-Id: I54aa32311ca27f9169f7b196d45a111ef0965f95
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoMerge "DALi Version 1.2.50" into devel/master
David Steele [Fri, 28 Jul 2017 16:02:07 +0000 (16:02 +0000)]
Merge "DALi Version 1.2.50" into devel/master

2 years agoDALi Version 1.2.50 28/141228/1 dali_1.2.50
Adeel Kazmi [Fri, 28 Jul 2017 15:54:52 +0000 (16:54 +0100)]
DALi Version 1.2.50

Change-Id: I701a25e30d261182d83379efe5070b778db8d538

2 years agoTextColor Animatable 00/139000/7
Agnelo Vaz [Fri, 14 Jul 2017 14:15:22 +0000 (15:15 +0100)]
TextColor Animatable

Change-Id: Id52feb84c3cf66037f9013f2832318b170543d76

2 years agoChange TestRenderSurface 28/137728/3
Heeyong Song [Fri, 7 Jul 2017 08:21:11 +0000 (17:21 +0900)]
Change TestRenderSurface

Change-Id: Ifa120af136c265f0d19fc7e2235370de88bced35

2 years agoMerge " Calculate a new height when text was changed." into devel/master
Jinho, Lee [Thu, 27 Jul 2017 10:41:59 +0000 (10:41 +0000)]
Merge " Calculate a new height when text was changed." into devel/master

2 years ago Calculate a new height when text was changed. 48/140448/3
Jinho, Lee [Tue, 25 Jul 2017 04:41:48 +0000 (13:41 +0900)]
 Calculate a new height when text was changed.

 Even in the same font and size, sometimes they have different heights when inputting multiple langeages.

Change-Id: I83513ef4d190c71ab880f60b8ea2d788688ce0d9

2 years agoMerge "Note that some Text propeties in devel api can't be changed" into devel/master
Adeel Kazmi [Thu, 27 Jul 2017 08:56:30 +0000 (08:56 +0000)]
Merge "Note that some Text propeties in devel api can't be changed" into devel/master

2 years agoMerge "Ensure text-controller returns false when it doesn't use key." into devel...
minho.sun [Wed, 26 Jul 2017 07:42:51 +0000 (07:42 +0000)]
Merge "Ensure text-controller returns false when it doesn't use key." into devel/master

2 years agoMerge "Fixed resource package install error" into devel/master
minho.sun [Wed, 26 Jul 2017 07:42:42 +0000 (07:42 +0000)]
Merge "Fixed resource package install error" into devel/master

2 years agoEnsure text-controller returns false when it doesn't use key. 97/140597/2
minho.sun [Tue, 25 Jul 2017 13:23:24 +0000 (22:23 +0900)]
Ensure text-controller returns false when it doesn't use key.

Ensure text-controller returns false when it doesn't use key.
Plus, add tct cases for coverage.

Change-Id: I328af4c216e22cf7a3aff2d5ce2dea3780168f3a
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoMerge "Removing TextureUploadObserver from symbol table" into devel/master
Adeel Kazmi [Tue, 25 Jul 2017 17:37:05 +0000 (17:37 +0000)]
Merge "Removing TextureUploadObserver from symbol table" into devel/master

2 years agoRemoved redundant dali-sharp folder 20/140620/1
Adeel Kazmi [Tue, 25 Jul 2017 17:02:50 +0000 (18:02 +0100)]
Removed redundant dali-sharp folder

Change-Id: Ieba47b96838587b04f9ea661476e4c7aa7ccdb4f

2 years agoMerge "Line wrap mode property is added." into devel/master
HyunJu Shin [Mon, 24 Jul 2017 02:51:07 +0000 (02:51 +0000)]
Merge "Line wrap mode property is added." into devel/master

2 years agoFixed resource package install error 79/140079/2
minho.sun [Sat, 22 Jul 2017 05:00:50 +0000 (14:00 +0900)]
Fixed resource package install error

When updating resource package, always get mv error.
Fix them by removing all files in styles at pre-install.

Change-Id: Icb1e8fb928e1e43dceb37796d361d22521007113
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoRemoving TextureUploadObserver from symbol table 64/140064/1
David Steele [Fri, 21 Jul 2017 14:34:13 +0000 (15:34 +0100)]
Removing TextureUploadObserver from symbol table

Change-Id: Ia16e22e972943baeedfd1e42903facc78c0f546d

2 years agoMerge "DALi Version 1.2.49" into devel/master
Adeel Kazmi [Fri, 21 Jul 2017 13:27:45 +0000 (13:27 +0000)]
Merge "DALi Version 1.2.49" into devel/master

2 years agoDALi Version 1.2.49 51/140051/1 dali_1.2.49
David Steele [Fri, 21 Jul 2017 13:24:36 +0000 (14:24 +0100)]
DALi Version 1.2.49

Change-Id: I58229a9bf8cf409142a532ebf1b57b01dfa32876

2 years agoMerge "Added Scaling and cropping properties to the image visual mask" into devel...
Adeel Kazmi [Fri, 21 Jul 2017 09:32:21 +0000 (09:32 +0000)]
Merge "Added Scaling and cropping properties to the image visual mask" into devel/master

2 years agoLine wrap mode property is added. 71/139571/5
Jinho, Lee [Wed, 19 Jul 2017 06:39:45 +0000 (15:39 +0900)]
Line wrap mode property is added.

When a text line is too long and needs to be moved to the next line, it decides whether to move text to next line word by word or character by character.

Change-Id: I502327ab7f7680570b7c3712c7e6f519c92d05a4

2 years agoAdded Scaling and cropping properties to the image visual mask 30/139630/4
David Steele [Wed, 19 Jul 2017 18:52:51 +0000 (19:52 +0100)]
Added Scaling and cropping properties to the image visual mask

Have added 2 new properties to image visual to enable zooming into
an image before masking it.

Change-Id: I47259054f010497c0b92f1e46ff8bc15fc708ba4
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoNote that some Text propeties in devel api can't be changed 75/139775/2
Seoyeon Kim [Thu, 20 Jul 2017 09:49:47 +0000 (18:49 +0900)]
Note that some Text propeties in devel api can't be changed

- Note that these properties are currently being used for some applications.
  So, they can't be changed.

Change-Id: I41470f4563e52ea3e66c9ee9dbcd45cf3b57a26c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoAdd PlaceholderTextFocused key in PLACEHOLDER property 57/139457/2
Seoyeon Kim [Wed, 19 Jul 2017 04:36:46 +0000 (13:36 +0900)]
Add PlaceholderTextFocused key in PLACEHOLDER property

 - PLACEHOLDER property is MAP type.

Change-Id: I4694860c892c35ef112fab646b72258de538c563
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "Adding support for multiple images in AnimatedImageVisual" into devel/master
Adeel Kazmi [Fri, 14 Jul 2017 14:41:51 +0000 (14:41 +0000)]
Merge "Adding support for multiple images in AnimatedImageVisual" into devel/master

2 years agoMerge "DALi Version 1.2.48" into devel/master
David Steele [Fri, 14 Jul 2017 13:01:35 +0000 (13:01 +0000)]
Merge "DALi Version 1.2.48" into devel/master

2 years agoDALi Version 1.2.48 79/138979/1 dali_1.2.48
adam.b [Fri, 14 Jul 2017 12:29:21 +0000 (13:29 +0100)]
DALi Version 1.2.48

Change-Id: Ie4641024a5ab47605dc74d7e6af29dd53cea3fa9

2 years agoAdding support for multiple images in AnimatedImageVisual 72/136672/9
David Steele [Wed, 28 Jun 2017 12:40:23 +0000 (13:40 +0100)]
Adding support for multiple images in AnimatedImageVisual

As well as supporting animated GIF, the animated image visual also
supports animating between a number of images.

This can be done using a property map containing the following:

{
   "url":[ "url1", "url2", "url3", "url4", "url5" ],
   "batchSize" : 3,
   "cacheSize" : 4,
   "frameDelay" : 100
}

The cache size is the total number of images that will be loaded at any one time;
the batch size is the maximum number of images it will attempt to load before displaying.
If the cache size is smaller than the batch size, it is increased to match. If either
are larger than the number of urls, they are reduced to match.

As soon as the visual is created, it will start loading up to batchSize urls into the
cache. After each frame has completed, it will start loading the next batch, etc,
until the cache is full. After the next frame, it will load only the next URL into
the cache.

If at any time, the next image is not ready, it will wait for the loading to complete
before displaying and triggering the next batch/frame load, but will not reset the timer.

Change-Id: Iccd59768aec814ab3b73fb7b817e45b95299b2c2
Signed-off-by: David Steele <david.steele@samsung.com>