platform/core/uifw/dali-toolkit.git
9 years agoRemove dead constraint function from GaussianBlurView 49/49449/1
Kimmo Hoikka [Tue, 13 Oct 2015 09:51:54 +0000 (10:51 +0100)]
Remove dead constraint function from GaussianBlurView

Change-Id: I1c71f35a99d3263de0348b605f88cd56f6a5deea

9 years agoMerge "Refactor to remove ControlRenderer::mCachedRenderer member." into devel/master
Kimmo Hoikka [Mon, 12 Oct 2015 17:27:02 +0000 (10:27 -0700)]
Merge "Refactor to remove ControlRenderer::mCachedRenderer member." into devel/master

9 years agoMerge "Move common images folder to the style folder" into devel/master
Kimmo Hoikka [Mon, 12 Oct 2015 14:54:43 +0000 (07:54 -0700)]
Merge "Move common images folder to the style folder" into devel/master

9 years agoRefactor to remove ControlRenderer::mCachedRenderer member. 26/49226/4
Chu Hoang [Fri, 9 Oct 2015 09:05:44 +0000 (10:05 +0100)]
Refactor to remove ControlRenderer::mCachedRenderer member.

Change-Id: I4ba5ccc62b5de25a76f21401b3914efa06a41649

9 years agoDALi Version 1.1.6 31/49231/1 dali_1.1.6
Tom Robinson [Fri, 9 Oct 2015 09:48:47 +0000 (10:48 +0100)]
DALi Version 1.1.6

Change-Id: Idedbf00fc557c74c1624eb90cdab36c4db57af04

9 years agoMove common images folder to the style folder 21/49221/1
Agnelo Vaz [Thu, 8 Oct 2015 16:18:20 +0000 (17:18 +0100)]
Move common images folder to the style folder

* Keep images all under the style folder to encourage correct placement of images and not just all in common

Change-Id: Id16410b6c88de4c8b1b642113906a85cd74a7a23
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoDifferent image sets depending on style selected 66/49166/4
Agnelo Vaz [Wed, 7 Oct 2015 10:39:41 +0000 (11:39 +0100)]
Different image sets depending on style selected

* Style folders now contain an image directory
* Images specific to that style (resolution) should be placed in that folder
* Toolkit has an image-common folder for images that span all styles
* Only TextField Images moved to style image folders in this patch

Change-Id: I43d792c4f42dafb4b39e409425e51d404d261838
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge changes I48753b8f,If7ef493d into devel/master
Kimmo Hoikka [Thu, 8 Oct 2015 09:57:19 +0000 (02:57 -0700)]
Merge changes I48753b8f,If7ef493d into devel/master

* changes:
  Added a RendererCache and utilise it for ImageRenderer.
  Added ImageView::OnStageConnect to pass the onstage event to the renderer.

9 years agoAdded a RendererCache and utilise it for ImageRenderer. 40/49040/8
Chu Hoang [Mon, 5 Oct 2015 14:10:36 +0000 (15:10 +0100)]
Added a RendererCache and utilise it for ImageRenderer.

Tidied up ControlRenderer::DoInitialize methods.
Added ControlRerenderer::SetCachedRendererKey method to set a key and enable base ControlRenderer to cache core renderers from this key.
Added  RendererFactoryCache::Get/Save/RemoveRenderer methods.

Change-Id: I48753b8fe18293ca53477e149f00018c50122bb0

9 years agoMerge "Change default grab/selection handles." into devel/master
Kimmo Hoikka [Wed, 7 Oct 2015 11:51:38 +0000 (04:51 -0700)]
Merge "Change default grab/selection handles." into devel/master

9 years agoRemove SELECTION_CHANGED state from the text controller. 20/49120/1
Victor Cebollada [Tue, 6 Oct 2015 15:49:49 +0000 (16:49 +0100)]
Remove SELECTION_CHANGED state from the text controller.

* This state is not different than the SELECTING one.

Change-Id: If6f791a021ae4511a42ba9999788568d2eff5508
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoChange default grab/selection handles. 41/49041/3
Victor Cebollada [Mon, 5 Oct 2015 13:24:32 +0000 (14:24 +0100)]
Change default grab/selection handles.

Change-Id: I958f287f5b79a65f0d9250ebc970c8df0752db65
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoAdded ImageView::OnStageConnect to pass the onstage event to the renderer. 39/49039/2
Chu Hoang [Mon, 5 Oct 2015 15:34:34 +0000 (16:34 +0100)]
Added ImageView::OnStageConnect to pass the onstage event to the renderer.

Change-Id: If7ef493d065b4a1b3b67bb0b1a6fdef91a2762d1

9 years agoChange geometry to use triangle strip 91/48991/4
Xiangyin Ma [Fri, 2 Oct 2015 14:55:25 +0000 (15:55 +0100)]
Change geometry to use triangle strip

Change-Id: Ie35aec87ba51285fc682310baa4f3842b7c8fe68

9 years agoMerge "Fix cursor position issues." into devel/master
Paul Wisbey [Fri, 2 Oct 2015 14:51:22 +0000 (07:51 -0700)]
Merge "Fix cursor position issues." into devel/master

9 years agoFix cursor position issues. 23/48923/5
Victor Cebollada [Tue, 22 Sep 2015 14:50:28 +0000 (15:50 +0100)]
Fix cursor position issues.

* Fixes the Test Case broken in a previous patch.
* Fixes the scroll position after deleting the last characters.
* Fixes minor cursor position issues caused in a previous patch.

The previous patch: https://review.tizen.org/gerrit/#/c/48450/

Change-Id: I127c0bedccdd6a8c3923f877f07a36eecbf5c7e1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years ago(GradientRenderer)Respond to actor size change automatically when using ObjectBoundin... 26/48926/3
Xiangyin Ma [Thu, 1 Oct 2015 18:09:47 +0000 (19:09 +0100)]
(GradientRenderer)Respond to actor size change automatically when using ObjectBoundingBox as units

Change-Id: Idad68fa70d4dc5edd640ef022071d178172867cb

9 years agoMerge "Fix the cursor position when retrieving the selected text." into devel/master
Paul Wisbey [Fri, 2 Oct 2015 10:47:18 +0000 (03:47 -0700)]
Merge "Fix the cursor position when retrieving the selected text." into devel/master

9 years agoDALi Version 1.1.5 75/48975/1 dali_1.1.5
Chu Hoang [Fri, 2 Oct 2015 09:38:50 +0000 (10:38 +0100)]
DALi Version 1.1.5

Change-Id: I8b6044ffeab871bd64c1234055eea3b8a305a6ea

9 years agoMerge "Implemented custom shader in ImageRenderer and changed Dissolve-effect to...
Kimmo Hoikka [Thu, 1 Oct 2015 18:03:03 +0000 (11:03 -0700)]
Merge "Implemented custom shader in ImageRenderer and changed Dissolve-effect to utilise this." into devel/master

9 years agoMerge "Render control background without creating extra actor" into devel/master
Kimmo Hoikka [Thu, 1 Oct 2015 17:26:44 +0000 (10:26 -0700)]
Merge "Render control background without creating extra actor" into devel/master

9 years agoImplemented custom shader in ImageRenderer and changed Dissolve-effect to utilise... 87/48787/6
Chu Hoang [Mon, 28 Sep 2015 15:55:44 +0000 (16:55 +0100)]
Implemented custom shader in ImageRenderer and changed Dissolve-effect to utilise this.

Change-Id: I3275449610040b533cca265445c4c1a65a35b404

9 years agoMerge "Fix for shadow 'leak' reported on SPIN homescreen." into devel/master
Kimmo Hoikka [Thu, 1 Oct 2015 16:06:04 +0000 (09:06 -0700)]
Merge "Fix for shadow 'leak' reported on SPIN homescreen." into devel/master

9 years agoMerge "Do not reposition the text's popup when buttons are pressed." into devel/master
Paul Wisbey [Thu, 1 Oct 2015 15:49:52 +0000 (08:49 -0700)]
Merge "Do not reposition the text's popup when buttons are pressed." into devel/master

9 years agoFix the cursor position when retrieving the selected text. 22/48922/2
Victor Cebollada [Thu, 1 Oct 2015 13:59:31 +0000 (14:59 +0100)]
Fix the cursor position when retrieving the selected text.

* The cursor shouldn't be updated when the selected text is retrieved unless
  is deleted after retrieval.

Change-Id: Ib6e53ce41199fd3b62c59effedcd42d2b70d6158
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoRender control background without creating extra actor 62/48762/3
Xiangyin Ma [Mon, 28 Sep 2015 17:34:35 +0000 (18:34 +0100)]
Render control background without creating extra actor

Change-Id: Ifda38ccf7da36fce360faca7dcbea58c0044d8ad

9 years agoFix for shadow 'leak' reported on SPIN homescreen. 36/48836/3
Richard Underhill [Wed, 30 Sep 2015 10:24:48 +0000 (11:24 +0100)]
Fix for shadow 'leak' reported on SPIN homescreen.

Clean up multiple render tasks for shadows.

Change-Id: I298b3ea4f733eb51ba3041192a3591940b735e9d
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoMerge "Removing GetDefaultFontDescription from Platform Abstraction Test" into devel...
Paul Wisbey [Wed, 30 Sep 2015 09:40:26 +0000 (02:40 -0700)]
Merge "Removing GetDefaultFontDescription from Platform Abstraction Test" into devel/master

9 years agoMerge "Ensure UserDefined Font family is not changed by system font changing." into...
Paul Wisbey [Tue, 29 Sep 2015 10:39:08 +0000 (03:39 -0700)]
Merge "Ensure UserDefined Font family is not changed by system font changing." into devel/master

9 years agoMerge "Create property map from ControlRenderer and make SetOffStage API public"...
Adeel Kazmi [Tue, 29 Sep 2015 08:30:09 +0000 (01:30 -0700)]
Merge "Create property map from ControlRenderer and make SetOffStage API public" into devel/master

9 years agoCreate property map from ControlRenderer and make SetOffStage API public 42/48742/7
Xiangyin Ma [Fri, 25 Sep 2015 16:08:33 +0000 (17:08 +0100)]
Create property map from ControlRenderer and make SetOffStage API public

Change-Id: Id0df6b9aa509c7add2d87619b22c043035a3b7ad

9 years agoRemoving GetDefaultFontDescription from Platform Abstraction Test 61/48761/1
Agnelo Vaz [Mon, 28 Sep 2015 16:19:30 +0000 (17:19 +0100)]
Removing GetDefaultFontDescription from Platform Abstraction Test

* Font client now provides this functionality and this API now removed from platform abstraction

Change-Id: I79546ebfe6cd51dab297bcfaf60c168a23793fa3
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoRearrange doxygen tags for recently deprecated or new APIs 57/48757/1
Adeel Kazmi [Mon, 28 Sep 2015 15:21:07 +0000 (16:21 +0100)]
Rearrange doxygen tags for recently deprecated or new APIs

Change-Id: Ie4b387e3b4267cd9895a5d0d07b8ec5a638ee7f2

9 years agoEnsure UserDefined Font family is not changed by system font changing. 43/48743/1
Agnelo Vaz [Fri, 25 Sep 2015 16:31:25 +0000 (17:31 +0100)]
Ensure UserDefined Font family is not changed by system font changing.

Change-Id: I6c99511a70cb86c96c50c918abe000ab802f2158
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoDALi Version 1.1.4 13/48713/1 dali_1.1.4
Adeel Kazmi [Fri, 25 Sep 2015 07:46:09 +0000 (08:46 +0100)]
DALi Version 1.1.4

Change-Id: Ib17e79146282cf44befaa436deb461c40aa68e9b

9 years agoMerge "Modify doxygen group names" into devel/master
Adeel Kazmi [Thu, 24 Sep 2015 15:30:49 +0000 (08:30 -0700)]
Merge "Modify doxygen group names" into devel/master

9 years agoModify doxygen group names 54/48654/3
Yoonsang Lee [Thu, 24 Sep 2015 07:46:10 +0000 (16:46 +0900)]
Modify doxygen group names

- "-" in group names causes javascript errors when used in doxygen
1.7.6.1 with GENERATE_TREEVIEW option - by which Tizen API reference
is generated (not sure for later version)
- It makes DALi items in the tree view cannot be opened.
- Replace all "-" to "_" in doxygen group names to solve the problem.
- Arrange redundant doxygen input path

Change-Id: I203b63f685b7a7d6846337c4c395913d584cf2ec

9 years agoStop leaking render-tasks for Text Shadows 78/48678/2
Paul Wisbey [Thu, 24 Sep 2015 14:15:06 +0000 (15:15 +0100)]
Stop leaking render-tasks for Text Shadows

Change-Id: I652c7e96f1c1ac16ac27c948d462286079e2cb1e

9 years agoMerge "Marked new API's since 1.1.4" into devel/master
Adeel Kazmi [Thu, 24 Sep 2015 13:09:46 +0000 (06:09 -0700)]
Merge "Marked new API's since 1.1.4" into devel/master

9 years agoMarked new API's since 1.1.4 12/48612/3
Lee Morgan [Wed, 23 Sep 2015 15:08:58 +0000 (16:08 +0100)]
Marked new API's since 1.1.4

Change-Id: If9a08adf68f6c236c8bfac37199b1901d6dbcdd1

9 years agoImplementation of BorderRenderer and apply it to Magnifier 44/48544/6
Xiangyin Ma [Tue, 22 Sep 2015 16:09:28 +0000 (17:09 +0100)]
Implementation of BorderRenderer and apply it to Magnifier

Change-Id: I94c915e7c1530c10654d5458965765eb7d2431de

9 years agoUpdate the stylesheet with the Control property change 74/48374/5
Xiangyin Ma [Fri, 18 Sep 2015 12:55:10 +0000 (13:55 +0100)]
Update the stylesheet with the Control property change

Change-Id: I25929a8e4c531d22081093d795eee38464a0b5d0

9 years agoInitial implemention NPatchRenderer only for 9 patch case. 56/48456/11
Chu Hoang [Mon, 21 Sep 2015 09:56:09 +0000 (10:56 +0100)]
Initial implemention NPatchRenderer only for 9 patch case.

Change-Id: I0fb00583b6b1dc8b76716083b811c79062f36768

9 years agoMerge "Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOf...
Adeel Kazmi [Wed, 23 Sep 2015 09:27:01 +0000 (02:27 -0700)]
Merge "Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage." into devel/master

9 years agoFixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage. 22/48522/2
Chu Hoang [Tue, 22 Sep 2015 10:59:27 +0000 (11:59 +0100)]
Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage.

Change-Id: If239b0577623d2e2f6692599ec00edebabd2bbde

9 years agoRemoved GetStretchBorders from NinePatchImage plugin API. 53/48453/4
Chu Hoang [Mon, 21 Sep 2015 14:12:53 +0000 (15:12 +0100)]
Removed GetStretchBorders from NinePatchImage plugin API.

Change-Id: Ie10bafad00b6fa6b3ad5a2fcd226122aed98a3ac

9 years agoImprove the UTC coverage of PageTurnView 52/48452/3
Xiangyin Ma [Mon, 21 Sep 2015 14:08:42 +0000 (15:08 +0100)]
Improve the UTC coverage of PageTurnView

Change-Id: I5349defa3123b59c88e9355150c689496333061f

9 years agoTemporary remove part of a unit test. 43/48543/1
Victor Cebollada [Tue, 22 Sep 2015 14:44:40 +0000 (15:44 +0100)]
Temporary remove part of a unit test.

* The patch "Modify the cursor position" makes a TET case to fail.

Change-Id: I9952e432f719007594ad96efd3abdbc8e1b523c9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "Modify the cursor position." into devel/master
Kimmo Hoikka [Mon, 21 Sep 2015 17:23:28 +0000 (10:23 -0700)]
Merge "Modify the cursor position." into devel/master

9 years agoModify the cursor position. 50/48450/3
Victor Cebollada [Mon, 21 Sep 2015 13:11:09 +0000 (14:11 +0100)]
Modify the cursor position.

* Set a top left anchor point to not to overlap characters.

Change-Id: Ib37fdbf31f0b468b4d4850cf009a8c97b5c88f65
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoProcessModifyEvents to interate whole list not just first index 55/48455/1
Agnelo Vaz [Mon, 21 Sep 2015 15:10:53 +0000 (16:10 +0100)]
ProcessModifyEvents to interate whole list not just first index

* A bug in logic meant only the first item in the modify event queue was being processed

Change-Id: I530a816fb2bbd09efc53fd34e597abe6fb7efb30
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoIMF to be notified after Backspace key pressed 54/48454/1
Agnelo Vaz [Mon, 21 Sep 2015 15:08:13 +0000 (16:08 +0100)]
IMF to be notified after Backspace key pressed

* For prediction, the IMF needs to know if the backspace has resulted in the cursor being on a current word
* If on a current word the IMF may decide that it becomes the current pre edit word.

Change-Id: Ibf8e9afaba33ccce46ed90192357d89a20194d60
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "Changed ImageView to utilise ImageRenderer." into devel/master
Kimmo Hoikka [Mon, 21 Sep 2015 15:09:38 +0000 (08:09 -0700)]
Merge "Changed ImageView to utilise ImageRenderer." into devel/master

9 years agoAdded version when deprecated to the documentation for Button/PushButton 11/48411/1
Adeel Kazmi [Mon, 21 Sep 2015 10:39:31 +0000 (11:39 +0100)]
Added version when deprecated to the documentation for Button/PushButton

Change-Id: Id74b2aee630822444e7a232a81b718dec4e5e8cd

9 years agoChanged ImageView to utilise ImageRenderer. 82/48182/14
Chu Hoang [Tue, 15 Sep 2015 15:41:42 +0000 (16:41 +0100)]
Changed ImageView to utilise ImageRenderer.

Change-Id: I95211860cbc75601fbf6380252b76d236e3471f3

9 years agoPrevent font data being cleared when System font changes 64/48364/1
Agnelo Vaz [Fri, 18 Sep 2015 10:23:59 +0000 (11:23 +0100)]
Prevent font data being cleared when System font changes

* Font data is being cleared incorrectly outside of a conditional block, now inside that block

Change-Id: Ia3266538323a9ca935622ed3376ca18aad9f54db
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "DALi Version 1.1.3" into devel/master
Adeel Kazmi [Fri, 18 Sep 2015 10:09:41 +0000 (03:09 -0700)]
Merge "DALi Version 1.1.3" into devel/master

9 years agoMerge "Cache fallback font lists for each requested font" into devel/master
Kimmo Hoikka [Fri, 18 Sep 2015 10:06:19 +0000 (03:06 -0700)]
Merge "Cache fallback font lists for each requested font" into devel/master

9 years agoDALi Version 1.1.3 51/48351/1 dali_1.1.3
Xiangyin Ma [Fri, 18 Sep 2015 10:03:16 +0000 (11:03 +0100)]
DALi Version 1.1.3

Change-Id: I59d09df173e62088b082796cee317ffa9ee39f46

9 years agoMerge "Add Text's popup overshoot property." into devel/master
Paul Wisbey [Fri, 18 Sep 2015 09:07:06 +0000 (02:07 -0700)]
Merge "Add Text's popup overshoot property." into devel/master

9 years agoCache fallback font lists for each requested font 04/48304/2
Paul Wisbey [Thu, 17 Sep 2015 18:08:25 +0000 (19:08 +0100)]
Cache fallback font lists for each requested font

Change-Id: I0b05f4e9a2495fea62bde613f716f2727a9e4251

9 years agoAdd Text's popup overshoot property. 60/48160/4
Victor Cebollada [Tue, 15 Sep 2015 08:12:54 +0000 (09:12 +0100)]
Add Text's popup overshoot property.

Change-Id: I8732b516851996e3ccc83d702f9c39b616b4b495
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextSelectionToolbar cleaning. 80/46880/7
v.cebollada [Thu, 27 Aug 2015 01:29:44 +0000 (10:29 +0900)]
TextSelectionToolbar cleaning.

Change-Id: I1b5600e4696adb2e68fa6c0d480110e39de9bc91
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoDo not reposition the text's popup when buttons are pressed. 87/46887/6
v.cebollada [Thu, 27 Aug 2015 02:28:32 +0000 (11:28 +0900)]
Do not reposition the text's popup when buttons are pressed.

Change-Id: I69cf154e87f0dc6d5d6db29518aeeea244b95622
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years ago(Control base)Use RendererFactory&ControlRenderer to handle background 27/48127/8
Xiangyin Ma [Mon, 14 Sep 2015 16:38:02 +0000 (17:38 +0100)]
(Control base)Use RendererFactory&ControlRenderer to handle background

Change-Id: I19eb9bd4b94bc8e924c77155691bab4ebc553ad6

9 years agoFix for long press. 53/48253/1
Victor Cebollada [Wed, 16 Sep 2015 14:50:23 +0000 (15:50 +0100)]
Fix for long press.

* If in pre-edit mode, the imf manager needs to be reset to commit the text.

Change-Id: Id012e471b9750d67430c99b93bff641ca8f47590
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoImplementation of ImageRenderer. 26/48126/6
Chu Hoang [Mon, 14 Sep 2015 12:51:30 +0000 (13:51 +0100)]
Implementation of ImageRenderer.

Change-Id: I019a5ef0e6dbb8c359a4f42b4724781687e1011d

9 years ago(ControlRenderer) Hide the APIs whose function are not fully implemented 18/48118/1
Xiangyin Ma [Mon, 14 Sep 2015 13:35:54 +0000 (14:35 +0100)]
(ControlRenderer) Hide the APIs whose function are not fully implemented

1. Dali doenot support multiple renderers per actor currently.
   Hide these functions temporarily as their full implementation is not avaible.

2. Add test cases to improve the UTC line coverage.

Change-Id: I55651d1a0635a2b4324a7789ba4dcc2081c181a4

9 years ago(ControlRenderer) Added copy constructor and assignment operator 62/48062/1
Xiangyin Ma [Fri, 11 Sep 2015 16:57:14 +0000 (17:57 +0100)]
(ControlRenderer) Added copy constructor and assignment operator

Change-Id: I1f0a514c2adaeeb13e37500b329951d3d241d48b

9 years agoControlRenderer & RendererFactory for Toolkit Controls 42/46842/17
Xiangyin Ma [Wed, 26 Aug 2015 13:23:53 +0000 (14:23 +0100)]
ControlRenderer & RendererFactory for Toolkit Controls

1. example of getting a ColorRenderer:

Property::Map propertyMap;
propertyMap.Insert("renderer-type", "color-renderer");
propertyMap.Insert("blend-color", Color::MAGENTA);

Toolkit::RendererFactory rendererFactory = Toolkit::RendererFactory::Get();
Internal::ControlRendererPtr renderer = rendererFactory.GetControlRenderer(propertyMap);

2. example of getting a GradientRenderer:

Property::Map propertyMap;
propertyMap.Insert("renderer-type", "gradient-renderer");

propertyMap.Insert("gradient-center", Vector2(0.5f, 0.5f));
propertyMap.Insert("gradient-radius", 0.5f);

Property::Array stopOffsets;
stopOffsets.PushBack( 0.0f );
stopOffsets.PushBack( 1.f );
propertyMap.Insert("gradient-stop-offset", stopOffsets);

Property::Array stopColors;
stopColors.PushBack( Color::RED );
stopColors.PushBack( Color::GREEN );
propertyMap.Insert("gradient-stop-color", stopColors);

Change-Id: I82348ed6fb428e186ceec216efd8e1b235a5e3ee
Toolkit::RendererFactory rendererFactory = Toolkit::RendererFactory::Get();
Internal::ControlRendererPtr renderer = rendererFactory.GetControlRenderer(propertyMap);

9 years agoMerge "DALi Version 1.1.2" into devel/master
Adeel Kazmi [Thu, 10 Sep 2015 10:21:26 +0000 (03:21 -0700)]
Merge "DALi Version 1.1.2" into devel/master

9 years agoDALi Version 1.1.2 62/47962/1 dali_1.1.2
Richard Huang [Thu, 10 Sep 2015 10:05:30 +0000 (11:05 +0100)]
DALi Version 1.1.2

Change-Id: I514ef8a5d1e68c3f7816a7a3b9ef87f660eed075

9 years agoFixed overlapping issue between cursor and placeholder text 33/47933/1
suhyung Eom [Thu, 10 Sep 2015 07:14:02 +0000 (16:14 +0900)]
Fixed overlapping issue between cursor and placeholder text

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ia3d3ca2b583f36e8c9357150ac4ba0af4026a0a9

9 years agoMerge "Fix setting a void string to the TEXT property." into devel/master
Paul Wisbey [Mon, 7 Sep 2015 15:49:25 +0000 (08:49 -0700)]
Merge "Fix setting a void string to the TEXT property." into devel/master

9 years agoMerge "Initialise Controller's DefaultFont description to that of the Platform defaul...
Paul Wisbey [Mon, 7 Sep 2015 15:07:38 +0000 (08:07 -0700)]
Merge "Initialise Controller's DefaultFont description to that of the Platform default font" into devel/master

9 years agoInitialise Controller's DefaultFont description to that of the Platform default font 66/47566/4
Agnelo Vaz [Fri, 4 Sep 2015 14:14:40 +0000 (15:14 +0100)]
Initialise Controller's DefaultFont description to that of the Platform default font

* Creating a TextControl after the System font has changed meant it did not use the new system font.
* This effected TextLabel and TextField, now creating a Text Control with no user defined font will make it use the current system font.
* Changing the current system font family will reflect in the Text Control
* Logging added

- Font Style and Point Size still has no impact currently

Change-Id: I8f92d0310b49a5fed1f6cf94218e9da7b6e4fca3
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoFix setting a void string to the TEXT property. 33/47633/3
Victor Cebollada [Mon, 7 Sep 2015 09:40:08 +0000 (10:40 +0100)]
Fix setting a void string to the TEXT property.

* Reset and notify the imf manager.
* Do not call the IMF manager if the text control is not editable.

Change-Id: If635978cef8503c1f2a42ee49ab75821f4d34915
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoThe 1st long-press on inactive text-field is treated as tap 69/47569/2
Paul Wisbey [Fri, 4 Sep 2015 16:19:29 +0000 (17:19 +0100)]
The 1st long-press on inactive text-field is treated as tap

Change-Id: I104d428041fb4471bee8f67ed07cf09997c7c04d

9 years agoMerge "Notify the IMF when backspace/cut empties the TextField" into devel/master
Adeel Kazmi [Fri, 4 Sep 2015 13:03:04 +0000 (06:03 -0700)]
Merge "Notify the IMF when backspace/cut empties the TextField" into devel/master

9 years agoMerge "New handle flip implementation." into devel/master
Paul Wisbey [Fri, 4 Sep 2015 12:43:44 +0000 (05:43 -0700)]
Merge "New handle flip implementation." into devel/master

9 years agoNotify the IMF when backspace/cut empties the TextField 81/47481/5
Paul Wisbey [Thu, 3 Sep 2015 16:42:41 +0000 (17:42 +0100)]
Notify the IMF when backspace/cut empties the TextField

(This is the reset the virtual keyboard to upper-case)

Change-Id: Ia450bda4c58948ead2dbdd41a21e91cbe27b3524

9 years agoMerge "Doxygen grouping" into devel/master
Adeel Kazmi [Fri, 4 Sep 2015 10:04:40 +0000 (03:04 -0700)]
Merge "Doxygen grouping" into devel/master

9 years agoNew handle flip implementation. 69/46069/9
Victor Cebollada [Wed, 5 Aug 2015 08:30:16 +0000 (09:30 +0100)]
New handle flip implementation.

* Handles flip when:
  - Cross each other.
    They can flip as soon as they cross or when the handles are released.
    Text::Decorator::FlipSelectionHandlesOnCrossEnabled()
  - According the character's direction.
  - If they exceed the boundaries of the decoration area.

* The bounding area is stored in world coords.
  There is no need to store it in actor coords and then transform it on every query.

* Fixes a crash when selection handles are crossed and text is inserted.

Change-Id: Ie0ec8174cb5f34c17f96d7179fcdc3cf05bc2df8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextLabel to update font when system font changes 56/47056/3
Agnelo Vaz [Fri, 28 Aug 2015 15:04:58 +0000 (16:04 +0100)]
TextLabel to update font when system font changes

* If font not set through Property system then changing the system font updates the label's font

Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Change-Id: If3fa2ddda8fcbc1b5570586fbfd4335c9f577914

9 years agoMerge "Add the font width, weight and slant to the font style." into devel/master
Paul Wisbey [Thu, 3 Sep 2015 13:28:17 +0000 (06:28 -0700)]
Merge "Add the font width, weight and slant to the font style." into devel/master

9 years agoMerge "String localisation enabled in spec file" into devel/master
Paul Wisbey [Thu, 3 Sep 2015 09:51:35 +0000 (02:51 -0700)]
Merge "String localisation enabled in spec file" into devel/master

9 years agoAdd the font width, weight and slant to the font style. 09/46709/9
v.cebollada [Tue, 25 Aug 2015 00:48:53 +0000 (09:48 +0900)]
Add the font width, weight and slant to the font style.

Change-Id: Ia77419df7309d5948f5e69af56c5664dbf5bfe6d
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoDoxygen grouping 37/45137/8
Yoonsang Lee [Thu, 23 Jul 2015 05:36:50 +0000 (14:36 +0900)]
Doxygen grouping

- Grouping using @defgroup, @ingroup, @addtogroup
- Results are shown in the "Modules" tab of the generated doxygen html
- Grouping comments are in doc/xxx_doc.h
- Install doc/xxx_doc.h as well when conducting 'make install'

Change-Id: Ie6abb5fd56df983b8d9d5fa7426d685589892d4b

9 years agoString localisation enabled in spec file 63/47363/1
Agnelo Vaz [Wed, 2 Sep 2015 15:27:23 +0000 (16:27 +0100)]
String localisation enabled in spec file

* Previously by default i18n falg was not set so string localisation was not done.
* Desktop builds which don't use the spec file will by default not do localisation.
* Now use sys_string as source for translations

- Currently not all languages have po files in the system.  Tested with Hindi, Korean and English

Change-Id: I97e14e124cefb8e32468d323c48969bc64eea381
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoFix rendering order issues of text-label shadow in 3D layers 62/47362/1
Ferran Sole [Wed, 2 Sep 2015 15:27:14 +0000 (16:27 +0100)]
Fix rendering order issues of text-label shadow in 3D layers

Shadow was being rendered on top of the text when using a 3D layer.
To ensure shadow is rendered behind the text, the depth-index of the shadow
must be smaller than the depth index of the text.

Change-Id: I702433ceef51a08d57872ba49753a6cfedd24d94

9 years agoFix DALi startup running on Node.JS 42/47242/1
Nick Holland [Tue, 1 Sep 2015 09:38:32 +0000 (10:38 +0100)]
Fix DALi startup running on Node.JS

Change in dali-adaptor means we need to call

adaptor->NotifySceneCreated()

instead of

adaptor->SceneCreated();

Change-Id: I38a8f0f80cc27e4cd47addbc8a797ec5a48ddc0d

9 years agoMerge "Fix prevent issues" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 17:24:20 +0000 (10:24 -0700)]
Merge "Fix prevent issues" into devel/master

9 years agoFix VD prevent issues 30/46830/5
taeyoon [Wed, 26 Aug 2015 07:21:26 +0000 (16:21 +0900)]
Fix VD prevent issues

 - Add copy constructor & assignment operator (Undefined)

Change-Id: Iae5ab6376fa777be93fb99c2da7edefa1e7d1401

9 years agoMerge "Fix VD prevent issues" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 16:48:45 +0000 (09:48 -0700)]
Merge "Fix VD prevent issues" into devel/master

9 years agoBasic pan-gesture resampling for when prediction is off 87/46987/2
Tom Robinson [Thu, 27 Aug 2015 15:03:41 +0000 (16:03 +0100)]
Basic pan-gesture resampling for when prediction is off

Change-Id: I29a8461dfa803252a51dfd9a95e4b4a0e3660f38
Signed-off-by: Tom Robinson <tom.robinson@samsung.com>
9 years agoMerge "Fixes some alignment issues." into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 11:51:01 +0000 (04:51 -0700)]
Merge "Fixes some alignment issues." into devel/master

9 years agoMerge "System font family change to update font in TextField" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 11:50:35 +0000 (04:50 -0700)]
Merge "System font family change to update font in TextField" into devel/master

9 years agoFix VD prevent issues 03/46803/2
Heeyong Song [Wed, 26 Aug 2015 08:15:08 +0000 (17:15 +0900)]
Fix VD prevent issues

1. rand -> rand_r: thread unsafe
2. copy constructor and asignment operator are missed

Change-Id: I505a831eb729255b240327d08b7c436378d75aab

9 years agoSystem font family change to update font in TextField 57/46757/3
Agnelo Vaz [Tue, 25 Aug 2015 15:56:11 +0000 (16:56 +0100)]
System font family change to update font in TextField

* StyleManager has an API to GetDefaultFontFamily
* StyleManager to store DefaultFontFamly from StyleMonitor when system font changes.
* TextField to Update Text Model after Default font changes.

- Currently editing text changes but not the Inactive Placeholder

Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Change-Id: I6d3f070e7ec57fea9815348ddce998563b392a95

9 years agoShows the virtual keyboard when text-field receives a long-press. 35/46935/3
v.cebollada [Thu, 27 Aug 2015 08:42:03 +0000 (17:42 +0900)]
Shows the virtual keyboard when text-field receives a long-press.

Change-Id: I7854dc1489d5829894ed4cec35a7982c8da9c315
Signed-off-by: v.cebollada <v.cebollada@samsung.com>