platform/core/csapi/tizenfx.git
4 years ago[NUI] Measure opposite dimension correctly in GridLayout (#1548)
neostom432 [Fri, 17 Apr 2020 05:10:08 +0000 (14:10 +0900)]
[NUI] Measure opposite dimension correctly in GridLayout (#1548)

Prevously, opposite dimension of choosen grid orientation was not measured correctly.
It just followed parent's size even if measure mode is not "Exactly".

Now, following measure mode.

4 years ago[NUI] Add dotnet pre-initiailze (#1521)
huiyueun [Fri, 17 Apr 2020 00:51:15 +0000 (09:51 +0900)]
[NUI] Add dotnet pre-initiailze (#1521)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Modify Friend Assembly / Add Tizen.NUI.Components to assembly (#1529)
huiyueun [Fri, 17 Apr 2020 00:47:43 +0000 (09:47 +0900)]
[NUI] Modify Friend Assembly / Add Tizen.NUI.Components to assembly (#1529)

* [NUI] Modify Friend Assembly / Add Tizen.NUI.Components to assembly

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Change name

4 years ago[NUI] Add Color in ViewStyle (#1545)
dongsug-song [Thu, 16 Apr 2020 11:57:31 +0000 (20:57 +0900)]
[NUI] Add Color in ViewStyle (#1545)

4 years ago[NUI] Add hidden class for internal purpose (#1546)
neostom432 [Thu, 16 Apr 2020 11:53:55 +0000 (20:53 +0900)]
[NUI] Add hidden class for internal purpose (#1546)

Some class need to be changed for internal purpose.
Add Never tag to hide API.

4 years ago[Applications.Common] Remove unnecessary lock (#1544)
hjhun [Thu, 16 Apr 2020 07:19:50 +0000 (16:19 +0900)]
[Applications.Common] Remove unnecessary lock (#1544)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] Remove Child in Layout View using RemoveChild func (#1542)
neostom432 [Tue, 14 Apr 2020 06:42:06 +0000 (15:42 +0900)]
[NUI] Remove Child in Layout View using RemoveChild func (#1542)

Previously, Remove child manually so missing few steps.
Now, use RemoveChild func for removing.

4 years ago[Packagemanager] Do not catch the exception thrown by event handler of app (#1540)
jeremy-jang [Tue, 14 Apr 2020 05:34:45 +0000 (14:34 +0900)]
[Packagemanager] Do not catch the exception thrown by event handler of app (#1540)

* [Packagemanager] Fix exception handling when invoking app's event handlers

Invoke the registered event handlers one by one in try-catch block to
invoking all event handlers whether exception occurred at one of event
handlers.

Change-Id: Id2f6d9815ddbb43867a11cab9423384c6614b848
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Packagemanager] Fix invoking event handlers as thread-safely

Change-Id: I21e2ff25726d6a4a24453e351dd64ecd47bdece4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Packagemanager] Do not catch the exception thrown by event handler of app

The applications should be responsible its exception, they should
determine handle or not the exception.

Change-Id: Ifffb4a14aa920eae905f6ff76f3a887d06e579b8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years ago[NUI] Fix NUI.Components TCT fail (#1541)
dongsug-song [Tue, 14 Apr 2020 04:46:12 +0000 (13:46 +0900)]
[NUI] Fix NUI.Components TCT fail (#1541)

4 years ago[NUI] Fix VideoView sample (#1518)
dongsug-song [Tue, 14 Apr 2020 01:40:41 +0000 (10:40 +0900)]
[NUI] Fix VideoView sample (#1518)

4 years ago[NUI] Interrupt pan when popup is popped (#1539)
neostom432 [Mon, 13 Apr 2020 10:00:13 +0000 (19:00 +0900)]
[NUI] Interrupt pan when popup is popped (#1539)

Currently, panning is working even if there is popup over component.
As workaround, add PanGestureDetector to Popup to prevent panning.

Additionally, add View to ScrollableBase which is to interrupt touching during scrolling.

4 years ago[ElmSharp] Add internal Window auxiliary hint APIs (#1535)
arosis78 [Mon, 13 Apr 2020 01:03:39 +0000 (10:03 +0900)]
[ElmSharp] Add internal Window auxiliary hint APIs (#1535)

4 years agoFix unit test for Tizen.System.SystemSettings (#1536)
JinWang An [Fri, 10 Apr 2020 08:22:15 +0000 (17:22 +0900)]
Fix unit test for Tizen.System.SystemSettings (#1536)

Signed-off-by: jinwang.an <jinwang.an@samsung.com>
4 years ago[NUI] Update wearable button style by UX guide (#1533)
Jiyun Yang [Fri, 10 Apr 2020 07:07:22 +0000 (16:07 +0900)]
[NUI] Update wearable button style by UX guide (#1533)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Add NativeImageSource (#1532)
JoogabYun [Fri, 10 Apr 2020 05:03:44 +0000 (14:03 +0900)]
[NUI] Add NativeImageSource (#1532)

4 years ago[Tizen.Network.Bluetooth][Non-ACR] Fix app crash issue during free (#1530)
Wootak [Fri, 10 Apr 2020 04:50:05 +0000 (13:50 +0900)]
[Tizen.Network.Bluetooth][Non-ACR] Fix app crash issue during free (#1530)

Fix app crash issue during free
Remove unused function

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] Fix GridLayoutSample (#1528)
Seoyeon2Kim [Thu, 9 Apr 2020 06:49:46 +0000 (15:49 +0900)]
[NUI] Fix GridLayoutSample (#1528)

- 'LinearOrientation' of GridLayout changed to 'GridOrientation'.
- Changed API name in the sample.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Merge Button action state and support experimental theme by profile. (#1525)
Jiyun Yang [Thu, 9 Apr 2020 04:51:56 +0000 (13:51 +0900)]
[NUI] Merge Button action state and support experimental theme by profile. (#1525)

* Fix a bug in LottieFrameInfo.Show()
* Introduce ThemeStyle
* Merge Button action state to View.ControlStates

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Change Window.Instance to NUIApplication.GetDefaultWindow() (#1523)
huiyueun [Wed, 8 Apr 2020 06:38:41 +0000 (15:38 +0900)]
[NUI] Change Window.Instance to NUIApplication.GetDefaultWindow() (#1523)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Introduce Button extentions and styles (#1515)
Jiyun Yang [Tue, 7 Apr 2020 11:49:57 +0000 (20:49 +0900)]
[NUI] Introduce Button extentions and styles (#1515)

* New feature : ILottieButtonStyle
    * LottieButtonStyle
    * LottieSwitchStyle
* New feature : ButtonExtension
    * ButtonExtension
    * SwitchExtension
    * LottieButtonExtension
    * LottieSwitchExstension
* New feature : Provide predefined component styles for Wearable
    * WearbleButtonStyle
    * WearableSwitchStyle
    * WearableRadioButtonStyle
    * WearableCheckBoxStyle
    * OverlayAnimationButtonStyle
* Improvement : Button does not use a TapGestureDetector to detect clicking.
* Fix bug : Measure text again when Button's icon is relayouted.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Information] Added preload method for optimization (#1492)
JongHeonChoi [Tue, 7 Apr 2020 08:52:24 +0000 (17:52 +0900)]
[Information] Added preload method for optimization (#1492)

4 years agoFix Tizen.System.SystemSettings unittest (#1519)
JinWang An [Tue, 7 Apr 2020 06:12:49 +0000 (15:12 +0900)]
Fix Tizen.System.SystemSettings unittest (#1519)

Signed-off-by: jinwang.an <jinwang.an@samsung.com>
4 years agoAdd API for adding WidgetInfo in runtime (#1517)
tscholb [Mon, 6 Apr 2020 07:29:18 +0000 (16:29 +0900)]
Add API for adding WidgetInfo in runtime (#1517)

4 years ago[NUI] Support text shadow (#1509)
huayongxu [Fri, 3 Apr 2020 03:03:37 +0000 (11:03 +0800)]
[NUI] Support text shadow (#1509)

* support text shadow

* set shadow property of textlabel

* make properties of textshadow readonly.

* make textshadow readonly

* make textshadow copy constructor work correctly.

* add samples for text shadow of button

4 years ago[NUI] Fix grid layout measurement (#1513)
neostom432 [Thu, 2 Apr 2020 05:38:21 +0000 (14:38 +0900)]
[NUI] Fix grid layout measurement (#1513)

When using wrap_content to match it's height or width to child count,
the result of measure was not applied again so it wasn't changed.

Update measure result after children are added.

4 years ago[Bluetooth][TCSACR-311] Add new StartLeScan API (#1506)
Wootak [Thu, 2 Apr 2020 01:13:35 +0000 (10:13 +0900)]
[Bluetooth][TCSACR-311] Add new StartLeScan API (#1506)

4 years ago[NUI] Create Color from Hex Color Code (#1511)
neostom432 [Wed, 1 Apr 2020 08:06:12 +0000 (17:06 +0900)]
[NUI] Create Color from Hex Color Code (#1511)

* [NUI] Create Color from Hex Color Code

Create color object from Hex Color Code (string).

1. Code with "#", it will be remove.
2. Without alpha channel, alpah channel will be set 1.0f.
3. Working both. Lowercase and uppercase,

"#FF0000FF" - Good
"#ff0000ff" - Good
"FF0000FF"  - Good
"FF0000"    - Good
"FF"        - Bad  ( too short )

* [NUI] Add ArgumentException to Color constructor

4 years ago[MachineLearning.Inference] change repo url (#1508)
jaeyun-jung [Wed, 1 Apr 2020 03:34:03 +0000 (12:34 +0900)]
[MachineLearning.Inference] change repo url (#1508)

Change repo url, link to nnstreamer project.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
4 years agoUpdate CurrentUICulture when Locale was changed (#1503)
Seungkeun Lee [Tue, 31 Mar 2020 05:59:47 +0000 (14:59 +0900)]
Update CurrentUICulture when Locale was changed (#1503)

4 years ago[MachineLearning.Inference] Pipeline class to execute neural network stream (#1404)
jaeyun-jung [Mon, 30 Mar 2020 08:35:01 +0000 (17:35 +0900)]
[MachineLearning.Inference] Pipeline class to execute neural network stream (#1404)

* [MachineLearning.Inference] sync to C-API change

1. Add enum for NNFWType and HWType with C-API update.
2. Add enum for newly added in C-API (out-of-mem and permission-denied)
3. Code clean, remove duplicated code and typo correction.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
* [MachineLearning.Inference] Pipeline class to execute neural network stream

This patch newly provides interfaces to create and execute stream pipeline with neural network.
Pipeline and its related classes support the following functionalities:
- Create a stream pipeline with NNStreamer plugins and GStreamer plugins.
- Interfaces to start/stop/destroy the pipeline.
- Interfaces to get the state of the pipeline and register callback method.
- Interfaces to push data to the pipeline from the application.
- Interfaces to pull data from the pipeline to the application.
- Interfaces to control the stream of the pipeline using switches and valves.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
4 years ago[NUI] Remove ClearBackgound operate when setting BackgroundImage (#1499)
Xianbing Teng [Mon, 30 Mar 2020 06:17:55 +0000 (14:17 +0800)]
[NUI] Remove ClearBackgound operate when setting BackgroundImage (#1499)

4 years ago[NUI] Add SetPositionByLayout Property (#1497)
neostom432 [Mon, 30 Mar 2020 05:26:05 +0000 (14:26 +0900)]
[NUI] Add SetPositionByLayout Property (#1497)

* [NUI] Add SetPositionByLayout Property

If true, set position by layouting result.
If false, will not set position in SetFrame because it means it's parent like
RecyclerList will set position.

* [NUI] remove tizen tag from SetPositionByLayout

4 years ago[NUI] Fix scrolling (#1495)
neostom432 [Mon, 30 Mar 2020 04:25:14 +0000 (13:25 +0900)]
[NUI] Fix scrolling (#1495)

Previously, Scrolling was working wierdly when scrolling to first item.
Scrolling to first item was so so slow but scrolling to last item was fine.

This is because when calculation for scroll distance is wrong.

So, fix the equation.

4 years ago[Build] Set smack labels of symbol files in .spec.in (#1486)
JongHeonChoi [Thu, 26 Mar 2020 07:55:26 +0000 (16:55 +0900)]
[Build] Set smack labels of symbol files in .spec.in (#1486)

4 years ago[Build] [MachineLearning.Inference] update PlatformFileList (#1484)
jaeyun-jung [Thu, 26 Mar 2020 07:54:17 +0000 (16:54 +0900)]
[Build] [MachineLearning.Inference] update PlatformFileList (#1484)

Add common for Tizen.MachineLearning.Inference dll
ML APIs may be included in RPI4.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
4 years ago[MachineLearning.Inference] new API to set/get the property (#1414)
jaeyun-jung [Wed, 25 Mar 2020 06:26:09 +0000 (15:26 +0900)]
[MachineLearning.Inference] new API to set/get the property (#1414)

In SingleShot class, add new API to set/get the property.
The property is related with the tensor information, a model may not support the change after open the model.

Added:
- void SetValue(string name, string value);
- string GetValue(string name);

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
4 years ago[StreamRecorder] Handle NotSupportedException as new feature added (#1483)
hancepark [Wed, 25 Mar 2020 06:08:50 +0000 (15:08 +0900)]
[StreamRecorder] Handle NotSupportedException as new feature added (#1483)

* Adds new feature exception

As new feature added, related API is modified.

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
* Adds description

-Tizen.Multimedia.StreamRecorder.StreamRecorder()

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
* Change feature information

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
* Change feature applied API information

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
* Remove exception which doesn't return NOT_SUPPORTED

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
* Remove NOT_SUPPORTED exception on start api

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
* !fixup 'Remove NOT_SUPPORTED exception on start api'

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Co-authored-by: Hyunsoo Park <hance.park@samsung.com>
4 years ago[NUI] Add GridLaoyt Sample (#1485)
huiyueun [Wed, 25 Mar 2020 03:20:25 +0000 (12:20 +0900)]
[NUI] Add GridLaoyt Sample (#1485)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[Applications.Alarm] Add a new Enum for standard period (#1458)
kilig [Tue, 24 Mar 2020 05:19:49 +0000 (14:19 +0900)]
[Applications.Alarm] Add a new Enum for standard period (#1458)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years ago[NUI] Make AccessibilityManager APIs as public ones (#1482)
Seoyeon2Kim [Mon, 23 Mar 2020 12:36:08 +0000 (21:36 +0900)]
[NUI] Make AccessibilityManager APIs as public ones (#1482)

- Move AccessibilityManager class from internal to public
- Make Tizen.NUI.Accessibility namespace

4 years ago[ElmSharp] Add ElmSharp.Wearable preloading (#1465)
Jay Cho [Mon, 23 Mar 2020 08:01:33 +0000 (17:01 +0900)]
[ElmSharp] Add ElmSharp.Wearable preloading (#1465)

* Add ElmSharp.Wearable preloading

* Update method name that calls Wearable preload

* Add more features on PreloadedWindow for CricleSurface

4 years ago[NUI] Add Horizontal Grid (#1461)
huiyueun [Thu, 19 Mar 2020 05:24:55 +0000 (14:24 +0900)]
[NUI] Add Horizontal Grid (#1461)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Add API for changing layout sibling order (#1477)
neostom432 [Thu, 19 Mar 2020 05:19:33 +0000 (14:19 +0900)]
[NUI] Add API for changing layout sibling order (#1477)

When changing sibling order of view, layout sibling order should be changed
to apply new position of order changed view.

Add API for changing layout sibling order and call it when changing view sibling order.

4 years ago[NUI] Public Style apis (#1434)
Xianbing Teng [Thu, 19 Mar 2020 03:59:24 +0000 (11:59 +0800)]
[NUI] Public Style apis (#1434)

* [Tizen.NUI.Components] Public Style apis

* [NUI.Components] Add description of public apis

* [NUI.Components] Change public api version to 8

* Open the public things of Style in Components

* Open public property of Style in Loading and Popup

* [NUI.Components] Public StyleBase and StyleManager

* [NUI.Components] Replace attributes with style

* [NUI.Components] Update description of apis

* [NUI.Components] Fix comments error

Co-authored-by: Fang Xiaohui <xiaohui fang>
4 years ago[NUI] Add SiblingOrder Sample (#1474)
dongsug-song [Wed, 18 Mar 2020 10:08:26 +0000 (19:08 +0900)]
[NUI] Add SiblingOrder Sample (#1474)

4 years ago[NUI] check layout owner is null when removing childLayout (#1472)
neostom432 [Wed, 18 Mar 2020 04:03:29 +0000 (13:03 +0900)]
[NUI] check layout owner is null when removing childLayout (#1472)

If layout owner is null, cannot remove owner from it's parent.
Check owner is null.

4 years agoRevert "[NUI] Make AccessibilityManager APIs as public ones (#1460)" (#1471)
Seoyeon2Kim [Wed, 18 Mar 2020 01:29:49 +0000 (10:29 +0900)]
Revert "[NUI] Make AccessibilityManager APIs as public ones (#1460)" (#1471)

This reverts commit 5056acf4fae2e2bbba0e1251c9fcb626a01ed039.

4 years ago[NUI] Add Window VisibilityChanged Event (#1469)
dongsug-song [Tue, 17 Mar 2020 07:53:11 +0000 (16:53 +0900)]
[NUI] Add Window VisibilityChanged Event (#1469)

4 years ago[NUI] Add object dump function (#1239)
Xianbing Teng [Tue, 17 Mar 2020 07:14:26 +0000 (15:14 +0800)]
[NUI] Add object dump function (#1239)

4 years ago[NUI] Remove Window.Instance from the sample code (#1468)
Jiyun Yang [Mon, 16 Mar 2020 10:19:55 +0000 (19:19 +0900)]
[NUI] Remove Window.Instance from the sample code (#1468)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Make AccessibilityManager APIs as public ones (#1460)
Seoyeon2Kim [Mon, 16 Mar 2020 10:19:05 +0000 (19:19 +0900)]
[NUI] Make AccessibilityManager APIs as public ones (#1460)

* [NUI] Make AccessibilityManager APIs as public ones

- Move AccessibilityManager class from internal to public
- Added doxygen and make AccessibilityManager work in NUI

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Follow the latest coding rule and add a sample

- Removed the old coding style of NUI
- Added AccessibilityManager sample

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Apply CornerRadius to View (#1463)
Jiyun Yang [Mon, 16 Mar 2020 08:38:06 +0000 (17:38 +0900)]
[NUI] Apply CornerRadius to View (#1463)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Packagemanager] Fix creating internal callback delgate (#1462)
jeremy-jang [Fri, 13 Mar 2020 09:08:32 +0000 (18:08 +0900)]
[Packagemanager] Fix creating internal callback delgate (#1462)

Create internal callback delegate once for prevent invoking callback
after garbage-collected in unmanaged code.

Change-Id: I18884c09891cca4495576336496206d28067836a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years ago[Build] Add RIDs of Tizen.6.0.0 and Set RIDs to vconf automatically (#1420)
JongHeonChoi [Tue, 10 Mar 2020 23:17:08 +0000 (08:17 +0900)]
[Build] Add RIDs of Tizen.6.0.0 and Set RIDs to vconf automatically (#1420)

* [Build] Add RIDs of Tizen.6.0.0 and Set RIDs to vconf automatically

* Added to update RIDs with makerid.py

4 years ago[NUI] Check the previous width and height specifications (#1456)
Seoyeon2Kim [Tue, 10 Mar 2020 09:52:19 +0000 (18:52 +0900)]
[NUI] Check the previous width and height specifications (#1456)

- If new WidthSpecification and HeightSpecification values are same
 as the previous ones, then no need to request layout again.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Change PageToSnap Behavior (#1453)
neostom432 [Mon, 9 Mar 2020 03:01:56 +0000 (12:01 +0900)]
[NUI] Change PageToSnap Behavior (#1453)

Previously, page moves the width of ScrollableBase in SnapToPage mode.
Now, Center of Page will be aligned with Center of ScrollableBase.

And User can set min/max scroll distance by setting ScrollAvailableArea.

4 years ago[NUI] Fix to get bezel wheel event on wearable device by WheelEvent (#1444)
dongsug-song [Fri, 6 Mar 2020 07:00:37 +0000 (16:00 +0900)]
[NUI] Fix to get bezel wheel event on wearable device by WheelEvent (#1444)

4 years ago[Build] Set smack labels of symbol files (#1449)
WonYoung Choi [Fri, 6 Mar 2020 00:13:26 +0000 (09:13 +0900)]
[Build] Set smack labels of symbol files (#1449)

4 years ago[AudioManager] Apply EditorBrowsableState.Never for deprecated API (#1442)
Sangchul Lee [Wed, 4 Mar 2020 03:14:07 +0000 (12:14 +0900)]
[AudioManager] Apply EditorBrowsableState.Never for deprecated API (#1442)

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years ago[Applications.Alarms] Update doxygen (#1359)
kilig [Tue, 3 Mar 2020 22:37:19 +0000 (07:37 +0900)]
[Applications.Alarms] Update doxygen (#1359)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRevert "[AudioManager] Remove deprecated symbols (#1395)" (#1438)
Sangchul Lee [Tue, 3 Mar 2020 02:37:35 +0000 (11:37 +0900)]
Revert "[AudioManager] Remove deprecated symbols (#1395)" (#1438)

This reverts commit 10637a6853b4d0334acad1a61fc634677f60ce6c.

4 years ago[NUI] Deprecate InputMethodContext public constructor (#1433)
Jiyun Yang [Mon, 2 Mar 2020 05:03:02 +0000 (14:03 +0900)]
[NUI] Deprecate InputMethodContext public constructor (#1433)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Use padding & margin to meausre size in Layout (#1437)
neostom432 [Fri, 28 Feb 2020 12:00:09 +0000 (21:00 +0900)]
[NUI] Use padding & margin to meausre size in Layout (#1437)

* [NUI] Use padding & margin to meausre size in Layout

Previously, padding of parent and margin of child are not concerned when measure child size.

For now, When child use MatchParent,
the size of child will be ParentSize - ParentPadding - childMargin.

And when child use WrapContent,
the size of child will be GrandchildSize + childPadding.

Also Weight will be use only ParentSize - ParentPadding - childMargin size for measuring.

* [NUI] Measure Padding and Margin before call API

To make sure there is no API change, measure Padding and Margin before call API.

4 years ago[NUI] Add to set Available Orientations (#1256)
Wonsik Jung [Wed, 26 Feb 2020 04:08:06 +0000 (13:08 +0900)]
[NUI] Add to set Available Orientations (#1256)

Add to set Available Orientations.
This API is for adding serveral orientations one time.

4 years ago[NUI] Support Nullable type in Xaml (#1432)
AdunFang [Wed, 26 Feb 2020 04:00:07 +0000 (12:00 +0800)]
[NUI] Support Nullable type in Xaml (#1432)

* [NUI] Fix the crash issue of create Popup

* [NUI] Support nullable type in Xaml

4 years ago[NUI] Add ScrollEvent to ScrollableBase (#1430)
neostom432 [Mon, 24 Feb 2020 06:28:07 +0000 (15:28 +0900)]
[NUI] Add ScrollEvent to ScrollableBase (#1430)

To listen scroll changing, add ScrollEvent to ScrollableBase and
 add Position param to ScrollEventArgs.

Now user can get current position of scrolling child via ScrollEventArgs.

4 years agoFix margin bug in FlexLayout (#1418)
neostom432 [Mon, 24 Feb 2020 06:25:17 +0000 (15:25 +0900)]
Fix margin bug in FlexLayout (#1418)

Previously, margin of chilren in FlexLayout was ignored because it was not set to FlexNode of children.
Now, when adding child to View which using FlexLayout, we pass margin of child and set it to FlexNode of child.

4 years ago[NUI] Remove draft property in ScrollableBase (#1428)
neostom432 [Thu, 20 Feb 2020 05:44:47 +0000 (14:44 +0900)]
[NUI] Remove draft property in ScrollableBase (#1428)

NumberOfPage was draft property to know how many pages user wants.
For now, NumberOfPage is replaced to the count of container children.

PageWidth was draft property to know how big one page is.
For now, PageWidth will be automatically set to width of ScrollableBase.

4 years ago[ElmSharp] Fix GestureLayer native callback return type (#1422)
Seungkeun Lee [Thu, 20 Feb 2020 01:29:45 +0000 (10:29 +0900)]
[ElmSharp] Fix GestureLayer native callback return type (#1422)

4 years ago[NUI] Add property LayoutWithTransition to LayoutItem (#1426)
neostom432 [Thu, 20 Feb 2020 01:13:22 +0000 (10:13 +0900)]
[NUI] Add property LayoutWithTransition to LayoutItem (#1426)

Not every developer wants default transition effect in Layout.

For them, make property which can enable or disable transition effect.
Currently, default is false but can be changed.

This property only effects to chilren of Layout Owner.

4 years ago[MediaCodec] Register EosReached event (#1421)
hsgwon [Wed, 19 Feb 2020 07:04:48 +0000 (16:04 +0900)]
[MediaCodec] Register EosReached event (#1421)

4 years ago[Applications.Common] Add a new element of ApplicationComponentType (#1417)
hjhun [Tue, 18 Feb 2020 08:20:38 +0000 (17:20 +0900)]
[Applications.Common] Add a new element of ApplicationComponentType (#1417)

Adds:
 - ComponentBasedApplication

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[AudioManager] Remove deprecated symbols (#1395)
Sangchul Lee [Tue, 18 Feb 2020 02:05:47 +0000 (11:05 +0900)]
[AudioManager] Remove deprecated symbols (#1395)

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years ago[Bundle] Separate exceptions for invalid handle (#1413)
kilig [Fri, 14 Feb 2020 04:04:21 +0000 (13:04 +0900)]
[Bundle] Separate exceptions for invalid handle (#1413)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years ago[MessagePort] Fix Listen Method (#1409)
hjhun [Fri, 14 Feb 2020 02:32:15 +0000 (11:32 +0900)]
[MessagePort] Fix Listen Method (#1409)

To avoid throwing an exception in the callback function, this patch adds
an exception handling about Creating Bundle().

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] Fix TCT crash issue (#1403)
dongsug-song [Thu, 13 Feb 2020 13:55:00 +0000 (22:55 +0900)]
[NUI] Fix TCT crash issue (#1403)

4 years ago[NUI] Apply default style to Tab and Button component (#1401)
Jiyun Yang [Thu, 13 Feb 2020 04:19:03 +0000 (13:19 +0900)]
[NUI] Apply default style to Tab and Button component (#1401)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Add default components styles and etc (#1396)
Jiyun Yang [Thu, 13 Feb 2020 01:17:35 +0000 (10:17 +0900)]
[NUI] Add default components styles and etc (#1396)

* Add default styles for : Progress, Slider, Toast, Popup, DropDown
* Fix : PopupStyle.Buttons.Size.Height works now
* Add : Popup Dismiss() method
* Fix : Popup should be posted on the top layer
* Fix : DropDown button did not form well before first click
* Fix : DropDown selectedItemIndex did not update when select an item by touching it
* Fix : DropDownItemStyle did not applied to DropDownItemView so it was not able to detect control state change
* Fix : Progress need to show buffering bar and progress bar together in Determinate stage
* Fix : View.BackgroundImage property would reset its content when it gets null or empty string

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[MachineLearning.Inference] Update SingleShot and its related classes (#1154)
Sangjung Woo [Wed, 12 Feb 2020 07:49:22 +0000 (16:49 +0900)]
[MachineLearning.Inference] Update SingleShot and its related classes (#1154)

SingleShot class
- Support various Neural Network framework such as TensorFlow,
  TensorFlowLite, Custom Filter or NNFW (default: Any)
- Support various HW resources such as CPU, GPU or NPU (default: Any)
- Load neural network model without Input / Output TensorsInfo
  (Dynamic mode or model file has input/output information)
- Newly adds `Input` property for Input tensors information
- Newly adds `Output` property for Output tensors information
- Newly adds SetTimeout() to set the maximum amount of time to wait for an
  output
- Remove `IOException` since it does not occur

TensorsData class
- Newly adds TensorsInfo property to fetch tensors information
- Newly adds static Allocate() for TensorsData Instance

TensorsInfo class
- Newly adds GetTensorSize() to get the byte size of tensor data
- Remove `ArgumentException` in SetTensorType(), GetTensorType() and
  GetDimension() since it does not occur

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
4 years ago[NUI] Add SafeNativePlayerHandler to pass native player handle (#1372)
dongsug-song [Wed, 12 Feb 2020 02:50:35 +0000 (11:50 +0900)]
[NUI] Add SafeNativePlayerHandler to pass native player handle (#1372)

4 years agoAdd SendData(byte[] data) method and deprecated previous method (#1390)
Wootak [Wed, 12 Feb 2020 00:32:08 +0000 (09:32 +0900)]
Add SendData(byte[] data) method and deprecated previous method (#1390)

4 years ago[Multimedia] Add ComponentBased project to Tizen.Multimedia.sln (#1394)
Sangchul Lee [Tue, 11 Feb 2020 08:17:06 +0000 (17:17 +0900)]
[Multimedia] Add ComponentBased project to Tizen.Multimedia.sln (#1394)

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years ago[NUI] Measure Child's Layout in FlexLayout (#1385)
neostom432 [Tue, 11 Feb 2020 04:37:36 +0000 (13:37 +0900)]
[NUI] Measure Child's Layout in FlexLayout (#1385)

Previously, children in FlexLayout were not measured but just returning NaturalSize.
To support nested Layout, FlexLayout also should measure Layout of its children.

Now, FlexLayout measures its children and it also can fix MatchParent issue in FlexLayout.

4 years agoAdd preloading features (#1377)
Jay Cho [Tue, 11 Feb 2020 02:27:53 +0000 (11:27 +0900)]
Add preloading features (#1377)

4 years ago[ComponentBased] Fix RegisterComponent Method (#1389)
hjhun [Tue, 11 Feb 2020 00:37:43 +0000 (09:37 +0900)]
[ComponentBased] Fix RegisterComponent Method (#1389)

- Check if a component ID exists or not

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[ComponentBased] Add internal property (#1386)
hjhun [Mon, 10 Feb 2020 23:37:45 +0000 (08:37 +0900)]
[ComponentBased] Add internal property (#1386)

Adds:
 - ContextHandle

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] Fix visual bugs (#1379)
Jiyun Yang [Mon, 10 Feb 2020 05:21:41 +0000 (14:21 +0900)]
[NUI] Fix visual bugs (#1379)

* Fix ths issue that the VisualMap does not tranform
* Fix TextVisual crash issue

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Sensor] Modify implementation using new native API (#1367)
MuHong Byun [Mon, 10 Feb 2020 04:12:16 +0000 (13:12 +0900)]
[Sensor] Modify implementation using new native API (#1367)

* sensor_listener_set_events_cb, sensor_listener_unset_events_cb

Signed-off-by: MuHong Byun <mh.byun@samsung.com>
4 years ago[NUI] Add default component styles (#1378)
Jiyun Yang [Mon, 10 Feb 2020 02:04:26 +0000 (11:04 +0900)]
[NUI] Add default component styles (#1378)

DefaultButtonStyle
DefaultCheckBoxStyle
DefaultSwitchStyle
DefaultRadioButtonStyle

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Notification] Change TimeStamp of SafeHanlde (#1375)
mk5004lee [Fri, 7 Feb 2020 05:48:24 +0000 (14:48 +0900)]
[Notification] Change TimeStamp of SafeHanlde (#1375)

- DateTimeKind.Local -> DateTimeKind.Utc

Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years ago[NUI] Modify Instance bug of Application (#1368)
huiyueun [Thu, 6 Feb 2020 07:01:40 +0000 (16:01 +0900)]
[NUI] Modify Instance bug of Application (#1368)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Fix Animation Dispose() to make local variable of Animation instance make worki...
dongsug-song [Wed, 5 Feb 2020 02:09:57 +0000 (11:09 +0900)]
[NUI] Fix Animation Dispose() to make local variable of Animation instance make working properly (#1360)

- NUI Animation class is binding to DALi native Animation class.
- Animation class inherits from BaseHandle class so it has a reference count.
- In NUI side, if the Animation class is instanced in local scope, it is disposed automatically by DisposeQueue. Here the reference count of native DALi Animation is decreased and it will be managed by smart pointer so this is not a matter in NUI side.
- NUI Animation Dispose() need care only the events which are connected to native DALi, so event handlers of Finished and ProgressReached are certainly disconnected.
- Animation which has been created as local variable will work properly. (ex: if LoopCount is set to 100 and it is even local variable, it will animate 100 times and stop normally.)

4 years ago[NUI] Measure whole child in GridLayout (#1365)
neostom432 [Wed, 5 Feb 2020 01:51:03 +0000 (10:51 +0900)]
[NUI] Measure whole child in GridLayout (#1365)

Currently, GridLayout measures only first child for calculation so other child cannot layout its children.
Now, GridLayout measures whole child so they can layout its children.

Co-authored-by: agnelovaz <vaz.agnelo@gmail.com>
4 years ago[Application.Common] Fix ULocale class (#1357)
hjhun [Tue, 4 Feb 2020 04:38:14 +0000 (13:38 +0900)]
[Application.Common] Fix ULocale class (#1357)

- Uses base-utils-i18n instead of icu

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NFC] Fix TC failed issue : the SEH exception occurs (#1326)
jh8801jung [Mon, 3 Feb 2020 01:09:04 +0000 (10:09 +0900)]
[NFC] Fix TC failed issue : the SEH exception occurs (#1326)

* [NFC] Fix TC failed issue : the SEH exception occurs

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
* Free IntPtr from capi

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
* Replace free method

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
4 years ago[NUI] Fix Tizen.NUI.Samples crash error when it is terminated (#1353)
dongsug-song [Fri, 31 Jan 2020 05:06:02 +0000 (14:06 +0900)]
[NUI] Fix Tizen.NUI.Samples crash error when it is terminated (#1353)

4 years ago[NUI] Add ScrollToIndex to ScrollableBase (#1352)
neostom432 [Thu, 30 Jan 2020 05:16:49 +0000 (14:16 +0900)]
[NUI] Add ScrollToIndex to ScrollableBase (#1352)

* [NUI] Add ScrollToIndex to ScrollableBase

Scrolls to the item at the specified index.

* [NUI] Use position instead of Size for calculating scrolling position

Co-authored-by: krown <neostom432@nate.com>
4 years ago[NUI] Fix AlphaMaskUrl setting order problem (#1349)
dongsug-song [Thu, 30 Jan 2020 04:06:45 +0000 (13:06 +0900)]
[NUI] Fix AlphaMaskUrl setting order problem (#1349)

4 years ago[NUI] Add GaussianBlurView (#1344)
neostom432 [Wed, 29 Jan 2020 11:32:37 +0000 (20:32 +0900)]
[NUI] Add GaussianBlurView (#1344)

* [NUI] Add GaussianBlurView

Add GaussianBlurView.

For now user can use this class internally, because APIs are all hidden.

* [NUI] make private function to internal in GaussianBlurView

Co-authored-by: krown <neostom432@nate.com>
4 years ago[NUI] Fix NUI svace issue (#1343)
huiyueun [Wed, 29 Jan 2020 03:57:01 +0000 (12:57 +0900)]
[NUI] Fix NUI svace issue (#1343)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>