platform/core/csapi/tizenfx.git
4 years ago[NFC][Non-ACR] Fix NFC Csharp TC failed issue (#1849)
jh8801jung [Wed, 22 Jul 2020 00:25:59 +0000 (09:25 +0900)]
[NFC][Non-ACR] Fix NFC Csharp TC failed issue (#1849)

- https://code.sec.samsung.net/jira/browse/TFDF-10927
- It seems that the callback is missing from the constructor in API8 branch

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
4 years ago[NUI] Create Layout only for TextLabel (#1850)
neostom432 [Tue, 21 Jul 2020 10:14:48 +0000 (19:14 +0900)]
[NUI] Create Layout only for TextLabel (#1850)

There are 4 cases.

1. Fixed or MatchParent Width and Height
: Use fixed or parent size

2. Fixed or MatchParent Width and WrapContent Height
: Get Height for Width using GetHeightForWidth() API

3. WrapContent Width and Fixed or MatchParent Height
: Get Width for Height using GetNaturalSize() API because there is no
overrided GetWidthForHeight function in TextLabel.

4. WrapContent Width and Height
: Get Width and Height using GetNaturalSize() API

Padding will be automatically applied by DALi TextLabel.

4 years ago[NUI] Change for AddFrameRenderedCallback to maintain the reference of user callback...
dongsug-song [Tue, 21 Jul 2020 03:38:17 +0000 (12:38 +0900)]
[NUI] Change for AddFrameRenderedCallback to maintain the reference of user callback (#1839)

4 years ago[NUI] Change TextPageUtil to Tizen.NUI.Utility namespace. (#1843)
JoogabYun [Tue, 21 Jul 2020 03:37:32 +0000 (12:37 +0900)]
[NUI] Change TextPageUtil to Tizen.NUI.Utility namespace. (#1843)

4 years ago[NUI] Add ScrollEnabled to ScrollbarBase (#1838)
jaehyun0cho [Tue, 21 Jul 2020 02:39:51 +0000 (11:39 +0900)]
[NUI] Add ScrollEnabled to ScrollbarBase (#1838)

To enable and disable scrolling of scrollbar, ScrollEnabled is added.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add public types to replace nested types of Components.Button (#1810)
jaehyun0cho [Tue, 21 Jul 2020 02:20:37 +0000 (11:20 +0900)]
[NUI] Add public types to replace nested types of Components.Button (#1810)

To replace nested types (CA1034 of StyleCop), the following is added.
- class ClickedEventArgs
- event EventHandler<ClickedEventArgs> in Button class

The followings are deprecated.
- class ClickEventArgs in Button class
- event EventHandler<ClickEventArgs> in Button class

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add public types to replace nested types of Components.Switch (#1809)
jaehyun0cho [Tue, 21 Jul 2020 02:20:22 +0000 (11:20 +0900)]
[NUI] Add public types to replace nested types of Components.Switch (#1809)

To replace nested types (CA1034 of StyleCop), the following is added.
- event EventHandler<SelectedChangedEventArgs> in Switch class

The followings are deprecated.
- class SelectEventArgs in Switch class
- event EventHandler<SelectEventArgs> in Switch class

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add public types to replace nested types of Components.Slider (#1808)
jaehyun0cho [Tue, 21 Jul 2020 02:20:11 +0000 (11:20 +0900)]
[NUI] Add public types to replace nested types of Components.Slider (#1808)

To replace nested types (CA1034 of StyleCop), the followings are added.
- class SliderValueChangedEventArgs
- class SliderSlidingFinishedEventArgs
- event EventHandler<SliderValueChangedEventArgs> in Slider class
- event EventHandler<SliderSlidingFinishedEventArgs> in Slider class

The followings are deprecated.
- class ValueChangedArgs in Slider class
- class SlidingFinishedArgs in Slider class
- event EventHandler<ValueChangedArgs> in Slider class
- event EventHandler<SlidingFinishedArgs> in Slider class

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Remove Style from View (#1837)
Jiyun Yang [Mon, 20 Jul 2020 06:25:15 +0000 (15:25 +0900)]
[NUI] Remove Style from View (#1837)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Sync ViewWrapper swig connection arguments count to dali csharp binder (#1835)
Jiyun Yang [Fri, 17 Jul 2020 06:23:00 +0000 (15:23 +0900)]
[NUI] Sync ViewWrapper swig connection arguments count to dali csharp binder (#1835)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Multimedia] Update solution files (#1832)
hsgwon [Fri, 17 Jul 2020 04:52:24 +0000 (13:52 +0900)]
[Multimedia] Update solution files (#1832)

4 years ago[NUI] Remove bindings between Style and View (#1788)
zhouleonlei [Thu, 16 Jul 2020 07:29:34 +0000 (15:29 +0800)]
[NUI] Remove bindings between Style and View (#1788)

* [NUI] Remove bindings between Style and View

* [NUI] Hide toast.style

* [NUI] Style of BaseComponent returns copied style.

Style of BaseComponent returns copied style.

* Add API to create ViewStyle from a View instance. (ViewStyle.CopyPropertiesFromView)
* Fix TriggerableSelector to get valid property value from its view.
* BaseComponent may not own style instance so reduce size of selectors in BaseComponents.
* Fix bugs in applying or retreiving style.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] fix wrong total expand value in expanded size calculation (#1833)
YeongJong Lee [Thu, 16 Jul 2020 02:09:12 +0000 (11:09 +0900)]
[NUI] fix wrong total expand value in expanded size calculation (#1833)

The result is reversed. `totalHorizontalExpand` should be used in
horizontal orientation.

4 years ago[NUI] use correct max column/row count in validation of child column/row (#1831)
YeongJong Lee [Wed, 15 Jul 2020 07:26:36 +0000 (16:26 +0900)]
[NUI] use correct max column/row count in validation of child column/row (#1831)

Column/row of GridLayout child should be compared to max column/row count which
is decided by auto-placement of GridLayout.

4 years ago[NUI] Add FrameRenderedCallback, FramePresentedCallback as hidden API (#1811)
dongsug-song [Wed, 15 Jul 2020 06:47:56 +0000 (15:47 +0900)]
[NUI] Add FrameRenderedCallback, FramePresentedCallback as hidden API (#1811)

- csharp binding for DALi DevelWindow's AddFrameRenderedCallback and AddFramePresentedCallback
- TestCase will not be added in tizen CSharp-TCT, but they were added in test sample to do TDD
- paired with https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/238104/
- comments have been updated

4 years ago[NUI] make GridLayout.Orientation default value as Horizontal (#1828)
YeongJong Lee [Wed, 15 Jul 2020 06:05:36 +0000 (15:05 +0900)]
[NUI] make GridLayout.Orientation default value as Horizontal (#1828)

Before commit c04eaacb3186b0ea9e499d7a930b10e074134d32, child was added
from left to right by default. but now they are added from top to
bottom.
This patch reverts auto-placement rule to keep backward compatibility.

4 years ago[NUI] respect GridLayout child margin (#1825)
YeongJong Lee [Wed, 15 Jul 2020 05:29:36 +0000 (14:29 +0900)]
[NUI] respect GridLayout child margin (#1825)

GridLayout child margin was ignored...

4 years ago[NUI] make xxxStretchProperty default value as StretchFlags.None (#1826)
YeongJong Lee [Wed, 15 Jul 2020 05:18:43 +0000 (14:18 +0900)]
[NUI] make xxxStretchProperty default value as StretchFlags.None (#1826)

By default, item size should be respected.

4 years ago[NUI] Capture binding (#1752)
dongsug-song [Wed, 15 Jul 2020 05:15:43 +0000 (14:15 +0900)]
[NUI] Capture binding (#1752)

4 years ago[NUI] Support the different file name of Xaml (#1816)
AdunFang [Wed, 15 Jul 2020 04:50:30 +0000 (12:50 +0800)]
[NUI] Support the different file name of Xaml (#1816)

Co-authored-by: Fang Xiaohui <xiaohui fang>
4 years ago[NUI] BackKeyEvent Proptotype (#1824)
neostom432 [Wed, 15 Jul 2020 04:50:05 +0000 (13:50 +0900)]
[NUI] BackKeyEvent Proptotype (#1824)

View can subscribe back key event using BackKeyEvent event handler.

When user adds BackKeyEvent callback to View, view is listed as Subscriber of BackKeyManager.

After that, if back key is comming,
BackKeyManager will find top view among back key subscribers which has Visibility and IsOnWidnow property are true.

The top view will emit its BackKeyEvent.

*** Notice ***

It is based on Window KeyEvent so make sure you don't use Window KeyEvent and View KeyEvent.

After binding backkey event from DALi, user can use Window/View KeyEvent
with BackKeyEvent.

4 years ago[NUI] Add TextPageUtil (#1819)
JoogabYun [Wed, 15 Jul 2020 04:48:28 +0000 (13:48 +0900)]
[NUI] Add TextPageUtil (#1819)

4 years ago[NUI] Remove AssemblyInfo of NUI.Components.DA. (#1805)
huayongxu [Wed, 15 Jul 2020 04:44:33 +0000 (12:44 +0800)]
[NUI] Remove AssemblyInfo of NUI.Components.DA. (#1805)

Code of NUI.Components.DA has been removed already. Its AssemblyInfo is
not used.

Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
4 years agoAdd app manager attach/detach window API for internal (#1786)
sukhyungkang [Wed, 15 Jul 2020 04:33:58 +0000 (13:33 +0900)]
Add app manager attach/detach window API for internal (#1786)

Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years ago[NUI] Fix some typos. (#1807)
huayongxu [Wed, 15 Jul 2020 04:25:19 +0000 (12:25 +0800)]
[NUI] Fix some typos. (#1807)

4 years ago[NUI] Fix ScrollableBase when velocity is 0 (#1822)
neostom432 [Wed, 15 Jul 2020 04:11:59 +0000 (13:11 +0900)]
[NUI] Fix ScrollableBase when velocity is 0 (#1822)

When velocity is 0, fomular cannot be working.
Skip deceleration when velocity is 0.

4 years ago[NUI] TextField rename TextField_SelectNone to be SelectNone (#1729)
Ali-Alzyoud [Wed, 15 Jul 2020 04:11:42 +0000 (07:11 +0300)]
[NUI] TextField rename TextField_SelectNone to be SelectNone (#1729)

* TextField Add support for:
1- SeletedText property.
2- SelectNone function.

* remove string cast

4 years ago[MediaCodec] Add new codec type - Opus (#1812)
hsgwon [Tue, 14 Jul 2020 02:14:58 +0000 (11:14 +0900)]
[MediaCodec] Add new codec type - Opus (#1812)

4 years ago[NUI] Sync ViewWrapper director arguments to dali-csharp-binder (#1821)
Jiyun Yang [Mon, 13 Jul 2020 08:39:44 +0000 (17:39 +0900)]
[NUI] Sync ViewWrapper director arguments to dali-csharp-binder (#1821)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Build] Fix rid generation error (#1820)
WonYoung Choi [Mon, 13 Jul 2020 06:40:29 +0000 (15:40 +0900)]
[Build] Fix rid generation error (#1820)

4 years ago[NUI] Open ScrollalbleBase APIs (#1783)
neostom432 [Mon, 13 Jul 2020 01:32:04 +0000 (10:32 +0900)]
[NUI] Open ScrollalbleBase APIs (#1783)

4 years ago[NUI] Add WindowSystem's quickpanel APIs (#1715)
jeon [Fri, 10 Jul 2020 06:01:07 +0000 (15:01 +0900)]
[NUI] Add WindowSystem's quickpanel APIs (#1715)

4 years ago[VoiceControlManager] Add VoiceControlManager dll into platform binary (#1813)
Suyeon Hwang [Fri, 10 Jul 2020 01:24:45 +0000 (10:24 +0900)]
[VoiceControlManager] Add VoiceControlManager dll into platform binary (#1813)

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years ago[NUI] Skip adding cell padding to last LinearLayout item (#1815)
neostom432 [Thu, 9 Jul 2020 09:18:07 +0000 (18:18 +0900)]
[NUI] Skip adding cell padding to last LinearLayout item (#1815)

Cell padding shouldn't be added to last item.
Skip addition at last item.

4 years agoRemove non-touch related deprecated APIs (#1791)
Richard Huang [Thu, 9 Jul 2020 08:55:30 +0000 (09:55 +0100)]
Remove non-touch related deprecated APIs (#1791)

4 years ago[NUI] Make Pagination class public and fix CA warnings (#1777)
Seoyeon2Kim [Thu, 9 Jul 2020 08:02:20 +0000 (17:02 +0900)]
[NUI] Make Pagination class public and fix CA warnings (#1777)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Fix GridLayout logic (#1814)
neostom432 [Thu, 9 Jul 2020 07:38:25 +0000 (16:38 +0900)]
[NUI] Fix GridLayout logic (#1814)

Previously, children of GridLayout inherits top position of parents so if
positionY of GridLayout is not 0, the children are also moved same size.

Now, they don't inherit top position of parents.

4 years ago[NUI] Fix Size issue of Loading (#1806)
Jiyun Yang [Thu, 9 Jul 2020 07:14:48 +0000 (16:14 +0900)]
[NUI] Fix Size issue of Loading (#1806)

This fixes size effect of #1797

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[MediaController] Add the result code for Response and playback state enum (#1782)
hsgwon [Thu, 9 Jul 2020 04:51:29 +0000 (13:51 +0900)]
[MediaController] Add the result code for Response and playback state enum (#1782)

* [MediaController] Add the result code for Response and playback state enum

4 years ago[MediaPlayer] add missing error code (#1781)
nam [Thu, 9 Jul 2020 03:42:33 +0000 (12:42 +0900)]
[MediaPlayer] add missing error code (#1781)

* [MediaPlayer] add missing error code

* add exception method

* add other missing descriptions and change version

* remove typo

* fix wrong description

* Update src/Tizen.Multimedia.MediaPlayer/Player/Player.cs

Co-authored-by: Marcin Macias <40991900+m-macias@users.noreply.github.com>
Co-authored-by: Marcin Macias <40991900+m-macias@users.noreply.github.com>
4 years ago[MetadataEditor] Update exception description (#1776)
hsgwon [Wed, 8 Jul 2020 01:28:34 +0000 (10:28 +0900)]
[MetadataEditor] Update exception description (#1776)

* [Metadata] Update exception description

4 years ago[AudioIO] Add new volume property to set/get recording volume (#1793)
hsgwon [Wed, 8 Jul 2020 01:27:34 +0000 (10:27 +0900)]
[AudioIO] Add new volume property to set/get recording volume (#1793)

* [AudioIO] Add new volume property to set/get recording volume

4 years ago[Metadata] Update description of supported file format (#1778)
hsgwon [Wed, 8 Jul 2020 01:26:39 +0000 (10:26 +0900)]
[Metadata] Update description of supported file format (#1778)

4 years ago[NUI] Fix the issue that theme could not be changed (#1801)
huayongxu [Tue, 7 Jul 2020 06:09:41 +0000 (14:09 +0800)]
[NUI] Fix the issue that theme could not be changed (#1801)

* Fix the issue that theme could not be changed

* change default theme from lower to upper

4 years agoRevert "[NUI] Fix VisualMap.OutputVisualMap (#1794)" (#1804)
huiyueun [Tue, 7 Jul 2020 05:50:58 +0000 (14:50 +0900)]
Revert "[NUI] Fix VisualMap.OutputVisualMap (#1794)" (#1804)

This reverts commit 8936e6f1a0ea487b3c9fe1a18f4d3887c7d12bf9.

4 years ago[NUI] Add ReleasePolicy for ImageView (#1789)
tscholb [Tue, 7 Jul 2020 01:52:24 +0000 (10:52 +0900)]
[NUI] Add ReleasePolicy for ImageView (#1789)

Add ReleasePolicy to allow the application to determine the release policy of the image

4 years ago[Build] Add tizen-arm64, tizen.6.0.0-arm64 RIDs to runtime.json (#1800)
WonYoung Choi [Mon, 6 Jul 2020 23:44:26 +0000 (08:44 +0900)]
[Build] Add tizen-arm64, tizen.6.0.0-arm64 RIDs to runtime.json (#1800)

4 years ago[NUI] add exception code for NUIWidgetApplication (#1802)
tscholb [Mon, 6 Jul 2020 10:33:50 +0000 (19:33 +0900)]
[NUI] add exception code for NUIWidgetApplication (#1802)

if application use null dictionary for creating NUIWidgetApplication,
we need to throw exception.

4 years ago[NUI] Fix Switch selection bug. (#1798)
Jiyun Yang [Fri, 3 Jul 2020 10:33:37 +0000 (19:33 +0900)]
[NUI] Fix Switch selection bug. (#1798)

Previously, when a Switch is selected by code, the thumb is not moved to left/right.
```
var switchButton = new Switch()
{
  IsSelected = true,
}
```
Thumb is moved only if the user touches the switch area or presses return key.

This patch fixes this problem and to do that, it needed to change belows,

* Switch does not listen Touch/Key event anymore to detect selection changed
  Instead it uses ControlState changed event which is clearer.
* Button produces more complicate combined state such as "SelectedPressed".
* Clean up the code that is redundant in Selector.GetValue().

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoFix Loading sizeproperty not work (#1797)
zg2nets [Fri, 3 Jul 2020 09:08:43 +0000 (18:08 +0900)]
Fix Loading sizeproperty not work (#1797)

4 years ago[NUI] Change wrong comment of PositionUsesPivotPoint (#1796)
dongsug-song [Fri, 3 Jul 2020 07:18:14 +0000 (16:18 +0900)]
[NUI] Change wrong comment of PositionUsesPivotPoint (#1796)

4 years ago[NUI] Fix VisualMap.OutputVisualMap (#1794)
Jiyun Yang [Fri, 3 Jul 2020 06:39:55 +0000 (15:39 +0900)]
[NUI] Fix VisualMap.OutputVisualMap (#1794)

* Previously, VisualMap.OutputVisualMap returns a visual map without transform data.
  It causes misunderstanding frequently.
  Now it returns full visual map including transform data.
* Fix VisualMap.OutputVisualMap to create new PropertyMap everytime to
  prevent increasing map size.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Fix ControlState equality issue. (#1795)
Jiyun Yang [Fri, 3 Jul 2020 06:30:35 +0000 (15:30 +0900)]
[NUI] Fix ControlState equality issue. (#1795)

This patch fixes such code working well.
```
ControlState a = ControlState.Normal + ControlState.Selected;

a == ControlState.Selected; // This should be true.

```

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[MediaVision] Update descriptions (#1779)
hsgwon [Fri, 3 Jul 2020 06:25:58 +0000 (15:25 +0900)]
[MediaVision] Update descriptions (#1779)

4 years ago[MediaTool] Add new audio/video mimetype (#1774)
hsgwon [Fri, 3 Jul 2020 06:17:16 +0000 (15:17 +0900)]
[MediaTool] Add new audio/video mimetype (#1774)

* [MediaTool] Add new audio/video mimetype

4 years ago[Bluetooth][TCSACR-323] Fix AvrcpControl methods document (#1775)
Wootak Jung [Fri, 3 Jul 2020 02:17:06 +0000 (11:17 +0900)]
[Bluetooth][TCSACR-323] Fix AvrcpControl methods document (#1775)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] add ControlState class to support combined and custom state (#1762)
YeongJong Lee [Fri, 3 Jul 2020 02:05:20 +0000 (11:05 +0900)]
[NUI] add ControlState class to support combined and custom state (#1762)

### Custom State

You can define your own control states. first, declare ControlState variable
and initialize using  `ControlState.Create`.
```
public class MyButton : Button {
   ...
   ControlState MyState = ControlState.Create("MyState");
   ...
}
```
And assign to `View.ControlState`.
```
void OnStateChanged(...) {
    ControlState = MyState;
}
```

If you want to assign the value of custom state to `Selector`, use
`Add(ControlState state, object value)`.
```
Selector<string> textSelector = new Selector<string>();
textSelector.Add(ControlState.Pressed, "Pressed!");
textSelector.Add(MyState, "MyText");
```
or
```
Selector<string> textSelector = new Selector<string>()
{
    { ControlState.Pressed, "Pressed!" },
    { MyState, "MyText" }
};
```

 ### Combined State
To implement your own combined control states, you can use the `+` or `+=`
operators.
For example, `MyCombinedStateX` are all the same.
```
ControlState MyCombinedStateA =
   ControlState.Create(ControlState.Pressed, ControlState.Focused);

ControlState MyCombinedStateB = ControlState.Pressed + ControlState.Focused;
```

Note that `Normal` and `All` state cannot be combined with other states.
`Normal` state is ignored. however, `All` state will ignore other states.
```
ControlState.Create(ControlState.Pressed, ControlState.Focused, ControlState.Normal) ==
   ControlState.Create(ControlState.Pressed, ControlState.Focused)

ControlState.Create(ControlState.All, ControlState.Pressed, ControlState.Focused) ==
   ControlState.Create(ControlState.All)
```

 ### ControlState in Xaml

It will support new initialization syntax.
Legacy:
```
<c:TextLabelStyle.Text>
    <c:Selector x:TypeArguments="x:String" Normal="button" Pressed="pressed!!"/>
</c:TextLabelStyle.Text>
```

New:
```
<c:TextLabelStyle.Text>
    <c:StateValuePair x:TypeArguments="x:String" State="Normal" Value="button"/>
    <c:StateValuePair x:TypeArguments="x:String" State="Pressed" Value="pressed!!" />
    <c:StateValuePair x:TypeArguments="x:String" State="MyState" Value="my state!" />
    <c:StateValuePair x:TypeArguments="x:String" State="MyState,Normal,Focused" Value="my combined state!" />
</c:TextLabelStyle.Text>
```

However, it won't work because there is no converter of  `ControlState`.
The next step would be to implement `ControlState` converter.

4 years ago[NUI] Remove unused Internal Image classes & related methods (#1764)
Adeel Kazmi [Thu, 2 Jul 2020 17:39:22 +0000 (18:39 +0100)]
[NUI] Remove unused Internal Image classes & related methods (#1764)

4 years ago[NUI] Add PageFlickThreshold and ScrollAlphaFunction (#1790)
neostom432 [Thu, 2 Jul 2020 11:07:12 +0000 (20:07 +0900)]
[NUI] Add PageFlickThreshold and ScrollAlphaFunction (#1790)

Page will be changed when velocity of pan is over PageFlickThreshold.
And user can change alphafunction of scroll animation.

4 years ago[NUI] Move to dali2 (#1787)
dongsug-song [Thu, 2 Jul 2020 09:37:52 +0000 (18:37 +0900)]
[NUI] Move to dali2 (#1787)

- Revert "Revert "[NUI] Move to dali2 (#1745)" (#1768)"

This reverts commit f6135c911e9797db229e49581d644b342f73b0b6.

4 years ago[NUI] Clean up unused api (#1785)
neostom432 [Thu, 2 Jul 2020 08:05:58 +0000 (17:05 +0900)]
[NUI] Clean up unused api (#1785)

Clean up unused apis which is for making CustomView.
Theses apis are already calling in VisualView.

4 years ago[NUI] Support implicit value in Xaml (#1784)
AdunFang [Thu, 2 Jul 2020 07:03:31 +0000 (15:03 +0800)]
[NUI] Support implicit value in Xaml (#1784)

Co-authored-by: Fang Xiaohui <xiaohui fang>
4 years ago[Device][PerformanceController] Add PerformanceController API (#1683)
sanghyeok-oh [Thu, 2 Jul 2020 06:10:27 +0000 (15:10 +0900)]
[Device][PerformanceController] Add PerformanceController API (#1683)

* [Device][PmQos] Add PmQos API

Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* remove debugging log

Change-Id: I0159e335f684cf88ccee9d7dcec4b733c566131c
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Fix tizen version, remove unnecessary lines

Change-Id: I5b17449630e50763307c5f555bb3e3c62e7dcc6f
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Fix a typo

Change-Id: I4df7053e04c0b757a47266352d00549c14d2d8a0
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Add PmQosType

Change-Id: Ib89b74951ba7b4a06846abb7969c37e3610d8e3a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Add EditorBrowsable attribute

Change-Id: Iddbdf2787a431b6794de08121d8d35896a27e81b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Add EditorBrowsable attribute for PmQosType

Change-Id: Ifdabca75ddd1efcf3d5ef4512b67ee1cb61035f2
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* remove since tag

Change-Id: I5ffb25098e8634617430e83c9fb1ab8e80c6c0a8
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Change class name from PmQos to PerformanceController

Change-Id: I5c46c05a722eb110d06e3fb40fd31754c15d237f
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Remove since

Change-Id: Ib4c53ea3eace178db71d18904a760727483fe9e9
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Rename PmQosType to PerformanceControlType

Change-Id: I22a90223ce0ead6b081786d4be63edeec0ec21bf
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Modify summary

Change-Id: I925423dff1f2dd55e1df103e27b78bf858e9eb96
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
* Remove implicit operator

Change-Id: Idb20a8f52f26878c7aae977d2c101bb82906be7e
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
4 years ago[NUI] Restore setter of LayoutManager property to public (#1780)
neostom432 [Thu, 2 Jul 2020 04:53:28 +0000 (13:53 +0900)]
[NUI] Restore setter of LayoutManager property to public (#1780)

Restore LayoutManager property to public because user needs public setter to set
LayoutManager.

4 years ago[NUI] Fix orientaion of GridRecycleLayoutManager (#1770)
neostom432 [Thu, 2 Jul 2020 04:37:23 +0000 (13:37 +0900)]
[NUI] Fix orientaion of GridRecycleLayoutManager (#1770)

Orientation of GridRecyclerLayoutManager was reversed.

Now, Orientaion matches the direction of items listed in RecyclerView.

4 years ago[Security] Return error when the given privilege not exist (#1561)
yl33 [Thu, 2 Jul 2020 04:25:06 +0000 (13:25 +0900)]
[Security] Return error when the given privilege not exist (#1561)

* [ACR] Return error when the given privilege not exist

Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
* Merge separated remarks tags into 1 and revert API comment changes on deprecated API

Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
* Merge separated remarks tags

Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
4 years ago[NUI] Hide classes that will be move to specific tizen profile (#1769)
Jiyun Yang [Thu, 2 Jul 2020 01:52:41 +0000 (10:52 +0900)]
[NUI] Hide classes that will be move to specific tizen profile (#1769)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoRevert "[NUI] Move to dali2 (#1745)" (#1768)
dongsug-song [Thu, 2 Jul 2020 00:54:29 +0000 (09:54 +0900)]
Revert "[NUI] Move to dali2 (#1745)" (#1768)

This reverts commit aa10d896a05b18cb83c80944351e5af1695e0ba5.

4 years ago[MediaController] Fix metadata bug (#1621)
hsgwon [Wed, 1 Jul 2020 11:25:58 +0000 (20:25 +0900)]
[MediaController] Fix metadata bug (#1621)

* [MediaController] Fix metadata bug

4 years ago[NUI] Fix Button state issue (#1773)
Jiyun Yang [Wed, 1 Jul 2020 06:53:38 +0000 (15:53 +0900)]
[NUI] Fix Button state issue (#1773)

* This fixes the issue that a checkbox selection can not be unselected.
* Note that this is temporary solution, it need to be fixed after
  the Selector priovides priority among the states.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Fix lottie animation bug (#1772)
huiyueun [Wed, 1 Jul 2020 05:59:14 +0000 (14:59 +0900)]
[NUI] Fix lottie animation bug (#1772)

vectorImageVisualIndex is wrong.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[MediaVision] Support new inference backend engine - MLApi, One (#1755)
hsgwon [Wed, 1 Jul 2020 05:56:17 +0000 (14:56 +0900)]
[MediaVision] Support new inference backend engine - MLApi, One (#1755)

* [MediaVision] Support new inference backend engine - MLApi, One

4 years ago[NUI] Make Notification APIs public and fix CA warnings. (#1747)
Jiyun Yang [Wed, 1 Jul 2020 02:56:00 +0000 (11:56 +0900)]
[NUI] Make Notification APIs public and fix CA warnings. (#1747)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoSeparating Language changing logic and Region changing logic (#1556)
Seungkeun Lee [Wed, 1 Jul 2020 02:23:18 +0000 (11:23 +0900)]
Separating Language changing logic and Region changing logic (#1556)

4 years ago[Feedback] Change struct array to Dictionary<string, int> (#1479)
sanghyeok-oh [Wed, 1 Jul 2020 02:17:39 +0000 (11:17 +0900)]
[Feedback] Change struct array to Dictionary<string, int> (#1479)

* change struct array to Dictionary<string, int>

* [Feedback][refactor] change to use TryGetValue()

* Add detail information

4 years ago[Bluetooth][TCSACR-323] Add new Avrcp Control API (#1666)
Sudipto Bal [Tue, 30 Jun 2020 09:03:02 +0000 (18:03 +0900)]
[Bluetooth][TCSACR-323] Add new Avrcp Control API (#1666)

Signed-off by: Sudipto Bal <sudipto.bal@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] Open the APIs of Button/CheckBox/RadioButton/Slider/Switch (#1722)
zhouleonlei [Tue, 30 Jun 2020 05:20:32 +0000 (13:20 +0800)]
[NUI] Open the APIs of Button/CheckBox/RadioButton/Slider/Switch (#1722)

4 years ago[Applications.Common] Fix Handler of GSourceManager (#1767)
hjhun [Tue, 30 Jun 2020 03:34:33 +0000 (12:34 +0900)]
[Applications.Common] Fix Handler of GSourceManager (#1767)

This patch removes using ContainsKey() of ConcurrentDictionary.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] Remove OnThemeChangedEvent from controls (#1761)
Jiyun Yang [Tue, 30 Jun 2020 02:43:28 +0000 (11:43 +0900)]
[NUI] Remove OnThemeChangedEvent from controls (#1761)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Bluetooth][Non-ACR] Fix LeDevice constructor exception issue (#1765)
Wootak Jung [Tue, 30 Jun 2020 01:58:35 +0000 (10:58 +0900)]
[Bluetooth][Non-ACR] Fix LeDevice constructor exception issue (#1765)

Exception is occured on BluetoothLeDevice constructor if GATT not supported.
BluetoothGattClient.StaticConnectionStateChanged += (s, e) =>
Remove exception throw logic on the event handler StaticConnectionStateChanged for consistency

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] change to protected property from field (#1723)
YeongJong Lee [Mon, 29 Jun 2020 11:56:53 +0000 (20:56 +0900)]
[NUI] change to protected property from field (#1723)

Fixes CA1051

4 years ago[NUI] Fix not to dispose LayoutManager in FlexibleView (#1763)
jaehyun0cho [Mon, 29 Jun 2020 11:46:57 +0000 (20:46 +0900)]
[NUI] Fix not to dispose LayoutManager in FlexibleView (#1763)

Since LayoutManager handle mLayout is not constructed by FlexibleView,
mLayout is not disposed but its member handles are cleared.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Hide legacy ScrollBar and corresponding style class (#1754)
Jiyun Yang [Mon, 29 Jun 2020 07:55:49 +0000 (16:55 +0900)]
[NUI] Hide legacy ScrollBar and corresponding style class (#1754)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Deceleration of scrolling (#1759)
neostom432 [Fri, 26 Jun 2020 06:55:40 +0000 (15:55 +0900)]
[NUI] Deceleration of scrolling (#1759)

Previously, scrolling uses same alphafunction so scrolling is always
getting slow as same rate even if the velocity of panning is different.

Now, we use deceleration fomular and generating alphafunction using
velocity and deceleration rate.

deceleration 0.99 is fast deceleration and 0.998 is normal.

4 years ago[NUI] Deprecate FlexContainer class (#1704)
Seoyeon2Kim [Fri, 26 Jun 2020 05:37:26 +0000 (14:37 +0900)]
[NUI] Deprecate FlexContainer class (#1704)

* [NUI] Deprecate FlexContainer class

- FlexLayout can be replaced FlexContainer.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Hide NUI.Component.StyleManager (#1749)
Jiyun Yang [Fri, 26 Jun 2020 04:55:49 +0000 (13:55 +0900)]
[NUI] Hide NUI.Component.StyleManager (#1749)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[WidgetControl] Add get widget count API for internal (#1760)
sukhyungkang [Fri, 26 Jun 2020 04:13:44 +0000 (13:13 +0900)]
[WidgetControl] Add get widget count API for internal (#1760)

* Add get widget count API for internal

Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
* Update WidgetControl.cs

* Update Interop.WidgetService.cs

4 years ago[Camera] Support NUI window for preview (#1753)
hsgwon [Fri, 26 Jun 2020 02:38:38 +0000 (11:38 +0900)]
[Camera] Support NUI window for preview (#1753)

* [Camera] Support NUI window for preview

4 years ago[WidgetControl] Add property for setup app id (#1710)
sukhyungkang [Fri, 26 Jun 2020 00:31:31 +0000 (09:31 +0900)]
[WidgetControl] Add property for setup app id (#1710)

Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years ago[NUI] Implement IDisposable to class containing disposable class (#1757)
jaehyun0cho [Thu, 25 Jun 2020 11:58:20 +0000 (20:58 +0900)]
[NUI] Implement IDisposable to class containing disposable class (#1757)

IDisposable is implemented to class containing disposable class instance
in Tizen.NUI.Components and Tizen.NUI.Wearable to resolve CA1001 of
StyleCop.

Extension classes in Tizen.NUI.Components are not included to this patch
because it has OnDispose() method similar to Dispose().

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Change to get PropertyValue by integer (#1756)
huiyueun [Thu, 25 Jun 2020 08:38:14 +0000 (17:38 +0900)]
[NUI] Change to get PropertyValue by integer (#1756)

Please refer dali patch
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/234639/

Modified to get string as integer by this patch.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Move to dali2 (#1745)
dongsug-song [Thu, 25 Jun 2020 06:42:25 +0000 (15:42 +0900)]
[NUI] Move to dali2 (#1745)

* [NUI] Move to dali2

Revert "Revert "[NUI] Move to dali2 (#1717)" (#1733)"

This reverts commit 252cd7e3b6a1496e254c1150dd52a71813a2a1b5.

* Revert "Revert "[NUI] Add MIN_LINE_SIZE property at TextLabel (#1619)" (#1687)"

This reverts commit ac0155cf23aaa3d7093a4b300acea09e0ddd8170.

* Revert "Revert "[NUI]TextField: SelectNone and SelectedText (#1611)" (#1686)"

This reverts commit 6355db27ed926abd25c9f8f60a577e70df359b86.

4 years ago[NUI] Add public types to replace nested types (CA1034 of StyleCop) (#1692)
jaehyun0cho [Wed, 24 Jun 2020 11:53:42 +0000 (20:53 +0900)]
[NUI] Add public types to replace nested types (CA1034 of StyleCop) (#1692)

Renamed public types are added outside of the class to replace public
nested types (CA1034 of StyleCop) in Tizen.NUI.Components and
Tizen.NUI.Wearable.

This patch is done for types which have not been publicly opened.

The newly added event and EventArgs names follow the C# naming rules.

To identify the nested types from other types, the class name is
prepended to the nested type names if it is required.
e.g. FlexibleView.ItemClickEventArgs -> FlexibleViewItemClickedEventArgs

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Fix NUI.Wearable build install fail (#1748)
dongsug-song [Wed, 24 Jun 2020 06:01:08 +0000 (15:01 +0900)]
[NUI] Fix NUI.Wearable build install fail (#1748)

4 years ago[Build] Disable struct validation by default (#1746)
TizenAPI-Bot [Wed, 24 Jun 2020 03:33:16 +0000 (12:33 +0900)]
[Build] Disable struct validation by default (#1746)

Co-authored-by: Wonyoung Choi <wy80.choi@samsung.com>
4 years ago[NUI] Modify comments (#1737)
dongsug-song [Wed, 24 Jun 2020 02:29:40 +0000 (11:29 +0900)]
[NUI] Modify comments (#1737)

4 years ago[NUI] Fix CircularPagination bugs (#1744)
Seoyeon2Kim [Wed, 24 Jun 2020 02:15:40 +0000 (11:15 +0900)]
[NUI] Fix CircularPagination bugs (#1744)

- Fixed to overlap the indicator when IndicatorCount increased.
- Fixed minor bugs for LeftIndicatorCount and RightIndicatorCount.
- Added the protection conditionals.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Split large files (#1728)
Xianbing Teng [Wed, 24 Jun 2020 02:02:08 +0000 (10:02 +0800)]
[NUI] Split large files (#1728)

Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
4 years ago[NUI] Change to use GetNativeId() (#1742)
huiyueun [Wed, 24 Jun 2020 01:35:31 +0000 (10:35 +0900)]
[NUI] Change to use GetNativeId() (#1742)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[Bluetooth][Non-ACR] Fix invalid sender issue (#1743)
wootak [Tue, 23 Jun 2020 23:50:58 +0000 (08:50 +0900)]
[Bluetooth][Non-ACR] Fix invalid sender issue (#1743)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>