platform/core/csapi/nui.git
7 years ago(TextField) Rename ShowDuration to ShowLastCharacterDuration 83/153983/1
Adeel Kazmi [Wed, 4 Oct 2017 12:39:15 +0000 (13:39 +0100)]
(TextField) Rename ShowDuration to ShowLastCharacterDuration

Change-Id: Ia9ff405942757452de973da4106b1a6eda4af6af

7 years agoChanges required after TextLabel Devel properties were made public 48/153948/2
Adeel Kazmi [Tue, 3 Oct 2017 18:15:59 +0000 (19:15 +0100)]
Changes required after TextLabel Devel properties were made public

Change-Id: I84627df3ee0bceaca7152ee356d7bb4de47aeed5

7 years agoMigration of devel api to public 85/153885/1
adam.b [Mon, 2 Oct 2017 15:54:15 +0000 (16:54 +0100)]
Migration of devel api to public

Change-Id: I32d630f1b358559fbe5a62d3e457d00245d66802

7 years agoMerge "Add Interval property for Timer" into devel/master
Adeel Kazmi [Mon, 2 Oct 2017 11:28:52 +0000 (11:28 +0000)]
Merge "Add Interval property for Timer" into devel/master

7 years agoMerge "Remove Visible property in View." into devel/master
Jinho, Lee [Fri, 29 Sep 2017 04:28:59 +0000 (04:28 +0000)]
Merge "Remove Visible property in View." into devel/master

7 years agoMerge "Add properties of TextLabel/Editor" into devel/master
Jinho, Lee [Fri, 29 Sep 2017 04:28:48 +0000 (04:28 +0000)]
Merge "Add properties of TextLabel/Editor" into devel/master

7 years agoRemove Visible property in View. 73/141473/6
Jinho, Lee [Mon, 31 Jul 2017 16:30:23 +0000 (01:30 +0900)]
Remove Visible property in View.

 - Visble and Visibility was same property.

Change-Id: Ibf6a052d4850f79939f6d7759935800decd30af6

7 years agoDispose Children when Parent is being disposed. 25/152325/5
Umar [Mon, 25 Sep 2017 19:05:55 +0000 (20:05 +0100)]
Dispose Children when Parent is being disposed.

Change-Id: I1c90f2dbc822f1fde25df5aef888f41959ee9cf4

7 years agoAdd Interval property for Timer 13/145813/5
xb.teng [Thu, 24 Aug 2017 10:59:19 +0000 (18:59 +0800)]
Add Interval property for Timer

Change-Id: I22f83894065752d245150cb1374f6f4f456aa312

7 years agoScene Graph support in NUI 13/147513/10
Umar [Mon, 4 Sep 2017 20:01:04 +0000 (21:01 +0100)]
Scene Graph support in NUI

The RSS was increased 0.3% from 519254 to 521274 for 50,000 views.
Change-Id: Ib739b406af034e14d8193785b52a5d17f570e4c7

7 years agoDisConnect from Signals via using BaseHandleCPtr 43/144843/7
Muhammad Umar [Fri, 18 Aug 2017 06:29:09 +0000 (15:29 +0900)]
DisConnect from Signals via using BaseHandleCPtr

There was a crash issue when disconnecting from signals from any class derived from View. This was due to the fact that the handle has been deleted earlier in derived class dispose function.

Change-Id: Ib5c383b82dbd5ddab5010acdb82048fb27737df5

7 years agoFixed GBS compilation for NUI 77/144177/4
Muhammad Umar [Tue, 15 Aug 2017 13:07:24 +0000 (22:07 +0900)]
Fixed GBS compilation for NUI

Change-Id: I1d908dbfddb101dc492209f0f2b2c685babdcb99

7 years agoMerge "VisualFactory.Get() is set as obsolete" into devel/master
David Steele [Mon, 25 Sep 2017 10:20:23 +0000 (10:20 +0000)]
Merge "VisualFactory.Get() is set as obsolete" into devel/master

7 years agoMerge "Add value check to color." into devel/master
David Steele [Mon, 25 Sep 2017 10:19:05 +0000 (10:19 +0000)]
Merge "Add value check to color." into devel/master

7 years agoMerge "Oring key event callback result" into devel/master
David Steele [Mon, 25 Sep 2017 10:15:42 +0000 (10:15 +0000)]
Merge "Oring key event callback result" into devel/master

7 years agoMerge "Fix Border property in ImageView does not work issue." into devel/master
David Steele [Mon, 25 Sep 2017 10:15:23 +0000 (10:15 +0000)]
Merge "Fix Border property in ImageView does not work issue." into devel/master

7 years agoMerge "fix crash: HasBody() null reference" into devel/master
David Steele [Mon, 25 Sep 2017 10:15:03 +0000 (10:15 +0000)]
Merge "fix crash: HasBody() null reference" into devel/master

7 years agoAdd properties of TextLabel/Editor 85/141185/2
Jinho, Lee [Fri, 28 Jul 2017 09:56:12 +0000 (18:56 +0900)]
Add properties of TextLabel/Editor

  TextEditor
   -LINE_WRAP_MODE

  TextLabel
   -LINE_WRAP_MODE
   -LINE_COUNT
   -fixed coding style at AutoScrollStopMode

Change-Id: I26626afea204b9654d63eb10930bec1a27741ba9

7 years agoAdd InheritOpacity API to View as a simplified way of using Dali COLOR_MODE 04/150804/5
Tom Robinson [Mon, 18 Sep 2017 17:40:51 +0000 (18:40 +0100)]
Add InheritOpacity API to View as a simplified way of using Dali COLOR_MODE

Change-Id: If1676ea7682b0d8f3ad327ab795634c5a6c23266

7 years agoFix crash caused by GetPropertyIndex not converting to DALi property format 51/148751/3
Tom Robinson [Fri, 8 Sep 2017 17:59:17 +0000 (18:59 +0100)]
Fix crash caused by GetPropertyIndex not converting to DALi property format

Change-Id: Ic7a65c4f1045c81c2b26efefc5d0a101204849f5

7 years agoAdd WatchApplication/WatchTime for nui 28/147328/10
xb.teng [Mon, 4 Sep 2017 04:00:19 +0000 (12:00 +0800)]
Add WatchApplication/WatchTime for nui

Change-Id: Id6011fb6eff7bf712465d8e96c7671b4127100ac

7 years agoAdd start and end property in PaddingType 64/148164/5
Seoyeon Kim [Thu, 7 Sep 2017 04:25:39 +0000 (13:25 +0900)]
Add start and end property in PaddingType

 - Deprecated Left and Right property in PaddingType
 - Added Start and End property in PaddingType for multilingual UI framework
 - Removed x, y, width, and height in PaddingType class

Change-Id: Iad6df66fc68b61571ec947eb8685d902a5e612bf
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years ago(Window) Added a method to window so that we can render once, even when paused 93/148093/1
Adeel Kazmi [Wed, 6 Sep 2017 18:20:39 +0000 (19:20 +0100)]
(Window) Added a method to window so that we can render once, even when paused

Change-Id: I80c996e893f07c0ef51c7ef6933ba1a6114e54cf

7 years agoAdding Property Notification support 06/147506/5
Agnelo Vaz [Mon, 4 Sep 2017 14:21:34 +0000 (15:21 +0100)]
Adding Property Notification support

Moving Property files from internal to public
Creating helper class to be used when animatables provide properties as strings not indexes.
Animatables can now connect to Notify and use the defined conditional functions

Change-Id: Iac5d5e7b6ced6df9d2b651d36559f223e5a06fdc

7 years agoMerge "Fix issue of VisualMaps and VisualView" into devel/master
Minho Sun [Wed, 30 Aug 2017 05:58:06 +0000 (05:58 +0000)]
Merge "Fix issue of VisualMaps and VisualView" into devel/master

7 years agoMerge "Add Window.Title property." into devel/master
minho.sun [Fri, 25 Aug 2017 05:38:39 +0000 (05:38 +0000)]
Merge "Add Window.Title property." into devel/master

7 years agoAdd Window.Title property. 22/145622/3
minho.sun [Wed, 23 Aug 2017 06:33:30 +0000 (15:33 +0900)]
Add Window.Title property.

To set window title, we can use SetClass function.
But most of app user doesn't know concept of 'klass'.
So, to give convenience, make property.

Change-Id: Idec1c8de60220eba153f2e980dfeda903b7c1ab9
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoMerge "call base.OnXXX when getting lifecycle callback" into devel/master
Adeel Kazmi [Thu, 24 Aug 2017 16:07:50 +0000 (16:07 +0000)]
Merge "call base.OnXXX when getting lifecycle callback" into devel/master

7 years agoFix Window Set/Get Size/Position 27/145227/1
minho.sun [Mon, 14 Aug 2017 11:18:05 +0000 (20:18 +0900)]
Fix Window Set/Get Size/Position

Change-Id: I87bec91a5ba2a1bcf20cb66c567f432a2a8d1d3d

7 years agocall base.OnXXX when getting lifecycle callback 25/145225/1
minho.sun [Mon, 14 Aug 2017 11:17:40 +0000 (20:17 +0900)]
call base.OnXXX when getting lifecycle callback

Change-Id: I3e08f8c6a04f00bba07993cc07be2bbf32b5cc42

7 years agoVisualFactory.Get() is set as obsolete 86/145186/2
minho.sun [Mon, 14 Aug 2017 08:32:39 +0000 (17:32 +0900)]
VisualFactory.Get() is set as obsolete

Change-Id: I59bc8d9e8799f5ad079c4c48f889f6313bbffcb4

7 years agoFix Border property in ImageView does not work issue. 80/145180/1
minho.sun [Mon, 14 Aug 2017 08:14:49 +0000 (17:14 +0900)]
Fix Border property in ImageView does not work issue.

Change-Id: I551bdef1050d53d24bf4885bb63236bc2d0d6783

7 years agofix crash: HasBody() null reference 76/145176/1
minho.sun [Mon, 14 Aug 2017 08:14:18 +0000 (17:14 +0900)]
fix crash: HasBody() null reference

Change-Id: I05ff929cf9f95a283f9d4ee3149f8a523e887776

7 years agoAdd value check to color. 55/145155/1
minho.sun [Mon, 14 Aug 2017 08:06:28 +0000 (17:06 +0900)]
Add value check to color.

Change-Id: Idbbb76c636c8993948a268cfb653f7d0f7b70f8e

7 years agoOring key event callback result 47/145147/2
minho.sun [Mon, 14 Aug 2017 08:05:22 +0000 (17:05 +0900)]
Oring key event callback result

Change-Id: Id5caee7e11748e28fce7d29430c66719918d9a22

7 years agoFix issue of VisualMaps and VisualView 81/144881/1
xb.teng [Fri, 18 Aug 2017 15:15:32 +0000 (23:15 +0800)]
Fix issue of VisualMaps and VisualView

Here are issues:
1. Setting size of visual, it should use absolute mode,
2. It should pass a fullname of VisualView to native.

Change-Id: I24fec154dbe0562eaa27b97cf01ae47570df68ad

7 years agoNUI version 0.2.51 04/144004/1
minho.sun [Mon, 14 Aug 2017 07:55:05 +0000 (16:55 +0900)]
NUI version 0.2.51

NUI version 0.2.51

Change-Id: If107ec32a921a8e379fe8144e16b5048059c3db2
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoAdding Container base for Layer and View 09/143409/4
Agnelo Vaz [Wed, 9 Aug 2017 16:48:53 +0000 (17:48 +0100)]
Adding Container base for Layer and View

Change-Id: I413a9134839d0589776a39f3424ea7d4cb8f7c20

7 years agoAnimatable TextColor Property for TextLabel 68/141168/8
Agnelo Vaz [Fri, 28 Jul 2017 09:53:26 +0000 (10:53 +0100)]
Animatable TextColor Property for TextLabel

Change-Id: I593c4621a177feeaffbc71ab551d94a75164515c

7 years agoMerge "Add FeedKeyEvent api in window of nui" into devel/master
dongsug song [Tue, 8 Aug 2017 07:34:21 +0000 (07:34 +0000)]
Merge "Add FeedKeyEvent api in window of nui" into devel/master

7 years agoAdd PlayAfter api for Animation 96/142896/1
xb.teng [Mon, 7 Aug 2017 21:01:25 +0000 (05:01 +0800)]
Add PlayAfter api for Animation

Change-Id: I8f1b1421c0a42211ad131e4097b4007e26aa288b

7 years agoUpdate Placeholder property comments of TextField/TextEditor and sample 94/142894/1
xb.teng [Mon, 7 Aug 2017 20:57:16 +0000 (04:57 +0800)]
Update Placeholder property comments of TextField/TextEditor and sample

Change-Id: I0079801371b2375422bfa1b19ac78b87cf091c64

7 years agoAdd FeedKeyEvent api in window of nui 94/141394/10
xb.teng [Mon, 31 Jul 2017 08:52:35 +0000 (16:52 +0800)]
Add FeedKeyEvent api in window of nui

Change-Id: Ia4606572080ddd370de12bac60f87596813a0a7e

7 years agoFixed crash issue by disconnecting from native signals when managed object is being... 13/142113/2
Umar [Wed, 2 Aug 2017 13:18:48 +0000 (14:18 +0100)]
Fixed crash issue by disconnecting from native signals when managed object is being disposed.

Change-Id: Iad0855e70830c338b33e475a60a1694d35cdb388

7 years agoFixed up ContactView sample to test new ImageVisual properties 73/140073/4
David Steele [Fri, 21 Jul 2017 19:35:48 +0000 (20:35 +0100)]
Fixed up ContactView sample to test new ImageVisual properties

Also updated to handle Visual setup using VisualMaps rather than PropertyMaps.
(Makes the code much cleaner)

Change-Id: I7d3640a401552b48d666d74f56ff31436ea850fc
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoAdding PropertyMap and PropertyArray types to SetProperty 70/140070/4
David Steele [Fri, 21 Jul 2017 18:54:44 +0000 (19:54 +0100)]
Adding PropertyMap and PropertyArray types to SetProperty

Fixed Visual base property map getter to actually get the property.

Enables addition of visuals via following setup in a CustomView:

private VisualBase _imageVisual;

[ScriptableProperty()]
public PropertyMap ImageVisual
{
    get
    {
        return _imageVisual.Creation;
    }
    set
    {
        _imageVisual = VisualFactory.Get().CreateVisual( value );
        RegisterVisual( GetPropertyIndex("ImageVisual", _imageVisual );
    }
}

Then in code, can use

var imageVisual = new ImageVisual();
imageVisual.URL = value;
imageVisual.AlphaMaskURL = _maskURL;
imageVisual.MaskContentScale = 1.6f;
imageVisual.CropToMask = true;

ImageVisual = imageVisual.OutputVisualMap;

Change-Id: If31703b1684db30d9ed319be62e8b091ee62cdbb
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoUpdated ImageVisual and AnimatedImageVisual maps to handle new properties 69/140069/4
David Steele [Thu, 20 Jul 2017 19:08:06 +0000 (20:08 +0100)]
Updated ImageVisual and AnimatedImageVisual maps to handle new properties

Change-Id: Ibd8e22707ca5ece50a6416ec6ead8c679762a20d

7 years agoMerge "Fixed many issues." into devel/master
Adeel Kazmi [Fri, 28 Jul 2017 10:57:24 +0000 (10:57 +0000)]
Merge "Fixed many issues." into devel/master

7 years agoUpdated .gitignore to exclude Code
Adeel Kazmi [Fri, 28 Jul 2017 10:44:13 +0000 (11:44 +0100)]
Updated .gitignore to exclude Code

Change-Id: I18f7c74e3a14bad85075db724c35a33f583e50aa

7 years agoFixed many issues. 57/140057/5
Umar [Fri, 21 Jul 2017 13:30:58 +0000 (14:30 +0100)]
Fixed many issues.

1- Making DownCast APIs backward compatible.
2- Making use of Registry instead of creating extra managed object.
3- Corrected conversion of Uint16Pair to Size2D.
4- using correct swigCpt in few APIs (eg Window_ResizedSignal)

Change-Id: Ib18446dbda2602757079145ae882c9b1fc075d08

7 years agoMerge "Fixing ImfManager compile issue" into devel/master
dongsug song [Mon, 24 Jul 2017 09:01:07 +0000 (09:01 +0000)]
Merge "Fixing ImfManager compile issue" into devel/master

7 years agoFixed build error in NUIApplication 78/140078/1
minho.sun [Sat, 22 Jul 2017 04:22:54 +0000 (13:22 +0900)]
Fixed build error in NUIApplication

Fixed build error in NUIApplication.
This error is caused by changing name of application lifecycle signals.

Change-Id: I908ce9c8cf434dfb45fec5b4db6dcb396a6b8971
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoTemporary Fix to return the Layer as a View when Parent is a Layer. 76/139376/3
Umar [Tue, 18 Jul 2017 13:28:43 +0000 (14:28 +0100)]
Temporary Fix to return the Layer as a View when Parent is a Layer.

There are three different changes in this patch.
  1: Creating and Returning View if it was a Layer.
  2: Don't register (and unregister) managed object if it is a duplicate copy of existing ref object.
  3: Avoid creating RootLayer managed object multiple times by having global variable in Window class.

Change-Id: I0e0805dd542bbae3f32d7e047bc7792ec37e1d79

7 years agoFixing ImfManager compile issue 86/139486/1
xb.teng [Wed, 19 Jul 2017 06:12:43 +0000 (14:12 +0800)]
Fixing ImfManager compile issue

Change-Id: I7f5faa7ae6dbac7fa90ac30a21740b77e8ca6f55

7 years agoCreate another native handle to make sure Registry.Unregister works fine. 58/138558/4
Umar [Wed, 12 Jul 2017 14:43:57 +0000 (15:43 +0100)]
Create another native handle to make sure Registry.Unregister works fine.

This is much simpler solution with less code maintenance as derived classes do not have to call Registry.Unregister(this);.
Only BaseHandle class will be responsible for Registry.Register and Registry.UnRegister which is much simpler and symmetric solution.
The only drawback is that we have to create an extra native handle.

Change-Id: I2e3ab7b3311befb25141ae0816b7d2d77a2e3485

7 years agoRevert "Ensuring that Registry.Unregister is called from the most derived class befor... 57/138557/2
Umar [Wed, 12 Jul 2017 14:31:16 +0000 (15:31 +0100)]
Revert "Ensuring that Registry.Unregister is called from the most derived class before the native handle is deleted."

This reverts commit 546ce0ad1ee0ef2b2c2a79d7f186ef080bfdfec0.

Change-Id: I76f65ca1f6596503d8e0897f6aa37e31aef46628

7 years agoAdd Unparent to View. 66/139166/3
Umar [Mon, 17 Jul 2017 14:40:36 +0000 (15:40 +0100)]
Add Unparent to View.

Change-Id: I312772bd39102139c324f9247bd5e84c647bdb67

7 years agoMerge "Color constant value setting" into devel/master
Adeel Kazmi [Mon, 17 Jul 2017 14:48:15 +0000 (14:48 +0000)]
Merge "Color constant value setting" into devel/master

7 years agoUpdate ImfManager 73/138673/3
xb.teng [Thu, 13 Jul 2017 07:24:14 +0000 (15:24 +0800)]
Update ImfManager

Change-Id: Ie880cf6be0a6949a965f6cd3306b1b3ab4e35606

7 years agoManual binding for TextEditor,TextField,Application,Window 06/137106/5
xb.teng [Tue, 4 Jul 2017 10:39:26 +0000 (18:39 +0800)]
Manual binding for TextEditor,TextField,Application,Window

Here are changes:
1. Add EnableSelection,Placeholder property for TextEditor;
2. Add EnableSelection,Placeholder for TextField;
3. Add WindowSize,WindowPosition property for window;
4. Add a new constuctor for Application;
5. Rpdate Resized event argument for Window;
6. Fix a dispose issue of ImageView.

Change-Id: I34280cba24fdb28cfbaa5bc160350a579efe0358

7 years agoMerge "Enable NUI register a custom View with namespace." into devel/master
dongsug song [Thu, 13 Jul 2017 05:28:34 +0000 (05:28 +0000)]
Merge "Enable NUI register a custom View with namespace." into devel/master

7 years agoEnsuring that Registry.Unregister is called from the most derived class before the... 42/138542/1
Umar [Wed, 12 Jul 2017 12:23:08 +0000 (13:23 +0100)]
Ensuring that Registry.Unregister is called from the most derived class before the native handle is deleted.

Change-Id: Iae8e8445d5b2d351212b5d1572130e636dc4a354

7 years agoEnable NUI register a custom View with namespace. 18/137918/1
Feng Jin [Mon, 10 Jul 2017 08:51:45 +0000 (16:51 +0800)]
Enable NUI register a custom View with namespace.

Change-Id: I11dece2c41fd89d5543655337db1cc3c32a23188
Signed-off-by: Feng Jin <feng16.jin@samsung.com>
7 years agoMerge "Delete elementary dependency of ui_app_main" into devel/master
minho.sun [Fri, 7 Jul 2017 05:02:58 +0000 (05:02 +0000)]
Merge "Delete elementary dependency of ui_app_main" into devel/master

7 years agoDelete elementary dependency of ui_app_main 18/137018/3
minho.sun [Tue, 4 Jul 2017 06:04:09 +0000 (15:04 +0900)]
Delete elementary dependency of ui_app_main

Delete elementary dependency of ui_app_main

Inherit CoreApplication instead of CoreUIApplication.
And make NUICoreBackend class to connect lifecycle callbacks to dali application.

Change-Id: I8aa911fb1472f6499b6c6b60585b77e85266a952
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years ago(Layer) Add Viewport properties 76/137176/6
Adeel Kazmi [Tue, 4 Jul 2017 14:50:36 +0000 (15:50 +0100)]
(Layer) Add Viewport properties

Change-Id: I53a7ed6ebbbceebe2034c498b6dc29ee05688596

7 years agoColor constant value setting 45/137045/1
dongsug.song [Tue, 4 Jul 2017 08:11:32 +0000 (17:11 +0900)]
Color constant value setting

Change-Id: I5c14d5297a0bd28d11c249d61c3dec4b06f9f1b9
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agosync with tizen branch to finalize API 70/136870/5
dongsug.song [Mon, 3 Jul 2017 08:24:19 +0000 (17:24 +0900)]
sync with tizen branch to finalize API

- according to the discussion of API finalize and naming, match and sync with tizen branch
- some APIs will be deprecated later and these are notified by Obsolete attribute
- csproj file is updated for supporting VS-2017
- change license comments for Samsung's one (remove <auto-generaged> stuff)

Change-Id: I534da906e8086cfa8708f0a96acf699abf69b00d
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoremove DOT_NET_CORE define, clean up debug log 26/136426/3
dongsug.song [Thu, 29 Jun 2017 10:53:24 +0000 (19:53 +0900)]
remove DOT_NET_CORE define, clean up debug log

Change-Id: I165db21a1bc366779fcbc592d4de374289af0890
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoMerge "fix the difference of DefaultLayer and Layer" into devel/master
Adeel Kazmi [Thu, 29 Jun 2017 14:32:52 +0000 (14:32 +0000)]
Merge "fix the difference of DefaultLayer and Layer" into devel/master

7 years agoSize2D get error fix 56/135956/5
dongsug.song [Tue, 27 Jun 2017 12:24:21 +0000 (21:24 +0900)]
Size2D get error fix

- add Size's set/get Property
- fix compile error for NUI Ubuntu build with VS-Code (please use NUISamplesUbuntu)

Conflicts:
NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs

Change-Id: Id9e64b0915b32e2470104403f62719fe75e84aa7
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoMerge "Added BindingFlags modifier to search and register only the properties declare...
Adeel Kazmi [Wed, 28 Jun 2017 15:02:35 +0000 (15:02 +0000)]
Merge "Added BindingFlags modifier to search and register only the properties declared on the Type." into devel/master

7 years agoChange PositionUsesAnchorPoint property to PositionUsesPivotPoint 49/135649/7
Adeel Kazmi [Fri, 23 Jun 2017 12:05:53 +0000 (13:05 +0100)]
Change PositionUsesAnchorPoint property to PositionUsesPivotPoint

Change-Id: Ie977eb336f07eae439df4a3da38afbac36280f45

7 years agofix the difference of DefaultLayer and Layer 59/135959/2
dongsug.song [Tue, 27 Jun 2017 13:03:01 +0000 (22:03 +0900)]
fix the difference of DefaultLayer and Layer

- DefaultLayer has it's own size which is same as stage's
- Added Layer has zero size and top-left parent origin so this causes different
  behavior when user adds Views under the newly created Layer
- make same layouting behavior for both of DefaultLayer and Layer

Change-Id: If2bb25dd42116591a390546ddcf191939c7bd3aa
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoAdded BindingFlags modifier to search and register only the properties declared on... 77/135977/1
Umar [Tue, 27 Jun 2017 19:01:08 +0000 (20:01 +0100)]
Added BindingFlags modifier to search and register only the properties declared on the Type.

Change-Id: I2540920d4d2171c3f30eaf532deb1e3d014d1c99

7 years agoSupport for as keyword instead of DownCast 61/135661/3
Umar [Fri, 23 Jun 2017 16:14:50 +0000 (17:14 +0100)]
Support for as keyword instead of DownCast

Change-Id: I81ce0ec9639b6759f7cb02213e78b547260a6deb

7 years agoSplit ViewRegistry into CustomViewRegistry and Registry 83/134283/9
Umar [Thu, 15 Jun 2017 18:04:44 +0000 (19:04 +0100)]
Split ViewRegistry into CustomViewRegistry and Registry

    CustomViewRegistry - For custom views to register themselves as a type
    Registry - For all base-handle objects including renderers and custom views. This is used to store a mapping between C++ base handle objects and it's C# instances.

Change-Id: I2b2e93c653542ebdcd810c8f5977d435fcf5cec2

7 years agomanual binding for FocusManager and Window 90/134890/2
xb.teng [Tue, 20 Jun 2017 08:04:08 +0000 (16:04 +0800)]
manual binding for FocusManager and Window

There are some changes:
1. Add MoveFocusBackward api for FocusManager;
2. Add Resized event for Window.

Change-Id: I9c16790f9b0073e6706ea56436e79e9c5176717f
Signed-off-by: xb.teng <xb.teng@samsung.com>
7 years agomanual binding for TextEditor and InputMethod 08/133808/2
xb.teng [Tue, 13 Jun 2017 10:40:10 +0000 (18:40 +0800)]
manual binding for TextEditor and InputMethod

There are changes:
1. Add event ScrollStateChanged for TextEditor
2. Add InputMethod high level class for TextField
3. Fix a issue of ImageView
4. Update sample to test new feature

Change-Id: I81c84181ad54a4a62dea7ddd97167ffe3b1c4ab2

7 years agoMerge "Added support for animating the background color of a view." into devel/master
Adeel Kazmi [Mon, 19 Jun 2017 12:09:37 +0000 (12:09 +0000)]
Merge "Added support for animating the background color of a view." into devel/master

7 years agoAdded support for animating the background color of a view. 82/134282/5
David Steele [Thu, 15 Jun 2017 17:48:04 +0000 (18:48 +0100)]
Added support for animating the background color of a view.

The View background is animated using a new API AnimateBackgroundColor
via the CreateTransition method, which has been left protected for the moment
(It's only supposed to be used by custom view implementations).

Change-Id: I5853a9fecbac06f2aff3846f27769f944c7a9d77
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoMerge "Adding ResourceLoaded signal and API" into devel/master
Adeel Kazmi [Mon, 19 Jun 2017 10:49:17 +0000 (10:49 +0000)]
Merge "Adding ResourceLoaded signal and API" into devel/master

7 years agoRename all C# Events to Past tense 42/133842/8
Umar [Tue, 13 Jun 2017 13:30:52 +0000 (14:30 +0100)]
Rename all C# Events to Past tense

Change-Id: I5b33b4346c68d03a85c5a74da211963ff2125aa8

7 years agoAdding ResourceLoaded signal and API 74/134274/3
Agnelo Vaz [Thu, 15 Jun 2017 15:36:32 +0000 (16:36 +0100)]
Adding ResourceLoaded signal and API

Change-Id: I92d671097042bff765c29b308a091805f16a31ab

7 years ago(View) Make Renderer related APIs public & add RendererCount property 87/133787/1
Adeel Kazmi [Tue, 13 Jun 2017 10:29:59 +0000 (11:29 +0100)]
(View) Make Renderer related APIs public & add RendererCount property

Change-Id: I6f2eeb43c7802c9628f80a59f923596f39d6940f

7 years agoMerge "Rename Events to Present tense" into devel/master
Adeel Kazmi [Tue, 13 Jun 2017 08:30:52 +0000 (08:30 +0000)]
Merge "Rename Events to Present tense" into devel/master

7 years agomanual binding for TextEditor and ApplicationExtension 16/133616/1
xb.teng [Tue, 13 Jun 2017 02:43:37 +0000 (10:43 +0800)]
manual binding for TextEditor and ApplicationExtension

There are changes:
1. Add properties LineCount/PlaceholderText/PlaceholderTextColor for TextEditor
2. Add property ID for View
3. Add api Start for ApplicationExtensions
4.  Update text sample to test new features.

Change-Id: Ie2138c383c1965b421255422a435fd7f16b231c3

7 years agoMerge "Hide Size, and use Size2D instead." into devel/master
dongsug song [Tue, 13 Jun 2017 02:16:28 +0000 (02:16 +0000)]
Merge "Hide Size, and use Size2D instead." into devel/master

7 years agoRename Events to Present tense 17/133517/1
Umar [Mon, 12 Jun 2017 13:47:29 +0000 (14:47 +0100)]
Rename Events to Present tense

Change-Id: Ic796a73830b8414bdd03c8afe52d3ea89800c267

7 years agoVisual DepthIndex changed from Float to Integer 85/133485/2
Adeel Kazmi [Mon, 12 Jun 2017 11:02:08 +0000 (12:02 +0100)]
Visual DepthIndex changed from Float to Integer

Change-Id: I1fbd95cf6b5d8d29cc5190827eeb012449e7b3be

7 years agoMerge "Animation ProgressReached API added" into devel/master
Adeel Kazmi [Fri, 9 Jun 2017 19:27:09 +0000 (19:27 +0000)]
Merge "Animation ProgressReached API added" into devel/master

7 years agoMake ImfManager a public class 22/133322/2
Umar [Fri, 9 Jun 2017 17:39:35 +0000 (18:39 +0100)]
Make ImfManager a public class

Change-Id: I64be44aea6750e411d8c3011053da06f3dda6cc0

7 years agoAdded ChildCount property into Layer and View 17/133317/3
Umar [Fri, 9 Jun 2017 17:16:48 +0000 (18:16 +0100)]
Added ChildCount property into Layer and View

Change-Id: I053e86dc8fed2d1111b5b1c68d2af42500d4b956

7 years agoAnimation ProgressReached API added 12/133312/2
Agnelo Vaz [Fri, 9 Jun 2017 16:05:24 +0000 (17:05 +0100)]
Animation ProgressReached API added

Change-Id: Id96f8e69503be6ab2110353a6dddf915106f7486

7 years agoAdded View Properties (Visibility and Opacity) to Layer 13/133313/1
Umar [Fri, 9 Jun 2017 16:23:39 +0000 (17:23 +0100)]
Added View Properties (Visibility and Opacity) to Layer

Change-Id: I5ee01fd9e3a9abf4cd9c5b43c710004c7e26d453

7 years agoAdded AlphaMaskURL property to ImageVisualMap 05/133305/1
David Steele [Fri, 9 Jun 2017 12:33:17 +0000 (13:33 +0100)]
Added AlphaMaskURL property to ImageVisualMap

Change-Id: Ifa296a0298d7f650c6f9b8fefb5a34cf804f9f43

7 years agoMaking Renderer and related classes public 96/132996/3
Umar [Thu, 8 Jun 2017 17:31:07 +0000 (18:31 +0100)]
Making Renderer and related classes public

Change-Id: I166212ca138810c412efdae00ae7ca328e7064b3

7 years agoFixing Demos as some Classes and APIs are internal only 91/132991/2
Umar [Thu, 8 Jun 2017 15:09:48 +0000 (16:09 +0100)]
Fixing Demos as some Classes and APIs are internal only

Made ViewRegistry class public for now as it provides an API which allows Custom controls to get register themselves with DALi NUI. In upcoming patches, this class will be split into two classes (internal - Animatable/Object Registry and public - ViewRegistry).

Change-Id: I965594a20156cdcefbad962f55e4d73d74feca80

7 years agoSupport for adding and removing Views from the Root Layer of Window 88/132488/1
Umar [Mon, 5 Jun 2017 18:31:44 +0000 (19:31 +0100)]
Support for adding and removing Views from the Root Layer of Window

Change-Id: I1be658ddb73b5955fc1cbd392c100e38f23dfe27

7 years agoEnsure PropertyValue returned from native side is not null. 86/132486/2
Umar [Mon, 5 Jun 2017 16:23:48 +0000 (17:23 +0100)]
Ensure PropertyValue returned from native side is not null.

The BACKGROUND property returns a PropertyMap and we are trying to find Visual.Property.Type inside that PropertyMap which is not available as it has not been set in the application side, and hence causing a crash. Anyway, this has now been fixed by adding null checks.

Change-Id: I2e2fe44a94e4fde15c259a9e67655dfabf165e95