platform/core/uifw/dali-toolkit.git
2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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>
2 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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

2 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

2 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

2 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>
2 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

2 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

2 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

2 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

2 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

2 years agoMerge "Fix ImageView OnRelayout and add a commnet in MARGIN property" into devel...
HyunJu Shin [Wed, 8 Nov 2017 06:44:18 +0000 (06:44 +0000)]
Merge "Fix ImageView OnRelayout and add a commnet in MARGIN property" into devel/master

2 years agoMerge "ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE" into devel/master
Adeel Kazmi [Tue, 7 Nov 2017 16:57:08 +0000 (16:57 +0000)]
Merge "ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE" into devel/master

2 years agoSupport Right-To-Left mode of padding in TextField and TextEditor 25/158125/7
Seoyeon Kim [Mon, 30 Oct 2017 02:30:19 +0000 (11:30 +0900)]
Support Right-To-Left mode of padding in TextField and TextEditor

- Added Padding in Text controls.
- Added Right-To-Left mode in TextField and TextEditor.

Change-Id: Iaf7e78b4c303bbcd442c8db11399231a24701c86
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoAdded doxygen tag for UNDERLAY( false ) 13/159013/4
taeyoon0.lee [Fri, 3 Nov 2017 08:21:55 +0000 (17:21 +0900)]
Added doxygen tag for UNDERLAY( false )

Change-Id: I1f8bd932af6aaa8a31f6ce31c8bd22d30f957f47

2 years agoFix ImageView OnRelayout and add a commnet in MARGIN property 42/159142/1
Seoyeon Kim [Tue, 7 Nov 2017 07:01:24 +0000 (16:01 +0900)]
Fix ImageView OnRelayout and add a commnet in MARGIN property

- Removed ImageView Margin implementation.
  Margin property is to be implemented in the future.

Change-Id: I9e1eeea960b7b2a0731f73b8f2a432c0ee5c7649
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "Text auto scroll animation bug fix" into devel/master
Jinho, Lee [Tue, 7 Nov 2017 02:12:13 +0000 (02:12 +0000)]
Merge "Text auto scroll animation bug fix" into devel/master

2 years agoImageVisual to store TextureSet when LoadPolicy::IMMEDIATE 56/159056/1
Agnelo Vaz [Mon, 6 Nov 2017 16:33:53 +0000 (16:33 +0000)]
ImageVisual to store TextureSet when LoadPolicy::IMMEDIATE

Fixes bug
If textures loaded before renderer created (staged) then renderer
does not have valid textures when staged.

Change-Id: Iba4c5d85c01c3e9b821c3d466e8af98dbec08185

2 years agoDALi Version 1.2.64 63/158863/1 dali_1.2.64
György Straub [Fri, 3 Nov 2017 12:27:24 +0000 (12:27 +0000)]
DALi Version 1.2.64

Change-Id: Ic5ca9cc7f6adedccb180715abaaf599a7ae0da4a

2 years agoText auto scroll animation bug fix 44/158144/2
Jinho, Lee [Mon, 30 Oct 2017 05:58:19 +0000 (14:58 +0900)]
Text auto scroll animation bug fix

 Before this patch,
 That code played scroll animation.
    textLabel = TextLabel::New( "Hello World" );
    textLabel.SetProperty( Toolkit::TextLabel::Property::AUTO_SCROLL_STOP_MODE, TextLabel::AutoScrollStopMode::IMMEDIATE);
    textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL,true);
    textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL,false);
    stage.Add(textLabel);

 So I added code for stopping animation when mScrollAnimation was Null.

Change-Id: I4fa881215c4c30228e2cb0fb6f9f80e7060bf6b2

2 years agoAdded a pblic Control Devel API GetVisualResourceStatus. 26/141026/17
Umar [Thu, 27 Jul 2017 14:53:42 +0000 (15:53 +0100)]
Added a pblic Control Devel API GetVisualResourceStatus.

The purpose was to check whether Visual resource loading on given control was successful or not.

Change-Id: Ib8af77e84180d8a04171a93022ba6c3751519158

2 years agoMerge "test-application.cpp updatet to match dali-core." into devel/master
Adeel Kazmi [Wed, 1 Nov 2017 16:36:38 +0000 (16:36 +0000)]
Merge "test-application.cpp updatet to match dali-core." into devel/master

2 years agoSupport Right-To-Left of padding in TextLabel 83/158283/4
Richard Huang [Mon, 30 Oct 2017 16:35:04 +0000 (16:35 +0000)]
Support Right-To-Left of padding in TextLabel

Change-Id: I22593f6d840684e7a40a9f30a1414fff4c52b3f8

2 years agotest-application.cpp updatet to match dali-core. 97/157597/4
Victor Cebollada [Wed, 25 Oct 2017 09:24:15 +0000 (10:24 +0100)]
test-application.cpp updatet to match dali-core.

* Needed to match the patches to render into the FBO

Change-Id: Id888dd607d9632b605527588dd96b4380f601020
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
2 years agoDALi Version 1.2.63 48/158048/1 dali_1.2.63
Umar [Fri, 27 Oct 2017 11:11:14 +0000 (12:11 +0100)]
DALi Version 1.2.63

Change-Id: I91c73d0e1f74e92eb724e4b1b3a87e2e2a2445f3

2 years agoMerge "ImageVisual API for Orientation Correction" into devel/master
Adeel Kazmi [Thu, 26 Oct 2017 18:48:17 +0000 (18:48 +0000)]
Merge "ImageVisual API for Orientation Correction" into devel/master

2 years agoImageVisual API for Orientation Correction 00/157800/6
Agnelo Vaz [Mon, 23 Oct 2017 13:27:17 +0000 (14:27 +0100)]
ImageVisual API for Orientation Correction

Added Property OrientationCorrection which can control if the image should be rotated
to it's Orientation as defined by exif data.

Provided for JPEG images containing the exif data for Orientation.

Limitations:

The image provided will be cached, the orientation of the first cached image will be
used for subsequent images until the cache image is released.

Change-Id: I7627839c143c06dfde63a32eb8171e2205bf18af

2 years agoFix the text visual shaders to work with pre-multiplied alpha 78/157678/3
Richard Huang [Wed, 25 Oct 2017 16:57:34 +0000 (17:57 +0100)]
Fix the text visual shaders to work with pre-multiplied alpha

Change-Id: I5f82c3933ef61a1ebc3c8d02d171c5f9b0fe7503

2 years agoMerge "propagate unhandled key( DALI_KEY_SEARCH )" into devel/master
Adeel Kazmi [Thu, 26 Oct 2017 09:37:29 +0000 (09:37 +0000)]
Merge "propagate unhandled key( DALI_KEY_SEARCH )" into devel/master

2 years agoMerge "Support to reset the image in ImageView" into devel/master
Heeyong Song [Wed, 25 Oct 2017 23:33:16 +0000 (23:33 +0000)]
Merge "Support to reset the image in ImageView" into devel/master

2 years agoMerge "Soft shadow support in text visual" into devel/master
David Steele [Wed, 25 Oct 2017 18:14:58 +0000 (18:14 +0000)]
Merge "Soft shadow support in text visual" into devel/master

2 years agoSoft shadow support in text visual 93/154593/8
Richard Huang [Tue, 10 Oct 2017 14:24:02 +0000 (15:24 +0100)]
Soft shadow support in text visual

Change-Id: Id6d420e1be92a95edf0b0c6d9b8d91acec78dfde

2 years agoImageVisual Load policy 30/156430/9
Agnelo Vaz [Wed, 18 Oct 2017 08:12:00 +0000 (09:12 +0100)]
ImageVisual Load policy

ImageVisual can be created with a PropertyMap that inserts a load policy.

Depending on the load policy the image(texture) will load immediately when the visual
is created or when the visual is attached to the stage.

Can be used to preload special images so can be displayed immediately on request.

Registered Visuals with LoadPolicy::IMMEDIATE will signal ResourceReadySignal when attached to stage.

Limitations:

Atlasing not supported with IMMEDIATE mode currently.

Change-Id: I3e1b3fd19f3027edb62858549890972f6a166cd0

2 years agoSupport to reset the image in ImageView 98/157298/2
Heeyong Song [Tue, 24 Oct 2017 06:24:31 +0000 (15:24 +0900)]
Support to reset the image in ImageView

Change-Id: Ifdd57a09c6ecf3639558ee3ce80af666aa6108e8

2 years agoUpdate common test util 35/156635/3
Heeyong Song [Thu, 19 Oct 2017 07:37:28 +0000 (16:37 +0900)]
Update common test util

Change-Id: I56ade51a5143bb887deb81df25362a4c7294b1e7

2 years agoChanged constraint to PropertyNotification for updating position/size 50/155950/10
taeyoon0.lee [Mon, 16 Oct 2017 13:45:23 +0000 (22:45 +0900)]
Changed constraint to PropertyNotification for updating position/size

Change-Id: Id688eebcc2ac0b6ef4520b207d36b225a5379135

2 years agoDALi Version 1.2.62 03/156903/1 dali_1.2.62
Richard Huang [Fri, 20 Oct 2017 11:43:12 +0000 (12:43 +0100)]
DALi Version 1.2.62

Change-Id: Id62ae075c24d157e629cb5b7ab63c8b46f31a8cd

2 years agopropagate unhandled key( DALI_KEY_SEARCH ) 63/156663/1
minho.sun [Thu, 19 Oct 2017 07:23:23 +0000 (16:23 +0900)]
propagate unhandled key( DALI_KEY_SEARCH )

DALI_KEY_SEARCH is not handled in TextEditor/TextField.
Return false(say unconsumed) when this key is comming.

Change-Id: Id52cc8b67150d63d0f22b7e51fb81e6750c353d5
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoMerge "Fixed a problem where text size exceeds maximum texture size." into devel...
Jinho, Lee [Thu, 19 Oct 2017 07:42:07 +0000 (07:42 +0000)]
Merge "Fixed a problem where text size exceeds maximum texture size." into devel/master

2 years agoMerge "Fix SVACE issue" into devel/master
HyunJu Shin [Thu, 19 Oct 2017 05:29:27 +0000 (05:29 +0000)]
Merge "Fix SVACE issue" into devel/master

2 years agoImageVisual Set default to ReleasePolicy::Destroyed 98/156498/1
Agnelo Vaz [Wed, 18 Oct 2017 12:34:53 +0000 (13:34 +0100)]
ImageVisual Set default to ReleasePolicy::Destroyed

Change-Id: If7aac9c786cd852136e14e31653fddd62652204f

2 years agoFix SVACE issue 58/156358/1
Seoyeon Kim [Wed, 18 Oct 2017 06:26:59 +0000 (15:26 +0900)]
Fix SVACE issue

- Expression 'y' and 'x' have type 'unsigned int',
 so they're never less than zero in text-typesetter.cpp

Change-Id: Ia8e54bc18192f6e5eacde7fe899e9ca2978d81a9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoImageVisual Release policy 07/153007/18
Agnelo Vaz [Tue, 26 Sep 2017 19:19:51 +0000 (20:19 +0100)]
ImageVisual Release policy

ImageVisual can be created with a PropertyMap that inserts a release policy.
Depending on release policy the image lifetime in the texture cache will change.
Can be used for images that are often put on and taken off stage to reduce re-loading time.

Change-Id: If275630f236174ebbea3fde4cefae015b8db3a0f

2 years agoMerge "Fix doc and comment for Native API Reference page" into devel/master
minho.sun [Tue, 17 Oct 2017 10:52:02 +0000 (10:52 +0000)]
Merge "Fix doc and comment for Native API Reference page" into devel/master

2 years agoFix doc and comment for Native API Reference page 64/156164/1
minho.sun [Tue, 17 Oct 2017 09:45:24 +0000 (18:45 +0900)]
Fix doc and comment for Native API Reference page

Change-Id: I6a46a65fd99f9b191df03b03898ec66fe21fb468
Signed-off-by: minho.sun <minho.sun@samsung.com>
2 years agoMerge "Add MARGIN and PADDING property in Control" into devel/master
Seoyeon Kim [Tue, 17 Oct 2017 08:29:55 +0000 (08:29 +0000)]
Merge "Add MARGIN and PADDING property in Control" into devel/master

2 years agoAdded underlay property 81/151081/20
taeyoon0.lee [Tue, 19 Sep 2017 15:11:51 +0000 (00:11 +0900)]
Added underlay property

 default is underlay video rendering

Change-Id: I2b9656b3ded88bfd2306bd05bea734add74df503

2 years agoAdd MARGIN and PADDING property in Control 58/151158/14
Seoyeon Kim [Wed, 20 Sep 2017 05:32:08 +0000 (14:32 +0900)]
Add MARGIN and PADDING property in Control

- Added MARGIN property in Control
- Added PADDING property in Control

Change-Id: Ib3c023e0851af4eae8efce30335de1a5c5b6c05c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoMerge "Fix the text artifact (i.e. vertical lines below the text) while scrolling...
Adeel Kazmi [Mon, 16 Oct 2017 10:17:30 +0000 (10:17 +0000)]
Merge "Fix the text artifact (i.e. vertical lines below the text) while scrolling" into devel/master

2 years agoFix the text visual shader which makes text lighter while containing emoji 84/155584/3
Richard Huang [Fri, 13 Oct 2017 16:22:55 +0000 (17:22 +0100)]
Fix the text visual shader which makes text lighter while containing emoji

Change-Id: I883054b333fe5d2759fe2e101857cb985285bd80

2 years agoMerge "Placeholder properties as enums" into devel/master
Adeel Kazmi [Fri, 13 Oct 2017 17:48:29 +0000 (17:48 +0000)]
Merge "Placeholder properties as enums" into devel/master

2 years agoFix the text artifact (i.e. vertical lines below the text) while scrolling 24/155524/2
Richard Huang [Fri, 13 Oct 2017 10:39:12 +0000 (11:39 +0100)]
Fix the text artifact (i.e. vertical lines below the text) while scrolling

Change-Id: Ia9af286cbf5e4dbd551cee73bd1c41dd3674cd4d

2 years agoPlaceholder properties as enums 41/154141/10
Agnelo Vaz [Fri, 6 Oct 2017 15:34:52 +0000 (16:34 +0100)]
Placeholder properties as enums

TextField and TextEditor uses Property::Index (enums) to set the Map for PLACEHOLDER.

return type is a MAP of Property Index keys with corresponding values regardless of setting type.

Change-Id: I70127d906ccb42085ce4ba3215888176ee1720d3

2 years agoDALi Version 1.2.61 65/155565/1 dali_1.2.61
greynaga [Fri, 13 Oct 2017 13:59:46 +0000 (14:59 +0100)]
DALi Version 1.2.61

Change-Id: I1b3797d81ab142f8293fd59547da9cd4587288ee

2 years agoFixed a problem where text size exceeds maximum texture size. 74/151374/7
Jinho, Lee [Fri, 22 Sep 2017 05:10:03 +0000 (14:10 +0900)]
Fixed a problem where text size exceeds maximum texture size.

   - Adjusts the length of the text to the maximum texture size.
   - Dropped text will be shown as ellipsis.

Change-Id: Ie342327fcb8cb1ba0827b3943101ce2b141ac17d

2 years agoEnable premultiplied alpha in text visual 38/154638/2
Heeyong Song [Wed, 11 Oct 2017 02:01:16 +0000 (11:01 +0900)]
Enable premultiplied alpha in text visual

Change-Id: I4bb85043ab11e1b356831fc1062060af04dd3462

2 years agoSupported XHTML entitites(Named & Numeric(hex/decimal)) in Markup Language. 04/140504/14
saritarawat [Tue, 25 Jul 2017 07:23:48 +0000 (12:53 +0530)]
Supported XHTML entitites(Named & Numeric(hex/decimal)) in Markup Language.

Added additional functionalities in ProcessMarkupString function to support XHTML entities.
New function has been added to get UTF 8 text from Named & Numeric entities

Change-Id: Ie47cf9274cd56e0f9c8d2448f0e7e812176ed1ed

2 years agoText scrolling quality improvement 86/153986/4
Richard Huang [Wed, 4 Oct 2017 14:18:04 +0000 (15:18 +0100)]
Text scrolling quality improvement

Change-Id: I6f6c79f8c3cb6c3f6fbb41a8aa13e2fdaf85ae7c

2 years agoMerge "Fast bounding-box clipping feature" into devel/master
Adeel Kazmi [Fri, 6 Oct 2017 16:42:25 +0000 (16:42 +0000)]
Merge "Fast bounding-box clipping feature" into devel/master

2 years agoDALi Version 1.2.60 34/154134/1 dali_1.2.60
Adeel Kazmi [Fri, 6 Oct 2017 15:54:40 +0000 (16:54 +0100)]
DALi Version 1.2.60

Change-Id: I36340f61fb248242f521b351202f71eeec9c121a

2 years agoFast bounding-box clipping feature 00/152000/8
Tom Robinson [Fri, 22 Sep 2017 17:18:48 +0000 (18:18 +0100)]
Fast bounding-box clipping feature

Change-Id: Id70c4eb2ba2f857d6db26efb3dd15cc14b9b08b1

2 years agoAdded enumerations for LineWrap::Mode 84/154084/5
Adeel Kazmi [Fri, 6 Oct 2017 10:16:20 +0000 (11:16 +0100)]
Added enumerations for LineWrap::Mode

Change-Id: I96cb55032a73beabf195e2ec2730be801f7a74d8

2 years agoText Alignment Enums now public 97/153897/12
Agnelo Vaz [Mon, 2 Oct 2017 19:08:05 +0000 (20:08 +0100)]
Text Alignment Enums now public

TextVisual and TextControls now share the Horizontal and Vertical alignment enumerations.

The Enums are public, internal versions are replaced hence reducing internal conversion.

Change-Id: I7343430d61a278d9a4eb97b7a0568a7f934cf54f

2 years ago(TextEditor) Moved some Devel properties to the Public API 85/153985/3
Adeel Kazmi [Wed, 4 Oct 2017 14:12:24 +0000 (15:12 +0100)]
(TextEditor) Moved some Devel properties to the Public API

Change-Id: Ibd4d03c7841e4d9075212c1b86099dfa2efacb01

2 years ago(TextField) Made all Devel properties public 84/153984/2
Adeel Kazmi [Wed, 4 Oct 2017 12:36:18 +0000 (13:36 +0100)]
(TextField) Made all Devel properties public

Change-Id: Icacc01dc0a16d313a45c8ab9b30457fe9a61cecc

2 years agoMerge "Fix text outline property related native TCT" into devel/master
Adeel Kazmi [Wed, 4 Oct 2017 12:53:17 +0000 (12:53 +0000)]
Merge "Fix text outline property related native TCT" into devel/master

2 years agoFix text outline property related native TCT 12/153912/3
Richard Huang [Tue, 3 Oct 2017 09:49:36 +0000 (10:49 +0100)]
Fix text outline property related native TCT

Change-Id: Ica80d4844165c7bb4fa30b1be1f0338e228fe8d4

2 years ago(TextLabel) Moved all devel properties to Public API 45/153945/3
Adeel Kazmi [Tue, 3 Oct 2017 18:02:38 +0000 (19:02 +0100)]
(TextLabel) Moved all devel properties to Public API

Change-Id: Iae2a8f25a9f858d108ca9fdb8c4d3abd185adb7e

2 years ago(ScrollBar) Moved all properties to Public 44/153944/3
Adeel Kazmi [Tue, 3 Oct 2017 16:45:05 +0000 (17:45 +0100)]
(ScrollBar) Moved all properties to Public

Change-Id: Ib68bc51803b0014ec35fcfd5d60ad8b0939b78ea

2 years ago(ScrollView) Move ScrollMode and related properties to Public API 43/153943/2
Adeel Kazmi [Tue, 3 Oct 2017 16:27:15 +0000 (17:27 +0100)]
(ScrollView) Move ScrollMode and related properties to Public API

Change-Id: I428b7ba1f78420463592ec21e67958e98b48ec37

2 years agoVisuals devel API migrated to public 18/153818/9
Agnelo Vaz [Fri, 29 Sep 2017 18:25:04 +0000 (19:25 +0100)]
Visuals devel API migrated to public

Change-Id: Ibbdb5c6dff39cecb46aa9fa6d1fede97633faf97

2 years ago(ItemView) Make default layout properties public 94/153894/3
Adeel Kazmi [Mon, 2 Oct 2017 18:07:50 +0000 (19:07 +0100)]
(ItemView) Make default layout properties public

Change-Id: I4c053748f9d522bbf01aeffb24e014c48c0502bf