platform/core/csapi/tizenfx.git
2 years agoRelease 10.0.0.17172 accepted/tizen/unified/20220505.024858 submit/tizen/20220503.090411
TizenAPI-Bot [Tue, 3 May 2022 09:04:11 +0000 (09:04 +0000)]
Release 10.0.0.17172

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Tue, 3 May 2022 09:04:11 +0000 (09:04 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI] version update 22120
Taehyub Kim [Tue, 3 May 2022 08:39:21 +0000 (17:39 +0900)]
[NUI] version update 22120

2 years ago[NUI] Fix CheckBox and Button.Icon sizes in theme
Jaehyun Cho [Tue, 3 May 2022 07:42:16 +0000 (16:42 +0900)]
[NUI] Fix CheckBox and Button.Icon sizes in theme

Since CheckBox.Text size can be increased, CheckBox size should not be
set in theme.
CheckBox.ItemSpacing is set to be 8px.
Since Button.Icon is able not to be set, Button.Icon size should not be
set in theme.

2 years ago[NUI] DragAndDrop: fix svace error
Taehyub Kim [Tue, 3 May 2022 07:52:05 +0000 (16:52 +0900)]
[NUI] DragAndDrop: fix svace error

2 years ago[NUI] Change menu icon based on the latest Icon UX
Jaehyun Cho [Tue, 3 May 2022 07:47:36 +0000 (16:47 +0900)]
[NUI] Change menu icon based on the latest Icon UX

2 years ago[NUI] Update Tizen 7.0 UX for Button and Check- sizes and text color
Jaehyun Cho [Tue, 3 May 2022 05:57:44 +0000 (14:57 +0900)]
[NUI] Update Tizen 7.0 UX for Button and Check- sizes and text color

- change button and check sizes
- change icon size
- set space size between icon and text
- change text color

2 years ago[NUI] When calculating position coordinates, it should be calculated based on the...
joogab.yun [Thu, 28 Apr 2022 07:33:03 +0000 (16:33 +0900)]
[NUI] When calculating position coordinates, it should be calculated based on the nextFocusedView.

Fixed a bug that was calculated based on the wrong View.

2 years ago[NUI] Apply IsEnabled feature on Pickers.
EverLEEst(SangHyeon Lee) [Mon, 2 May 2022 11:32:02 +0000 (20:32 +0900)]
[NUI] Apply IsEnabled feature on Pickers.

2 years ago[NUI] apply Tizen 7.0 UX on CollectionView and Scrollbar and add samples.
everLEEst(SangHyeon Lee) [Wed, 20 Apr 2022 06:37:15 +0000 (23:37 -0700)]
[NUI] apply Tizen 7.0 UX on CollectionView and Scrollbar and add samples.

2 years ago[NUI] Fix RelativeLayout to calculate ellipsis text from line target
Jaehyun Cho [Mon, 2 May 2022 09:42:20 +0000 (18:42 +0900)]
[NUI] Fix RelativeLayout to calculate ellipsis text from line target

It is commonly used that child view is positioned with its size from
line target in RelativeLayout.

If ellipsis text was positioned from line target in RelativeLayout, then
it was not positioned to the place where users intended.

e.g. Position textLabel at the bottom of parent.
     The target is the bottom line of the parent.
RelativeLayout.SetTopTarget(textLabel, parent);
RelativeLayout.SetTopRelativeOffset(textLabel, 1.0f);
RelativeLayout.SetBottomTarget(textLabel, parent);
RelativeLayout.SetBottomRelativeOffset(textLabel, 1.0f);
RelativeLayout.SetVerticalAlignment(textLabel, RelativeLayout.Alignment.End);

Previously, in the above situation, RelativeLayout could not position
ellipsis text at the bottom of the parent.
Instead, the ellipsis text was positioned outside of the parent.

Now, in the above situation, RelativeLayout position ellipsis text at
the bottom of the parent.

2 years ago[NUI] DragAndDrop : change drag window reusable
Taehyub Kim [Fri, 29 Apr 2022 09:19:19 +0000 (18:19 +0900)]
[NUI] DragAndDrop : change drag window reusable

2 years ago[NUI] Apply Slider UX - Thumb and Tracks
Seoyeon Kim [Mon, 2 May 2022 03:14:44 +0000 (12:14 +0900)]
[NUI] Apply Slider UX - Thumb and Tracks

- The latest Slider UX have been applied. (Based on API10)
 1) The colors of Thumb(Handle), Progress, and Track are changed.
 2) The size of Progress and Track is changed.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Apply Progress and Loading UX
Seoyeon Kim [Mon, 2 May 2022 07:19:45 +0000 (16:19 +0900)]
[NUI] Apply Progress and Loading UX

- The latest Progress and Loading UX have been applied. (Based on API10)
  The colors and sizes of Progress and Track are changed.
  Indeterminate image is changed.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI][AT-SPI] Window: add highlight signal
Shinwoo Kim [Tue, 12 Apr 2022 08:40:47 +0000 (17:40 +0900)]
[NUI][AT-SPI] Window: add highlight signal

The Window will highlight itself on NUI side.
The GrabHighlight emits the Highlight signal.

2 years ago[NUI] Fix MarginProperty and PaddingProperty with Layout
Jaehyun Cho [Fri, 29 Apr 2022 08:10:14 +0000 (17:10 +0900)]
[NUI] Fix MarginProperty and PaddingProperty with Layout

View.Margin and Padding refers View.Layout.Margin and Padding.

So if View.Margin and Padding are set with Layout, then
View.Layout.Margin and Padding are set and View.Margin and Padding
become Extents(0, 0, 0, 0).

Previously, the problem was that View.MarginProperty and PaddingProperty
did not support the above logic properly.

Now, to resolve the above issue, View.MarginProperty and PaddingProperty
support the above logic properly.
i.e. Setting View.MarginProperty and PaddingProperty with Layout set
     value to View.Layout.Margin and Padding and also set
     Extents(0, 0, 0, 0) to View.Margin and Padding.

2 years ago[NUI] Fix crash issue in widget
tscholb [Mon, 2 May 2022 02:36:58 +0000 (11:36 +0900)]
[NUI] Fix crash issue in widget

As the widget passes a string to use the creation function, string types makes crash.
To avoid this problem, we use Intptr instead of string when widget sender its Id.

2 years ago[NUI] Update Tizen 7.0 UX for Button, Check and Switch
Taehyub Kim [Mon, 2 May 2022 05:00:25 +0000 (14:00 +0900)]
[NUI] Update Tizen 7.0 UX for Button, Check and Switch

- reduce button font size
- add focus image for check and switch

2 years ago[NUI] Apply Focused and Pressed BackgroundColor to TabButton
Jaehyun Cho [Fri, 29 Apr 2022 05:43:53 +0000 (14:43 +0900)]
[NUI] Apply Focused and Pressed BackgroundColor to TabButton

2 years ago[NUI] Fix Window.Add and Remove to use Layer.Add and Remove directly
Jaehyun Cho [Fri, 29 Apr 2022 01:10:57 +0000 (10:10 +0900)]
[NUI] Fix Window.Add and Remove to use Layer.Add and Remove directly

Previously, Window.Add and Remove did not use Layer.Add and Remove.
This caused LayoutCount was updated duplicately.
e.g.
- Calling window.Remove(view) twice decreases LayoutCount duplicately.
Moreover, users could not get ChildAdded and ChildRemoved events from
Window's RootLayer.

Now, Window.Add and Remove use Layer.Add and Remove directly.

2 years ago[NUI] Apply AlertDialog UX - Sizes and Colors
Jaehyun Cho [Tue, 26 Apr 2022 08:43:36 +0000 (17:43 +0900)]
[NUI] Apply AlertDialog UX - Sizes and Colors

The latest AlertDialog UX have been applied.
Sizes and Colors have been changed.

To align action items at the center with space between them,
LinearLayout and FlexLayout are used.
i.e.
- LinearLayout is used for 1 action item.
- FlexLayout is used for action items more than 1.

2 years ago[NUI] Apply Tizen 7.0 UX for Button, Check, Switch and Notification
Taehyub Kim [Thu, 28 Apr 2022 05:29:33 +0000 (22:29 -0700)]
[NUI] Apply Tizen 7.0 UX for Button, Check, Switch and Notification

2 years ago[NUI] Fix StyleGuide examples (#4178)
Seoyeon2Kim [Thu, 28 Apr 2022 05:58:56 +0000 (14:58 +0900)]
[NUI] Fix StyleGuide examples (#4178)

- `MenuItem` : Need to call Dispose() for all items when the app disposes
- `ScrollableBase` : All items should get focused
- `Switch` : Feedback property is only for mobile target

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoRelease 10.0.0.17151 submit/tizen/20220427.151209
TizenAPI-Bot [Wed, 27 Apr 2022 15:12:09 +0000 (15:12 +0000)]
Release 10.0.0.17151

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Wed, 27 Apr 2022 15:12:09 +0000 (15:12 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[Multimedia] Fix build error (#4204)
Haesu Gwon [Wed, 27 Apr 2022 07:35:51 +0000 (16:35 +0900)]
[Multimedia] Fix build error (#4204)

* [Multimedia] Fix build error

2 years agoRelease 10.0.0.17150 accepted/tizen/unified/20220429.003427 submit/tizen/20220427.060039
TizenAPI-Bot [Wed, 27 Apr 2022 06:00:39 +0000 (06:00 +0000)]
Release 10.0.0.17150

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Wed, 27 Apr 2022 06:00:39 +0000 (06:00 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI][SVACE] fix svace defect (add null check, replace TopCentor as Vector3 which...
dongsug.song [Wed, 27 Apr 2022 05:04:44 +0000 (14:04 +0900)]
[NUI][SVACE] fix svace defect (add null check, replace TopCentor as Vector3 which is same)

2 years ago[NUI][Xaml] Sync patch https://github.com/Samsung/TizenFX/pull/4056 from API9
Fang Xiaohui [Wed, 27 Apr 2022 00:59:48 +0000 (08:59 +0800)]
[NUI][Xaml] Sync patch https://github.com/Samsung/TizenFX/pull/4056 from API9

2 years ago[NUI][TEST] Update TCs of FlexibleView.
guowei.wang [Tue, 26 Apr 2022 05:43:27 +0000 (13:43 +0800)]
[NUI][TEST] Update TCs of FlexibleView.

2 years ago[NUI] Remove redundant codes in MenuItem
Jaehyun Cho [Wed, 27 Apr 2022 01:04:50 +0000 (10:04 +0900)]
[NUI] Remove redundant codes in MenuItem

2 years ago[NUI][Xamlbuild] Update Tizen.NUI.XamlBuild.dll.
guowei.wang [Tue, 26 Apr 2022 12:07:57 +0000 (20:07 +0800)]
[NUI][Xamlbuild] Update Tizen.NUI.XamlBuild.dll.

2 years ago[NUI][XamlBuild] Change XamlCTask & XamlGTask to NUIXamlCTask & NUIXamlGTask.
guowei.wang [Tue, 26 Apr 2022 07:38:39 +0000 (15:38 +0800)]
[NUI][XamlBuild] Change XamlCTask & XamlGTask to NUIXamlCTask & NUIXamlGTask.

2 years ago[NUI] Implements drag source events.
Taehyub Kim [Fri, 22 Apr 2022 10:10:47 +0000 (19:10 +0900)]
[NUI] Implements drag source events.

2 years agoRelease 10.0.0.17143 submit/tizen/20220426.044425
TizenAPI-Bot [Tue, 26 Apr 2022 04:44:25 +0000 (04:44 +0000)]
Release 10.0.0.17143

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Tue, 26 Apr 2022 04:44:25 +0000 (04:44 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI] version update 22119
Daekwang Ryu [Tue, 26 Apr 2022 02:19:16 +0000 (11:19 +0900)]
[NUI] version update 22119

2 years ago[NUI] Add RelativeLineHeight in TextLabel, TextEditor
Bowon Ryu [Wed, 20 Apr 2022 04:50:24 +0000 (13:50 +0900)]
[NUI] Add RelativeLineHeight in TextLabel, TextEditor

RelativeLineHeight is a factor that will be multiplied by text height.

// line height will be 2.0 times the text height
label.RelativeLineHeight = 2.0f;

// if the value is less than 1.0f, the lines could to be overlapped
// line height will be 0.5 times the text height
label.RelativeLineHeight = 0.5f;

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Add IsWindowRotating()
Wonsik Jung [Mon, 25 Apr 2022 10:52:17 +0000 (19:52 +0900)]
[NUI] Add IsWindowRotating()

Add IsWindowRotationg function.
It is return with true when window is rotating.

2 years ago[NUI] Fix Window.Dispose and Layer.LayoutCount
Jaehyun Cho [Mon, 25 Apr 2022 08:28:49 +0000 (17:28 +0900)]
[NUI] Fix Window.Dispose and Layer.LayoutCount

Since Layer.Dispose updates LayoutController.LayoutCount,
LayoutController.Dispose should be called after all layers' Dispose are
called in Window.Dispose.

When a layer's LayoutCount is set, it should update its
LayoutController.LayoutCount by the difference between new and current
LayoutCount.

2 years ago[NUI] Fix to null check menuStyle in Menu
Jaehyun Cho [Mon, 25 Apr 2022 07:55:37 +0000 (16:55 +0900)]
[NUI] Fix to null check menuStyle in Menu

Check null pointer of menuStyle in Menu.

2 years ago[NUI] Fix Svace issue on TabButton by null check
Jaehyun Cho [Mon, 25 Apr 2022 07:28:00 +0000 (16:28 +0900)]
[NUI] Fix Svace issue on TabButton by null check

Check null pointer of tabButtonStyle and its properties in TabButton to
resolve Svace issue.

2 years ago[NUI] Apply Menu and MenuItem UX - Sizes and Colors
Jaehyun Cho [Thu, 21 Apr 2022 12:57:10 +0000 (21:57 +0900)]
[NUI] Apply Menu and MenuItem UX - Sizes and Colors

The latest Menu and MenuItem UX have been applied.
To apply the latest Menu UX, MenuStyle has been added.
Sizes and Colors have been changed.

Previously, Menu with many MenuItems could cover AppBar's More button.
Noew, Menu with many MenuItems never cover AppBar's More button.

2 years ago[NUI][TEST] Update TCs of NUI.Components.
guowei.wang [Sun, 24 Apr 2022 11:51:58 +0000 (19:51 +0800)]
[NUI][TEST] Update TCs of NUI.Components.

2 years ago[NUI] Apply text UX
Bowon Ryu [Fri, 22 Apr 2022 03:37:54 +0000 (12:37 +0900)]
[NUI] Apply text UX

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoRelease 10.0.0.17134 submit/tizen/20220425.151243
TizenAPI-Bot [Mon, 25 Apr 2022 15:12:43 +0000 (15:12 +0000)]
Release 10.0.0.17134

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Mon, 25 Apr 2022 15:12:43 +0000 (15:12 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[Build] Enable aarch64 build (#4134)
WonYoung Choi [Mon, 25 Apr 2022 01:12:55 +0000 (10:12 +0900)]
[Build] Enable aarch64 build (#4134)

* [Build] Enable aarch64 build

* Update csapi-tizenfx.spec.in

2 years agoRelease 10.0.0.17133 accepted/tizen/unified/20220422.021302 submit/tizen/20220421.104403
TizenAPI-Bot [Thu, 21 Apr 2022 10:44:04 +0000 (10:44 +0000)]
Release 10.0.0.17133

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Thu, 21 Apr 2022 10:44:03 +0000 (10:44 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

2 years ago[NUI][AT-SPI] Apply AccessibilityHidden for Scrollbar
Seoyeon Kim [Thu, 21 Apr 2022 07:45:26 +0000 (16:45 +0900)]
[NUI][AT-SPI] Apply AccessibilityHidden for Scrollbar

- AT-SPI2 tree shows Scrollbar, Control, and ImageView when Scrollbar
class is just created.
- `Control` is trackView in Scrollbar, but is not necessary for at-spi
tree. So, it can be hidden in the tree.
- Applied AccessibilityHidden property to a View.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Apply TabView UX - TabBar and TabButton Size and BackgroundColor
Jaehyun Cho [Wed, 13 Apr 2022 09:26:52 +0000 (18:26 +0900)]
[NUI] Apply TabView UX - TabBar and TabButton Size and BackgroundColor

The latest TabView UX has been applied.
TabBar and TabButton's Size and BackgroundColor have been updated.

2 years ago[NUI] Add to set AccessibilityName and Description in some components
Seoyeon Kim [Thu, 14 Apr 2022 08:35:53 +0000 (17:35 +0900)]
[NUI] Add to set AccessibilityName and Description in some components

- Some NUI Components have text parts and they need to be connected with
 Accessibillity features.
 (`AccessibilityName` and `AccessibiityDescription`)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Fix Svace issue not to do unnecessary null check in DefaultBorder
Jaehyun Cho [Thu, 21 Apr 2022 02:48:20 +0000 (11:48 +0900)]
[NUI] Fix Svace issue not to do unnecessary null check in DefaultBorder

Svace issue occurs because null check of BorderWindow is done after
BorderWindow is accessed in DefaultBorder.Dispose().

When close button in DefaultBorder is clicked, BorderWindow is disposed.
When BorderWindow is disposed, DisposeBorder() is called.
In DisposeBorder(), DefaultBorder is disposed.
When DefaultBorder is disposed, BorderWindow is under disposed but
BorderWindow is not set to be null yet.
Therefore, it is not necessary to do null check of BorderWindow in
DefaultBorder.Dispose() to resolve the Svace issue.

2 years ago[NUI] Fix CustomView.GetNaturalSize() to return Size2D set by user
Jaehyun Cho [Wed, 20 Apr 2022 02:35:49 +0000 (11:35 +0900)]
[NUI] Fix CustomView.GetNaturalSize() to return Size2D set by user

Originally, CustomView.GetNaturalSize() returned size set by user
explicitly.

It was changed by https://github.com/Samsung/TizenFX/pull/2515.
By the above PR, CustomView.GetNaturalSize() returned Size2D which can
be set by both user and Layout.

Since the current CustomView.GetNaturalSize() cannot distinguish the
size set by user from the size set by Layout, the size set by Layout
previously can be preserved incorrectly and the size is not updated
incorrectly.

To resolve the above issue, CustomView.GetNaturalSize() returns Size2D
set by user explicitly to make Layout preserve the size only set by user
explicitly.

e.g. problem case
var window = NUIApplication.GetDefaultWindow();

var parent = new Control()
{
    Layout = new AbsoluteLayout(),
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.WrapContent,
    BackgroundColor = Color.Red,
};
window.Add(parent);

var child = new Control()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = 200,
    BackgroundColor = Color.Blue,
};
parent.Add(child);

var timer = new Timer(1000);
timer.Tick += (object sender, Timer.TickEventArgs args) =>
{
    child.HeightSpecification = 100;
    return false;
};
timer.Start();

2 years ago[NUI] Fix LinearLayout to update max height and width correctly
Jaehyun Cho [Tue, 19 Apr 2022 05:25:38 +0000 (14:25 +0900)]
[NUI] Fix LinearLayout to update max height and width correctly

Horizontal oriented LinearLayout decides max height among children.
Vertical oriented LinearLayout decides max width among children.

Previously, the max height and width might be calculated before all
children sizes were measured.
So the max height and width might be calculated with children's previous
height and width.

Now, the max height and width should be calculated after all children
sizes are measured.
So the max height and width are calculated with children's current
height and width.

e.g. problem case
var window = NUIApplication.GetDefaultWindow();

var parent = new View()
{
    Layout = new LinearLayout(),
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = LayoutParamPolicies.WrapContent,
    BackgroundColor = Color.Red,
};
window.Add(parent);

var child = new View()
{
    WidthSpecification = LayoutParamPolicies.MatchParent,
    HeightSpecification = 200,
    BackgroundColor = Color.Blue,
};
parent.Add(child);

var timer = new Timer(1000);
timer.Tick += (object sender, Timer.TickEventArgs args) =>
{
    child.HeightSpecification = 100;
    return false;
};
timer.Start();

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 agoRelease 10.0.0.17126 submit/tizen/20220420.085640
TizenAPI-Bot [Wed, 20 Apr 2022 08:56:40 +0000 (08:56 +0000)]
Release 10.0.0.17126

2 years agoMerge remote-tracking branch 'origin/master' into tizen
TizenAPI-Bot [Wed, 20 Apr 2022 08:56:40 +0000 (08:56 +0000)]
Merge remote-tracking branch 'origin/master' into tizen

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/