Seoyeon Kim [Fri, 27 May 2022 04:39:24 +0000 (13:39 +0900)]
[NUI] Version Update 22123
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Shinwoo Kim [Mon, 23 May 2022 12:10:44 +0000 (21:10 +0900)]
[NUI][AT-SPI] make window border icons work
This patch is making icons(min, max, close, corner) on the window border work.
Jaehyun Cho [Tue, 17 May 2022 08:47:40 +0000 (17:47 +0900)]
[NUI] Fix MenuItem to add TextLabel and Icon always
Previously, MenuItem added TextLabel and Icon only if their properties
were set properly.
e.g. Icon is added only if IconURL is set properly.
Now, MenuItem adds TextLabel and Icon regardless of their properties
like Button does.
Because TextLabel and Icon are MenuItem's default feature so they
should always be added to MenuItem.
Icon's default size in theme is removed until Button has a proper way
to support default Icon size.
joogab.yun [Tue, 24 May 2022 06:05:42 +0000 (15:05 +0900)]
[NUI] Add Maximize and Minimize related APIs and Add Focusable property to the icon
1. Added OnMaximize() and OnMinimize() APIs so that you can know when Maximize/Minimize is called.
2. Adds a Focusable to the icon.
tscholb [Thu, 26 May 2022 06:35:57 +0000 (15:35 +0900)]
[NUI][TEST] add sample to use native image
dongsug-song [Mon, 16 May 2022 12:11:23 +0000 (21:11 +0900)]
Update src/Tizen.NUI/src/public/Input/FocusManager.cs
Co-authored-by: Piotr Szydełko <wiertel@users.sourceforge.net>
dongsug-song [Mon, 16 May 2022 12:11:11 +0000 (21:11 +0900)]
Update src/Tizen.NUI/src/public/Input/FocusManagerArgs.cs
Co-authored-by: Piotr Szydełko <wiertel@users.sourceforge.net>
dongsug-song [Mon, 16 May 2022 12:10:53 +0000 (21:10 +0900)]
Update src/Tizen.NUI/src/public/Input/FocusManagerArgs.cs
Co-authored-by: Piotr Szydełko <wiertel@users.sourceforge.net>
dongsug-song [Mon, 16 May 2022 12:10:37 +0000 (21:10 +0900)]
Update src/Tizen.NUI/src/public/Input/FocusManager.cs
Co-authored-by: Seungkeun Lee <sngn.lee@samsung.com>
dongsug.song [Tue, 29 Mar 2022 13:23:34 +0000 (22:23 +0900)]
[NUI] Change key focus related event's name
dongsug.song [Tue, 24 May 2022 03:12:08 +0000 (12:12 +0900)]
[NUI] Add Tracer.End() to make a pair with Tracer.Begin()
everLEEst(SangHyeon Lee) [Wed, 18 May 2022 11:00:10 +0000 (04:00 -0700)]
[NUI] Support Fade Scroll Bar feature.
scrollbar is now automatically fade in/out when it stay long enough to threshold time.
Scrollablebase :
FadeScollbar boolean Property is enabling scrollbar fading.
default value is true.
ScrollbarBase :
FadeOutThreshold is internal unsigned integar value threshold time for fading out. 500ms is default value.
FadeDuration is internal integar value duration for fading animation. 200ms is default value.
FadeIn(): internal method for fade in animation.
FadeOut(): internal method for fade out animation. fade out will be excuted on delay of FadeOutThreshold.
dongsug.song [Sun, 22 May 2022 14:47:58 +0000 (23:47 +0900)]
[NUI] Add Tizen.Tracer logs at some critical points for app launching performance
dongsug.song [Sat, 23 Apr 2022 07:55:24 +0000 (16:55 +0900)]
[NUI][TEST] add multi Window dispose test
joogab.yun [Mon, 16 May 2022 08:19:54 +0000 (17:19 +0900)]
[NUI] Supprot border for apps launched in full size.
IsMaximized() is false even if the app runs at full size without Maximized(true).
So, do Maximize(true) when launched in full size.
Seoyeon Kim [Tue, 10 May 2022 08:59:37 +0000 (17:59 +0900)]
[NUI] Apply Tizen 7.0 UX on Pagination
- The latest Pagination UX has been applied. (Based on API10)
The size and the default images are changed.
- The type of Pagination indicator is changed from `ImageVisual`
to `ImageView`.
Now, the indicators get highlight on AT-SPI.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Artur Świgoń [Mon, 16 May 2022 08:08:06 +0000 (10:08 +0200)]
[NUI][AT-SPI] Remove AccessibilityShouldReportZeroChildren()
This method originated as a hack to cut the AT-SPI tree at a specific
node in the case of compound controls (i.e. composed of multiple views
overlaid on top of each other), so that there is only one leaf node
(instead of a subtree) for Button, Slider, etc.
However, the AccessibilityHidden property was introduced to allow for
controlling which nodes should be removed from the AT-SPI tree, and has
since become the recommended solution over ShouldReportZeroChildren(),
because the latter is less flexible ("all-or-nothing" approach) and
itself requires a hack in dali-csharp-binder to make sure the highlight
frame actor is never removed from the tree.
Artur Świgoń [Fri, 13 May 2022 11:30:12 +0000 (13:30 +0200)]
[NUI][AT-SPI] Make GetAccessibilityRelations() usable
The Address type is useless in NUI, as there is no way to convert an
Address to a View or obtain an Address of a View. With this change,
GetAccessibilityRelations() returns a mapping from the relation type
to a collection of View. Address and AddressCollection are removed
altogether.
Artur Świgoń [Fri, 13 May 2022 10:55:11 +0000 (12:55 +0200)]
[NUI][AT-SPI] Remove redundant qualifiers from Interop.ControlDevel.cs
The readability of this file can be greatly improved by taking advantage
of the 'using' statements that are already present at the top.
everLEEst(SangHyeon Lee) [Fri, 13 May 2022 09:32:53 +0000 (02:32 -0700)]
[NUI] fix warnings. add null argument exception and comments.
Woochanlee [Tue, 26 Apr 2022 10:30:09 +0000 (19:30 +0900)]
[NUI] Apply AccessibilityHidden for Picker
dongsug.song [Mon, 16 May 2022 19:26:12 +0000 (04:26 +0900)]
[NUI] Replace the part that throws an exception with an error message to keep the behavior of previous version
Seoyeon Kim [Tue, 10 May 2022 06:38:13 +0000 (15:38 +0900)]
[NUI] Fix ThumbColor property to change its own color
- Currently, when the user sets ThumbColor, the background color of
thumb is changed.
- Fixed to change the thumb color itself, not the background color.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
everLEEst(SangHyeon Lee) [Fri, 13 May 2022 04:30:53 +0000 (21:30 -0700)]
[NUI] Support Refactoring key focusable feature for non-focusable browsing.
Seoyeon2Kim [Mon, 16 May 2022 04:53:30 +0000 (13:53 +0900)]
[NUI] Modify the position and inheritance of Slider Thumb (#4235)
- Change the parent of Slider from bgTrack to slidedTrack.
- Update the relative position of Slider Thumb.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Taehyub Kim [Fri, 13 May 2022 07:05:23 +0000 (16:05 +0900)]
[NUI] DragAndDrop: Fit drag window to shadow view
joogab.yun [Tue, 10 May 2022 01:40:05 +0000 (10:40 +0900)]
[NUI] Allows you to set the border to the top or bottom.
If you return true after overriding CreateTopBorderView(), the border UI is displayed at the top.
If you return true after overriding CreateBottomBorderView(), the border UI is displayed at the bottom.
```c#
public override bool CreateTopBorderView(View topView)
{
// Decorate the top view
return true;
}
public override bool CreateBottomBorderView(View bottomView)
{
// Decorate the bottom view
return true;
}
```
Eunki, Hong [Wed, 11 May 2022 14:25:42 +0000 (23:25 +0900)]
[NUI] Remove useless API in FlexLayout
FlexLayout is not BaseHandle.
We don't need to follow up API pattern of BaseHandle.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Haesu Gwon [Wed, 25 May 2022 01:57:27 +0000 (10:57 +0900)]
[WebRTC] Add new DataChannel buffered amount APIs (#4263)
hjhun [Tue, 24 May 2022 04:20:23 +0000 (13:20 +0900)]
Add AppControl.SetAutoRestart method (#4280)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyotaek Shim [Tue, 17 May 2022 11:11:46 +0000 (20:11 +0900)]
[System][Feedback] Fix Tizen.System.Feedback not to throw exception in destructor
hjhun [Tue, 17 May 2022 02:26:07 +0000 (11:26 +0900)]
[Applications.Common] Fix CultureInfoHelper class (#4268)
* Fix CultureInfoHelper class
- Use iniparser
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix a wrong implementation about converting to string from IntPtr
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unnecessary debugging logs
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Fang Xiaohui [Wed, 11 May 2022 06:00:59 +0000 (14:00 +0800)]
[NUI] Change IsCreateByXaml to virtual
Jaehyun Cho [Wed, 11 May 2022 02:48:07 +0000 (11:48 +0900)]
[NUI] Fix crash on Navigator to check ContentPage.Content correctly
Jaehyun Cho [Tue, 10 May 2022 07:58:23 +0000 (16:58 +0900)]
[NUI] Fix typo in ScrollableBase
Fix typo ScreenPosition.Y to ScreenPosition.X in #4238.
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:51:05 +0000 (14:51 +0900)]
[NUI] version update 22121
Jaehyun Cho [Wed, 4 May 2022 06:26:27 +0000 (15:26 +0900)]
[NUI] Fix TabButton's size calculation logic with the latest UX
Based on the latest UX, TabButton's sub components' sizes are different
when Text/IconURL is set and when Text/IconURL is not set.
Therefore, TextButton's sub components' sizes should be updated when
Text/IconURL is set.
If sub components' sizes are updated in OnRelayout() like previous
calculation logic, then the sizes cannot be applied by NUI Layout.
The reason is as follows.
- Changing subcomponents' sizes calls NUI Layout's RequestLayout().
- NUI Layout's RequestLayout() calls Awake() to awake idling DALi main
loop.
- DALi main loop calls NUI Layout's Process() and then calls DALi
Relayout().
- NUI Layout's Process() applies changed sizes by NUI Layout.
Consequently, if NUI Layout's RequestLayout() is called in OnRelayout(),
then DALi main loop is finished without calling NUI Layout's Process()
again.
As a result, to resolve the above problem, TabButton's sub components'
sizes are updated when Text/IconURL is set.
Related samples are also updated.
Jaehyun Cho [Wed, 4 May 2022 08:07:26 +0000 (17:07 +0900)]
[NUI] Set Padding to CheckBox and RadioButton based on the latest UX
CheckBox and RadioButton has Padding around the Icon based on the latest
UX.
Due to the Padding, CheckBox and RadioButton sizes are increased.
Since CheckBox and RadioButton's sizes are increased,
DefaultLinearItem's Padding and Margin are updated.
Jaehyun Cho [Mon, 9 May 2022 09:29:06 +0000 (18:29 +0900)]
[NUI] Apply Tizen 7.0 UX to Navigator - Page animation
Page animation has been changed from alpha to sliding.
Jaehyun Cho [Tue, 10 May 2022 03:42:30 +0000 (12:42 +0900)]
[NUI] Fix Navigator not to make ContentPage.Content hide
ContentPage.Content becomes hidden when push/pop were finished to
unregister accessibility.
i.e. Show() registers accessibility.
Hide() unregisters accessibility.
Previously, ContentPage.Content was invisible when push/pop were
started because the invisible state remained since the previous
push/pop were finished.
e.g. PageTransitionSample in Tizen.NUI.Samples
Now, ContentPage.Content is visible when push/pop are started.
i.e. SetVisible(true) is called for ContentPage.Content to make it
visible but not to register accessibility at that time.
Taehyub Kim [Mon, 9 May 2022 11:54:57 +0000 (20:54 +0900)]
[NUI] remove previous shadowView before adding new shadowView
joogab.yun [Mon, 9 May 2022 09:43:35 +0000 (18:43 +0900)]
[NUI] There was a problem calculating the scroll position.
It caused unnecessary scrolling even when it wasn't necessary.
Change it to scroll only when needed.
dongsug.song [Thu, 28 Apr 2022 00:04:51 +0000 (09:04 +0900)]
[NUI] Fix FocusIndicator default value
guowei.wang [Fri, 29 Apr 2022 03:50:17 +0000 (11:50 +0800)]
[NUI][Test] Add TCs to of NUI.Components to improve function coverage.
Shinwoo Kim [Tue, 3 May 2022 11:09:14 +0000 (20:09 +0900)]
[NUI][AT-SPI] window disconnect highlight signal
Guess what happens if atspi highlight callback is called for a window
after the window is diposed.
joogab.yun [Thu, 28 Apr 2022 07:44:52 +0000 (16:44 +0900)]
[NUI] Add SetFocusFinderRootView() and ResetFocusFinderRootView() api
If you enable DefaultAlgorithm of FocusManager, you can automatically move the focus to the nearest View.
However, this is always root based on Window.
We want to change this root.
So I add two apis
1. SetFocusFinderRootView(View root)
- This will only look for focusable Views within that View tree when looking for the next focus.
2. ResetFocusFinderRootView()
- the root becomes the window again.
Dependency
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/274424/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/274422/
Jaehyun Cho [Tue, 3 May 2022 09:35:30 +0000 (18:35 +0900)]
[NUI] Update control theme whose UX is not defined by Tizen 7.0
Tizen 7.0 UX does not include all controls.
However, to give the same look and feel to all controls, control theme
whose UX is not defined by Tizen 7.0 is also updated like others.
Inhong [Mon, 9 May 2022 01:41:39 +0000 (10:41 +0900)]
Modified to appropriate exception type (#4170)
Taehyub Kim [Tue, 3 May 2022 08:39:21 +0000 (17:39 +0900)]
[NUI] version update 22120
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.
Taehyub Kim [Tue, 3 May 2022 07:52:05 +0000 (16:52 +0900)]
[NUI] DragAndDrop: fix svace error
Jaehyun Cho [Tue, 3 May 2022 07:47:36 +0000 (16:47 +0900)]
[NUI] Change menu icon based on the latest Icon UX
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
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.
EverLEEst(SangHyeon Lee) [Mon, 2 May 2022 11:32:02 +0000 (20:32 +0900)]
[NUI] Apply IsEnabled feature on Pickers.
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.
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.
Taehyub Kim [Fri, 29 Apr 2022 09:19:19 +0000 (18:19 +0900)]
[NUI] DragAndDrop : change drag window reusable
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>
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>
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.
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.
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.
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
Jaehyun Cho [Fri, 29 Apr 2022 05:43:53 +0000 (14:43 +0900)]
[NUI] Apply Focused and Pressed BackgroundColor to TabButton
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.
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.
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
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>
Haesu Gwon [Wed, 27 Apr 2022 07:35:51 +0000 (16:35 +0900)]
[Multimedia] Fix build error (#4204)
* [Multimedia] Fix build error
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)
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
guowei.wang [Tue, 26 Apr 2022 05:43:27 +0000 (13:43 +0800)]
[NUI][TEST] Update TCs of FlexibleView.
Jaehyun Cho [Wed, 27 Apr 2022 01:04:50 +0000 (10:04 +0900)]
[NUI] Remove redundant codes in MenuItem
guowei.wang [Tue, 26 Apr 2022 12:07:57 +0000 (20:07 +0800)]
[NUI][Xamlbuild] Update Tizen.NUI.XamlBuild.dll.
guowei.wang [Tue, 26 Apr 2022 07:38:39 +0000 (15:38 +0800)]
[NUI][XamlBuild] Change XamlCTask & XamlGTask to NUIXamlCTask & NUIXamlGTask.
Taehyub Kim [Fri, 22 Apr 2022 10:10:47 +0000 (19:10 +0900)]
[NUI] Implements drag source events.
Daekwang Ryu [Tue, 26 Apr 2022 02:19:16 +0000 (11:19 +0900)]
[NUI] version update 22119
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>
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.
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.
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.
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.
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.
guowei.wang [Sun, 24 Apr 2022 11:51:58 +0000 (19:51 +0800)]
[NUI][TEST] Update TCs of NUI.Components.
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>
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
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>
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.
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>
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.
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();
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();
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>
Jaehyun Cho [Wed, 20 Apr 2022 07:45:21 +0000 (16:45 +0900)]
[NUI] version update 22118
guowei.wang [Wed, 20 Apr 2022 03:48:15 +0000 (11:48 +0800)]
[NUI] Update TCs to improve function coverage of NUI.Components.
joogab.yun [Tue, 19 Apr 2022 03:18:31 +0000 (12:18 +0900)]
[NUI] Minimize size is set too large. and code clean
dongsug.song [Wed, 13 Apr 2022 12:21:40 +0000 (21:21 +0900)]
[NUI] Components function coverage test
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;
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.