platform/core/csapi/tizenfx.git
23 months ago[NUI] Version up nui22128
Eunki, Hong [Tue, 28 Jun 2022 05:50:53 +0000 (14:50 +0900)]
[NUI] Version up nui22128

23 months ago[NUI] Sets the minimum / maximum size to be resized by RequestResizeToServer.
joogab.yun [Tue, 28 Jun 2022 01:46:52 +0000 (10:46 +0900)]
[NUI] Sets the minimum / maximum size to be resized by RequestResizeToServer.

23 months ago[NUI] Add function to set maximum/minimum size
Wonsik Jung [Mon, 27 Jun 2022 12:47:26 +0000 (21:47 +0900)]
[NUI] Add function to set maximum/minimum size

It is to set the maximized size when window is maximized or the size is increased by RequestResizeToServer.
Although the limitation is set by this function, window's size can be over the limitation by SetPositionSize() or SetSize().
The Set minimum size is similar to set maximum size.
Also it is only useful for tizen world.

23 months ago[NUI] Use IsSet replace changedPropertiesSet
Xianbing Teng [Tue, 21 Jun 2022 12:10:05 +0000 (20:10 +0800)]
[NUI] Use IsSet replace changedPropertiesSet

23 months ago[NUI] Make the velocity of slider as 1%
Eunki, Hong [Wed, 22 Jun 2022 11:38:43 +0000 (20:38 +0900)]
[NUI] Make the velocity of slider as 1%

Previous code can move only 1 units when we try to change value
by Key event.

This patch make the value moved for 1%. It will change as same lates
even min/max value difference is big, or small.

TODO : Currently, we make it as const value 1%.
Should we need to make this value as property?

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months ago[NUI] update ScrollableBase focus for Forward/Backward/Clockwise/CounterClockwise.
EverLEEst(SangHyeon Lee) [Wed, 22 Jun 2022 06:57:48 +0000 (15:57 +0900)]
[NUI] update ScrollableBase focus for Forward/Backward/Clockwise/CounterClockwise.

Clockwise : Match as Down on Vertical, Right on Horizontal.
CounterClockwise : Match as Up on Vertical, Left on Horizontal.
Forward : Tab. call GetNearestFocusableActor on Parent View.
Backward: Shift+Tab. call GetNearestFocusableActor on Parent View.
Currently Forward/Backward is unimplemented on other components,
so calling parent view's GetNearestFocusableActor didn't catch any
valid next focusable view.
This need to be fixed for Tab/ShiftTab action.

23 months ago[NUI] Fix svace issue.
guowei.wang [Tue, 21 Jun 2022 07:27:33 +0000 (15:27 +0800)]
[NUI] Fix svace issue.

23 months ago[MediaTool] Add new Create API to support increasing ref count (#4321)
Haesu Gwon [Fri, 24 Jun 2022 06:43:54 +0000 (15:43 +0900)]
[MediaTool] Add new Create API to support increasing ref count (#4321)

* [MediaTool] Add new Create API to support increasing ref count

2 years ago[NUI] Fix IsSet return false
Xianbing Teng [Tue, 21 Jun 2022 09:56:33 +0000 (17:56 +0800)]
[NUI] Fix IsSet return false

2 years ago[NUI] version update 22126
tscholb [Tue, 21 Jun 2022 08:40:47 +0000 (17:40 +0900)]
[NUI] version update 22126

2 years ago[NUI] Add maximum motion age of pan motion gesture
Eunki, Hong [Wed, 15 Jun 2022 13:25:04 +0000 (22:25 +0900)]
[NUI] Add maximum motion age of pan motion gesture

When event spend so long time, a lot of events are queued.

Ecore cannot skip these event, so we make some heuristic
threshold of discard motion events on pan gesture.

Default age is UINT_MAX ms, (~= 49 days)

Currently, we make maximum age as hard-coded value
in NUI.Component.Slider.Internal

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Fix scrollableBase focus issue. (#4340)
SangHyeon Jade Lee [Fri, 17 Jun 2022 10:21:25 +0000 (19:21 +0900)]
[NUI] Fix scrollableBase focus issue. (#4340)

* [NUI] Fix scrollableBase focus issue.

fix several issue on focus of scrollableBase.

1. fix wrong focus fallback when next focused children is invisble.
- if current focused object is children of scrollableBase,
  keep focus to current focused object.
- if current focused object is out of scrollableBase,
  to keep focus within the scrollableBase, set focus on scrollableBase.

2. fix wrong next focus returns on next find failed case.
   if next focus find is failed, we can move scroll when key can move
   foward and backward only not other directions.
   In other direction inputs, escape the scrollableBase.

3. fix wrong escape condition of EOS(end of scroll).
   we escape scrollableBase in EOS, but we need to reached EOS firstly,
   and escape scrollableBase on next key input to move out.

4. add conditional debugging log.

5. fix focus samples.
   add text label for notify prev/current focused object.
   fix title of items.
   make padding longer on items.

* [NUI] fix samples.

* [NUI] return null as nextFocusedView will always null.

* [NUI] Update scrollableBase focus logic for missing cases.

* [NUI] Update scrollableBase focus to find next focus properly.

* [NUI] remove unreachable code.

2 years ago[NUI][AT-SPI] Apply AccessibilityHidden to Switch
Artur Świgoń [Tue, 14 Jun 2022 08:26:43 +0000 (10:26 +0200)]
[NUI][AT-SPI] Apply AccessibilityHidden to Switch

2 years ago[NUI] Fix comments according to document review
dongsug.song [Thu, 16 Jun 2022 08:43:04 +0000 (17:43 +0900)]
[NUI] Fix comments according to document review

2 years ago[NUI] Fix not to do NUI.Components preloading on TV target
dongsug.song [Wed, 15 Jun 2022 08:47:41 +0000 (17:47 +0900)]
[NUI] Fix not to do NUI.Components preloading on TV target

2 years ago[NUI] Fix not to use PROFILE_MOBILE
dongsug.song [Wed, 15 Jun 2022 07:02:15 +0000 (16:02 +0900)]
[NUI] Fix not to use PROFILE_MOBILE

2 years ago[NUI] Add dispose.
joogab.yun [Wed, 15 Jun 2022 01:36:55 +0000 (10:36 +0900)]
[NUI] Add dispose.

Dispose seems to be missing after creating and using value.

2 years ago[NUI] If borderView is in overlay mode, pass the hittest so that the lower layer...
joogab.yun [Fri, 10 Jun 2022 03:48:57 +0000 (12:48 +0900)]
[NUI] If borderView is in overlay mode, pass the hittest so that the lower layer can be hit.

When in overlay mode, the border layer is raised to the top.

In this case, a touch is received from the border layer, and the touch event is not received from the lower root layer.

So let's pass the hittest of the border layer.

2 years ago[NUI] Slider track make correct value.
Eunki, Hong [Tue, 14 Jun 2022 05:16:48 +0000 (14:16 +0900)]
[NUI] Slider track make correct value.

Due to the track touch didn't apply offset of track,
the track touch didn't make correct value.

This patch apply the offset of bg track to the touch position.
Now the positions become correct value.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Fix comments according to the document review
dongsug.song [Thu, 9 Jun 2022 09:22:28 +0000 (18:22 +0900)]
[NUI] Fix comments according to the document review

2 years agoFix duplicated TextChanged handler on TextEditor
Seungkeun Lee [Mon, 13 Jun 2022 01:34:25 +0000 (10:34 +0900)]
Fix duplicated TextChanged handler on TextEditor

2 years ago[NUI] Fix duplicated TextChanged event handler
Seungkeun Lee [Mon, 13 Jun 2022 01:24:17 +0000 (10:24 +0900)]
[NUI] Fix duplicated TextChanged event handler

Fixes #4341

2 years ago[NUI] Changed Border Icons
joogab.yun [Fri, 10 Jun 2022 08:08:10 +0000 (17:08 +0900)]
[NUI] Changed Border Icons

2 years ago[NUI] Update to check Min/Max value and emit ValueChanged event in one place
Seoyeon Kim [Fri, 10 Jun 2022 06:38:34 +0000 (15:38 +0900)]
[NUI] Update to check Min/Max value and emit ValueChanged event in one place

- Checking minimum and maximum values and emitting `ValueChanged`
 in BindableProperty of `CurrentValue`.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Fix to invoke ValueChanged event when changing the value to Key
Seoyeon Kim [Wed, 8 Jun 2022 05:37:59 +0000 (14:37 +0900)]
[NUI] Fix to invoke ValueChanged event when changing the value to Key

- Until now, `ValueChanged` event emits on Touch / Mouse moving.
- Update to invoke the event when the thumb moves
 with not only touch event but also key event.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[WebRTC] Add parameter null check code (#4355)
Haesu Gwon [Tue, 21 Jun 2022 06:05:00 +0000 (15:05 +0900)]
[WebRTC] Add parameter null check code (#4355)

* [WebRTC] Add parameter null check code

2 years agoAdd new internal APIs for UIThread model (#4346)
hjhun [Tue, 14 Jun 2022 02:41:38 +0000 (11:41 +0900)]
Add new internal APIs for UIThread model (#4346)

* Add Post() methods for getting the result

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong implementation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years ago[NUI] Fix Key constructor's cMemoryOwn as false
dongsug.song [Mon, 13 Jun 2022 03:39:47 +0000 (12:39 +0900)]
[NUI] Fix Key constructor's cMemoryOwn as false

2 years ago[NUI] Initialize Drag window position and size based on Shadow View
Taehyub Kim [Thu, 9 Jun 2022 08:37:34 +0000 (17:37 +0900)]
[NUI] Initialize Drag window position and size based on Shadow View

2 years ago[NUI] Replace GetValueByDescription in TextLabel Alignment
Jaehyun Cho [Thu, 9 Jun 2022 04:15:39 +0000 (13:15 +0900)]
[NUI] Replace GetValueByDescription in TextLabel Alignment

Horizontal/VerticalAlignment of TextLabelBindableProperty calls
GetValueByDescription to convert DALi property to NUI property.

To improve performance, GetValueByDescription in TextLabel Alignment has
been replaced with string compare.

2 years ago[NUI] Allows user to set the height of the top and bottom borders respectively.
joogab.yun [Tue, 7 Jun 2022 08:19:26 +0000 (17:19 +0900)]
[NUI] Allows user to set the height of the top and bottom borders respectively.
BorderHeight is the default setting.
After the initial height is set as the BorderHeight value, the user can set the height of the border as SizeHeight.

2 years ago[NUI][Xaml] Change default value of XamlOptimization to 1 (use injection)
Fang Xiaohui [Wed, 8 Jun 2022 08:53:53 +0000 (16:53 +0800)]
[NUI][Xaml] Change default value of XamlOptimization to 1 (use injection)

2 years ago[NUI] Remove GetDescription() in TextLabelBindableProperty
Bowon Ryu [Tue, 7 Jun 2022 04:22:32 +0000 (13:22 +0900)]
[NUI] Remove GetDescription() in TextLabelBindableProperty

remove GetDescription() for better performance.
and there is no need to convert string to enum.
because the HORIZONTAL_ALIGNMENT and VERTICAL_ALIGNMENT properties of DALi
can be set to an integer or string, and there is no burden if it is an integer(enum).

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] reset and update shadow view in drag window
Taehyub Kim [Thu, 2 Jun 2022 10:52:34 +0000 (19:52 +0900)]
[NUI] reset and update shadow view in drag window

2 years ago[NUI] Add BorderCloseDelegate for closing the application by the border.
joogab.yun [Fri, 3 Jun 2022 05:30:11 +0000 (14:30 +0900)]
[NUI] Add BorderCloseDelegate for closing the application by the border.

When closing, it is necessary to distinguish between the application case and the window case.
So, in the case of Application, we add a delegate so that it can be properly closed through the delegate.

2 years ago[NUI] Fix save/restore key focus defects when push/pop Diaglog
dongsug.song [Fri, 3 Jun 2022 05:27:32 +0000 (14:27 +0900)]
[NUI] Fix save/restore key focus defects when push/pop Diaglog

2 years ago[WebRTC] Add IsLooping API for MediaFileSource (#4261)
Haesu Gwon [Thu, 9 Jun 2022 03:01:08 +0000 (12:01 +0900)]
[WebRTC] Add IsLooping API for MediaFileSource (#4261)

* [WebRTC] Add Looping API for MediaFileSource

2 years ago[Applications.Common] Support UI Thread for Inhouse developers (#4153)
hjhun [Wed, 8 Jun 2022 04:24:40 +0000 (13:24 +0900)]
[Applications.Common] Support UI Thread for Inhouse developers (#4153)

* Support UI Thread

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Initialize TizenSynchronizationContext for UI Thread

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add TizenUISynchronizationContext class for UI Thread

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add missing descriptions about '<since_tizen>'

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix Post method of CoreApplication and CoreTask

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix Post method using glib

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Separate GSourceManager class from TizenSynchronizationContext class

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Use Action delegate instead of custom delegate

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unused delegate

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add a missing description and set EditableBrowsableState.Never

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRevert "[NUI] Support Layout property by ViewStyle"
Jaehyun Cho [Fri, 3 Jun 2022 09:11:23 +0000 (18:11 +0900)]
Revert "[NUI] Support Layout property by ViewStyle"

This reverts commit 401fdd783df1f139eb2283d453678d69e02fb770.

2 years ago[NUI] Apply SetFocusFinderRootView() to DialogPage only when DefaultAlgorithm Enabled
dongsug.song [Thu, 2 Jun 2022 08:46:41 +0000 (17:46 +0900)]
[NUI] Apply SetFocusFinderRootView() to DialogPage only when DefaultAlgorithm Enabled

2 years ago[NUI][Xaml] Support Dictionary which has string key in Xaml
Fang Xiaohui [Thu, 2 Jun 2022 08:35:44 +0000 (16:35 +0800)]
[NUI][Xaml] Support Dictionary which has string key in Xaml

2 years ago[NUI] Version Update 22125
Heeyong Song [Thu, 2 Jun 2022 07:52:07 +0000 (16:52 +0900)]
[NUI] Version Update 22125

2 years ago[NUI] Add border resizing policy and add api to show/hide border when OverlayMode...
joogab.yun [Sun, 29 May 2022 02:13:20 +0000 (11:13 +0900)]
[NUI] Add border resizing policy and add api to show/hide border when OverlayMode is true.
1. It can be proportionally resized or fixed according to the border resizing policy.
2. If OverlayMode is true, you can show/hide the border through api.
   Through this, you can show/hide the border by touch or specific key event.

2 years ago[NUI] TextField and TextEditor have Focusable set to true.
joogab.yun [Thu, 2 Jun 2022 00:59:01 +0000 (09:59 +0900)]
[NUI] TextField and TextEditor have Focusable set to true.

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

This is a fix patch to put back in because Focusable=true was removed in another patch.

2 years ago[NUI] Add GetLastKeyEvent and GetLastTouchEvent api for Window
Xianbing Teng [Tue, 31 May 2022 07:18:37 +0000 (15:18 +0800)]
[NUI] Add GetLastKeyEvent and GetLastTouchEvent api for Window

2 years ago[NUI.Components] Fix issue of LowIndicatorImage & HighIndicatorImage could not shown...
guowei.wang [Fri, 27 May 2022 08:37:11 +0000 (16:37 +0800)]
[NUI.Components] Fix issue of LowIndicatorImage & HighIndicatorImage could not shown normally.

2 years ago[NUI] Set context as manually set in SetValue
Xianbing Teng [Mon, 30 May 2022 06:43:49 +0000 (14:43 +0800)]
[NUI] Set context as manually set in SetValue

2 years agoRevert "[NUI]First use own bindingcontext"
Xianbing Teng [Mon, 30 May 2022 06:39:22 +0000 (14:39 +0800)]
Revert "[NUI]First use own bindingcontext"

This reverts commit b742f8f5a574d4a4f75a567cb619af7c9c903a8f.

2 years ago[NUI] Update sliding events on Track touch event (#4275)
Seoyeon2Kim [Mon, 30 May 2022 10:02:47 +0000 (19:02 +0900)]
[NUI] Update sliding events on Track touch event (#4275)

- Cannot get SlidingStarted event when the user touches the track.
 Just got ValueChanged and SlidingFinished events without started one.

- Add to emit SlidingStarted event in touch down state.
  Move SlidingFinished event to touch up state.

- Set `GrabTouchAfterLeave` as `true` to get Up event rather than Interrupted
  even if it is out of the slider area.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Fix bug that PreMultipliedAlpha not applied to Visual
Eunki, Hong [Fri, 27 May 2022 12:20:56 +0000 (21:20 +0900)]
[NUI] Fix bug that PreMultipliedAlpha not applied to Visual

Due to the PreMultipliedAlpha property used
both ImageView and ImageVisual internally,
(+ This property don't required re-create new Visual)

We need to make some new way to send this changness
news into ImageVisual.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Support Layout property by ViewStyle
Jaehyun Cho [Fri, 20 May 2022 09:13:47 +0000 (18:13 +0900)]
[NUI] Support Layout property by ViewStyle

To separate GUI code from Control logic code, Layout property is
supported by ViewStyle.

Now, Layout property can be set in Theme cs file.

In this PR, Tizen.NUI.Components.Button's Theme supports Layout
property.

After applying this PR, all other Controls' Themes can support Layout
property.

2 years ago[NUI]First use own bindingcontext
Xianbing Teng [Fri, 27 May 2022 13:40:18 +0000 (21:40 +0800)]
[NUI]First use own bindingcontext

2 years ago[NUI][TEST] add widget sample
tscholb [Fri, 27 May 2022 03:39:44 +0000 (12:39 +0900)]
[NUI][TEST] add widget sample

2 years ago[NUI] Version Update 22123
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>
2 years ago[NUI][AT-SPI] make window border icons work
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.

2 years ago[NUI] Fix MenuItem to add TextLabel and Icon always
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.

2 years ago[NUI] Add Maximize and Minimize related APIs and Add Focusable property to the icon
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.

2 years ago[NUI][TEST] add sample to use native image
tscholb [Thu, 26 May 2022 06:35:57 +0000 (15:35 +0900)]
[NUI][TEST] add sample to use native image

2 years agoUpdate src/Tizen.NUI/src/public/Input/FocusManager.cs
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>
2 years agoUpdate src/Tizen.NUI/src/public/Input/FocusManagerArgs.cs
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>
2 years agoUpdate src/Tizen.NUI/src/public/Input/FocusManagerArgs.cs
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>
2 years agoUpdate src/Tizen.NUI/src/public/Input/FocusManager.cs
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>
2 years ago[NUI] Change key focus related event's name
dongsug.song [Tue, 29 Mar 2022 13:23:34 +0000 (22:23 +0900)]
[NUI] Change key focus related event's name

2 years ago[NUI] Add Tracer.End() to make a pair with Tracer.Begin()
dongsug.song [Tue, 24 May 2022 03:12:08 +0000 (12:12 +0900)]
[NUI] Add Tracer.End() to make a pair with Tracer.Begin()

2 years ago[NUI] Support Fade Scroll Bar feature.
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.

2 years ago[NUI] Add Tizen.Tracer logs at some critical points for app launching performance
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

2 years ago[NUI][TEST] add multi Window dispose test
dongsug.song [Sat, 23 Apr 2022 07:55:24 +0000 (16:55 +0900)]
[NUI][TEST] add multi Window dispose test

2 years ago[NUI] Supprot border for apps launched in full size.
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.

2 years ago[NUI] Apply Tizen 7.0 UX on Pagination
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>
2 years ago[NUI][AT-SPI] Remove AccessibilityShouldReportZeroChildren()
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.

2 years ago[NUI][AT-SPI] Make GetAccessibilityRelations() usable
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.

2 years ago[NUI][AT-SPI] Remove redundant qualifiers from Interop.ControlDevel.cs
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.

2 years ago[NUI] fix warnings. add null argument exception and comments.
everLEEst(SangHyeon Lee) [Fri, 13 May 2022 09:32:53 +0000 (02:32 -0700)]
[NUI] fix warnings. add null argument exception and comments.

2 years ago[NUI] Apply AccessibilityHidden for Picker
Woochanlee [Tue, 26 Apr 2022 10:30:09 +0000 (19:30 +0900)]
[NUI] Apply AccessibilityHidden for Picker

2 years ago[NUI] Replace the part that throws an exception with an error message to keep the...
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

2 years ago[NUI] Fix ThumbColor property to change its own color
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>
2 years ago[NUI] Support Refactoring key focusable feature for non-focusable browsing.
everLEEst(SangHyeon Lee) [Fri, 13 May 2022 04:30:53 +0000 (21:30 -0700)]
[NUI] Support Refactoring key focusable feature for non-focusable browsing.

2 years ago[NUI] Modify the position and inheritance of Slider Thumb (#4235)
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>
2 years ago[NUI] DragAndDrop: Fit drag window to shadow view
Taehyub Kim [Fri, 13 May 2022 07:05:23 +0000 (16:05 +0900)]
[NUI] DragAndDrop: Fit drag window to shadow view

2 years ago[NUI] Allows you to set the border to the top or bottom.
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;
}
```

2 years ago[NUI] Remove useless API in FlexLayout
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>
2 years ago[WebRTC] Add new DataChannel buffered amount APIs (#4263)
Haesu Gwon [Wed, 25 May 2022 01:57:27 +0000 (10:57 +0900)]
[WebRTC] Add new DataChannel buffered amount APIs (#4263)

2 years agoAdd AppControl.SetAutoRestart method (#4280)
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>
2 years ago[System][Feedback] Fix Tizen.System.Feedback not to throw exception in destructor
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

2 years ago[Applications.Common] Fix CultureInfoHelper class (#4268)
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>
2 years ago[NUI] Change IsCreateByXaml to virtual
Fang Xiaohui [Wed, 11 May 2022 06:00:59 +0000 (14:00 +0800)]
[NUI] Change IsCreateByXaml to virtual

2 years ago[NUI] Fix crash on Navigator to check ContentPage.Content correctly
Jaehyun Cho [Wed, 11 May 2022 02:48:07 +0000 (11:48 +0900)]
[NUI] Fix crash on Navigator to check ContentPage.Content correctly

2 years ago[NUI] Fix typo in ScrollableBase
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.

2 years ago[NUI] version update 22121
EverLEEst(SangHyeon Lee) [Tue, 10 May 2022 05:51:05 +0000 (14:51 +0900)]
[NUI] version update 22121

2 years ago[NUI] Fix TabButton's size calculation logic with the latest UX
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.

2 years ago[NUI] Set Padding to CheckBox and RadioButton based on the latest UX
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.

2 years ago[NUI] Apply Tizen 7.0 UX to Navigator - Page animation
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.

2 years ago[NUI] Fix Navigator not to make ContentPage.Content hide
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.

2 years ago[NUI] remove previous shadowView before adding new shadowView
Taehyub Kim [Mon, 9 May 2022 11:54:57 +0000 (20:54 +0900)]
[NUI] remove previous shadowView before adding new shadowView

2 years ago[NUI] There was a problem calculating the scroll position.
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.

2 years ago[NUI] Fix FocusIndicator default value
dongsug.song [Thu, 28 Apr 2022 00:04:51 +0000 (09:04 +0900)]
[NUI] Fix FocusIndicator default value

2 years ago[NUI][Test] Add TCs to of NUI.Components to improve function coverage.
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.

2 years ago[NUI][AT-SPI] window disconnect highlight signal
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.

2 years ago[NUI] Add SetFocusFinderRootView() and ResetFocusFinderRootView() api
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/

2 years ago[NUI] Update control theme whose UX is not defined by Tizen 7.0
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.