platform/core/csapi/tizenfx.git
4 years ago[NUI] Load default theme in preload
Jiyun Yang [Tue, 24 Nov 2020 03:11:31 +0000 (12:11 +0900)]
[NUI] Load default theme in preload

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] remove unused Xamarin style classes (#2184)
YeongJong Lee [Tue, 24 Nov 2020 08:54:49 +0000 (17:54 +0900)]
[NUI] remove unused Xamarin style classes (#2184)

NUI uses `Tizen.NUI.BaseComponents.ViewStyle` instead of
`Tizen.NUI.Binding.Style` which is copied from xamarin.

4 years ago[NUI] Fix StyleCop warning CA1823 (#2222)
Jaehyun Cho [Tue, 24 Nov 2020 07:56:48 +0000 (16:56 +0900)]
[NUI] Fix StyleCop warning CA1823 (#2222)

To fix CA1823(Avoid unused private fields), the unused private fields
are removed.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: YeongJong Lee <cleanlyj@naver.com>
4 years ago[NUI] respect flex child margin changes (#2271)
YeongJong Lee [Mon, 23 Nov 2020 11:20:22 +0000 (20:20 +0900)]
[NUI] respect flex child margin changes (#2271)

The flex child margin is only set when a flex child is added to flexlayout,
so margin changes after `View.Add` are ignored.

To respect child margin changes, This patch add code to set flex margin in
`OnMeasure`.

4 years agoRevert refactoring naming (#2274)
JoogabYun [Mon, 23 Nov 2020 08:10:38 +0000 (17:10 +0900)]
Revert refactoring naming (#2274)

* Revert "[NUI] remove "_" and refactoring naming to pascal case. (#2244)"

This reverts commit b0942517f09bb292216797a0a890121619384a21.

* Revert "[NUI] fixed build warning CA1707 (#2241)"

This reverts commit 88d78644dada8a24e14cdf2b5b724537e3ef9952.

* Revert "[NUI] fixed build warning CA1707 (#2239)"

This reverts commit be21b7e43c56b92fa64d4f0a4522f2369c3fb35d.

4 years ago[NUI] Fix build warning CA1062 (#2234)
Seoyeon2Kim [Mon, 23 Nov 2020 06:23:03 +0000 (15:23 +0900)]
[NUI] Fix build warning CA1062 (#2234)

* [NUI] Fix build warning CA1062

- Need to verify whether the argument is null
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1062

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Add exception handling tag

- The <exception> tag lets you specify which exceptions can be thrown.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] remove unnecessary code that flex margin is assigned to flexlayout (#2272)
YeongJong Lee [Mon, 23 Nov 2020 05:50:07 +0000 (14:50 +0900)]
[NUI] remove unnecessary code that flex margin is assigned to flexlayout (#2272)

Sicne the margin of FlexLayout will be handled by the parent layout,
we don't need to re-assign margin in `OnMeasure`.

4 years ago[NUI] fix CellPadding bugs on LinearLayout (#2269)
YeongJong Lee [Mon, 23 Nov 2020 05:30:00 +0000 (14:30 +0900)]
[NUI] fix CellPadding bugs on LinearLayout (#2269)

`childrenCount` is added to count children that have false ExcludeLayouting.
And `CellPadding` is now respected regardless of exactly mode.

This patch will fix the following bugs.
1. In some cases, when CellPadding is set, children are misaligned.
2. If CellPadding is set and last child set ExcludeLayouting to true,
CellPadding is added to the end of items.

For more information on the issues, please see the comment of this
pull request.

4 years ago[NUI] synchronize View.ExcludeLayouting and FlexLayout.PositionType (#2254)
YeongJong Lee [Fri, 20 Nov 2020 07:51:37 +0000 (16:51 +0900)]
[NUI] synchronize View.ExcludeLayouting and FlexLayout.PositionType (#2254)

Simple Test
```cs
//Default value test
bool Default_ExcludeLayouting = view.ExcludeLayouting; // False
FlexLayout.PositionType Default_FlexPositionType = FlexLayout.GetFlexPositionType(view); //Relative

// FlexPositionType test depending on ExcludeLayouting
view.ExcludeLayouting = true;
FlexLayout.PositionType FlexPositionType = FlexLayout.GetFlexPositionType(view); //Absolute

// ExcludeLayouting test depending on FlexLayout.SetFlexPositionType
FlexLayout.SetFlexPositionType(view, FlexLayout.PositionType.Relative);
bool ExcludeLayouting = view.ExcludeLayouting; // False;
```

4 years ago[NUI] fix CA1801 build warnings (#2258)
Youngbok Shin [Fri, 20 Nov 2020 06:00:08 +0000 (15:00 +0900)]
[NUI] fix CA1801 build warnings (#2258)

Fix CA1801 build warnings except auto-generated code by SWIG.

Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
Co-authored-by: woohyun <woo_hyun0705@naver.com>
4 years ago[Bluetooth][Non-ACR] Fix svace issue (#2270)
Wootak Jung [Mon, 23 Nov 2020 05:50:48 +0000 (14:50 +0900)]
[Bluetooth][Non-ACR] Fix svace issue (#2270)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] Enable/Disable overshooting effect for ScrollableBase.
huayong.xu [Thu, 5 Nov 2020 09:24:04 +0000 (17:24 +0800)]
[NUI] Enable/Disable overshooting effect for ScrollableBase.

A property EnableOverShootingEffect is added. default is false.
And shadow would be raised to top when effect appears.

4 years ago[NUI] Correct the meaning of ExcludeLayouting. (#2257)
bshsqa [Thu, 19 Nov 2020 05:47:15 +0000 (14:47 +0900)]
[NUI] Correct the meaning of ExcludeLayouting. (#2257)

Signed-off-by: seungho <sbsh.baek@samsung.com>
4 years ago[NUI] change Column, Row default value from -1 to AutoColumn, AutoRow (#2180)
YeongJong Lee [Thu, 19 Nov 2020 02:41:09 +0000 (11:41 +0900)]
[NUI] change Column, Row default value from -1 to AutoColumn, AutoRow (#2180)

ArgumentException will be thrown when column,row is a negative value
other than AutoColumn/AutoRow.

4 years agoFollow formatting NUI
huiyu.eun [Wed, 18 Nov 2020 07:39:34 +0000 (16:39 +0900)]
Follow formatting NUI

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] remove "_" and refactoring naming to pascal case. (#2244)
JoogabYun [Wed, 18 Nov 2020 04:31:59 +0000 (13:31 +0900)]
[NUI] remove "_" and refactoring naming to pascal case. (#2244)

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
4 years ago[NUI] Add Navigator and Page classes
Jaehyun Cho [Fri, 11 Sep 2020 02:40:47 +0000 (11:40 +0900)]
[NUI] Add Navigator and Page classes

To support view navigation, Navigator and Page classes are added.
Navigator class provides stack methods to manage and navigate pages.
Page class is an element of navigation.

To add Page class, XamlBinding classes related to Page are removed
because they are not used.

4 years ago[NUI] Fix exception defect when LanguageChanged event has come
dongsug.song [Mon, 16 Nov 2020 08:04:21 +0000 (17:04 +0900)]
[NUI] Fix exception defect when LanguageChanged event has come

- LocaleLanguageChanged event should be unsubscribed when TextLabel, TextField, TextEditor are disposed.

4 years ago[NUI] Add more selection functinality into TextEditor (#2152)
Ali-Alzyoud [Wed, 18 Nov 2020 01:33:39 +0000 (03:33 +0200)]
[NUI] Add more selection functinality into TextEditor (#2152)

1- Add SelectWholeText method
2- Add SelectNone method
3- add SELECTED_TEXT property

Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
4 years ago[NUI] Add ExcludeLayouting to View (#2187)
bshsqa [Wed, 18 Nov 2020 01:03:52 +0000 (10:03 +0900)]
[NUI] Add ExcludeLayouting to View (#2187)

* [NUI] Formatting for layout code

Signed-off-by: seungho <sbsh.baek@samsung.com>
* [NUI] Add ExcludeLayouting to View

 - If ExcludeLayouting property is false, the view is not affected by parent layout
 - Even the property is false, the children Views are affected by layout of current View
 - This ExcludeLayouting property is changed synchronously with SetPositionByLayout of its layout
 - Children of AbsoluteLayout can freely be animated.

Signed-off-by: seungho <sbsh.baek@samsung.com>
4 years ago[NUI] fixed build warning CA1707 (#2241)
JoogabYun [Tue, 17 Nov 2020 08:11:01 +0000 (17:11 +0900)]
[NUI] fixed build warning CA1707 (#2241)

- ItemFactory

4 years ago[NUI] fixed build warning CA1707 (#2239)
JoogabYun [Tue, 17 Nov 2020 07:43:22 +0000 (16:43 +0900)]
[NUI] fixed build warning CA1707 (#2239)

- Renderer

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
4 years ago[NUI] fixed build warning CA2208 (#2228)
JoogabYun [Tue, 17 Nov 2020 01:15:32 +0000 (10:15 +0900)]
[NUI] fixed build warning CA2208 (#2228)

4 years ago[NUI] fix a CA2200 warning (#2240)
Youngbok Shin [Fri, 13 Nov 2020 10:26:48 +0000 (19:26 +0900)]
[NUI] fix a CA2200 warning (#2240)

Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
4 years ago[NUI] Fill missing descriptions and fix build warnings for Theme (#2195)
Jiyun Yang [Fri, 13 Nov 2020 06:54:28 +0000 (15:54 +0900)]
[NUI] Fill missing descriptions and fix build warnings for Theme (#2195)

This patch fixes build warnings and Roslynator suggestions in Theme and ThemeManager.

CA2208 Instantiate argument exceptions correctly
CA1062 Validate arguments of public methods
IDE0044 Add readonly modifier
IDE0005 Remove unnecessary import
RCS1171 Simplify lazy initialization

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] fixed build warning CA1802 (#2227)
JoogabYun [Fri, 13 Nov 2020 05:25:56 +0000 (14:25 +0900)]
[NUI] fixed build warning CA1802 (#2227)

4 years ago[NUI] fix a CA1507 warning (#2233)
Youngbok Shin [Fri, 13 Nov 2020 01:26:32 +0000 (10:26 +0900)]
[NUI] fix a CA1507 warning (#2233)

Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
4 years agoFix CA2000 warning issues of GLWindow / ViewInternal.
guowei.wang [Tue, 10 Nov 2020 03:22:10 +0000 (11:22 +0800)]
Fix CA2000 warning issues of GLWindow / ViewInternal.

4 years ago[Build] Fix wrong dependency of Tizen.NET nuget package (#2235)
WonYoung Choi [Fri, 13 Nov 2020 02:26:10 +0000 (11:26 +0900)]
[Build] Fix wrong dependency of Tizen.NET nuget package (#2235)

Co-authored-by: Wonyoung Choi <wy80.choi@samsung.net>
4 years ago[Build] Add FOTA script for TizenFX (#2225)
WonYoung Choi [Thu, 12 Nov 2020 05:26:38 +0000 (14:26 +0900)]
[Build] Add FOTA script for TizenFX (#2225)

* [Build] Add FOTA script for TizenFX

* Update 500.tizenfx_upgrade.sh

4 years ago[NUI] Fixed the svace issues of Visuals
zhouleonlei [Tue, 10 Nov 2020 06:53:33 +0000 (14:53 +0800)]
[NUI] Fixed the svace issues of Visuals

4 years ago[NUI] Fixed Svace issues
zhouleonlei [Tue, 10 Nov 2020 02:52:38 +0000 (10:52 +0800)]
[NUI] Fixed Svace issues

4 years ago[NUI] Fix bulid warnings in Shadow
Jiyun Yang [Tue, 10 Nov 2020 03:24:16 +0000 (12:24 +0900)]
[NUI] Fix bulid warnings in Shadow

This patch fixes following build warnings and coding recommandations for Shadow.

* Fill missing API descriptions.
* Do not call overridable methods in constructors. (CA2214)
* Remove trailing white spaces.
* Remove unnecessary parentheses. (IDE0047)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] fix ThemeResourceSample build error
Yeongjong Lee [Tue, 10 Nov 2020 11:51:44 +0000 (20:51 +0900)]
[NUI] fix ThemeResourceSample build error

This patch will fix build error caused by conflict between global::System.XXX
and Tizen.System.XXX namespace.

4 years ago[NUI] Add EnableMultiSelection to SelectGroup (#2116)
Jaehyun Cho [Tue, 10 Nov 2020 11:15:02 +0000 (20:15 +0900)]
[NUI] Add EnableMultiSelection to SelectGroup (#2116)

To support selecting multiple SelectButtons in SelectGroup,
bool EnableMultiSelection is added to SelectGroup.

By adding EnableMultiSelection in SelectGroup, RadioButtonGroup does not
need to implement its logic to prevent selecting multiple RadioButtons.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoFix static analysis issues (#2190)
hjhun [Fri, 6 Nov 2020 05:53:54 +0000 (14:53 +0900)]
Fix static analysis issues (#2190)

Issues:
 - NO_LOCK.STAT

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] change orientation angle in GLWindow
Wonsik Jung [Mon, 9 Nov 2020 01:32:03 +0000 (10:32 +0900)]
[NUI] change orientation angle in GLWindow

Change orientation angle in GLWindow. It is same with NUI.Window.

4 years agoFix warnings about CA2000 of NUI.Components. (#2157)
guowei.wang [Mon, 9 Nov 2020 05:42:51 +0000 (13:42 +0800)]
Fix warnings about CA2000 of NUI.Components. (#2157)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Do not make error message when the profile theme file is not found (#2188)
Jiyun Yang [Fri, 6 Nov 2020 09:44:03 +0000 (18:44 +0900)]
[NUI] Do not make error message when the profile theme file is not found (#2188)

In some profile, not all 3 theme files exists.
So the patch checks file existance not to make error messages.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Introduce ThemeResource (#2176)
YeongJong Lee [Fri, 6 Nov 2020 07:42:50 +0000 (16:42 +0900)]
[NUI] Introduce ThemeResource (#2176)

You can define resources(e.g. color, image etc.) of theme in seperate files.
ThemeResource can be changed in runtime without changing theme file.

4 years ago[NUI] Fix recursion when the view sets KeyboardNavigationSupport to true (#2100)
Jiyun Yang [Fri, 6 Nov 2020 07:09:35 +0000 (16:09 +0900)]
[NUI] Fix recursion when the view sets KeyboardNavigationSupport to true (#2100)

In Dali code, the method GetNextKeyboardFocuableActor should return
an empty actor (= the base handle without a referenced object)
if there is no actor can be focused.

The corresponding method in NUI is GetNextFocusableView.
It returned new View() (that is not an empty actor) which leads to the wrong result.
So instead returning new View, this patch returns a null IntPtr.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] fixed build warning CS1574 (#2191)
JoogabYun [Fri, 6 Nov 2020 06:27:02 +0000 (15:27 +0900)]
[NUI] fixed build warning CS1574 (#2191)

4 years ago[NUI] No need to do Registry.GetManagedBaseHandleFromNativePtr().
Joogab Yun [Thu, 5 Nov 2020 02:26:47 +0000 (11:26 +0900)]
[NUI] No need to do Registry.GetManagedBaseHandleFromNativePtr().

4 years agoRevert "[NUI] Add TouchArea property. (#2105)" (#2166)
JoogabYun [Tue, 3 Nov 2020 06:34:37 +0000 (15:34 +0900)]
Revert "[NUI] Add TouchArea property. (#2105)" (#2166)

This reverts commit 4a36f8f08fe9d580b35d740b8462a9a75fabd401.

4 years ago[NUI] Fix default animation bug of seamless
huiyu.eun [Tue, 3 Nov 2020 02:31:05 +0000 (11:31 +0900)]
[NUI] Fix default animation bug of seamless

fix virtual to override

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Add defensive code for ViewSignal Disconnect()
Dongsug Song [Mon, 5 Oct 2020 10:38:58 +0000 (19:38 +0900)]
[NUI] Add defensive code for ViewSignal Disconnect()

4 years ago[NUI] Add TouchArea property. (#2105)
JoogabYun [Tue, 3 Nov 2020 01:23:13 +0000 (10:23 +0900)]
[NUI] Add TouchArea property. (#2105)

Default touchable area is view's size.
TouchArea can reset the view's touchable area.

This is usefull when the view is small, but it should have a larger touch area.

for example

      View view = new View();
      view.Size = new Size(10, 10);
      view.TouchEvent += OnTouchEvent;
      view.TouchArea = new Size2D(200, 200);

The view is small, If you want to set the touch area to a larger area,
you can use the TouchArea property.

4 years ago[NUI] Add try-catch block in New function (#2119)
huiyueun [Tue, 3 Nov 2020 01:16:33 +0000 (10:16 +0900)]
[NUI] Add try-catch block in New function (#2119)

- VD Kona : DF200922-00146
- Anlayze the log when the problem is reproduced,
 after inserting the try-catch block with log.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
4 years ago[WiFi] Use cloned apHandle (#2155)
chleun-moon [Tue, 3 Nov 2020 01:01:48 +0000 (10:01 +0900)]
[WiFi] Use cloned apHandle (#2155)

4 years agoUpdate README.md
WonYoung Choi [Tue, 3 Nov 2020 01:08:33 +0000 (10:08 +0900)]
Update README.md

4 years agoUpdate README.md
WonYoung Choi [Tue, 3 Nov 2020 01:07:47 +0000 (10:07 +0900)]
Update README.md

4 years ago[Build] Bump to API Level 9 (#2161)
WonYoung Choi [Tue, 3 Nov 2020 00:56:31 +0000 (09:56 +0900)]
[Build] Bump to API Level 9 (#2161)

4 years ago[Build] Add API Level 9
WonYoung Choi [Tue, 3 Nov 2020 00:30:04 +0000 (09:30 +0900)]
[Build] Add API Level 9

4 years ago[NUI] fix ScrollableBase layout issue
seungho [Mon, 2 Nov 2020 08:48:11 +0000 (17:48 +0900)]
[NUI] fix ScrollableBase layout issue

 - Rollback default ContentsContainer layout (AbsoluteLayout)
 - Set false the value of SetPositionByLayout of the AbsoluteLayout

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
4 years agorename cs file of testcase
huayong.xu [Mon, 2 Nov 2020 09:10:19 +0000 (17:10 +0800)]
rename cs file of testcase

4 years agoMake sure scrollable shadow is shown only when scrolled vertically
huayong.xu [Mon, 2 Nov 2020 07:58:02 +0000 (15:58 +0800)]
Make sure scrollable shadow is shown only when scrolled vertically

When the scrollable is scrolled horizontally, a background image
is shown accidentally.
This patch adds a check that scrollable shadow is shown only when
scrolled vertically.

4 years ago[NUI] Fix ScrollableBase Size Issue
seungho [Mon, 2 Nov 2020 03:27:10 +0000 (12:27 +0900)]
[NUI] Fix ScrollableBase Size Issue

 - Fix OnMeasure callback in LinearLayout.(handling margin and padding)
 - Fix to handle only layout of ContentContainer to measure and layout of scrollableBase
 - Fix LayoutGroup to do not assert when the child view has no layout in RemoveChildFromLayoutGroup method

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
4 years ago[Elmsharp] Add fontconfig reinit method (#2144)
shmin [Sun, 1 Nov 2020 22:00:22 +0000 (07:00 +0900)]
[Elmsharp] Add fontconfig reinit method (#2144)

Co-authored-by: Kangho Hur <rookiejava@gmail.com>
4 years agoRevert "[NUI] fix ScrollableBase wrong size issue (#2126)" (#2150)
huiyueun [Fri, 30 Oct 2020 12:25:17 +0000 (21:25 +0900)]
Revert "[NUI] fix ScrollableBase wrong size issue (#2126)" (#2150)

This reverts commit 663cf117fbee9589ef6b1eda3c26eef902641836.

4 years ago[NUI] Change type of Selector.StateValueList to IList (#2149)
Jiyun Yang [Fri, 30 Oct 2020 09:20:50 +0000 (18:20 +0900)]
[NUI] Change type of Selector.StateValueList to IList (#2149)

This is tempopary error fix to sync with fhub-nui without full build.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Build] Add a dependent nuget packages (#2147)
WonYoung Choi [Fri, 30 Oct 2020 06:52:36 +0000 (15:52 +0900)]
[Build] Add a dependent nuget packages (#2147)

4 years ago[NUI] TextField/TextEditor: Add enableEditing properties (#2071)
Ali-Alzyoud [Fri, 30 Oct 2020 01:26:54 +0000 (03:26 +0200)]
[NUI] TextField/TextEditor: Add enableEditing properties (#2071)

4 years ago[NUI] Handle null inputs in shadow
Jiyun Yang [Tue, 27 Oct 2020 10:11:44 +0000 (19:11 +0900)]
[NUI] Handle null inputs in shadow

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Make Selector.StateValueList public temporarily (#2142)
YeongJong Lee [Thu, 29 Oct 2020 08:25:03 +0000 (17:25 +0900)]
[NUI] Make Selector.StateValueList public temporarily (#2142)

This will fix DA-NUI build error.
Please revert this patch after the DA build error is fixed.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] fix ScrollableBase wrong size issue (#2126)
bshsqa [Thu, 29 Oct 2020 08:17:20 +0000 (17:17 +0900)]
[NUI] fix ScrollableBase wrong size issue (#2126)

- Fix OnMeasure callback in LinearLayout.(handling margin and padding)
 - Fix to handle only layout of ContentContainer to measure and layout of ScrollableBase.

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
Co-authored-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] avoid duplicated elements in Selector (#2122)
YeongJong Lee [Thu, 29 Oct 2020 07:32:13 +0000 (16:32 +0900)]
[NUI] avoid duplicated elements in Selector (#2122)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] add ScrollOutOfBound event handler. (#2110)
huayongxu [Thu, 29 Oct 2020 07:22:49 +0000 (15:22 +0800)]
[NUI] add ScrollOutOfBound event handler. (#2110)

* add ScrollOutofBound event handler.

* add EditorBrowsableState.Never

* rename ScrollOutOfBoundEventArgs.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] TextField/TextEditor: Add SelectedTextStart, SelectedTextEnd properties (#2066)
Ali-Alzyoud [Thu, 29 Oct 2020 07:00:12 +0000 (10:00 +0300)]
[NUI] TextField/TextEditor: Add SelectedTextStart, SelectedTextEnd properties (#2066)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Add DisallowInterceptTouchEvent (#2109)
JoogabYun [Thu, 29 Oct 2020 06:52:38 +0000 (15:52 +0900)]
[NUI] Add DisallowInterceptTouchEvent (#2109)

If child view doesn't want the parent's view to intercept the touch, you can set it to true.
 for example :
    parent.Add(child);
    parent.InterceptTouchEvent += OnInterceptTouchEvent;
    View view = child.GetParent() as View;
    view.DisallowInterceptTouchEvent = true;
 This prevents the parent from interceping touch.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years agoRevert "[NUI] Fix Dispose warning error[CA1001] (#2130)"
huiyu.eun [Thu, 29 Oct 2020 06:49:17 +0000 (15:49 +0900)]
Revert "[NUI] Fix Dispose warning error[CA1001] (#2130)"

This reverts commit 00ffabd0eb3ea4f57f1172d466737d25f0bc79c9.

4 years ago[NUI] add exception docs of layout classes (#2052)
YeongJong Lee [Thu, 29 Oct 2020 06:01:13 +0000 (15:01 +0900)]
[NUI] add exception docs of layout classes (#2052)

Requested by TCT reviewr.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] add null checking for equality operator of ControlState (#2079)
YeongJong Lee [Thu, 29 Oct 2020 05:47:21 +0000 (14:47 +0900)]
[NUI] add null checking for equality operator of ControlState (#2079)

This is patch to prevent a null reference exception in the following
code.

```cs
bool b = null == ControlState.Pressed;
```

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] remove unused exception parameters (#2089)
YeongJong Lee [Thu, 29 Oct 2020 05:00:39 +0000 (14:00 +0900)]
[NUI] remove unused exception parameters (#2089)

Fixes CS0168

Co-authored-by: Yeongjong Lee <yj34.lee@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] remove unused parameter docs tag. (#2083)
YeongJong Lee [Thu, 29 Oct 2020 04:55:53 +0000 (13:55 +0900)]
[NUI] remove unused parameter docs tag. (#2083)

Fixes CS1572

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Add ThemeManager (#2034)
Jiyun Yang [Thu, 29 Oct 2020 03:22:42 +0000 (12:22 +0900)]
[NUI] Add ThemeManager (#2034)

* [NUI] Refactoring Theme and StyleManager

* [NUI] Fix bugs and improve ThemeManager code

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix button bugs that come after applying ThemeManager

In the DropDown button, the IconRelativeOrientation was not working
because it is set before ApplyStyle().
Potentially, IconPadding and TextPadding had same problem.
This patch fixes it.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years agorename member variables.
huayong.xu [Wed, 21 Oct 2020 05:13:58 +0000 (13:13 +0800)]
rename member variables.

4 years agoupdate some comments.
huayong.xu [Tue, 20 Oct 2020 11:23:08 +0000 (19:23 +0800)]
update some comments.

4 years agoadd shadow effect for scrollablebase.
huayong.xu [Tue, 20 Oct 2020 10:44:05 +0000 (18:44 +0800)]
add shadow effect for scrollablebase.

4 years ago[NUI] Fix Dispose warning error[CA1001] (#2130)
huiyueun [Wed, 28 Oct 2020 09:45:17 +0000 (18:45 +0900)]
[NUI] Fix Dispose warning error[CA1001] (#2130)

* [NUI] Fix DisposeQueue warning error[CA1001]

CA100: Types that own disposable fields should be disposable
https://docs.microsoft.com/ko-kr/dotnet/fundamentals/code-analysis/quality-rules/ca1001

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Fix Accessibility build warnings

CA100: Types that own disposable fields should be disposable
https://docs.microsoft.com/ko-kr/dotnet/fundamentals/code-analysis/quality-rules/ca1001

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Fix build warnings- 1001

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Add destructor

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
4 years ago[NUI] Fix build warning CA1507
Yeongjong Lee [Thu, 29 Oct 2020 02:45:03 +0000 (11:45 +0900)]
[NUI] Fix build warning CA1507

Use nameof instead of string

4 years ago[NUI] Fix build warning CS1573 (#2137)
dongsug-song [Wed, 28 Oct 2020 07:20:54 +0000 (16:20 +0900)]
[NUI] Fix build warning CS1573 (#2137)

4 years ago[NUI] Fix build warning: CS0105 (#2136)
dongsug-song [Wed, 28 Oct 2020 06:45:22 +0000 (15:45 +0900)]
[NUI] Fix build warning: CS0105 (#2136)

* [NUI] Fix build warning: CS0105

* [NUI] Fix build warning: CS0169

4 years ago[Build] Fix workflow to add branch label for DevelNUI
Wonyoung Choi [Wed, 28 Oct 2020 05:23:25 +0000 (14:23 +0900)]
[Build] Fix workflow to add branch label for DevelNUI

4 years ago[Build] Add DevelNUI branch to workflows (#2135)
WonYoung Choi [Wed, 28 Oct 2020 05:11:31 +0000 (14:11 +0900)]
[Build] Add DevelNUI branch to workflows (#2135)

* Update branch-metadata.yml

* Update build-pull-request.yml

* Update build-branches.yml

4 years agoUpdate README.md
WonYoung Choi [Wed, 28 Oct 2020 03:50:18 +0000 (12:50 +0900)]
Update README.md

4 years ago[NUI] Fix typo in comments (#2127)
jaeunchoi [Tue, 27 Oct 2020 08:27:47 +0000 (17:27 +0900)]
[NUI] Fix typo in comments (#2127)

4 years ago[Build] Update nuget package assets for API8 (#2125)
WonYoung Choi [Tue, 27 Oct 2020 02:15:54 +0000 (11:15 +0900)]
[Build] Update nuget package assets for API8 (#2125)

4 years ago[NUI] Fix Size2D to work correctly in Loading (#2114)
Seoyeon2Kim [Mon, 26 Oct 2020 02:43:15 +0000 (11:43 +0900)]
[NUI] Fix Size2D to work correctly in Loading (#2114)

- Currently, Size2D is not working well because of duplicated size properties.
- Fixed Size2D to work well in Loading

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Add frameBroker default setting value (#2113)
huiyueun [Thu, 22 Oct 2020 07:01:59 +0000 (16:01 +0900)]
[NUI] Add frameBroker default setting value (#2113)

Add APIs by hidden in TransitionAnimation
 - GetDefaultSize
 - GetDefaultPosition
 - GetDefaultParentOrigin
 - GetDefaultPivotPoint
These functions set the default value of Calle's main imageView.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Bug fixed about TextPageUtil (#2111)
JoogabYun [Thu, 22 Oct 2020 06:10:57 +0000 (15:10 +0900)]
[NUI] Bug fixed about TextPageUtil (#2111)

add check remainLength and init totalPageCnt value

4 years ago[NUI] Add Seamless MusicPlayer sample (#2103)
huiyueun [Wed, 21 Oct 2020 07:05:50 +0000 (16:05 +0900)]
[NUI] Add Seamless MusicPlayer sample (#2103)

-FHub Demo application

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Add FrameComponent dll sample (#2106)
huiyueun [Wed, 21 Oct 2020 01:13:30 +0000 (10:13 +0900)]
[NUI] Add FrameComponent dll sample (#2106)

- copy FrameComponentDll to '/opt/usr/' path.
- launch
app_launcher -s org.tizen.example.NUIComponentApplication __AUL_COMPONENT_ID__ csharp_frame3

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[Camera] Remove feature check (#2107)
hsgwon [Tue, 20 Oct 2020 09:50:33 +0000 (18:50 +0900)]
[Camera] Remove feature check (#2107)

4 years ago[NUI] Modify seamless bug & update sample (#2102)
huiyueun [Tue, 20 Oct 2020 06:10:49 +0000 (15:10 +0900)]
[NUI] Modify seamless bug & update sample (#2102)

- Set the default X value to be set even if it is not SlideIn.
- Set the parameter 'toProvider' value of 'SendLaunchRequest' to true.
  For FrameBroker, this value must be set to true.
- Update sample code : Add Event callback
- Need to check
 * This sample is currently not working normally in wearable.
 * Backward animation is not performed.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Add InterceptTouchEvent (#2098)
JoogabYun [Tue, 20 Oct 2020 01:27:36 +0000 (10:27 +0900)]
[NUI] Add InterceptTouchEvent (#2098)

The Touch event calls the TouchEvent callback by going back from the last child actor to the parent via hitTest.
InterceptTouchEvent checks the touch event in the parent first.
Returning false from interceptTouchEvent allows child actors to receive TouchEvents.
If it returns true, the actor will receive a TouchEvent.

for example

   View parent = new View();
   View child = new View();
   parent.Add(child);
   child.TouchEvent += childFunctor;
   parent.TouchEvent += parentFunctor;

The callbacks are called in the order childFunctor -> parentFunctor.

If you connect interceptTouchSignal to parentActor.

   parent.InterceptTouchEvent += interceptFunctor;

When interceptFunctor returns false, it is called in the same order childFunctor -> parentFunctor.
If intereptFunctor returns true, it means that the TouchEvent was intercepted.
So the child actor will not be able to receive touch events.
Only the parentFunctor is called.

4 years ago[NUI] Fix Registry's memory leak (#2099)
dongsug-song [Mon, 19 Oct 2020 05:07:56 +0000 (14:07 +0900)]
[NUI] Fix Registry's memory leak (#2099)

- new RefObject(xxx, false), this causes unhandled RefObject in dali.
- "cMemoryOwn = false" means that this doesn't care about dali native's object and will not delete native object when nui dispose.
- currently "ViewAddedEventToWindow" is not used and this will be fixed by using Event subscribing pattern soon.
- remove "internal BaseHandle.GetObjectPtr()" method which is not used anymore.

4 years ago[NUI] Add null pointer check for Scrollbar (#2050)
zhouleonlei [Wed, 14 Oct 2020 07:30:21 +0000 (15:30 +0800)]
[NUI] Add null pointer check for Scrollbar (#2050)

* [NUI] Add null pointer check for Scrollbar

* [NUI] Modified ScrollBar

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
4 years ago[NUI] Modify to pass userData object to GestureDetectorManager (#1932)
JoogabYun [Wed, 14 Oct 2020 05:54:22 +0000 (14:54 +0900)]
[NUI] Modify to pass userData object to GestureDetectorManager (#1932)

Co-authored-by: TizenAPI-Bot <37820187+TizenAPI-Bot@users.noreply.github.com>
4 years ago[NUI] Add Tizen.NUI.Tests for tct developing (#2090)
dongsug-song [Tue, 13 Oct 2020 08:55:55 +0000 (17:55 +0900)]
[NUI] Add Tizen.NUI.Tests for tct developing (#2090)

4 years ago[NUI] Add Component Application sample (#2097)
huiyueun [Tue, 13 Oct 2020 08:42:23 +0000 (17:42 +0900)]
[NUI] Add Component Application sample (#2097)

app_launcher -s org.tizen.example.NUIComponentApplication __AUL_COMPONENT_ID__ csharp_frame

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