platform/core/csapi/tizenfx.git
4 years ago[NUI] remove needless delegate for eventhandler (#1707)
YeongJong Lee [Mon, 22 Jun 2020 04:54:08 +0000 (13:54 +0900)]
[NUI] remove needless delegate for eventhandler (#1707)

Remove needless delegate and use `EventHandler` instead.

Also, this patch will Fix CA1715.

4 years ago[NUI] remove unused parameter from Control.Initialize (#1682)
YeongJong Lee [Mon, 22 Jun 2020 04:49:14 +0000 (13:49 +0900)]
[NUI] remove unused parameter from Control.Initialize (#1682)

Fixes CA1801

4 years ago[NUI] replace viewStlye with Style (#1679)
YeongJong Lee [Mon, 22 Jun 2020 04:44:09 +0000 (13:44 +0900)]
[NUI] replace viewStlye with Style (#1679)

Use `Style` property instead of `viewStyle` field.

4 years ago[NUI] ScrollableBase usage improvement (#1724)
neostom432 [Mon, 22 Jun 2020 02:36:55 +0000 (11:36 +0900)]
[NUI] ScrollableBase usage improvement (#1724)

Previously, user should make container for ScrollableBase to contain
children in ScrollableBase and it brought inconvenience to user.

For now, ScrollalbleBase creates its ContentContainer in Constructor so
user doesn't need to add container.

And ScrollableBase overrides Add/Remove function to add/remove child
to/from ContentContainer even if user call ScrollableBase.Add/Remove.

Plus, user can access to children of ContentContainer through
ScrollableBase.Children property and also can acess to Layout too.

Finally, if user want to change property of ContentContainer, they can
use getter of ContentContainer property.

4 years ago[Docs] Update documentation files (#1726)
WonYoung Choi [Mon, 22 Jun 2020 01:43:59 +0000 (10:43 +0900)]
[Docs] Update documentation files (#1726)

- Modify description of first page
- Apply material designs
- Apply wide layouts
- Apply Tizen.DocFX.Plugins to provide tizen-specific tags.

4 years ago [Sensor] Update sensor description regarding batch sensor. (#1730)
MuHong Byun [Mon, 22 Jun 2020 01:43:22 +0000 (10:43 +0900)]
 [Sensor] Update sensor description regarding batch sensor. (#1730)

Signed-off-by: MuHong Byun <mh.byun@samsung.com>
4 years ago[NUI.Components] Improve sam score to 4.21 (#1720)
Xianbing Teng [Fri, 19 Jun 2020 06:07:39 +0000 (14:07 +0800)]
[NUI.Components] Improve sam score to 4.21 (#1720)

Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
4 years ago[NUI] Fix Svace issues (#1719)
zhouleonlei [Thu, 18 Jun 2020 06:18:18 +0000 (14:18 +0800)]
[NUI] Fix Svace issues (#1719)

* [NUI] Fix Svace issues

* [NUI] Revert some changes

4 years agoRemove deprecated API (#1617)
yl33 [Thu, 18 Jun 2020 04:49:38 +0000 (13:49 +0900)]
Remove deprecated API (#1617)

4 years ago[NUI] Add Scrollbar Proprety to ScrollableBase (#1694)
neostom432 [Wed, 17 Jun 2020 01:50:36 +0000 (10:50 +0900)]
[NUI] Add Scrollbar Proprety to ScrollableBase (#1694)

Add Scrollbar Property to ScrollableBase.
Currently, Scrollbar is always hidden but show if set HideScrollBar to true.

4 years ago[NUI] Move to dali2 (#1717)
dongsug-song [Wed, 17 Jun 2020 00:59:32 +0000 (09:59 +0900)]
[NUI] Move to dali2 (#1717)

4 years ago[NUI] Remove deprecated APIs in Slider and Switch (#1716)
zhouleonlei [Tue, 16 Jun 2020 10:00:32 +0000 (18:00 +0800)]
[NUI] Remove deprecated APIs in Slider and Switch (#1716)

4 years ago[NUI] Remove the Loading API of Images (#1714)
zhouleonlei [Tue, 16 Jun 2020 07:29:33 +0000 (15:29 +0800)]
[NUI] Remove the Loading API of Images (#1714)

4 years ago[NUI.Components]Improve SAM score of NUI.Components (#1713)
Xianbing Teng [Tue, 16 Jun 2020 06:27:38 +0000 (14:27 +0800)]
[NUI.Components]Improve SAM score of NUI.Components (#1713)

Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
4 years ago[NUI] Change button APIs and modify related Samples (#1712)
zhouleonlei [Tue, 16 Jun 2020 05:38:08 +0000 (13:38 +0800)]
[NUI] Change button APIs and modify related Samples (#1712)

4 years ago[NUI] Constructor of NUIWidgetApplication is opened public in API level7 (#1241)
tscholb [Tue, 16 Jun 2020 01:54:30 +0000 (10:54 +0900)]
[NUI] Constructor of NUIWidgetApplication is opened public in API level7 (#1241)

For apply multiple class of Widget, this API need to open public

4 years ago[NUI] Add Feature for multi window (#1605)
tscholb [Tue, 16 Jun 2020 01:52:52 +0000 (10:52 +0900)]
[NUI] Add Feature for multi window (#1605)

Add Feature to support opengles.surfaceless_context
This feature is used to check whether multi-window is supported.

https://code.sec.samsung.net/jira/browse/TCSACR-298

4 years ago[NFC] Fix Native callback GC issue (#1674)
Seungkeun Lee [Tue, 16 Jun 2020 01:17:26 +0000 (10:17 +0900)]
[NFC] Fix Native callback GC issue (#1674)

* [NFC] Fix Native callback GC issue

* Add comment about explicitly delegate convertion

4 years ago[NUI] GridLayout Refactoring to support column, row, spacing, weight, align (#1655)
YeongJong Lee [Mon, 15 Jun 2020 03:04:15 +0000 (12:04 +0900)]
[NUI] GridLayout Refactoring to support column, row, spacing, weight, align (#1655)

* [NUI] LayoutGroup: Support child property

* [NUI] GridLayout Refactoring to support column, row, spacing, alignment

1) Add ColumnSpacing, RowSpacing(GridLayout Property)
This is GridLayout properties for the distance between columns, rows.

2) Add Column, ColumnSpan, Row, RowSpan(Child Property)
This is child properties for specific cell index to layout. `SetChildValue` is
added to support child property using Attached Bindable Property.

If the Column(Row) isn't defined, it is automatically assigned left to right or
top to bottom depending on `GridOrientation`(RTL is not supported yet).
The main axis count(Columns on Horizontal mode, Rows otherwise) won't be
exceeded explicit column(row) count which is assigned by
Property(`Columns`(`Rows`)). otherwise, cross axis count(row(column))
can be increased.
Children with automatically assigned Column(Row) don't overlap. but,
children with specific Column and Row can overlap with the other children.

To respect child width(height), each cell size is determined by the maximum
size among Columns(Rows) it belongs to. Greedy Algorithm is used to find
maximum size of each Columns(Rows) that is same problem to find longest path
in DAG(Directed Acyclic Graph).

3) Add HorizontalAlignment, VerticalAlignment(Child Property)
The child properties how child is laid out in the cell.(Start, End, Center)

4 years ago[NUI] replace field declaration with property (#1703)
woohyun [Fri, 12 Jun 2020 07:43:28 +0000 (16:43 +0900)]
[NUI] replace field declaration with property (#1703)

This would fix CA1051 warnings which indicates that
"Do not declare visible instance fields".

This patch restores the diff in
409a8ccea4f26cd7ca4db8e2549e81aac09121a2
except the modification on opened API.

Co-authored-by: WooHyun Jung <wh0705.jung@samsung.com>
4 years agoRevert "[NUI] replace field declaration with property (#1701)" (#1702)
woohyun [Fri, 12 Jun 2020 06:13:41 +0000 (15:13 +0900)]
Revert "[NUI] replace field declaration with property (#1701)" (#1702)

This reverts commit 409a8ccea4f26cd7ca4db8e2549e81aac09121a2.

4 years ago[NUI] replace field declaration with property (#1701)
woohyun [Fri, 12 Jun 2020 05:25:28 +0000 (14:25 +0900)]
[NUI] replace field declaration with property (#1701)

This would fix CA1051 warnings which indicates that
"Do not declare visible instance fields".

4 years ago[Docs] Fix the list in API References (#1698)
WonYoung Choi [Thu, 11 Jun 2020 10:23:20 +0000 (19:23 +0900)]
[Docs] Fix the list in API References (#1698)

4 years ago[NUI] Add GridRecycleLayotManager (#1685)
neostom432 [Thu, 11 Jun 2020 05:28:06 +0000 (14:28 +0900)]
[NUI] Add GridRecycleLayotManager (#1685)

Grid Layout for RecyclerView.

When user set Orientation, GridRecycleLayoutManager will lay out items using only one factor between Row and Column.

Horizontal => Row
Vertical => Column

4 years ago[Bluetooth][Non-ACR] Fix Native callback GC issue (#1678)
wootak [Thu, 11 Jun 2020 05:28:00 +0000 (14:28 +0900)]
[Bluetooth][Non-ACR] Fix Native callback GC issue (#1678)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] Change ScrollableBase clipping mode (#1690)
neostom432 [Thu, 11 Jun 2020 04:08:13 +0000 (13:08 +0900)]
[NUI] Change ScrollableBase clipping mode (#1690)

4 years agoRevert "[NUI] Add MIN_LINE_SIZE property at TextLabel (#1619)" (#1687)
huiyueun [Thu, 11 Jun 2020 02:38:19 +0000 (11:38 +0900)]
Revert "[NUI] Add MIN_LINE_SIZE property at TextLabel (#1619)" (#1687)

This reverts commit b949a3d1015a0ce1ad9831ca91c58b13437d4cef.

4 years agoRevert "[NUI]TextField: SelectNone and SelectedText (#1611)" (#1686)
huiyueun [Thu, 11 Jun 2020 01:38:46 +0000 (10:38 +0900)]
Revert "[NUI]TextField: SelectNone and SelectedText (#1611)" (#1686)

This reverts commit a50c933512257fd854f3b173356802566f016f5c.

4 years ago[NUI] Add command for button (#1647)
zhouleonlei [Wed, 10 Jun 2020 11:57:06 +0000 (19:57 +0800)]
[NUI] Add command for button (#1647)

* [NUI] Add command for button

* [NUI] Add Command XAML sample

4 years ago[NUI] remove margin, padding calculation for AbsoluteLayout child size (#1668)
YeongJong Lee [Wed, 10 Jun 2020 09:20:42 +0000 (18:20 +0900)]
[NUI] remove margin, padding calculation for AbsoluteLayout child size (#1668)

Since child position property and dali position property that decides
real position of controls are shared as same property(View.Position),
AbsoluteLayout cannot respect margin, padding for child position. so,
we don't need to calculate size with margin, padding.

4 years ago[NUI] cleanup MeasureChild Methods (#1684)
YeongJong Lee [Wed, 10 Jun 2020 08:35:47 +0000 (17:35 +0900)]
[NUI] cleanup MeasureChild Methods (#1684)

- Duplicated Padding accumulation is removed.
- Use `MeasureChildWithMargins` to consider Margin.

No logical changes.

4 years ago[NUI] introduce CreateViewStyle that is alternative to GetViewStyle (#1681)
YeongJong Lee [Wed, 10 Jun 2020 08:08:39 +0000 (17:08 +0900)]
[NUI] introduce CreateViewStyle that is alternative to GetViewStyle (#1681)

`CreateViewStyle` is alternative method of `GetViewStyle`.
To resolve CA1721, please use `CreateViewStyle` instead.
```
warning CA1721: The property name 'ViewStyle' is confusing given the existence of
method 'GetViewStyle'. Rename or remove one of these members.
```

`GetViewStyle` should be deprecated(or removed) if there is no
compatibility issue.

4 years ago[Build] Add struct validation at GBS build-time (#1660)
WonYoung Choi [Tue, 9 Jun 2020 23:52:58 +0000 (08:52 +0900)]
[Build] Add struct validation at GBS build-time (#1660)

4 years ago[NUI] Resolve CA1823 of StyleCop (#1669)
jaehyun0cho [Tue, 9 Jun 2020 10:12:06 +0000 (19:12 +0900)]
[NUI] Resolve CA1823 of StyleCop (#1669)

To resolve CA1823 of StyleCop in Tizen.NUI.Components and
Tizen.NUI.Wearable, unused variables are removed.

'isNeedAnimation' in CircularPagination.cs is not removed because it is
marked as 'TODO'.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[Security] Fix PrivacyPrivilegeManager.RequestPermissions crash issue (#1650)
Seungkeun Lee [Tue, 9 Jun 2020 08:36:31 +0000 (17:36 +0900)]
[Security] Fix PrivacyPrivilegeManager.RequestPermissions crash issue (#1650)

4 years ago[NUI] Calculate MaxScrollDistance in Relayout (#1665)
neostom432 [Tue, 9 Jun 2020 08:01:27 +0000 (17:01 +0900)]
[NUI] Calculate MaxScrollDistance in Relayout (#1665)

4 years ago[NUI] Resolve CA1802 of StyleCop (#1667)
jaehyun0cho [Tue, 9 Jun 2020 07:12:07 +0000 (16:12 +0900)]
[NUI] Resolve CA1802 of StyleCop (#1667)

To resolve CA1802 of StyleCop in Tizen.NUI.Components and
Tizen.NUI.Wearable, static readonly is replaced with const.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Fix style loading issue when extending control classes (#1550)
woohyun [Tue, 9 Jun 2020 05:24:06 +0000 (14:24 +0900)]
[NUI] Fix style loading issue when extending control classes (#1550)

When a NUI.Component.Control class was extended, the default style
was not loaded well.
This was because searching style logic was executed with not whole base classes
but only with the inherited class.

Co-authored-by: WooHyun Jung <wh0705.jung@samsung.com>
4 years ago[NUI] Replace paginationStyle with Style (#1663)
zhouleonlei [Tue, 9 Jun 2020 05:20:55 +0000 (13:20 +0800)]
[NUI] Replace paginationStyle with Style (#1663)

4 years ago[NUI] Add CircularSlider to Wearable Component (#1659)
Seoyeon2Kim [Tue, 9 Jun 2020 05:14:19 +0000 (14:14 +0900)]
[NUI] Add CircularSlider to Wearable Component (#1659)

* [NUI] Add CircularSlider to Wearable Component

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Update implementation according to reviews

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Add MIN_LINE_SIZE property at TextLabel (#1619)
JoogabYun [Tue, 9 Jun 2020 04:46:04 +0000 (13:46 +0900)]
[NUI] Add MIN_LINE_SIZE property at TextLabel (#1619)

4 years ago[NUI] Update Wearable default style (#1664)
Seoyeon2Kim [Tue, 9 Jun 2020 01:52:02 +0000 (10:52 +0900)]
[NUI] Update Wearable default style (#1664)

- Added default indicator size to CircularPagination.
- Changed the names of bindable properties.
- Added Stop() before creating Animation with visual.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI]Add layouts and refine codes for Samples (#1595)
zhouleonlei [Mon, 8 Jun 2020 11:34:07 +0000 (19:34 +0800)]
[NUI]Add layouts and refine codes for Samples (#1595)

* [NUI]Add layouts and refine codes for Samples

* [NUI] Modified app path issue and layout

* [NUI] Modified ItemView

* [NUI] Modify layout and display issues

* [NUI] Remove Style

4 years agoRemove unused test applications (#1661)
WonYoung Choi [Mon, 8 Jun 2020 06:59:42 +0000 (15:59 +0900)]
Remove unused test applications (#1661)

4 years ago[NUI] Add ApplyStyle for Pagination (#1649)
zhouleonlei [Mon, 8 Jun 2020 03:01:29 +0000 (11:01 +0800)]
[NUI] Add ApplyStyle for Pagination (#1649)

4 years agoRemove unused test applications (#1615)
WonYoung Choi [Fri, 5 Jun 2020 08:24:48 +0000 (17:24 +0900)]
Remove unused test applications (#1615)

4 years ago[NUI] Remove unnecessary opacity in CircularProgress (#1653)
Seoyeon2Kim [Fri, 5 Jun 2020 04:17:20 +0000 (13:17 +0900)]
[NUI] Remove unnecessary opacity in CircularProgress (#1653)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[Bluetooth][Non-ACR] Add NULL check logic for Marshal.PtrToStringAnsi (#1657)
dh79pyun [Thu, 4 Jun 2020 23:45:15 +0000 (08:45 +0900)]
[Bluetooth][Non-ACR] Add NULL check logic for Marshal.PtrToStringAnsi (#1657)

This patchset is to avoid ArgumentNullException error. There are some
cases to come NULL variable from Native API.

BluetoothAdapterImpl.cs: RegisterDiscoveryStateChangedEvent(258) > Discovery state changed callback is called
Unhandled exception.
System.ArgumentNullException: Value cannot be null. (Parameter 'ptr')
at System.Runtime.InteropServices.Marshal.PtrToStringAnsi(IntPtr ptr, Int32 len)
at Tizen.Network.Bluetooth.BluetoothUtils.ConvertStructToDiscoveredDevice(BluetoothDiscoveredDeviceStruct structDevice)
at Tizen.Network.Bluetooth.BluetoothAdapterImpl.<RegisterDiscoveryStateChangedEvent>b__45_0(Int32 result, BluetoothDeviceDiscoveryState state, IntPtr deviceInfo, IntPtr user

Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoadd internal visibility for NUI.Components.DA temporarily. (#1654)
huayongxu [Thu, 4 Jun 2020 06:21:34 +0000 (14:21 +0800)]
add internal visibility for NUI.Components.DA temporarily. (#1654)

4 years ago[NUI] Fix ScrollTo to move pan position to the argument position (#1652)
jaehyun0cho [Thu, 4 Jun 2020 04:43:37 +0000 (13:43 +0900)]
[NUI] Fix ScrollTo to move pan position to the argument position (#1652)

Previously, ScrollTo moved pan position including the ScrollableBase's
current position.
e.g. ScrollTo(360, true); //moves by 360
     ScrollTo(0, true); //moves by 360 again based on current position

The argument position is the new pan position. So the new position of
ScrollableBase becomes (-position).
To move ScrollableBase's position to (-position), it moves by
(-position - currentPosition).

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Fix LinearListLayoutManager (#1645)
neostom432 [Thu, 4 Jun 2020 03:27:53 +0000 (12:27 +0900)]
[NUI] Fix LinearListLayoutManager (#1645)

Change Layout and Recycle rule for linear layout.

4 years ago[NUI]TextField: SelectNone and SelectedText (#1611)
Ali-Alzyoud [Thu, 4 Jun 2020 02:24:33 +0000 (05:24 +0300)]
[NUI]TextField: SelectNone and SelectedText (#1611)

* TextField: SelectNone and SelectedText

* Update NDalicPINVOKE.cs

* Update NDalicPINVOKE.cs

4 years ago[NUI] circular text (#1634)
JoogabYun [Thu, 4 Jun 2020 02:22:38 +0000 (11:22 +0900)]
[NUI] circular text (#1634)

4 years ago[Notification] Fix wrong example code comments (#1538)
msaltnet [Tue, 2 Jun 2020 10:11:57 +0000 (19:11 +0900)]
[Notification] Fix wrong example code comments (#1538)

Co-authored-by: salt.jeong <salt.jeong@samsung.com>
4 years ago[NUI] Made the value of Size be consistent with Specification (#1646)
zhouleonlei [Tue, 2 Jun 2020 08:04:45 +0000 (16:04 +0800)]
[NUI] Made the value of Size be consistent with Specification (#1646)

4 years ago[Bluetooth][Non-ACR] Fix the crash in GetBondedDevices API (#1643)
dh79pyun [Tue, 2 Jun 2020 01:48:47 +0000 (10:48 +0900)]
[Bluetooth][Non-ACR] Fix the crash in GetBondedDevices API (#1643)

The manufacture data can be filled without NULL termination.
Because it is the byte array type. So we should define it as
IntPrt instead of string to avoid the buffer overflow.

Exception !!!: System.Runtime.InteropServices.COMException (0x8007007A): The data area passed to a system call is too small.
at System.StubHelpers.ValueClassMarshaler.ConvertToNative(IntPtr dst, IntPtr src, IntPtr pMT, CleanupWorkListElement& pCleanupWorkList)
at Tizen.Network.Bluetooth.BluetoothAdapterImpl.GetBondedDevices()
at Tizen.Network.Bluetooth.BluetoothAdapter.GetBondedDevices()

Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years ago[NUI] Add the default images of Pagination (#1641)
Seoyeon2Kim [Mon, 1 Jun 2020 08:08:28 +0000 (17:08 +0900)]
[NUI] Add the default images of Pagination (#1641)

- Even though users don't set Pagination images separately,
 the default images would be shown.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[Connection] Update documents for state/type (#1637)
chleun-moon [Mon, 1 Jun 2020 02:05:19 +0000 (11:05 +0900)]
[Connection] Update documents for state/type (#1637)

* Update documents

* Add exception description

* Remove wrong privilege

4 years ago[NUI] SetProperty first then SetValue (#1639)
zhouleonlei [Fri, 29 May 2020 06:33:41 +0000 (14:33 +0800)]
[NUI] SetProperty first then SetValue (#1639)

4 years ago[NUI] Add default DropdownItemStyle (#1638)
zhouleonlei [Fri, 29 May 2020 05:44:59 +0000 (13:44 +0800)]
[NUI] Add default DropdownItemStyle (#1638)

4 years ago[ElmSharp] Update internal EcoreEventKey struct (#1631)
Seungkeun Lee [Fri, 29 May 2020 05:41:06 +0000 (14:41 +0900)]
[ElmSharp] Update internal EcoreEventKey struct (#1631)

4 years ago[ElmSharp] Update the SystemTime internal struct (#1627)
Kangho Hur [Fri, 29 May 2020 05:40:40 +0000 (14:40 +0900)]
[ElmSharp] Update the SystemTime internal struct (#1627)

4 years ago[NUI] Add Wearable.Popup (#1572)
dongsug-song [Fri, 29 May 2020 05:02:37 +0000 (14:02 +0900)]
[NUI] Add Wearable.Popup (#1572)

we can enhance interface after getting feedback.

4 years ago[NUI] Provide APIs to access sub-components (#1624)
zhouleonlei [Thu, 28 May 2020 08:18:01 +0000 (16:18 +0800)]
[NUI] Provide APIs to access sub-components (#1624)

* [NUI] Provide APIs to access sub-components

* [NUI] Modified Slider API name

* [NUI] Add internal setter

* [NUI] Removed unused Apis

* [NUI] Rebase Scrollbar

4 years ago[NUI] First version of RecyclerView (#1626)
neostom432 [Thu, 28 May 2020 07:08:01 +0000 (16:08 +0900)]
[NUI] First version of RecyclerView (#1626)

First version of RecyclerView.

RecyclerView is a component that can improve performance by reusing user-defined child.

User can define what the child will look like through creating function in RecycleAdapter.
RecyclerView creates its children using this function and bind data with child if child is ready to shown.

4 years ago[NUI] Update Tizen.NUI.Samples slightly (#1633)
Seoyeon2Kim [Thu, 28 May 2020 05:43:27 +0000 (14:43 +0900)]
[NUI] Update Tizen.NUI.Samples slightly (#1633)

* [NUI] Update Tizen.NUI.Samples slightly

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Update CircularPaginationSample.cs

4 years ago[NUI] Scrollbar : Separate the concept of viewport size and view size. (#1632)
Jiyun Yang [Thu, 28 May 2020 05:05:01 +0000 (14:05 +0900)]
[NUI] Scrollbar : Separate the concept of viewport size and view size. (#1632)

* Previously, viewSize represents viewport size, but in some cases they are not the same value.
* View size : Implement OnRelayout of Scrollbar to respond to response to size changes.
* Viewport size : Receive by user when initialize.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Fix some view properties are not overwritten when the view has created with...
Jiyun Yang [Thu, 28 May 2020 04:46:37 +0000 (13:46 +0900)]
[NUI] Fix some view properties are not overwritten when the view has created with Style (#1630)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Bluetooth][Non-ACR] Invalid increased count issue (#1613)
Wootak [Thu, 28 May 2020 01:03:09 +0000 (10:03 +0900)]
[Bluetooth][Non-ACR] Invalid increased count issue (#1613)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] Refactorying FittingMode for ImageView (#1553)
tscholb [Wed, 27 May 2020 09:51:28 +0000 (18:51 +0900)]
[NUI] Refactorying FittingMode for ImageView (#1553)

FittingMode does not need the required size anymore.
and new fittingMode is added for ImageView.

- CENTER : Image fills inside using original width & height.
- FILL   : Image filles whole width & height. this fitting mode don't  maintain aspect ratio

4 years ago[NUI] Add CircularProgress to Wearable components (#1609)
Seoyeon2Kim [Wed, 27 May 2020 08:28:25 +0000 (17:28 +0900)]
[NUI] Add CircularProgress to Wearable components (#1609)

* [NUI] Add CircularProgress to Wearable components

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Add Animation to CircularProgress angle

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Fix typo

4 years ago[NUI] Make a color visual of View's shadow to center aligned (#1616)
Jiyun Yang [Wed, 27 May 2020 07:48:32 +0000 (16:48 +0900)]
[NUI] Make a color visual of View's shadow to center aligned (#1616)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Add Scrollbar and CircularScrollbar (#1628)
Jiyun Yang [Wed, 27 May 2020 07:32:31 +0000 (16:32 +0900)]
[NUI] Add Scrollbar and CircularScrollbar (#1628)

* Implement Arc Visual to support arc shapes used in CircularScrollbar
* Move previous ScrollBar class code from Scrollbar.cs to ImageScrollBar.cs.
* Implement new Scrollbar class based on a ScrollbarBase class.
* Implement new CircularScrollbar class based on a ScrollbarBase class.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Update the default size of Loading (#1623)
Seoyeon2Kim [Wed, 27 May 2020 01:21:29 +0000 (10:21 +0900)]
[NUI] Update the default size of Loading (#1623)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
- Removed the initialized size of Loading visual.
- Added the default size value on Loading PreloadStyle
- Modified InputMethodContext description slightly.

4 years ago[Sensor] Update sensor description for better understanding. (#1622)
MuHong Byun [Mon, 25 May 2020 02:59:59 +0000 (11:59 +0900)]
[Sensor] Update sensor description for better understanding. (#1622)

Signed-off-by: MuHong Byun <mh.byun@samsung.com>
4 years ago[Vision] Change DLLImport file (#1618)
kwangson [Mon, 25 May 2020 01:01:26 +0000 (10:01 +0900)]
[Vision] Change DLLImport file (#1618)

libcapi-media-vision.so.0 is replaced by sub-libraries.

Signed-off-by: Kwang Son <k.son@samsung.com>
4 years ago[NUI] Modify to use NDalicPINVOKE.Lib (#1620)
huiyueun [Thu, 21 May 2020 01:46:06 +0000 (10:46 +0900)]
[NUI] Modify to use NDalicPINVOKE.Lib (#1620)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Change suggested minimun size in Layout. (#1610)
neostom432 [Wed, 20 May 2020 01:59:57 +0000 (10:59 +0900)]
[NUI] Change suggested minimun size in Layout. (#1610)

When user set maximum size or minimum size instaed of size and specification,
it means that user want to use natural size of component and makes it bigger than minimum and smaller than maximum.

Currently, when using text, it lays whole text on one line and returns its size as natural size even if multiline is enabled.
So, we need to calculate HeightForWidth with MaximunWidth to know candidate height of multiline text.

Use GetHeightForWidth / GetWidthForHeight size as suggested minimun size.

4 years ago[Tizen.Network.Connection] Make callbacks to member variable (#1608)
chleun-moon [Tue, 19 May 2020 11:30:10 +0000 (20:30 +0900)]
[Tizen.Network.Connection] Make callbacks to member variable (#1608)

4 years ago[NUI] Add GetWindowId() (#1547)
dongsug-song [Tue, 19 May 2020 10:54:16 +0000 (19:54 +0900)]
[NUI] Add GetWindowId() (#1547)

4 years agoRemove unused internal modules (#1601)
WonYoung Choi [Tue, 19 May 2020 03:31:37 +0000 (12:31 +0900)]
Remove unused internal modules (#1601)

4 years ago[NUI.Wearable] Modify LanguageChanged bug (#1607)
huiyueun [Mon, 18 May 2020 12:19:30 +0000 (21:19 +0900)]
[NUI.Wearable] Modify LanguageChanged bug (#1607)

Get language from device.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[MediaVision] Fix wrong key string value (#1602)
Tae-Young Chung [Wed, 13 May 2020 07:45:12 +0000 (16:45 +0900)]
[MediaVision] Fix wrong key string value (#1602)

* [MediaVision] Fix wrong key string value

Wrong key string value of MV_INFERENCE_TARGET_DEVICE.
In NativeACR, MV_INFERENCE_TARGET_DEVICE_TYPE is added.
This patch fix it.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* [MediaVision] Fix _keyTargetDevice to _keyTargetDeviceType

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years ago[NUI] Add Title in Wearable component (#1600)
JoogabYun [Wed, 13 May 2020 06:15:05 +0000 (15:15 +0900)]
[NUI] Add Title in Wearable component (#1600)

- The Title inherits TextLabel.
       The Title can has a fadeOut effects on the left and right side.

4 years ago[NUI] Add layout xaml sample and update samples (#1593)
Xianbing Teng [Tue, 12 May 2020 05:41:29 +0000 (13:41 +0800)]
[NUI] Add layout xaml sample and update samples (#1593)

4 years ago[NUI] Fix the issue that size receives 2 parameters from xaml (#1594)
Xianbing Teng [Tue, 12 May 2020 04:30:04 +0000 (12:30 +0800)]
[NUI] Fix the issue that size receives 2 parameters from xaml (#1594)

4 years ago[NUI] remove input method dependency from View.ControlState (#1585)
YeongJong Lee [Tue, 12 May 2020 04:28:12 +0000 (13:28 +0900)]
[NUI] remove input method dependency from View.ControlState (#1585)

`ConstrolState` can be changed by API or Input(`Tizen.NUI.Key` and
`Tizen.NUI.Touch`). it means `ConstrolState` is not always related to
Input method. some Controls need it to use state changed effect. however,
not all controls require that. if we need some property to change state,
we can add it to Style Extension classes.

4 years ago[NUI] remove redundant private properties for Tizen.NUI.Key (#1586)
YeongJong Lee [Mon, 11 May 2020 09:48:01 +0000 (18:48 +0900)]
[NUI] remove redundant private properties for Tizen.NUI.Key (#1586)

This patch will reduce method call.
e.g.
```
Tizen.NUI.Key.set_keyString()
Tizen.NUI.Key.set_KeyString()
```
==>
```
Tizen.NUI.Key.set_keyString()
```

4 years ago[NUI] remove unnecessary code to assign children layout (#1554)
YeongJong Lee [Mon, 11 May 2020 09:33:20 +0000 (18:33 +0900)]
[NUI] remove unnecessary code to assign children layout (#1554)

layout is set by `LayoutGroup.AddChildToLayoutGroup()`

1.When layout is set before child added
```
Tizen.NUI.LayoutGroup.AddChildToLayoutGroup() Line 164
Tizen.NUI.LayoutGroup.OnChildAddedToOnwer() Line 265
Tizen.NUI.BaseComponent.View.Add() Line 152
```

2.When layout is set after child added
```
Tizen.NUI.LayoutGroup.AddChildToLayoutGroup() Line 164
Tizen.NUI.LayoutGroup.OnAttachedToOwner() Line 466
Tizen.NUI.LayoutItem.AttachToOnwner() Line 168
Tizen.NUI.BaseComponentsView.SetLayout() Line 110
Tizen.NUI.BaseComponentsView.set_Layout() Line 2214

```

This means children's Layout is alreay assinged on `LayoutController.Process()`.
So, we don't need to assign layout again.

4 years agoReturned the code on exception (#1599)
prasadam-p [Mon, 11 May 2020 07:01:08 +0000 (12:31 +0530)]
Returned the code on exception (#1599)

4 years ago[MediaVision] Add and deprecate enumerations (#1580)
Tae-Young Chung [Mon, 11 May 2020 05:37:55 +0000 (14:37 +0900)]
[MediaVision] Add and deprecate enumerations (#1580)

* [MediaVision] Add new enumerations

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* [MediaVision] Use Obsolete tag

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* [MediaVision] add _keyTargetDevice

To support compatibility with Tizen 5.5,
Native API suppose New definition "MV_INFERENCE_TARGET_DEVICE".
This commit apply the changes.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* [MediaVision] Modify clearly the description of the obsolete enum and attribute

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years ago[Sensor] Initialize data for batch type sensor (#1596)
MuHong Byun [Mon, 11 May 2020 02:15:04 +0000 (11:15 +0900)]
[Sensor] Initialize data for batch type sensor (#1596)

Signed-off-by: MuHong Byun <mh.byun@samsung.com>
4 years ago[NUI] Fix some API to use GetManagedBaseHandleFromNativePtr (#1592)
tscholb [Fri, 8 May 2020 08:24:31 +0000 (17:24 +0900)]
[NUI] Fix some API to use GetManagedBaseHandleFromNativePtr (#1592)

- Fix GetWindow() using GetManagedBaseHandleFromNativePtr

4 years ago[ElmSharp] Adds PeekInstance to PreloadedWindow (#1588)
Kangho Hur [Thu, 7 May 2020 01:30:57 +0000 (10:30 +0900)]
[ElmSharp] Adds PeekInstance to PreloadedWindow (#1588)

4 years ago[NUI] Make instanceSet to hold notification windows and fix Window.TouchEvent bug...
Jiyun Yang [Wed, 6 May 2020 11:52:37 +0000 (20:52 +0900)]
[NUI] Make instanceSet to hold notification windows and fix Window.TouchEvent bug (#1581)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agochanged dataType of time for compatibility with native layer (#1583)
pvschakradhar [Thu, 30 Apr 2020 04:02:58 +0000 (09:32 +0530)]
changed dataType of time for compatibility with native layer (#1583)

changed dataType of time for compatibility with native layer

4 years ago[NUI] Introduce Notification (#1570)
Jiyun Yang [Wed, 29 Apr 2020 07:28:46 +0000 (16:28 +0900)]
[NUI] Introduce Notification (#1570)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Update CircularPagination opacity (#1573)
Seoyeon2Kim [Wed, 29 Apr 2020 04:07:46 +0000 (13:07 +0900)]
[NUI] Update CircularPagination opacity (#1573)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[Build] Fix `PlatformFileList.txt` to reflect filename chagne (#1579)
Hyungju Lee [Wed, 29 Apr 2020 02:59:14 +0000 (11:59 +0900)]
[Build] Fix `PlatformFileList.txt` to reflect filename chagne (#1579)

Change-Id: I399054d5f80d1d8c00afc79fffa08d833fba3b93

4 years ago[NUI] Apply CornerRadius to ImageView (#1571)
Jiyun Yang [Wed, 29 Apr 2020 02:47:42 +0000 (11:47 +0900)]
[NUI] Apply CornerRadius to ImageView (#1571)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>