platform/core/uifw/dali-toolkit.git
7 years agoCheck line is empty or not before getting line of character 62/165262/2
minho.sun [Wed, 27 Dec 2017 07:55:49 +0000 (16:55 +0900)]
Check line is empty or not before getting line of character

mLine can be empty Vector if there is no text or place holder in
text-editor / text-field.

So check mLine is empty or not first and if it is empty, return 0u.

Change-Id: I950ca6df885080d84bc8c6a7055d0afcce21d8c5

7 years agoRemoved Texture Atlas for the GIF image. 70/159570/26
Umar [Thu, 9 Nov 2017 20:48:49 +0000 (20:48 +0000)]
Removed Texture Atlas for the GIF image.

Added new RollingGifImageCache for animated images.

Change-Id: Idda4fecb7f4c5303f459a9e6b18222fdb3c83a41

7 years agoMerge "Disable pixel alignment while scrolling the text" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 15:10:04 +0000 (15:10 +0000)]
Merge "Disable pixel alignment while scrolling the text" into devel/master

7 years agoMerge "Add the protected code and fix the crash issue" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 15:07:43 +0000 (15:07 +0000)]
Merge "Add the protected code and fix the crash issue" into devel/master

7 years agoMerge "(ColorVisual) Don't render if transparent alpha by default" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 15:01:17 +0000 (15:01 +0000)]
Merge "(ColorVisual) Don't render if transparent alpha by default" into devel/master

7 years agoMerge "DALi Version 1.3.5" into devel/master
Adeel Kazmi [Fri, 22 Dec 2017 14:29:35 +0000 (14:29 +0000)]
Merge "DALi Version 1.3.5" into devel/master

7 years agoDALi Version 1.3.5 41/165041/1 dali_1.3.5
György Straub [Fri, 22 Dec 2017 14:19:06 +0000 (14:19 +0000)]
DALi Version 1.3.5

Change-Id: I79fb4f27838dcc5a3bbd0b7fb74c39558196d71b

7 years ago(ColorVisual) Don't render if transparent alpha by default 31/164731/7
Adeel Kazmi [Wed, 20 Dec 2017 14:56:24 +0000 (14:56 +0000)]
(ColorVisual) Don't render if transparent alpha by default

Added a property to force rendering if required. This was needed for the CLIP_CHILDREN use case.

Change-Id: Id5beaf92ed38b2beb30439c7ab760c8a762f1d9f

7 years agoFix text scroll start position issue 57/164957/2
minho.sun [Fri, 22 Dec 2017 04:40:58 +0000 (13:40 +0900)]
Fix text scroll start position issue

When user sets textlabel auto scroll, it starts after aligning.
It makes long text start its scrolling at the odd position when
horizontal alignment is not begin.

Makes long text always start its scrolling at the begin position even if
horizontal alignment is set.

Change-Id: I3d3e93dd7c8bf4925ccfdef083ab0c7ac5c44523
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoMerge "Move Some Devel Properties & APIs to the Public API" into devel/master
Adeel Kazmi [Thu, 21 Dec 2017 18:53:17 +0000 (18:53 +0000)]
Merge "Move Some Devel Properties & APIs to the Public API" into devel/master

7 years agoLine spacing for TextLabel and vertical line alignment feature 86/162386/28
adam.b [Thu, 14 Dec 2017 16:06:54 +0000 (16:06 +0000)]
Line spacing for TextLabel and vertical line alignment feature

- Line spacing is now supported by the TextLabel only
- Introduced new devel property VERTICAL_LINE_ALIGNMENT providing
  vertical text aligning within its line area ( TOP, MIDDLE, BOTTOM )

Change-Id: I568a7ef5bed4adcf358e6cab05c3316b93430f1c

7 years agoMerge "Updated NanoSVG to latest version (9 July 2017)" into devel/master
Adeel Kazmi [Thu, 21 Dec 2017 14:36:25 +0000 (14:36 +0000)]
Merge "Updated NanoSVG to latest version (9 July 2017)" into devel/master

7 years agoUpdated NanoSVG to latest version (9 July 2017) 19/156519/8
David Steele [Wed, 18 Oct 2017 14:42:34 +0000 (15:42 +0100)]
Updated NanoSVG to latest version (9 July 2017)

This fixes a number of issues, including the arc drawing.
See https://github.com/memononen/nanosvg/commits/master for further details

Change-Id: I762974cc95e6c1fc30955809b0608bf635291f24

7 years agoDisable pixel alignment while scrolling the text 08/164708/3
Richard Huang [Wed, 20 Dec 2017 11:21:47 +0000 (11:21 +0000)]
Disable pixel alignment while scrolling the text

Change-Id: I8980a4ae249d6b67868e1b0beb21f2d98e39e25e

7 years agoMove Some Devel Properties & APIs to the Public API 73/164473/6
Moonhee Choi [Tue, 19 Dec 2017 08:05:41 +0000 (17:05 +0900)]
Move Some Devel Properties & APIs to the Public API

-control.h
Toolkit::Visual::ResourceStatus GetVisualResourceStatus(
const Dali::Property::Index index );
-visual-properties.h
PREPARING
READY
FAILED
-image-visual-properties.h
LoadPolicy
ReleasePolicy
LOAD_POLICY
RELEASE_POLICY
ORIENTATION_CORRECTION

Change-Id: Ibbb5b53361b299d6f814431f54245512980e198b
Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
7 years agoAdd extra tag for tizen_4.0 19/164719/1
minho.sun [Wed, 20 Dec 2017 13:23:14 +0000 (22:23 +0900)]
Add extra tag for tizen_4.0

add extra tag for tizen_4.0

Change-Id: Ifca93a0b299ac4bbbadf419003280bc1b20e55f6
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoMerge "Revert "Move Some Devel Properties & APIs to the Public API"" into devel/master
moonhee choi [Tue, 19 Dec 2017 07:31:48 +0000 (07:31 +0000)]
Merge "Revert "Move Some Devel Properties & APIs to the Public API"" into devel/master

7 years agoMerge "Add ENABLE_SHIFT_SELECTION property" into devel/master
HyunJu Shin [Tue, 19 Dec 2017 07:30:35 +0000 (07:30 +0000)]
Merge "Add ENABLE_SHIFT_SELECTION property" into devel/master

7 years agoRevert "Move Some Devel Properties & APIs to the Public API" 66/164466/1
moonhee choi [Tue, 19 Dec 2017 07:29:39 +0000 (07:29 +0000)]
Revert "Move Some Devel Properties & APIs to the Public API"

This reverts commit 6c3063e269a7f2d370c0ad45efde3eeb38dac3a1.

Change-Id: Ic55062697555bae4da505b444c6e191fc8b1565b

7 years agoMove Some Devel Properties & APIs to the Public API 16/164116/9 PRJGPU_1000
Moonhee Choi [Fri, 15 Dec 2017 10:01:59 +0000 (19:01 +0900)]
Move Some Devel Properties & APIs to the Public API

control-devel.h
DALI_IMPORT_API Toolkit::Visual::ResourceStatus GetVisualResourceStatus(
const Internal::Control& control, Dali::Property::Index index );

texture-manager.h
DALI_IMPORT_API std::string AddTexture( Texture& texture );
DALI_IMPORT_API std::string AddTexture( TextureSet& textureSet );
DALI_IMPORT_API TextureSet RemoveTexture( const std::string& textureUrl
);

image-visual-properties-devel.h
LoadPolicy
ReleasePolicy
LOAD_POLICY
RELEASE_POLICY
ORIENTATION_CORRECTION

Change-Id: I78f93a9783e217e179c110b55c5e7e0a79243438

7 years agoDALi Version 1.3.4 35/164135/1 dali_1.3.4
Francisco Santos [Fri, 15 Dec 2017 11:19:02 +0000 (11:19 +0000)]
DALi Version 1.3.4

Change-Id: Iec81bb38c7b2452b13f5b62ee2621814424105bd

7 years agoAdd outline property to text visual 56/163856/7
Richard Huang [Wed, 13 Dec 2017 15:21:10 +0000 (15:21 +0000)]
Add outline property to text visual

Change-Id: I73bb5d932da84be4b277227b8d5f12748e2ec992

7 years agoMerge "Explictly check upper bound to satisfy SVACE when using strtoul" into devel...
Adeel Kazmi [Thu, 14 Dec 2017 15:38:48 +0000 (15:38 +0000)]
Merge "Explictly check upper bound to satisfy SVACE when using strtoul" into devel/master

7 years agoExplictly check upper bound to satisfy SVACE when using strtoul 05/164005/1
Agnelo Vaz [Thu, 14 Dec 2017 14:36:13 +0000 (14:36 +0000)]
Explictly check upper bound to satisfy SVACE when using strtoul

Should have been able to fix SVACE error by asserting on the maximum number allowed
but that does not work with strtoul only with strtol!!

Possible issue with SVACE.

Added ASSERT_DEBUG so users knows that the set value of threads failed and default
is being used

Merged into other 4.0 branch with patch "SVACE Error fix TextureManager Thread bounds"

Change-Id: Ic412c92160bcb910f99db30a43273af0c9cf68a1

7 years agoMerge "Fixes for text's outline." into devel/master
Adeel Kazmi [Thu, 14 Dec 2017 14:35:13 +0000 (14:35 +0000)]
Merge "Fixes for text's outline." into devel/master

7 years agoFixes for text's outline. 91/163791/2
Victor Cebollada [Wed, 13 Dec 2017 10:19:00 +0000 (10:19 +0000)]
Fixes for text's outline.

* Fixes the position of the cursors, handles and highlight box.

Change-Id: I10d6931f0b0c2051915dfc1c0ff3eecf6f4b0f1f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoAdded since version for Capture in doc 97/163297/3
taeyoon0.lee [Fri, 8 Dec 2017 09:09:08 +0000 (18:09 +0900)]
Added since version for Capture in doc

Change-Id: I3caa44dec661adb791dd784e5c5989b802fe35cd

7 years agoAdd ENABLE_SHIFT_SELECTION property 97/163797/2
Seoyeon Kim [Wed, 13 Dec 2017 10:43:29 +0000 (19:43 +0900)]
Add ENABLE_SHIFT_SELECTION property

 - Added ENABLE_SHIFT_SELECTION property in DevelTextField and DevelTextEditor
 - ENABLE_SHIFT_SELECTION property is enabled or disabled Text selection using
 Keyboard Shift key.

Change-Id: I70a712ffd5eab04b1dc81768b6b39ca29c785a2e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoMerge "Add codes to prevent underflow" into devel/master
HyunJu Shin [Thu, 14 Dec 2017 00:11:01 +0000 (00:11 +0000)]
Merge "Add codes to prevent underflow" into devel/master

7 years agoMerge "Fix shader compile error fix in npatch visual" into devel/master
Adeel Kazmi [Wed, 13 Dec 2017 15:48:17 +0000 (15:48 +0000)]
Merge "Fix shader compile error fix in npatch visual" into devel/master

7 years agoFix SVACE issue in TextController 60/163660/1
Adeel Kazmi [Tue, 12 Dec 2017 17:36:28 +0000 (17:36 +0000)]
Fix SVACE issue in TextController

Change-Id: Id4dab4de25d677ccc20d32a06dcc990bc753abf8

7 years agoMerge "SVACE Error fix TextureManager Thread bounds" into devel/master
Adeel Kazmi [Tue, 12 Dec 2017 17:08:40 +0000 (17:08 +0000)]
Merge "SVACE Error fix TextureManager Thread bounds" into devel/master

7 years agoMerge "Text outline support in TextField & TextEditor" into devel/master
Adeel Kazmi [Tue, 12 Dec 2017 17:00:24 +0000 (17:00 +0000)]
Merge "Text outline support in TextField & TextEditor" into devel/master

7 years agoMerge "Text atlas renderer refacor." into devel/master
Adeel Kazmi [Tue, 12 Dec 2017 16:58:17 +0000 (16:58 +0000)]
Merge "Text atlas renderer refacor." into devel/master

7 years agoSVACE Error fix TextureManager Thread bounds 16/163616/2
Agnelo Vaz [Tue, 12 Dec 2017 10:19:46 +0000 (10:19 +0000)]
SVACE Error fix TextureManager Thread bounds

Should be able to resolve SVACE error by asserting on the maximum number allowed.

Preventing TextureManager sign-compare Error with strtoul (old arch)

Change-Id: I081635e8f1f1a69e7426041344440a53c5b80121

7 years agoText outline support in TextField & TextEditor 70/163170/10
Richard Huang [Thu, 7 Dec 2017 13:33:27 +0000 (13:33 +0000)]
Text outline support in TextField & TextEditor

Measured using memps on TM1 target by creating 500 TextFields.
Memory consumption is increased by 9% after outline is enabled.
Without outiline, the memory comsumption is almost the same as
before.

TextField with text only (no outline):

Before applying this patch:

  PID     CODE     DATA     PEAK     PSS       3D      GEM(PSS)
11272    13572    75120    88692    76920    58860     5568

After applying this patch:

  PID     CODE     DATA     PEAK     PSS       3D      GEM(PSS)
 5782    13580    75244    88824    77055    58508     5568

TextField with text and outline:

After applying this patch:

  PID     CODE     DATA     PEAK     PSS       3D      GEM(PSS)
 5851    13588    82056    95644    83874    63364     5568

Change-Id: I9838fb0867102e920bcc07650ff5c3a8903a7e24

7 years agoMerge "Send the empty string to IME when PlaceholderText shows" into devel/master
Seoyeon Kim [Tue, 12 Dec 2017 10:21:28 +0000 (10:21 +0000)]
Merge "Send the empty string to IME when PlaceholderText shows" into devel/master

7 years agoMerge "Remove unused conditional in TextController" into devel/master
HyunJu Shin [Tue, 12 Dec 2017 10:17:02 +0000 (10:17 +0000)]
Merge "Remove unused conditional in TextController" into devel/master

7 years agoModified GetTextDirection for TEXT_DIRECTION property 94/163594/4
taeyoon0.lee [Tue, 12 Dec 2017 08:18:18 +0000 (17:18 +0900)]
Modified GetTextDirection for TEXT_DIRECTION property

 - Requirement is to check always the direction if textlabel gets text.

Change-Id: I0fe40c84f9cf1567fa7ae5acdfdea46f1b71911a

7 years agoRemove unused conditional in TextController 56/163556/1
Seoyeon Kim [Tue, 12 Dec 2017 05:01:27 +0000 (14:01 +0900)]
Remove unused conditional in TextController

 - ( mImpl->mEventData->mPrimaryCursorPosition >= 0 ) conditional is useless,
 becuase mPrimaryCursorPosition is unsigned int type, so it's always greater
 than or equal to zero.
 - Removed the unused conditional in text-controller.cpp

Change-Id: I9b0ec109f29accd8535eb5022ba404270193a9d0
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoText atlas renderer refacor. 47/163347/2
Victor Cebollada [Fri, 8 Dec 2017 10:41:22 +0000 (10:41 +0000)]
Text atlas renderer refacor.

* Add some methods to avoid code duplication.

Change-Id: Ifa3952d4fa2995ac735e76624f484c8441a49bc2
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoAdd codes to prevent underflow 16/163416/1
Heeyong Song [Mon, 11 Dec 2017 05:40:30 +0000 (14:40 +0900)]
Add codes to prevent underflow

Change-Id: Id5d5205f587885c288744d7315ba966f0357c951

7 years agoFix shader compile error fix in npatch visual 81/163381/1
Heeyong Song [Mon, 11 Dec 2017 02:48:42 +0000 (11:48 +0900)]
Fix shader compile error fix in npatch visual

Change-Id: I86677282cbffcc0744858dd250509dba128fab0b

7 years agoMerge "Fix comment to remove Doxygen tool warning" into devel/master
dongsug song [Mon, 11 Dec 2017 01:55:10 +0000 (01:55 +0000)]
Merge "Fix comment to remove Doxygen tool warning" into devel/master

7 years agoDALi Version 1.3.3 35/163335/1 dali_1.3.3
David Steele [Fri, 8 Dec 2017 14:33:15 +0000 (14:33 +0000)]
DALi Version 1.3.3

Change-Id: Ie883644cb2ef3edbd0f66a8641ae44767223823c

7 years agoSend the empty string to IME when PlaceholderText shows 93/163293/2
Seoyeon Kim [Fri, 8 Dec 2017 07:29:45 +0000 (16:29 +0900)]
Send the empty string to IME when PlaceholderText shows

- Fixed to send the empty string to IME when PlaceholderText shows.
  When DALi receives Retrieve surrounding event, should send IME
  only Normal Text, not Placeholder Text.

Change-Id: I9b5cb18fc2c7bc8e57854c4acaaae6a9413cc5da
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoFix comment to remove Doxygen tool warning 01/163201/1
minho.sun [Fri, 8 Dec 2017 02:36:20 +0000 (11:36 +0900)]
Fix comment to remove Doxygen tool warning

Fix comment to remove Doxygen tool warning

Change-Id: I60073ec87dc035eabd4d91dbf34afbe683c62308
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoMerge "Fix the text issue of RTL language while changing font family dynamically...
Adeel Kazmi [Thu, 7 Dec 2017 15:12:29 +0000 (15:12 +0000)]
Merge "Fix the text issue of RTL language while changing font family dynamically" into devel/master

7 years agoMerge "Fix bug with mixed language text" into devel/master
David Steele [Thu, 7 Dec 2017 14:29:17 +0000 (14:29 +0000)]
Merge "Fix bug with mixed language text" into devel/master

7 years agoFix the text issue of RTL language while changing font family dynamically 65/163165/1
Richard Huang [Thu, 7 Dec 2017 12:42:35 +0000 (12:42 +0000)]
Fix the text issue of RTL language while changing font family dynamically

Change-Id: I29b9df5500d09c060fbe20aa6fa11f8c82fbc15e

7 years agoAdd the protected code and fix the crash issue 35/162535/8
Seoyeon Kim [Mon, 4 Dec 2017 05:59:08 +0000 (14:59 +0900)]
Add the protected code and fix the crash issue

- When visualModel->mLines.Begin() is NULL, then do nothing in GetCursorPosition().
- When the user tries to input some texts in TextField, and its size is fitted
  to its parent, which size is (0,0) by Relayout, then set mTextUpdateInfo.mNumberOfCharactersToAdd
  as the current text for UpdateModel().

Change-Id: Iea0a251ba2061389bf7a00476bf126d9669da50c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoFix bug with mixed language text 63/162863/2
Francisco Santos [Tue, 5 Dec 2017 23:21:04 +0000 (23:21 +0000)]
Fix bug with mixed language text

Change-Id: I88ce12917e93e5e5624d264820b1383f718616c7

7 years agoMerge "Added devel api header for text direction in Makefile" into devel/master
taeyoon0.lee [Mon, 4 Dec 2017 07:30:23 +0000 (07:30 +0000)]
Merge "Added devel api header for text direction in Makefile" into devel/master

7 years agoChange the grab handle images to transparent for TV profile 62/162462/1
Richard Huang [Fri, 1 Dec 2017 10:33:02 +0000 (10:33 +0000)]
Change the grab handle images to transparent for TV profile

Change-Id: Ied6509acc8b895a781da94ef4d6d812f00b19ea0

7 years agoDALi Version 1.3.2 51/162451/1 dali_1.3.2
Adeel Kazmi [Fri, 1 Dec 2017 09:23:15 +0000 (09:23 +0000)]
DALi Version 1.3.2

Change-Id: Id145ce449cf28fa9e9ffbec36153e166c0fb85cf

7 years agoMerge "Added Auxiliary image to NPatch visual." into devel/master
Adeel Kazmi [Thu, 30 Nov 2017 19:48:30 +0000 (19:48 +0000)]
Merge "Added Auxiliary image to NPatch visual." into devel/master

7 years agoAdded Auxiliary image to NPatch visual. 27/162227/4
David Steele [Wed, 29 Nov 2017 21:11:23 +0000 (21:11 +0000)]
Added Auxiliary image to NPatch visual.

Auxiliary image sits on top of the NPatch, and scales with the visual, not with
the NPatch stretching. A new Alpha property enables just the auxiliary image to be faded.

Change-Id: I391f39f2a422ddf97cdf847e70d12a6a254e941a
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoSupport Shift+Left/Right keys for text selection and Ctrl+C/V/X for text copy/paste/cut 02/162202/2
Richard Huang [Wed, 29 Nov 2017 14:15:20 +0000 (14:15 +0000)]
Support Shift+Left/Right keys for text selection and Ctrl+C/V/X for text copy/paste/cut

Change-Id: I2135bf267424dc9e207fc5995280951033d02fc0

7 years agoAdded devel api header for text direction in Makefile 11/162311/1
taeyoon0.lee [Thu, 30 Nov 2017 07:06:00 +0000 (16:06 +0900)]
Added devel api header for text direction in Makefile

Change-Id: I080d67ff289c9891cd9b5fe31f5d518c396a9bb7

7 years agoMerge "Added text direction property" into devel/master
HyunJu Shin [Thu, 30 Nov 2017 03:10:54 +0000 (03:10 +0000)]
Merge "Added text direction property" into devel/master

7 years agoImageVisual Action::Reload added 14/160914/14
Agnelo Vaz [Mon, 20 Nov 2017 13:23:41 +0000 (13:23 +0000)]
ImageVisual Action::Reload added

Reload forces reloading causing the texture to be reloaded even if cached.
It updates all uses of this texture (same id) across all image visuals.

The texture is replaced hence the renderer gets updated
 as already references the TextureSet.

Change-Id: Idb484d18373d54083727c80f563b7a5f7fb2be8c

7 years agoAdded text direction property 47/162147/7
taeyoon0.lee [Wed, 29 Nov 2017 09:15:09 +0000 (18:15 +0900)]
Added text direction property

 - The property is read-only
 - The property gets "RightToLeft" or "LeftToRight"

Change-Id: I3dba003762a21ff1ba0e09a98f154d25e9919ca4

7 years agoMerge "Fix image not show issue" into devel/master
Adeel Kazmi [Wed, 29 Nov 2017 11:04:48 +0000 (11:04 +0000)]
Merge "Fix image not show issue" into devel/master

7 years agoMerge "Fix the child position when Parent sets Padding" into devel/master
Seoyeon Kim [Wed, 29 Nov 2017 10:23:16 +0000 (10:23 +0000)]
Merge "Fix the child position when Parent sets Padding" into devel/master

7 years agoMerge "Set a new size when Multiline property is changed." into devel/master
HyunJu Shin [Wed, 29 Nov 2017 06:55:27 +0000 (06:55 +0000)]
Merge "Set a new size when Multiline property is changed." into devel/master

7 years agoMerge "Support 360x360 resoruce package for wearable" into devel/master
Adeel Kazmi [Tue, 28 Nov 2017 15:28:19 +0000 (15:28 +0000)]
Merge "Support 360x360 resoruce package for wearable" into devel/master

7 years agoFix image not show issue 09/161909/1
xb.teng [Tue, 28 Nov 2017 06:53:48 +0000 (14:53 +0800)]
Fix image not show issue

Change-Id: If18d45f4a8d61819462002da4ae4fde5424a6d47

7 years agoUpdate doxygen comments 76/161876/1
Seoyeon Kim [Tue, 28 Nov 2017 05:12:46 +0000 (14:12 +0900)]
Update doxygen comments

- Parameters of member Dali::Toolkit::ProgressBar are not documented.
- Return type of member Dali::Toolkit::Control::ResourceReadySignal is not documented.
- Member Type (enumeration) of namespace Dali::Toolkit::Visual::Transform::Policy
  is not documented.
- To show some Visual Properties, added a comment in doxygen.

Change-Id: Ieb5306330aee1bb18dff190863fab4439bad2913
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoFix the child position when Parent sets Padding 87/160987/9
Seoyeon Kim [Tue, 21 Nov 2017 04:47:27 +0000 (13:47 +0900)]
Fix the child position when Parent sets Padding

Change-Id: I40015356186292f42ec2358fdfc1346623d2884e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoSupport 360x360 resoruce package for wearable 89/160889/2
minho.sun [Mon, 20 Nov 2017 10:16:43 +0000 (19:16 +0900)]
Support 360x360 resoruce package for wearable

Support 360x360 resource package for wearable.

Make special PushButton for wearable.

Change-Id: Id50c30e5db0f33125f78ea2ade51e572212dc431
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoSet a new size when Multiline property is changed. 85/161385/2
Jinho, Lee [Thu, 23 Nov 2017 06:14:51 +0000 (15:14 +0900)]
Set a new size when Multiline property is changed.

Change-Id: If4be3075c5058c55c36e034fa6ec22fbf7982431

7 years agoMerge "Add Delete Key event in TextController" into devel/master
David Steele [Fri, 24 Nov 2017 15:20:09 +0000 (15:20 +0000)]
Merge "Add Delete Key event in TextController" into devel/master

7 years agoDALi Version 1.3.1 28/161628/1 dali_1.3.1
Agnelo Vaz [Fri, 24 Nov 2017 11:56:04 +0000 (11:56 +0000)]
DALi Version 1.3.1

Change-Id: I08bde5d0753685637a1fc60c3493ef3a3c2d7e4b

7 years agoAction framework for visuals 59/160559/12
Agnelo Vaz [Thu, 16 Nov 2017 19:36:03 +0000 (19:36 +0000)]
Action framework for visuals

Internal::Visual::Base has a DoAction API which calls the OnDoAction in derived Visual if they want
 to act on any Actions they have defined.

Control has a devel API to DoAction on any of it's registered visuals.

If a action is requested on a visual, if the visual does not implement it then
 nothing is done.

Action will be provided by Indexes,  in future may add an API for strings if
 builder requires but internal.
 Property::Key has an explict constructor hence not used.

DummyVisual added to test framework, can be used in Internal tests. Visuals creation not public.

Change-Id: Ib4590f5a76d4b45adcb2213eee70c1bbd91f88a2

7 years agoMerge "Fixed the appearance of a bold text when setting underline property." into...
Jinho, Lee [Thu, 23 Nov 2017 05:49:58 +0000 (05:49 +0000)]
Merge "Fixed the appearance of a bold text when setting underline property." into devel/master

7 years agoMerge "ImageView example code correction" into devel/master
Adeel Kazmi [Wed, 22 Nov 2017 15:58:55 +0000 (15:58 +0000)]
Merge "ImageView example code correction" into devel/master

7 years agoMerge "Removed unused member" into devel/master
taeyoon0.lee [Wed, 22 Nov 2017 11:29:21 +0000 (11:29 +0000)]
Merge "Removed unused member" into devel/master

7 years agoRTL support of FlexContainer 82/151882/35
taeyoon0.lee [Fri, 22 Sep 2017 08:12:25 +0000 (17:12 +0900)]
RTL support of FlexContainer

Change-Id: Ibc703d749415cf2b58615ddcb2619284784d4119

7 years agoImageView example code correction 14/161114/2
Agnelo Vaz [Tue, 21 Nov 2017 13:44:33 +0000 (13:44 +0000)]
ImageView example code correction

Change-Id: I2b0f3b99bbf4a12afdd59e10fbb90656aca78b29

7 years agoAdd Delete Key event in TextController 69/161069/1
Seoyeon Kim [Mon, 20 Nov 2017 07:33:57 +0000 (16:33 +0900)]
Add Delete Key event in TextController

- When the user presses 'Delete' key of H/W Keyboard,
  the character after the current cursor position is removed.

Change-Id: I82dd02d79510e7e2197c19fbacad66629595741a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoRemoved unused member 44/161044/1
taeyoon0.lee [Tue, 21 Nov 2017 07:15:37 +0000 (16:15 +0900)]
Removed unused member

Change-Id: I4e7151760380218e12aea4518b5c689869154610

7 years agoSupport Right-To-Left of padding/margin in control 35/156835/18
adun [Fri, 20 Oct 2017 14:25:09 +0000 (22:25 +0800)]
Support Right-To-Left of padding/margin in control

Change-Id: I5c0813c2b49645af61a78ca6b37afd90b7dabd17

7 years agoMerge "Support Right-To-Left of tableView" into devel/master
Taeyoon Lee [Tue, 21 Nov 2017 06:57:24 +0000 (06:57 +0000)]
Merge "Support Right-To-Left of tableView" into devel/master

7 years agoMerge "Support Right-To-Left of padding/margin in imageView" into devel/master
Taeyoon Lee [Tue, 21 Nov 2017 06:57:11 +0000 (06:57 +0000)]
Merge "Support Right-To-Left of padding/margin in imageView" into devel/master

7 years agoFixed the appearance of a bold text when setting underline property. 84/158984/3
Jinho, Lee [Mon, 6 Nov 2017 07:56:01 +0000 (16:56 +0900)]
Fixed the appearance of a bold text when setting underline property.

Change-Id: I62ea5376854e8faf2476eb838e18b0f0e487321f

7 years agoFix BloomView bug 95/160295/3
Heeyong Song [Wed, 15 Nov 2017 08:30:46 +0000 (17:30 +0900)]
Fix BloomView bug

Reset child controls when BloomView is deactivated

Change-Id: Ifc1a1ab5fe3991344f58c25c8488ea51f375f8be

7 years agoMerge "Outline effect has been fixed to be not front cropped." into devel/master
Adeel Kazmi [Fri, 17 Nov 2017 18:45:17 +0000 (18:45 +0000)]
Merge "Outline effect has been fixed to be not front cropped." into devel/master

7 years agoMerge "(Automated Tests) Sync after stencil/depth buffer changes" into devel/master
Adeel Kazmi [Fri, 17 Nov 2017 18:08:08 +0000 (18:08 +0000)]
Merge "(Automated Tests) Sync after stencil/depth buffer changes" into devel/master

7 years ago(Automated Tests) Sync after stencil/depth buffer changes 61/159561/2
Adeel Kazmi [Thu, 9 Nov 2017 15:59:53 +0000 (15:59 +0000)]
(Automated Tests) Sync after stencil/depth buffer changes

Change-Id: I188be8223f23d9e528d281f37c07d1a1748d52d4

7 years agoOutline effect has been fixed to be not front cropped. 66/160366/3
Jinho, Lee [Wed, 15 Nov 2017 18:11:18 +0000 (03:11 +0900)]
Outline effect has been fixed to be not front cropped.

Change-Id: Icdb5ed12ddc9deb59f291c20b051fd99a7884888

7 years agoAnimated Gradient Visual in devel-api 41/152141/55
Eunki Hong [Mon, 25 Sep 2017 06:41:41 +0000 (15:41 +0900)]
Animated Gradient Visual in devel-api

Animated gradient visual. Can be used for Control's background.

At Internal::AnimatedGradientVisual :
 - Use only one shader codes to draw effects.
    *NOTE : We change shader string at AnimatedGradientVisual::CreateShader()
 - When DoSetProperties occured
   --> Set non-animated properties (for make Renderer)
   --> Set animated properties (for make Animations)
 - When DoSetOnStage occured
   --> Make Renderer
   --> Make Animations
   --> Play Animations
 - When DoSetOffStage occured
   --> Stop Animations

At AnimatedGradientVisual::Property :
 - 3 non-animated properties.
  - GRADIENT_TYPE = LINEAR / RADIAL
  - UNIT_TYPE = OBJECT_BOUNDING_BOX / USER_SPACE (See GradientVisual::units)
  - SPREAD_TYPE = REFLECT / REPEAT / CLAMP (See GradientVisual::spreadMethod)
 - 7 animated properties.
  - START_POSITION ( Vector2 )
  - START_COLOR ( Vector4 )
  - END_POSITION ( Vector2 )
  - END_COLOR ( Vector4 )
  - ROTATE_CENTER ( Vector2 )
  - ROTATE_AMOUNT ( Float )
  - OFFSET ( Float )
 - Every animate properties have there each values
  - START, TARGET, DIRECTION, DURATION, DELAY, REPEAT, REPEAT_DELAY, MOTION_TYPE, and EASING_TYPE.
  - animated by Dali::Animation::AnimateTo()
  - Setup properties by Property::Map

Change-Id: If85c08d4500d132b6d8de6ed016bf985770c846c
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
7 years agoDALi Version 1.3.0 09/160709/1 dali_1.3.0
adam.b [Fri, 17 Nov 2017 14:46:06 +0000 (14:46 +0000)]
DALi Version 1.3.0

Change-Id: I29aa28110fe1e16a2a94e07dec316da1fa2114e8

7 years agoSupport Right-To-Left of tableView 87/156687/22
adun [Thu, 19 Oct 2017 19:28:16 +0000 (03:28 +0800)]
Support Right-To-Left of tableView

Change-Id: Ie01c9eaa56e790b74efcd9705801d146c5ce492c

7 years agoSupport Right-To-Left of padding/margin in imageView 00/156700/19
adun [Thu, 19 Oct 2017 20:37:42 +0000 (04:37 +0800)]
Support Right-To-Left of padding/margin in imageView

Change-Id: Ica0d4a9e2e70cf498f2c42738e3cfacd20968352

7 years agoFix SVACE issue 29/160029/1
Seoyeon Kim [Tue, 14 Nov 2017 07:11:59 +0000 (16:11 +0900)]
Fix SVACE issue

- Initialized ImageVisual member variables.

Change-Id: I9e069b52bc90558ebbd11d07e0ad25125c06591c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoDocumenting ResourceReadySignal constraint/usage 36/159536/4
Agnelo Vaz [Thu, 9 Nov 2017 11:50:43 +0000 (11:50 +0000)]
Documenting ResourceReadySignal constraint/usage

Change-Id: I92cd68678a1f29d58f54c322ee7282b55c29f987

7 years agoImageVisual ResourceReady signalled regardless of parent 38/159238/9
Agnelo Vaz [Tue, 7 Nov 2017 14:38:55 +0000 (14:38 +0000)]
ImageVisual ResourceReady signalled regardless of parent

Regardless of whether the ImageVisual is staged on not it will signal when
 resource has loaded

Reusing the resource over multiple visuals should still return a ResourceReady signal
 once the control registers the visual.

Change-Id: Ib4af7dc79b11fa2a96a96ed1b53a387e4001debc

7 years agoDALi Version 1.2.65 21/159621/1 dali_1.2.65
Victor Cebollada [Fri, 10 Nov 2017 07:20:45 +0000 (07:20 +0000)]
DALi Version 1.2.65

Change-Id: I2695670e2742a82c3ada822f592a0cd8ba3a93d7

7 years agoDisable texture atlas in svg visual 98/159298/4
Heeyong Song [Wed, 8 Nov 2017 05:30:02 +0000 (14:30 +0900)]
Disable texture atlas in svg visual

Change-Id: Ia984806dedbad41ff5d26510a28898aa57fe7c38

7 years agoMerge "Support Right-To-Left mode of padding in TextField and TextEditor" into devel...
HyunJu Shin [Thu, 9 Nov 2017 02:00:33 +0000 (02:00 +0000)]
Merge "Support Right-To-Left mode of padding in TextField and TextEditor" into devel/master