platform/core/uifw/dali-toolkit.git
3 years agoMerge changes I6d000008,Ibca83786 into devel/master
Adeel Kazmi [Fri, 16 Dec 2016 13:58:14 +0000 (05:58 -0800)]
Merge changes I6d000008,Ibca83786 into devel/master

* changes:
  AnimatedImageVisual
  (ImageAtlas) Add method for packing a group of pixelData into atlas

3 years agoMerge "DALi Version 1.2.19" into devel/master
Adeel Kazmi [Fri, 16 Dec 2016 13:34:06 +0000 (05:34 -0800)]
Merge "DALi Version 1.2.19" into devel/master

3 years agoDALi Version 1.2.19 46/105446/1 dali_1.2.19
Francisco Santos [Fri, 16 Dec 2016 13:19:48 +0000 (13:19 +0000)]
DALi Version 1.2.19

Change-Id: I64a6b98b4c2dedc0a75dcdd05ebfe229b0958df8

3 years agoAnimatedImageVisual 35/103235/11
Xiangyin Ma [Wed, 7 Dec 2016 15:49:35 +0000 (15:49 +0000)]
AnimatedImageVisual

Change-Id: I6d00000865b02fbdd1f47880e68b3b554da61d1c

3 years ago(ImageAtlas) Add method for packing a group of pixelData into atlas 30/102430/10
Xiangyin Ma [Mon, 5 Dec 2016 18:38:43 +0000 (18:38 +0000)]
(ImageAtlas) Add method for packing a group of pixelData into atlas

Change-Id: Ibca837868795cbfe951c5805a930af51f0f2c2c9

3 years agoMerge "Add visuals group tag for doxygen" into devel/master
Adeel Kazmi [Fri, 16 Dec 2016 09:17:38 +0000 (01:17 -0800)]
Merge "Add visuals group tag for doxygen" into devel/master

3 years agoMerge "C# control dashboard demo" into devel/master
minho.sun [Fri, 16 Dec 2016 09:13:44 +0000 (01:13 -0800)]
Merge "C# control dashboard demo" into devel/master

3 years agoAdd visuals group tag for doxygen 64/105264/1
Seoyeon Kim [Fri, 16 Dec 2016 06:36:53 +0000 (15:36 +0900)]
Add visuals group tag for doxygen

Change-Id: Iafd4f3a25113b890e0f01adab4d52d6b584efd97
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoMerge "Updated control transitions to work with visual transform" into devel/master
Adeel Kazmi [Thu, 15 Dec 2016 16:01:36 +0000 (08:01 -0800)]
Merge "Updated control transitions to work with visual transform" into devel/master

3 years agoProper Fix for SWIG C# Build 19/105119/1
Umar [Thu, 15 Dec 2016 12:07:18 +0000 (12:07 +0000)]
Proper Fix for SWIG C# Build

Change-Id: I177b045fed213e3bc647fcaee400c179117fa4b6

3 years agoMerge "Add KeyboardFocus History Stack" into devel/master
minho.sun [Thu, 15 Dec 2016 05:43:41 +0000 (21:43 -0800)]
Merge "Add KeyboardFocus History Stack" into devel/master

3 years agoUpdated control transitions to work with visual transform 42/104842/3
David Steele [Wed, 2 Nov 2016 19:33:03 +0000 (19:33 +0000)]
Updated control transitions to work with visual transform

Modified Transform::SetPropertyMap() to handle string keys
( for styled transitions that set initial values )

Added GetRenderer to Internal::Visual::Base (not public)
( To allow control to access renderer's registered properties )

Changed Control::Impl::GetVisualProperty to ignore actor properties
and instead only use renderer properties. ( Allows transform::size
to be accessed )

Ensured RegisterVisual automatically names un-named visuals to
match the name of the property they are associated with. (This
makes it easy to wire up styled transitions to visuals).

Added a new method AddTransitions() to Internal::Control. This
enables the styled transition framework to add multiple animators
to a single animation. (slightly controversial - this is a new
public API, which should be a Devel API, but is really hard to
implement - an alternative approach is currently being looked at,
on which this may have to be rebased.

Change-Id: Ia3a1365594a1367fec9af09b9481f8696aef1d76
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge changes Iec23e69e,I6437eab9 into devel/master
Adeel Kazmi [Wed, 14 Dec 2016 16:16:42 +0000 (08:16 -0800)]
Merge changes Iec23e69e,I6437eab9 into devel/master

* changes:
  SVACE error in radio button
  Ensure toggle button emits clicked signal when changing state

3 years agoMerge "Fix SWIG C# Build" into devel/master
Adeel Kazmi [Wed, 14 Dec 2016 15:56:31 +0000 (07:56 -0800)]
Merge "Fix SWIG C# Build" into devel/master

3 years agoSVACE error in radio button 08/104908/1
Agnelo Vaz [Wed, 14 Dec 2016 15:31:28 +0000 (15:31 +0000)]
SVACE error in radio button

Change-Id: Iec23e69e66f0d3c256ac7995e1c71a55e9703aa4

3 years agoFix SWIG C# Build 89/104589/2
Umar [Tue, 13 Dec 2016 15:51:56 +0000 (15:51 +0000)]
Fix SWIG C# Build

Change-Id: I08d596188d53ecc63b29fcd7d973436d76be2a89

3 years agoEnsure toggle button emits clicked signal when changing state 65/104865/1
Agnelo Vaz [Wed, 14 Dec 2016 10:30:11 +0000 (10:30 +0000)]
Ensure toggle button emits clicked signal when changing state

Change-Id: I6437eab978eb89bcc1f56671ed49b079ec602a6c

3 years agoTextVisual no longer uses Atlas 78/104578/2
Agnelo Vaz [Tue, 13 Dec 2016 14:32:41 +0000 (14:32 +0000)]
TextVisual no longer uses Atlas

Seems the texture atlas has an offset whilst packing with is propagating a pixel alignment error

Change-Id: I3f1e362ee94baf7e86b42c370ac70053d8d38a7c

3 years agoTextVisual pixel aligned and uses new shader 39/104539/2
Agnelo Vaz [Tue, 13 Dec 2016 12:10:30 +0000 (12:10 +0000)]
TextVisual pixel aligned and uses new shader

Change-Id: I7736d9d605c995ace7fa4bc9bf5d1b8f7bb820cd

3 years agoReducing 720 style sheets point size for buttons 00/104200/2
Agnelo Vaz [Mon, 12 Dec 2016 15:16:05 +0000 (15:16 +0000)]
Reducing 720 style sheets point size for buttons

Change-Id: I82acbd237b3412c04b51b84d3901215e2dfeda78

3 years agoRemoving default background from TextField Popup buttons 46/103546/8
Agnelo Vaz [Thu, 8 Dec 2016 14:47:04 +0000 (14:47 +0000)]
Removing default background from TextField Popup buttons

Updating style files

Change-Id: Icb23db3a2ec2c82421e38831e03d3a92047a8702

3 years agoKeep legacy look of buttons with pre Visual API 45/103545/6
Agnelo Vaz [Thu, 8 Dec 2016 14:25:43 +0000 (14:25 +0000)]
Keep legacy look of buttons with pre Visual API

Change-Id: Ief4e1bb2bb3efe0871d86d4aae7c503e1e2708b0

3 years agoAdding button-devel.h and deprecation updates 52/101952/8
Agnelo Vaz [Fri, 2 Dec 2016 11:51:43 +0000 (11:51 +0000)]
Adding button-devel.h and deprecation updates

Removing new visuals from public api
Adding Label and Visual padding to Button devel api

Change-Id: Ib6d790f8821cc74306baa237c78a0fa4b6e4a77c

3 years agoText Selection popup to use Enums not string for Text 32/102432/5
Agnelo Vaz [Mon, 5 Dec 2016 18:54:24 +0000 (18:54 +0000)]
Text Selection popup to use Enums not string for Text

Change-Id: I5053551ce95087cb212a9610f72eee8aab817c73

3 years agoButton Upgrade to use Text Visual 06/99406/11
Agnelo Vaz [Thu, 17 Nov 2016 12:04:46 +0000 (12:04 +0000)]
Button Upgrade to use Text Visual

Fixing Autorepeat logic and Label Property setting with Keys.
Fix SetSelected bug when not OnStage and Removing cyclic relayout bug
Setting SetSelected to true before control staged would not remove old visuals before showing selected visuals, fixed.
Relayout was calling a function which itself called RelayoutRequest
Text visual properties now merge, RegisterVisual sets enable
Using SetTransformAndSize API instead of SetProperty
fixing stylesheets
GetLabelText property fix
Common code to get Visual Property Maps
Fixed test case that was using TextLabel Property instead of TextVisual
Adding Text Visual enum to string entry
Fixing Incorrect application of text padding

Change-Id: I732361023d9c843badb6d0be3122b055ac40c6c4

3 years agoImplemented Deprecated GetSelectedImage and GetButtonImage 41/98741/14
Agnelo Vaz [Fri, 18 Nov 2016 11:33:02 +0000 (11:33 +0000)]
Implemented Deprecated GetSelectedImage and GetButtonImage

Previously just returned an empty Actor but now returns a ImageView created from the Visual url.
SetSelectedImage and SetButtonImage fixed to return an Actor and parameter as Image to now break API.
Removed commented out code

Change-Id: I39edfc5200a8617fb3a2fc8a8576595ae7593dcd

3 years agoRemoved OnButton virtual functions and simplified RadioButton logic 94/98194/13
Agnelo Vaz [Tue, 15 Nov 2016 16:54:49 +0000 (16:54 +0000)]
Removed OnButton virtual functions and simplified RadioButton logic

OnButtonUp replaced with ToggleReleased, allows RadioButton to override part of OnButtonUp behaviour, still sends signals.
Comments updated after review comments.
Remove unused code including Virtual internal functions from Buttons

Change-Id: Ia0937aedd01405d1b66265e4f8bdbf613c98dd0a

3 years agoButtons to use Visuals 35/73035/37
Agnelo Vaz [Wed, 25 May 2016 13:26:50 +0000 (14:26 +0100)]
Buttons to use Visuals

Button base case takes over more of the functionality of derived class.
Visuals are now used istead of images.
Dali error added to Builder to be shown if string from json not found

Button Relayout optimised and aligns in 4 directions

Text can be aligned against the foreground using BEGIN, END, TOP and BOTTOM

Positioning of Text and Foreground visual optimised although text not centers if foreground visual present

Button uses visuals instead of placement actors

Tests for Button Visuals and Visual removal with empty map

Allow StageDisconnection to handle visual removal

debug header removed from button-impl.h and now in cpp files.
Fixed map bug in which map was checked for being empty before value was stored in it

Increasing coverage and Removing Internal Button Tests

Internal Tests used a TetButton when it should just use a PushButton.
The Internal tests did not offer any advantage over regular tests so removed.
Tests added to increase coverage and replace Internal tests
Added Wait function to test application

Change-Id: Idb9bccc9ca12a372c3e466fbdb4d8d3d41fb5acf

3 years agoApply deprecate macro and LOG 04/101504/5
suhyung Eom [Thu, 1 Dec 2016 09:22:39 +0000 (18:22 +0900)]
Apply deprecate macro and LOG

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

3 years agoFix code to match correct style, i.e. methods first 06/104206/1
Kimmo Hoikka [Mon, 12 Dec 2016 16:05:23 +0000 (16:05 +0000)]
Fix code to match correct style, i.e. methods first

Change-Id: I880471c51512fd36e947f9037e2924dc244f9872

3 years agoMerge "Text - TextClipper replaced by an Actor with the CLIPPING_MODE enabled." into...
Paul Wisbey [Mon, 12 Dec 2016 15:33:03 +0000 (07:33 -0800)]
Merge "Text - TextClipper replaced by an Actor with the CLIPPING_MODE enabled." into devel/master

3 years agoText - TextClipper replaced by an Actor with the CLIPPING_MODE enabled. 55/103555/3
Victor Cebollada [Thu, 8 Dec 2016 14:52:47 +0000 (14:52 +0000)]
Text - TextClipper replaced by an Actor with the CLIPPING_MODE enabled.

* Fixes issues with the inherited alpha channel.

Change-Id: I6a3f125d6de10d4d3d8673a6b340f05ae0edd3f6
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoVisuals call SetProperties internally for 2-stage initialization 78/100578/7
Tom Robinson [Mon, 28 Nov 2016 12:01:01 +0000 (12:01 +0000)]
Visuals call SetProperties internally for 2-stage initialization

Change-Id: I7da559f150e09d51e88a0c94ee651f572da0d190

3 years agoC# control dashboard demo 48/101648/9
minho.sun [Fri, 2 Dec 2016 00:50:22 +0000 (09:50 +0900)]
C# control dashboard demo

To check control development process, all controls which we are planning
to make or upgrade should be on this app.

Please attach your controls on here.

And if you have any opinion about this dashboard app, feel free to
talk and change.

Change-Id: Icea04ccb1b802ef4f2b35859a3f3e1b04b26ce86
Signed-off-by: minho.sun <minho.sun@samsung.com>
3 years agoMerge "Updating programming guide for control property registration" into devel/master
Kimmo Hoikka [Fri, 9 Dec 2016 18:30:42 +0000 (10:30 -0800)]
Merge "Updating programming guide for control property registration" into devel/master

3 years agoUpdating programming guide for control property registration 79/102379/3
David Steele [Mon, 5 Dec 2016 12:30:27 +0000 (12:30 +0000)]
Updating programming guide for control property registration

There is nothing in the programming guide to indicate why the property
ranges of a derived control should start at a particular value.
Have updated the guides to describe this.

Change-Id: I04c0948dd8a306ce99128c92f97174c373f2817c
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoChanged flex container to selectively modify resize policy 76/103876/1
David Steele [Fri, 9 Dec 2016 16:38:58 +0000 (16:38 +0000)]
Changed flex container to selectively modify resize policy

Flex container currently sets the resize policy of all it's children to USE_ASSIGNED_SIZE, regardless of whether they are using flex child property or not.

Modified to only change resize policy when the flex child property is set.

Change-Id: Ifc6dce3022e48aef2b446b4e6cecde7b82ab73dc
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge changes I7066e6c1,I3f0c228e into devel/master
Adeel Kazmi [Fri, 9 Dec 2016 16:41:14 +0000 (08:41 -0800)]
Merge changes I7066e6c1,I3f0c228e into devel/master

* changes:
  Implement default height for width and width for height for visuals and remove obsolete code from ImageView
  Stop unnecessary copying of property maps in ImageView::SetImage

3 years agoMerge "DALi Version 1.2.18" into devel/master
Adeel Kazmi [Fri, 9 Dec 2016 14:42:42 +0000 (06:42 -0800)]
Merge "DALi Version 1.2.18" into devel/master

3 years agoDALi Version 1.2.18 39/103839/1 dali_1.2.18
Ferran Sole [Fri, 9 Dec 2016 14:34:54 +0000 (14:34 +0000)]
DALi Version 1.2.18

Change-Id: I1d1e17ea487710e68ae1ee8090200158ed05edef

3 years agoImplement default height for width and width for height for visuals and remove obsole... 66/103566/2
Kimmo Hoikka [Thu, 8 Dec 2016 19:12:32 +0000 (19:12 +0000)]
Implement default height for width and width for height for visuals and remove obsolete code from ImageView

Change-Id: I7066e6c1456de146b80265c259e6f7f411268a3b

3 years agoFixed SVACE error in Internal::Visual::Base 92/103792/1
Adeel Kazmi [Fri, 9 Dec 2016 11:49:55 +0000 (11:49 +0000)]
Fixed SVACE error in Internal::Visual::Base

Change-Id: I03ecbef0b08c41a275dab80d4b213d75f45c7019

3 years agoStop unnecessary copying of property maps in ImageView::SetImage 27/103527/2
Kimmo Hoikka [Thu, 8 Dec 2016 13:37:41 +0000 (13:37 +0000)]
Stop unnecessary copying of property maps in ImageView::SetImage

Change-Id: I3f0c228e80478ea76a4cf8cdd1eaaf0702f0fcc5

3 years agoMerge "Add deprecated tag and missed doxygen" into devel/master
Seoyeon Kim [Fri, 9 Dec 2016 06:40:33 +0000 (22:40 -0800)]
Merge "Add deprecated tag and missed doxygen" into devel/master

3 years agoAdd deprecated tag and missed doxygen 08/99308/2
Seoyeon Kim [Tue, 22 Nov 2016 10:00:25 +0000 (19:00 +0900)]
Add deprecated tag and missed doxygen

- Add 'DEPRECATED_1_2_8' doxygen tag
- The doxygen warning log said some Property enumerations of class are not documented.

Change-Id: Ia39617bc2f3a64eb0f8d7de77ef547ae0ea4ee91
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoAdded devel property PREMULTIPLIED_ALPHA ( "premultipliedAlpha" ). 12/102912/7
adam.b [Tue, 6 Dec 2016 17:56:56 +0000 (17:56 +0000)]
Added devel property PREMULTIPLIED_ALPHA ( "premultipliedAlpha" ).

The property enables/disables premultiplied alpha on the Visual.

Example:

control.SetProperty( Toolkit::Control::Property::BACKGROUND,
                     Property::Map().
                     Add( "premultipliedAlpha", true ));

Change-Id: I8c8af1b781109256e04f7f3806e9698b34bce40b

3 years agoText - Fix for text's cursor position. 46/103146/1
Victor Cebollada [Wed, 7 Dec 2016 10:42:36 +0000 (10:42 +0000)]
Text - Fix for text's cursor position.

* The control's size stored in the view-model is not updated
  when the text is void.
  If the text's alignment is not BEGIN, the cursor position
  is calculated badly.

Change-Id: I65f6c520268608ad1605fc2d0b70be96377bb9dd
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoFixed svace defect 77/102977/1
suhyung Eom [Wed, 7 Dec 2016 02:28:33 +0000 (11:28 +0900)]
Fixed svace defect

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

3 years agoFix C# build break 08/102908/2
Nick Holland [Tue, 6 Dec 2016 16:49:58 +0000 (16:49 +0000)]
Fix C# build break

Introduction of devel only properties to DALi
and protecting of custom-actor-impl destructor
caused some issues.

For now devel only properties are ignored
( SWIG is having difficulties partly because normal actor properties are duplicated in actor-devel.h )

Change-Id: Ice82492943f7b47fd44b377c6737fc7ca9dbe0ca

3 years agoDali C#: remove firstscreen sample 99/102899/1
dongsug.song [Tue, 6 Dec 2016 16:10:17 +0000 (01:10 +0900)]
Dali C#: remove firstscreen sample

Signed-off-by: dongsug.song <dongsug.song@samsung.com>
Change-Id: I8c72794a5a9cd7c74bae5a7f3c7e1e513a8fe1bf

3 years agoAdd KeyboardFocus History Stack 37/97137/16
minho.sun [Fri, 11 Nov 2016 08:21:05 +0000 (17:21 +0900)]
Add KeyboardFocus History Stack

Make KeyboardFocus History stack to support return(or back) UX.

Refer KeyInputFocus stack to make this.

When SetCurrentFocusActor() is called, focused actor's base object pointer is pushed to
History Stack.

If the number of pushed actor is over HISTORY_MAX_NUM( current 30 ),
KeyboardFocusManager pops the oldest one before pushing new one.

User can track focus history with "Escape" key now.

Change-Id: I024ec6da430c523945ab0a5bb3704efe56246575
Signed-off-by: minho.sun <minho.sun@samsung.com>
3 years agoMerge "DALi Version 1.2.17" into devel/master
Paul Wisbey [Fri, 2 Dec 2016 14:23:15 +0000 (06:23 -0800)]
Merge "DALi Version 1.2.17" into devel/master

3 years agoDALi Version 1.2.17 79/101979/1 dali_1.2.17
adam.b [Fri, 2 Dec 2016 14:07:41 +0000 (14:07 +0000)]
DALi Version 1.2.17

Change-Id: Ic56a75e293a0242a84d63f139df4080472349891

3 years agoMerge "Add focus indicator only when attaching physicalkeyboard" into devel/master
minho.sun [Fri, 2 Dec 2016 01:45:23 +0000 (17:45 -0800)]
Merge "Add focus indicator only when attaching physicalkeyboard" into devel/master

3 years agoChanges after ShaderEffect removal 06/101606/2
Adeel Kazmi [Thu, 1 Dec 2016 15:14:18 +0000 (15:14 +0000)]
Changes after ShaderEffect removal

Change-Id: I0f11aa432ff9aed995ca40c78e60fb17ab47e5f5

3 years agoAllow background property to be set as a URL string, get will still return a map 72/100872/2
Kimmo Hoikka [Tue, 29 Nov 2016 11:55:12 +0000 (11:55 +0000)]
Allow background property to be set as a URL string, get will still return a map

Change-Id: I3467bb7d728f54fd25bc0b8cfde2c94e7a03dd9f

3 years agoMerge "Revert public API changes. Handle methods." into devel/master
Adeel Kazmi [Wed, 30 Nov 2016 10:39:43 +0000 (02:39 -0800)]
Merge "Revert public API changes. Handle methods." into devel/master

3 years agoMerge "Automatically update doxygen configuration to local version." into devel/master
Adeel Kazmi [Wed, 30 Nov 2016 09:17:33 +0000 (01:17 -0800)]
Merge "Automatically update doxygen configuration to local version." into devel/master

3 years agoRevert public API changes. Handle methods. 84/98184/5
Victor Cebollada [Wed, 16 Nov 2016 09:53:59 +0000 (09:53 +0000)]
Revert public API changes. Handle methods.

* Use the Handle functions from the devel API.

Change-Id: Ie6ed2079d31941d31624720657e5c1d09406565e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoAutomatically update doxygen configuration to local version. 89/100289/3
Francisco Santos [Tue, 29 Nov 2016 15:55:09 +0000 (15:55 +0000)]
Automatically update doxygen configuration to local version.

Change-Id: Ic8dce09ea34366e00ff18a8a9935c4594896e25c

3 years agoMerge "Control - Trigger the size negotiation when the background is updated." into...
David Steele [Tue, 29 Nov 2016 16:08:47 +0000 (08:08 -0800)]
Merge "Control - Trigger the size negotiation when the background is updated." into devel/master

3 years agoMerge "TextVisual - Renderer life cycle." into devel/master
David Steele [Tue, 29 Nov 2016 16:08:11 +0000 (08:08 -0800)]
Merge "TextVisual - Renderer life cycle." into devel/master

3 years agoControl - Trigger the size negotiation when the background is updated. 39/100239/11
Victor Cebollada [Fri, 25 Nov 2016 10:27:35 +0000 (10:27 +0000)]
Control - Trigger the size negotiation when the background is updated.

* It may be needed by the new visual to relayout its contents. i.e TextVisual needs it.

Change-Id: I04498ed72b2ef94cccc2b3135adb66f5d2862e2d
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoTextVisual - Renderer life cycle. 64/100164/10
Victor Cebollada [Fri, 25 Nov 2016 07:29:56 +0000 (07:29 +0000)]
TextVisual - Renderer life cycle.

* Creates the renderer as soon as the visual is on the stage,
  otherwise flags are not set/updated. Create the renderer
  even there is no text or the area's size is zero.
* Only destroys the renderer when the visual is off the stage.
  Do not destroy the renderer if there is no text or the area's
  size is zero.

Change-Id: I6d621399767dd7a603e758d59850d9f6ad1c81f1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoMerge "Dali C# binding - Implement the pure C# classes" into devel/master
dongsug song [Tue, 29 Nov 2016 11:02:32 +0000 (03:02 -0800)]
Merge "Dali C# binding - Implement the pure C# classes" into devel/master

3 years agoDali C# binding - Implement the pure C# classes 52/99652/6
Emil Abraham [Wed, 23 Nov 2016 12:07:07 +0000 (17:37 +0530)]
Dali C# binding - Implement the pure C# classes

Implementation of Pure high-level C# classes and use
C#'s implicit convertion operators to covert from
C# Color, Position & Size classes to Dali Vector4,
Vector3 and Vector2 classes.

Change-Id: I6a68268c8e1511697479ca9f94356961bca5a7bd
Signed-off-by: Emil Abraham <emil.abraham@samsung.com>
3 years agoChanged bubble effect to use new texture API 85/99985/8
Ferran Sole [Thu, 24 Nov 2016 14:52:51 +0000 (14:52 +0000)]
Changed bubble effect to use new texture API

* Bubble effect uses new texture API
* Removed unneded actors

Change-Id: I2a682599928e118194c399417990ec7b417fba99

3 years agoMerge "Added API flags into the control-wrapper files." into devel/master
dongsug song [Sun, 27 Nov 2016 13:03:00 +0000 (05:03 -0800)]
Merge "Added API flags into the control-wrapper files." into devel/master

3 years agoAdded API flags into the control-wrapper files. 70/99970/7
Umar [Thu, 24 Nov 2016 13:54:39 +0000 (13:54 +0000)]
Added API flags into the control-wrapper files.

This also fixed the issue of C# demo not working when the native code is compiled in the Release mode.

Change-Id: I1383547b1ede031870533707ec0093dc867cab49

3 years ago(ImageView) Use Relayout method rather than OnSizeSet 97/100297/2
Adeel Kazmi [Fri, 25 Nov 2016 17:57:11 +0000 (17:57 +0000)]
(ImageView) Use Relayout method rather than OnSizeSet

We shouldn't rely on the OnSizeSet method as the size specified in this could
be different when our size is negotiated.

Change-Id: Iaca7de5b8641eb953ab3de312561d6feee61182c

3 years agoMerge "Revert public API changes. BATCH property." into devel/master
Adeel Kazmi [Fri, 25 Nov 2016 13:51:41 +0000 (05:51 -0800)]
Merge "Revert public API changes. BATCH property." into devel/master

3 years agoMerge "Change Internal::Control destructor to protected" into devel/master
Adeel Kazmi [Fri, 25 Nov 2016 11:00:32 +0000 (03:00 -0800)]
Merge "Change Internal::Control destructor to protected" into devel/master

3 years agoMerge "DALi Version 1.2.16" into devel/master
Paul Wisbey [Fri, 25 Nov 2016 09:33:27 +0000 (01:33 -0800)]
Merge "DALi Version 1.2.16" into devel/master

3 years agoRevert public API changes. BATCH property. 14/98114/6
Victor Cebollada [Tue, 15 Nov 2016 17:49:53 +0000 (17:49 +0000)]
Revert public API changes. BATCH property.

* Use the BATCH property from the devel API.

Change-Id: I4f7b006c85859058a27a7a515f802c4906c8d2af
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoFix build issue of DALi# 39/100139/1
Ravi Nanjundappa [Fri, 25 Nov 2016 07:16:49 +0000 (12:46 +0530)]
Fix build issue of DALi#

This patch fixes the build issue of DALi#.
Need to create automatic/csharp dir manually
to avoid the build issue.

Change-Id: Ie00cbc82ac8aa2a86533ccdc4afcbcc885a02623
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoDALi Version 1.2.16 40/100140/1 dali_1.2.16
Victor Cebollada [Fri, 25 Nov 2016 07:06:11 +0000 (07:06 +0000)]
DALi Version 1.2.16

Change-Id: I9c8fd6c6399dcb5f3b7ec0e464776f988d29393d

3 years agoChange Internal::Control destructor to protected 20/100020/1
Adeel Kazmi [Thu, 24 Nov 2016 17:43:40 +0000 (17:43 +0000)]
Change Internal::Control destructor to protected

This is a ref-counted object so another object should not be able to delete it.

Change-Id: I05d2d262f509380586584acfa1fb6646fe1ba688

3 years agoVisuals - Avoid having 2 devel headers for visual-properties.h 79/99579/6
Ferran Sole [Wed, 23 Nov 2016 09:02:32 +0000 (09:02 +0000)]
Visuals - Avoid having 2 devel headers for visual-properties.h

Change-Id: I623d62cba0e16233c187b9df8f0461b8db6fdc0b

3 years agoMerge "Stop copying Property::Maps in ImageView SetProperty" into devel/master
Adeel Kazmi [Thu, 24 Nov 2016 15:04:07 +0000 (07:04 -0800)]
Merge "Stop copying Property::Maps in ImageView SetProperty" into devel/master

3 years agoMerge "Renamed TextVisual::DoSetProperty to SetProperty" into devel/master
Adeel Kazmi [Thu, 24 Nov 2016 14:46:47 +0000 (06:46 -0800)]
Merge "Renamed TextVisual::DoSetProperty to SetProperty" into devel/master

3 years agoAdd focus indicator only when attaching physicalkeyboard 19/99819/3
minho.sun [Thu, 24 Nov 2016 07:35:37 +0000 (16:35 +0900)]
Add focus indicator only when attaching physicalkeyboard

Add focus indicator only when attaching physicalkeyboard.

When user wants to preset focus actor before physicalkeyboard is attached,
they can call SetCurrentFocus().

Before this patch, it always displays focus indicator whether
pyhisicalkeyboard is attached or not.

Now, if pyhisicalkeyboard is not attached, SetCurrentFocus() dosen't
add focus indicator to focus actor.

Change-Id: Iab67127a1079b724f68ab44683684cc06360d82c
Signed-off-by: minho.sun <minho.sun@samsung.com>
3 years agoRenamed TextVisual::DoSetProperty to SetProperty 04/99904/1
David Steele [Thu, 24 Nov 2016 11:17:30 +0000 (11:17 +0000)]
Renamed TextVisual::DoSetProperty to SetProperty

In accordance with our naming conventions, as DoSetProperty is no longer
overriding a pure virtual, the "Do" prefix has been dropped.

SetProperty remains a private function of TextVisual.

Change-Id: Ib40634048050f90e61c5528d92062d94238dae1c
Signed-off-by: David Steele <david.steele@samsung.com>
3 years ago(Popup) Fix various bugs in Popup 04/99404/10
Adeel Kazmi [Tue, 22 Nov 2016 19:20:34 +0000 (19:20 +0000)]
(Popup) Fix various bugs in Popup

The border was not a property and wasn't being used properly anyway.
The tail calculation was wrong.

Change-Id: Id4438c3edb4316e3f38ad9606758667c9b7de3c6

3 years agoMerge "Modified dali.i and dali-toolkit.i files to add support for the changes made...
Kimmo Hoikka [Wed, 23 Nov 2016 12:49:22 +0000 (04:49 -0800)]
Merge "Modified dali.i and dali-toolkit.i files to add support for the changes made into the native code." into devel/master

3 years agoMerge "Removed Visual::Base::SetProperty and GetProperty" into devel/master
Adeel Kazmi [Wed, 23 Nov 2016 12:38:15 +0000 (04:38 -0800)]
Merge "Removed Visual::Base::SetProperty and GetProperty" into devel/master

3 years agoMerge "Update README for dali-swig" into devel/master
dongsug song [Wed, 23 Nov 2016 12:12:02 +0000 (04:12 -0800)]
Merge "Update README for dali-swig" into devel/master

3 years agoRemoved Visual::Base::SetProperty and GetProperty 28/99028/5
David Steele [Fri, 18 Nov 2016 16:40:18 +0000 (16:40 +0000)]
Removed Visual::Base::SetProperty and GetProperty

Removed the base class methods and all derived methods,
except for text visual, which uses DoSetProperty internally.

Change-Id: I6105f7d1efd0b6b81da09749c86e7334a78e5182
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoModified dali.i and dali-toolkit.i files to add support for the changes made into... 03/99403/2
Umar [Tue, 22 Nov 2016 18:42:31 +0000 (18:42 +0000)]
Modified dali.i and dali-toolkit.i files to add support for the changes made into the native code.

Change-Id: I59c6e52efea584a48afd1db3b46117c971453d83

3 years agoRevert "DALi C# binding - Write pure C# Color & Position classes and use typemaps... 08/99608/2
Emil Abraham [Wed, 23 Nov 2016 10:59:35 +0000 (02:59 -0800)]
Revert "DALi C# binding - Write pure C# Color & Position classes and use typemaps to do the marshalling between Native Vector[4/3] and C# classes"

This reverts commit 1c79fd0c77d266314b74e32ab8a0070fb5178380.

Change-Id: I5221a5713c1ce87bb13a49073f1dc1d48947a998

3 years agoStop copying Property::Maps in ImageView SetProperty 00/99400/2
Kimmo Hoikka [Tue, 22 Nov 2016 18:01:54 +0000 (18:01 +0000)]
Stop copying Property::Maps in ImageView SetProperty

Change-Id: I120dece3cad2bd5b0de1e7a3c94096cecc968d57

3 years agoSwitch Sync- and AsynchImageLoaders to use new (object less) image loading adaptor API 64/99364/3
Kimmo Hoikka [Tue, 22 Nov 2016 12:58:39 +0000 (12:58 +0000)]
Switch Sync- and AsynchImageLoaders to use new (object less) image loading adaptor API

Change-Id: I6d541f41ab0145f20f849c81a69c8c6369047b76

3 years agoMerge changes Ia2ec4b45,Ied29583a into devel/master
Paul Wisbey [Tue, 22 Nov 2016 16:04:04 +0000 (08:04 -0800)]
Merge changes Ia2ec4b45,Ied29583a into devel/master

* changes:
  Text - First Page Renderer implementation.
  ModelView implementation.

3 years agoText - First Page Renderer implementation. 46/94546/26
Victor Cebollada [Thu, 20 Oct 2016 07:52:38 +0000 (08:52 +0100)]
Text - First Page Renderer implementation.

* Renders a page of static text.
* Doesn't have any style effect.
* Shadows, underline and text auto-scroll don't work.

Change-Id: Ia2ec4b45d2d368448a35083b2f66ec0b6844dd27
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoMerge "DALi C# binding - Write pure C# Color & Position classes and use typemaps...
dongsug song [Tue, 22 Nov 2016 04:56:23 +0000 (20:56 -0800)]
Merge "DALi C# binding - Write pure C# Color & Position classes and use typemaps to do the marshalling between Native Vector[4/3] and C# classes" into devel/master

3 years agoMerge "Text - Fix for input style when the text gain the focus via KeyboardFocusGainE...
Paul Wisbey [Mon, 21 Nov 2016 15:57:34 +0000 (07:57 -0800)]
Merge "Text - Fix for input style when the text gain the focus via KeyboardFocusGainEvent()." into devel/master

3 years agoModelView implementation. 49/86349/14
Victor Cebollada [Fri, 26 Aug 2016 13:53:09 +0000 (14:53 +0100)]
ModelView implementation.

* Creates an interface to access the text's model from the text rendering modules.
* In the case the text is elided, it stores a copy of the elided text,
  the ellipsis glyph and the modified layout.
* It creates a basic Text::RenderingController class which stores the
  pointer to the text's model.

Change-Id: Ied29583a0e1648dab9d78575dcbc042353c949dc
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoDALi C# binding - Write pure C# Color & Position classes and use typemaps to do the... 36/96336/12
Emil Abraham [Tue, 15 Nov 2016 11:25:13 +0000 (16:55 +0530)]
DALi C# binding - Write pure C# Color & Position classes and use typemaps to do the marshalling between Native Vector[4/3] and C# classes

Change-Id: Ia9ef0af30b8f87166ebcc9af6c89df7feb487346
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoAdd Privilege doxygen tag about URL 17/98417/4
Seoyeon Kim [Thu, 17 Nov 2016 07:42:30 +0000 (16:42 +0900)]
Add Privilege doxygen tag about URL

- To access to internet, media storage, and external storage in Tizen,
 the user has to add the privileges.

Change-Id: I740227b1e1d0b463fce35755ab272a6749d8b543
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoMerge "Usage of CustomeView for ScrollContainer and code refactoring accordingly...
Kimmo Hoikka [Fri, 18 Nov 2016 15:09:07 +0000 (07:09 -0800)]
Merge "Usage of CustomeView for ScrollContainer and code refactoring accordingly. Also added monodevelop solution and project files." into devel/master

3 years agoMerge "DALi Version 1.2.15" into devel/master
Adeel Kazmi [Fri, 18 Nov 2016 11:36:10 +0000 (03:36 -0800)]
Merge "DALi Version 1.2.15" into devel/master