platform/core/csapi/tizenfx.git
2 years ago[MachineLearning.Inference] Change interop (#4168)
gichan-jang [Thu, 21 Apr 2022 09:30:12 +0000 (18:30 +0900)]
[MachineLearning.Inference] Change interop (#4168)

Fix dllimport lib since MachineLearning package separated as below:
 capi-nnstreamer -> capi-ml-common, capi-ml-inference-single and
capi-nnstreamer.

Signed-off-by: gichan <gichan2.jang@samsung.com>
2 years ago[NUI] version update 22118
Jaehyun Cho [Wed, 20 Apr 2022 07:45:21 +0000 (16:45 +0900)]
[NUI] version update 22118

2 years ago[NUI] Update TCs to improve function coverage of NUI.Components.
guowei.wang [Wed, 20 Apr 2022 03:48:15 +0000 (11:48 +0800)]
[NUI] Update TCs to improve function coverage of NUI.Components.

2 years ago[NUI] Minimize size is set too large. and code clean
joogab.yun [Tue, 19 Apr 2022 03:18:31 +0000 (12:18 +0900)]
[NUI] Minimize size is set too large. and code clean

2 years ago[NUI] Components function coverage test
dongsug.song [Wed, 13 Apr 2022 12:21:40 +0000 (21:21 +0900)]
[NUI] Components function coverage test

2 years ago[NUI][AT-SPI] Add indexable AccessibilitySuppressedEvents
Artur Świgoń [Thu, 14 Apr 2022 08:32:30 +0000 (10:32 +0200)]
[NUI][AT-SPI] Add indexable AccessibilitySuppressedEvents

This commit changes the syntax used to modify the collection of
suppressed AT-SPI events (D-Bus signals) to match the indexing syntax
used in DALi:

accessible->GetSuppressedEvents()[AtspiEvent::MOVED_OUT] = true;

view.AccessibilitySuppressedEvents[AccessibilityEvent.MovedOut] = true;

2 years ago[NUI] Apply ContentPage UX - BackgroundColor, CornerRadius, BoxShadow
Jaehyun Cho [Wed, 13 Apr 2022 07:53:08 +0000 (16:53 +0900)]
[NUI] Apply ContentPage UX - BackgroundColor, CornerRadius, BoxShadow

The latest ContentPage UX has been applied.
BackgroundColor has been changed.
CornerRadius and BoxShadow are newly applied.

2 years ago[NUI] Apply AppBar UX - Size, BackgroundColor, BackButton Icon
Jaehyun Cho [Wed, 13 Apr 2022 06:03:24 +0000 (15:03 +0900)]
[NUI] Apply AppBar UX - Size, BackgroundColor, BackButton Icon

The latest AppBar UX has been applied.
Each component's Size, BackgroundColor and BackButton Icon have been
updated.

2 years ago[NUI] Apply DialogPage's Scrim UX - BackgroundColor
Jaehyun Cho [Tue, 12 Apr 2022 11:11:11 +0000 (20:11 +0900)]
[NUI] Apply DialogPage's Scrim UX - BackgroundColor

The latest DialogPage's Scrim UX has been applied.
The Scrim's BackgroundColor has been defined in Theme.

2 years ago[NUI] Add Tizen.NUI.LayoutSamples
Jaehyun Cho [Fri, 25 Mar 2022 01:41:08 +0000 (10:41 +0900)]
[NUI] Add Tizen.NUI.LayoutSamples

Tizen.NUI.LayoutSamples is added to test Layout behavior.

Each class is designed based on LayoutSamplesClassDiagram.png.

Tizen.NUI.LayoutSamples is consist of Display Window and Control Window.

DisplayWindow.png shows Display Window.
ControlWindowLayoutTab.png and ControlWindowViewTab.png show Control
Window.

Display Window shows each object view on the screen.

Control Window sets each object view's layout properties and view
properties.

If user selects an object view on Display Window by clicking, its layout
properties and view properties appear on Control Window.

"Add View" button on Control Window adds a child object view to the
selected object view.
"Remove View" button on Control Window removes the selected object view.

2 years agoWhiteBoardAllApps Sample
Taehyub Kim [Wed, 30 Mar 2022 08:58:54 +0000 (17:58 +0900)]
WhiteBoardAllApps Sample

2 years ago1. OnRequestResize() api called when requesting a resize
joogab.yun [Fri, 15 Apr 2022 07:39:11 +0000 (16:39 +0900)]
1. OnRequestResize() api called when requesting a resize

2. In overlay mode, change the border to opaque.

2 years ago[NUI] Change the border UI values ​​to properties.
joogab.yun [Thu, 14 Apr 2022 05:39:58 +0000 (14:39 +0900)]
[NUI] Change the border UI values ​​to properties.

2 years ago[NUI] Implements a BorderWindow
joogab.yun [Mon, 11 Apr 2022 02:08:24 +0000 (11:08 +0900)]
[NUI] Implements a BorderWindow
1. Requirements :
 Like the desktop environment,
 - It should be possible to resize and move by adding a border area to the window.
 - By adding buttons to the border area, each button should have a minimize, maximize, and close function.
 - Border UI should be customizable.

2. interface IBorderInterface
 - User can configure border UI by inheriting IBorderInterface.

3. class DefautBorder is the default border UI.
 - User can also override the function by inheriting this DefaultBorder.

4. Sample
 - DefautBorder
```c#
  // If null is set for the second argument when creating a window, it is configured as DefaultBorder UI.
  subWindow = new Window("subwin", null, new Rectangle(20, 20, 800, 800), false);
```

 - CustomBorder
```c#
  class CustomBorder : DefaultBorder
  {
    public override voide CreateBorderView(View rootView)
    {
      // create custom border UI
      var custom = new View();
      rootView.Add(custom);
    }
  }

  void init()
  {
    CustomBorder border = new CustomBorder();
    var subWindow =  new Window("subwin", border, new Rectangle(60, 20, 800, 800), false);
  }
```

2 years ago[NUI] fix typo and use IsTrue for readability
Bowon Ryu [Wed, 13 Apr 2022 09:54:38 +0000 (18:54 +0900)]
[NUI] fix typo and use IsTrue for readability

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] add testcase for TextConstants
Bowon Ryu [Wed, 13 Apr 2022 08:09:44 +0000 (17:09 +0900)]
[NUI] add testcase for TextConstants

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] add SelectText testcase
Bowon Ryu [Wed, 13 Apr 2022 08:06:38 +0000 (17:06 +0900)]
[NUI] add SelectText testcase

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] add property testcase for Text component
Bowon Ryu [Wed, 13 Apr 2022 08:01:02 +0000 (17:01 +0900)]
[NUI] add property testcase for Text component

added testcase for missing property of text component
MinLineSize, EnableSelection, EnableGrabHandle, EnableGrabHandlePopup, GrabHandleColor, EnableEditing, PrimaryCursorPosition

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] add struct testcase for Text component
Bowon Ryu [Wed, 13 Apr 2022 07:48:11 +0000 (16:48 +0900)]
[NUI] add struct testcase for Text component

added testcase for struct get/set method of text component
: InputFilter, Strikethrough, FontStyle, Underline, Shadow, Outline, TextFit, Placeholder, HiddenInput, SelectionHandleImage

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] change SetPosition(...) as a hidden API for internal use only
dongsug.song [Thu, 7 Apr 2022 02:33:13 +0000 (11:33 +0900)]
[NUI] change SetPosition(...) as a hidden API for internal use only

2 years ago[NUI] Fix IsEnabledProperty name
Seungkeun Lee [Tue, 12 Apr 2022 08:49:51 +0000 (17:49 +0900)]
[NUI] Fix IsEnabledProperty name

Fixes https://github.com/Samsung/TizenFX/issues/4112

2 years ago[NUI][TCSACR-485] Add some methods for Loading
Seoyeon Kim [Wed, 30 Mar 2022 05:52:35 +0000 (14:52 +0900)]
[NUI][TCSACR-485] Add some methods for Loading

- Make Play / Pause / Stop methods to public API on API level 10.
- These methods are for Loading animation behavior.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[XamlBuild] Sync xamlbuild from api9
Xianbing Teng [Tue, 12 Apr 2022 08:28:00 +0000 (16:28 +0800)]
[XamlBuild] Sync xamlbuild from api9

2 years ago[NUI][XamlBinding] Unifying the delimiter for TypeConverter.
guowei.wang [Mon, 11 Apr 2022 07:10:58 +0000 (15:10 +0800)]
[NUI][XamlBinding] Unifying the delimiter for TypeConverter.

2 years ago[NUI][XamlBuild] Fix build error when calling ExitXaml() if XamlOptimization set...
guowei.wang [Mon, 11 Apr 2022 03:43:00 +0000 (11:43 +0800)]
[NUI][XamlBuild] Fix build error when calling ExitXaml() if XamlOptimization set as 0.

2 years ago[NUI] Update StyleGuide README
Seoyeon Kim [Mon, 11 Apr 2022 03:26:56 +0000 (12:26 +0900)]
[NUI] Update StyleGuide README

- Changed the images for the exact information.
- Updated README file.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Add VerticalAlignment in TextEditor
Bowon Ryu [Fri, 8 Apr 2022 03:40:08 +0000 (12:40 +0900)]
[NUI] Add VerticalAlignment in TextEditor

editor.VerticalAlignment = VerticalAlignment.Top;
editor.VerticalAlignment = VerticalAlignment.Center;
editor.VerticalAlignment = VerticalAlignment.Bottom;

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Remove potential of memory leak
Eunki, Hong [Thu, 7 Apr 2022 12:22:27 +0000 (21:22 +0900)]
[NUI] Remove potential of memory leak

Some Interop API required Delete pairwisely.
This is cause IntPtr have same role as Native size's BaseHandle.
It mean, they increase Native side reference count of BaseObject,
and should decrease the reference by delete it self.
But that IntPtr created in c++ side, so also should delete in c++ side.

Registry.cs use IntPtr as Key so, some API us it as wrong way.
If someone find matched value in Registry, it is just one of BaseHandle.
inputed IntPtr required to delete but some API didn't delete it!

This patch find that case, and make them remove well.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI][XamlBuild] Set ExitXaml() as internal method.
guowei.wang [Thu, 7 Apr 2022 08:06:09 +0000 (16:06 +0800)]
[NUI][XamlBuild] Set ExitXaml() as internal method.

2 years ago[NUI] Fix to disable ThemeManager in tv profile
dongsug.song [Wed, 6 Apr 2022 03:43:59 +0000 (12:43 +0900)]
[NUI] Fix to disable ThemeManager in tv profile

2 years ago[NUI] application: remove unnecessary reference count increments
Shinwoo Kim [Wed, 6 Apr 2022 14:02:43 +0000 (23:02 +0900)]
[NUI] application: remove unnecessary reference count increments

The GetWindow increases reference count of the Dali Window.
So there was no chance to call the Window destructor.

2 years ago[NUI][Test] fix wrong test value checking.
everLEEst(SangHyeon Lee) [Mon, 4 Apr 2022 06:18:17 +0000 (23:18 -0700)]
[NUI][Test] fix wrong test value checking.

2 years ago[NUI] TextField and TextEditor have Focusable set to true.
joogab.yun [Fri, 1 Apr 2022 09:12:57 +0000 (18:12 +0900)]
[NUI] TextField and TextEditor have Focusable set to true.

If Focusable is true, it can receive focus when moved to the keyboard.

2 years ago[NUI][AT-SPI] Remove SetAccessibilityConstructor()
Artur Świgoń [Fri, 11 Mar 2022 08:08:05 +0000 (09:08 +0100)]
[NUI][AT-SPI] Remove SetAccessibilityConstructor()

2 years ago[NUI] Add Null check in Slider Dispose
Seoyeon Kim [Fri, 8 Apr 2022 05:56:58 +0000 (14:56 +0900)]
[NUI] Add Null check in Slider Dispose

- 'editModeIndicator' of Slider class is not created all the time.
 So, added Null check for this variable.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI][TEST] Add ContentPage, DialogPage, Navigator and TabView examples in StyleGuide
dongsug.song [Tue, 5 Apr 2022 08:03:53 +0000 (17:03 +0900)]
[NUI][TEST] Add ContentPage, DialogPage, Navigator and TabView examples in StyleGuide

2 years ago[NUI] Fix comments according to ACR review
dongsug.song [Wed, 6 Apr 2022 01:43:58 +0000 (10:43 +0900)]
[NUI] Fix comments according to ACR review

2 years ago[NUI] Fix warning by checking null argument in LayoutGroup
Jaehyun Cho [Tue, 5 Apr 2022 09:05:07 +0000 (18:05 +0900)]
[NUI] Fix warning by checking null argument in LayoutGroup

Like other APIs in LayoutGroup, exception should occur if LayoutItem
argument "child" is null.

2 years ago[NUI] Fix LayoutTransition to be added to Owner View's Window
Jaehyun Cho [Mon, 4 Apr 2022 11:25:12 +0000 (20:25 +0900)]
[NUI] Fix LayoutTransition to be added to Owner View's Window

Previously, LayoutTransition was added to default Window.

To support multi window environment, the previous codes are not
appropriate.

Now, LayoutTransition is added to Owner View's Window.

2 years ago[NUI][TEST] Fix tizen-manifest files for frequently used and managed samples
dongsug.song [Mon, 4 Apr 2022 05:36:11 +0000 (14:36 +0900)]
[NUI][TEST] Fix tizen-manifest files for frequently used and managed samples

2 years ago[NUI][AT-SPI] Introduce AtspiEvents
Shinwoo Kim [Thu, 10 Mar 2022 15:22:48 +0000 (00:22 +0900)]
[NUI][AT-SPI] Introduce AtspiEvents

The AtspiEvents can be used for the event mask to suppress
specific event.

This is the second version to provide AtspiEvents.
The first version is
https://github.com/Samsung/TizenFX/pull/4019

Dependency:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/272794/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/272184/

2 years ago[NUI][Tizen.NUI.PreformanceTest] Fix reference bug
Eunki, Hong [Thu, 31 Mar 2022 10:49:26 +0000 (19:49 +0900)]
[NUI][Tizen.NUI.PreformanceTest] Fix reference bug

Due to the Animation reference become zero, GC dispose it.
So It didn't call the OnAnimationFinished callback before disposed.
That's why deleteCount not matched with tickCount.

This patch fix that bug

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Add SetDefaultGrabTouchAfterLeave api.
joogab.yun [Wed, 30 Mar 2022 05:47:00 +0000 (14:47 +0900)]
[NUI] Add SetDefaultGrabTouchAfterLeave api.

1. Add SetDefaultGrabTouchAfterLeave(bool enable) in NUIApplication
```c#
   // If this is set to true, all views are created with GrabTouchAfterLeave set to true.
   View.SetDefaultGrabTouchAfterLeave(true);
```

2 years ago[XamlBuild] Sync API9 to API10
Fang Xiaohui [Wed, 30 Mar 2022 10:59:02 +0000 (18:59 +0800)]
[XamlBuild] Sync API9 to API10

2 years ago[XamlBuild] Support use root node inheirt nest type
Fang Xiaohui [Thu, 24 Mar 2022 02:45:00 +0000 (10:45 +0800)]
[XamlBuild] Support use root node inheirt nest type

2 years ago[XamlBuild] Fix issue of boolean element node
Fang Xiaohui [Thu, 24 Mar 2022 07:03:16 +0000 (15:03 +0800)]
[XamlBuild] Fix issue of boolean element node

2 years ago[NUI] Checks the button area if GrabTouchAfterLeave is true.
joogab.yun [Thu, 31 Mar 2022 03:26:37 +0000 (12:26 +0900)]
[NUI] Checks the button area if GrabTouchAfterLeave is true.

If GrabTouchAfterLeave is true, Button Up will result in Finished rather than Interrupted even if it is out of the button area.

So, it is necessary to check whether it is Button Up in the button area.

2 years ago[NUI] remove warning messages with refactoring collectionView bindableProperties
everLEEst(SangHyeon Lee) [Thu, 31 Mar 2022 06:47:55 +0000 (23:47 -0700)]
[NUI] remove warning messages with refactoring collectionView bindableProperties

2 years ago[NUI][TEST] change Tizen.NUI.Components.Devel.Tests to run on the tizen_7.0's csharp-tct
dongsug.song [Thu, 31 Mar 2022 10:35:14 +0000 (19:35 +0900)]
[NUI][TEST] change Tizen.NUI.Components.Devel.Tests to run on the tizen_7.0's csharp-tct

2 years ago[NUI][TEST] sync from nui-dali/NUITizenGallery 2/2
dongsug.song [Thu, 31 Mar 2022 09:02:08 +0000 (18:02 +0900)]
[NUI][TEST] sync from nui-dali/NUITizenGallery 2/2

2 years ago[NUI][TEST] sync from nui-dali/NUITizenGallery
dongsug.song [Thu, 31 Mar 2022 08:45:53 +0000 (17:45 +0900)]
[NUI][TEST] sync from nui-dali/NUITizenGallery

2 years ago[NUI][Tizen.NUI.PerfNew] Add View creation performance benchmark app
Eunki, Hong [Thu, 31 Mar 2022 09:19:51 +0000 (18:19 +0900)]
[NUI][Tizen.NUI.PerfNew] Add View creation performance benchmark app

Add new sample app that can become performance profiling.

This sample is exactly same as dali-demo perf-new

TODO : Currently, OnAnimationFinished callback not comes well.
We should fix this bug

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Fix build error on NUI samples
Seoyeon Kim [Thu, 31 Mar 2022 01:01:36 +0000 (10:01 +0900)]
[NUI] Fix build error on NUI samples

 - StateChangedEvent was removed in TCSACR-483. (#4055)
 - Missed erasing the traces left on NUI samples.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] propose a way to change the value of Picker by up/down direction key
dongsug.song [Wed, 23 Mar 2022 12:29:26 +0000 (21:29 +0900)]
[NUI] propose a way to change the value of Picker by up/down direction key

2 years ago[XamlBuild] Remove the reference of Tizen.NUI.XamlBuild in NUITizenGallery
Fang Xiaohui [Fri, 25 Mar 2022 08:44:36 +0000 (16:44 +0800)]
[XamlBuild] Remove the reference of Tizen.NUI.XamlBuild in NUITizenGallery

2 years ago[NUI][TCSACR-483] Remove Slider deprecated events and eventArgs
Seoyeon Kim [Tue, 22 Mar 2022 07:39:12 +0000 (16:39 +0900)]
[NUI][TCSACR-483] Remove Slider deprecated events and eventArgs

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI][XamlBuild] Fix Xaml issues reported by VD
Fang Xiaohui [Fri, 18 Mar 2022 08:35:09 +0000 (16:35 +0800)]
[NUI][XamlBuild] Fix Xaml issues reported by VD

2 years ago[NUI][XamlBuild] 1.Support DP value, 2.Support DataTemplate in EXaml
Fang Xiaohui [Mon, 7 Mar 2022 07:55:39 +0000 (15:55 +0800)]
[NUI][XamlBuild] 1.Support DP value, 2.Support DataTemplate in EXaml

2 years agoRevert "[NUI][XamlBuild] Fix Xaml issues reported by VD"
Fang Xiaohui [Tue, 29 Mar 2022 07:54:36 +0000 (15:54 +0800)]
Revert "[NUI][XamlBuild] Fix Xaml issues reported by VD"

This reverts commit cf1af463fc31a1e07d3abc26511a02c071f7e8cd.

2 years ago[NUI][XamlBuild] Fix Xaml issues reported by VD
Fang Xiaohui [Fri, 18 Mar 2022 08:35:09 +0000 (16:35 +0800)]
[NUI][XamlBuild] Fix Xaml issues reported by VD

2 years ago[NUI] Fix SVACE issue
dongsug.song [Wed, 23 Mar 2022 05:52:55 +0000 (14:52 +0900)]
[NUI] Fix SVACE issue

2 years agoAdd `using tizen tfm` section to README.md (#4155)
WonYoung Choi [Tue, 19 Apr 2022 06:12:44 +0000 (15:12 +0900)]
Add `using tizen tfm` section to README.md (#4155)

2 years ago[Sticker] Fix typo in description (#4152)
Inhong [Mon, 18 Apr 2022 07:03:44 +0000 (16:03 +0900)]
[Sticker] Fix typo in description (#4152)

2 years agoModified to change initialization flag properly (#4137)
Inhong [Tue, 12 Apr 2022 08:35:57 +0000 (17:35 +0900)]
Modified to change initialization flag properly (#4137)

2 years ago[Sticker][TCSACR-481] Add Sticker APIs (#3948)
Inhong [Thu, 7 Apr 2022 02:51:06 +0000 (11:51 +0900)]
[Sticker][TCSACR-481] Add Sticker APIs (#3948)

2 years ago[Build] Modify the TFM list set in vconf (#3996)
JongHeonChoi [Tue, 29 Mar 2022 08:14:05 +0000 (17:14 +0900)]
[Build] Modify the TFM list set in vconf (#3996)

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
2 years ago[NUI] version update 22115
Shinwoo Kim [Tue, 29 Mar 2022 02:33:07 +0000 (11:33 +0900)]
[NUI] version update 22115

2 years ago[NUI] propose Slider's key navigation and edit mode, Add more samples in StyleGuilde
dongsug.song [Fri, 25 Mar 2022 03:40:32 +0000 (12:40 +0900)]
[NUI] propose Slider's key navigation and edit mode, Add more samples in StyleGuilde

2 years ago[NUI][XamlBuild] Set node as null after calling ExitXaml().
guowei.wang [Thu, 24 Mar 2022 09:10:40 +0000 (17:10 +0800)]
[NUI][XamlBuild] Set node as null after calling ExitXaml().

2 years agoMake PropertyMap look like Dictionary.
huayong.xu [Wed, 23 Mar 2022 10:57:37 +0000 (18:57 +0800)]
Make PropertyMap look like Dictionary.

2 years ago[NUI][Xaml] Fix issue of call SetBinding in c# code
Xianbing Teng [Wed, 23 Mar 2022 00:13:19 +0000 (08:13 +0800)]
[NUI][Xaml] Fix issue of call SetBinding in c# code

2 years ago[NUI][AT-SPI] Add ScreenReaderEnabled, Disabled
Shinwoo Kim [Tue, 15 Mar 2022 06:32:49 +0000 (15:32 +0900)]
[NUI][AT-SPI] Add ScreenReaderEnabled, Disabled

ScreenReaderEnabled should be distinguished from IsEnabled.
This is because there are things to do only when the screen reader is enabled.

2 years ago[NUI] Supports Clockwise and CounterClockwise focus movement.
joogab.yun [Thu, 10 Mar 2022 05:27:14 +0000 (14:27 +0900)]
[NUI] Supports Clockwise and CounterClockwise focus movement.

Clockwise and CounterClockwise are rotary wheel event directions.

There is also a requirement that the focus be moved with a rotary wheel as well.

So, you can set the FocusableView according to the clockwise and counterclockwise directions of the rotary wheel.

```C#
  var viewA = new View { Focusable = true };
  var ViewB = new View { Focusable = true };

  viewA.ClockwiseFocusableView = viewB;
  ViewB.CounterClockwiseFocusableView = ViewA;

```

In ViewA, if the rotary wheel is in the Clockwise direction, ViewB is focused.
When the rotary wheel in ViewB is in the CountClockwise direction, ViewA is focused.

Dependency
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/272040/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/272137/

2 years ago[NUI] Add a new Tizen.NUI.ICustomAwareDeviceFocusAlgorithm.
joogab.yun [Fri, 4 Mar 2022 09:28:29 +0000 (18:28 +0900)]
[NUI] Add a new Tizen.NUI.ICustomAwareDeviceFocusAlgorithm.

This interface takes an additional deviceName argument to GetNextFocusableView().
The deviceName is the name of the device where the key event occurred.

A new deviceName added to GetNextFocusableView() should not affect the current app.

Current apps are using the FocusManager.ICustomFocusAlgorithm interface.
So I created a new Tizen.NUI.ICustomAwareDeviceFocusAlgorithm interface.

for example)
Currently

``` c#
class CustomInterface : FocusManager.ICustomFocusAlgorithm
{
 public View GetNextFocusableView(View current, View proposed, View.FocusDirection direction)
 {
   return proposed;
 }
}
```

If you wnat to do GetNextFocusableView() with deviceName, you can inherit ICustomAwareDeviceFocusAlgorithm.

``` c#
class CustomInterface : Tizen.NUI.ICustomAwareDeviceFocusAlgorithm
{
 // This method is called when a direction key is pressed.
 public View GetNextFocusableView(View current, View proposed, View.FocusDirection direction, string deviceName)
 {
  return proposed;
 }

 // This method is never called.
 public View GetNextFocusableView(View current, View proposed, View.FocusDirection direction)
 {
  return proposed;
 }
}
```

dependency
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/271983/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/271984/

2 years ago[NUI] Do not set value of property again when theme is changed.
huayong.xu [Tue, 22 Feb 2022 09:18:29 +0000 (17:18 +0800)]
[NUI] Do not set value of property again when theme is changed.

Originally although property value of a view is set, if theme is
changed, the value would be restored to the default value.
This is not expected.
This patch is to check if the value has been set already or not,
if set, do not set the value again.

2 years ago[NUI] Add Button ItemHorizontalAlignment and ItemVerticalAlignment
Jaehyun Cho [Thu, 24 Mar 2022 02:15:30 +0000 (11:15 +0900)]
[NUI] Add Button ItemHorizontalAlignment and ItemVerticalAlignment

LinearLayout.LinearAlignment is deprecated, and HorizontalAlignment and
VerticalAlignment are added.

To replace Button.ItemAlignment, whose type is LinearAlignment,
ItemHorizontalAlignment and ItemVerticalAlignment are added.

2 years ago[NUI] Fix SVACE issue
dongsug.song [Wed, 23 Mar 2022 05:52:55 +0000 (14:52 +0900)]
[NUI] Fix SVACE issue

2 years ago[NUI] version update 22114
Bowon Ryu [Tue, 22 Mar 2022 06:14:18 +0000 (15:14 +0900)]
[NUI] version update 22114

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Fix FlexLayout size calculation issue caused by typo
Jaehyun Cho [Mon, 21 Mar 2022 08:44:48 +0000 (17:44 +0900)]
[NUI] Fix FlexLayout size calculation issue caused by typo

Fix typo in FlexLayout size calculation logic.

This typo was caused by https://github.com/Samsung/TizenFX/pull/4032

2 years ago[NUI] Add API for consuming keyEvent in Widget (#4002)
tscholb [Mon, 21 Mar 2022 08:47:56 +0000 (17:47 +0900)]
[NUI] Add API for consuming keyEvent in Widget (#4002)

When a widget consumes a keyEvent, the WidgetView must also consume that keyEvent.
the API called SetUsingKeyEvent() allows the WidgetApplication to set this flag.

2 years ago[NUI] Fix ImageView.Image property bugs + Make AnimatedImageView use LazyUpdate.
Eunki, Hong [Wed, 2 Mar 2022 14:05:43 +0000 (23:05 +0900)]
[NUI] Fix ImageView.Image property bugs + Make AnimatedImageView use LazyUpdate.

Previous LazyUpdate feature have some bugs when we try to get ImageView.Image.
That API get from native engine side properies forcely.
But actually, we didn't send our NUI cached local properties before get from native engine.
So the result value was not matched what we expected want to get.

and also, LazyUpdate feature have some bugs when we call 'Play', 'Stop', etc.

This patch UpdateImage properties synchronously when we call these
AnimationAction API.

Furthermore, Make AnimatedImageView (which already use LazyUpdate feature internally)
also use LazyUpdate feature.

We cannot know URLs Property changeness. so keep a way to properties setup forcely.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] fix svace issue
zhouleonlei [Mon, 21 Mar 2022 01:25:28 +0000 (09:25 +0800)]
[NUI] fix svace issue

2 years ago[NUI] add new prefix for pre-existed property
everLEEst(SangHyeon Lee) [Fri, 18 Mar 2022 09:28:07 +0000 (02:28 -0700)]
[NUI] add new prefix for pre-existed property

2 years ago[NUI] update copyright.
everLEEst(SangHyeon Lee) [Fri, 18 Mar 2022 09:21:16 +0000 (02:21 -0700)]
[NUI] update copyright.

2 years ago[NUI] modify and add button, checkbox, slider, progress example with IsEnabled.
everLEEst(SangHyeon Lee) [Fri, 18 Mar 2022 09:08:49 +0000 (02:08 -0700)]
[NUI] modify and add button, checkbox, slider, progress example with IsEnabled.

2 years ago[NUI] Modify IsEnabled pre-built classes and style
everLEEst(SangHyeon Lee) [Fri, 18 Mar 2022 08:05:41 +0000 (01:05 -0700)]
[NUI] Modify IsEnabled pre-built classes and style

2 years ago[NUI] remove unnecessary interop bind and add state control in OnEnabled.
EverLEEst(SangHyeon Lee) [Tue, 22 Feb 2022 06:02:33 +0000 (15:02 +0900)]
[NUI] remove unnecessary interop bind and add state control in OnEnabled.

2 years ago[NUI] renamed Interop enabled properties as DALi property name changes.
EverLEEst(SangHyeon Lee) [Mon, 21 Feb 2022 12:00:05 +0000 (21:00 +0900)]
[NUI] renamed Interop enabled properties as DALi property name changes.

2 years ago[NUI] fix button IsEnabled and remove return value of OnEnabled
EverLEEst(SangHyeon Lee) [Thu, 17 Feb 2022 08:53:48 +0000 (00:53 -0800)]
[NUI] fix button IsEnabled and remove return value of OnEnabled

2 years ago[NUI] Add IsEnabled Property in View class for controling user interactions.
EverLEEst(SangHyeon Lee) [Thu, 17 Feb 2022 07:50:00 +0000 (23:50 -0800)]
[NUI] Add IsEnabled Property in View class for controling user interactions.

2 years ago[NUI] Change Button, TimePicker and etc 's Focusable property as true
dongsug.song [Wed, 16 Mar 2022 06:29:58 +0000 (15:29 +0900)]
[NUI] Change Button, TimePicker and etc 's Focusable property as true

2 years ago[NUI] Fix crash issue when visual create failed
Eunki, Hong [Wed, 16 Mar 2022 06:56:09 +0000 (15:56 +0900)]
[NUI] Fix crash issue when visual create failed

Due to the empty array issue, we change that we don't create visual when
UrlList is empty.

But current NUI.VisualView don't consider that visual failure case.

This patch consider case when we fail to create visual, so visual is null in VisualView.

TODO : need to make TCT

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Fix test-hub crash issue
dongsug.song [Sat, 19 Mar 2022 06:47:37 +0000 (15:47 +0900)]
[NUI] Fix test-hub crash issue

2 years ago[NUI] version update 22113
dongsug.song [Wed, 16 Mar 2022 04:59:02 +0000 (13:59 +0900)]
[NUI] version update 22113

2 years ago[NUI][AT-SPI] Remove interops for SetAccessibilityConstructor()
Artur Świgoń [Tue, 15 Feb 2022 13:59:39 +0000 (14:59 +0100)]
[NUI][AT-SPI] Remove interops for SetAccessibilityConstructor()

The method name SetAccessibilityConstructor() in NUI has always been
misleading, because it actually never had an 'accessibilityConstructor'
parameter in the first place. With the recent addition of bindings for
Accessible::GetInterfaces(), all NUI controls use the same Accessible
implementation (NUIViewAccessible) anyway. However, as this method is
currently used in many places, it is kept as a wrapper for setting
AccessibilityRole (and interface flags) and will be removed if/when we
decide to switch to AT-SPI interfaces as native C# interfaces. Then, all
usages of SetAccessibilityConstructor() would be replaced by simply
setting AccessibilityRole (and interface flags won't be needed).

2 years ago[NUI] Fix to invoke SelectedChanged when IsSelected is changed by setter
Jaehyun Cho [Fri, 11 Mar 2022 10:25:09 +0000 (19:25 +0900)]
[NUI] Fix to invoke SelectedChanged when IsSelected is changed by setter

Previously, SelectedChanged was not invoked when IsSelected is changed
by IsSelected's setter.
e.g. checkBox.IsSelected = true;

The issue occurred due to the logic that checked mouse up and key up.

Now, the incorrect logic has been removed and SelectedChanged is invoked
when IsSelected is changed by ISelected's setter.

2 years ago[NUI][SVACE] Fix SVACE issues
guowei.wang [Tue, 15 Mar 2022 06:39:25 +0000 (14:39 +0800)]
[NUI][SVACE] Fix SVACE issues

2 years agosrc/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
guowei.wang [Tue, 15 Mar 2022 02:13:54 +0000 (10:13 +0800)]
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs

2 years agoRevert "[DO NOT REVIEW][TEST][NUI] key focus default algorithm test"
dongsug.song [Tue, 15 Mar 2022 07:10:55 +0000 (16:10 +0900)]
Revert "[DO NOT REVIEW][TEST][NUI] key focus default algorithm test"

This reverts commit bf89dd9e1d0b37d2ecbb65cf47d0ed65c4e693b1.

2 years agoRevert "[NUI][TEST] key foucs default algorithm test"
dongsug.song [Tue, 15 Mar 2022 07:10:50 +0000 (16:10 +0900)]
Revert "[NUI][TEST] key foucs default algorithm test"

This reverts commit 4abd3d3c124848d034911aaa1cfa951e56499cff.