platform/core/csapi/tizenfx.git
2 years ago[NUI] Apply Tizen 7.0 UX on Loading (#4318)
Seoyeon2Kim [Fri, 22 Jul 2022 11:44:34 +0000 (20:44 +0900)]
[NUI] Apply Tizen 7.0 UX on Loading (#4318)

- The latest Loading UX has been applied. (Based on API10)
  The image is created as `LottieAnimationView` first.

 - When the user sets ImageArray separately, the image is changed to
  `ImageVisual` as the origin.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoAdd MaskingMode property in imageView to use Rendering Time Masking
seungho [Thu, 7 Jul 2022 08:43:59 +0000 (17:43 +0900)]
Add MaskingMode property in imageView to use Rendering Time Masking

Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[NUI] fix AnimatedVectorImageView's current frame set defect
dongsug.song [Fri, 22 Jul 2022 09:30:16 +0000 (18:30 +0900)]
[NUI] fix AnimatedVectorImageView's current frame set defect

2 years ago[NUI] Add UpdateProperty() api and revert "Fixed border behavior of windows launched...
joogab.yun [Fri, 22 Jul 2022 05:55:14 +0000 (14:55 +0900)]
[NUI] Add UpdateProperty() api and revert "Fixed border behavior of windows launched at full size" patch

1. Make the Border property updatable.

For now, it only applies when set in the constructor.

Modify so that the property can be applied when the property is set again.

2. revert "https://github.com/Samsung/TizenFX/pull/4398"

2 years ago[NUI] fix ScrollableBase focus moving bug on non-scrollable case (#4435)
SangHyeon Jade Lee [Fri, 22 Jul 2022 07:07:27 +0000 (16:07 +0900)]
[NUI] fix ScrollableBase focus moving bug on non-scrollable case (#4435)

2 years ago[NUI] Propagate AutomationId value to DALi (#4426)
Artur Świgoń [Thu, 21 Jul 2022 12:08:45 +0000 (14:08 +0200)]
[NUI] Propagate AutomationId value to DALi (#4426)

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
Due to an oversight in #4389, the automationId attribute disappeared from the AT-SPI tree for some Views, causing multiple regressions in Aurum tests. This PR fixes this bug.

The "automationId" key set in AccessibilityAttributes is ignored for controls not backed by a NUIViewAccessible (e.g. BaseComponents, FluxView etc.), because NUIViewAccessible::GetAttributes is never called for such controls. The value of AutomationId should be propagated to dali-toolkit instead, so that is it visible to ControlAccessible::GetAttributes, therefore having an effect for all types of Views (NUIViewAccessible::GetAttributes calls ControlAccessible::GetAttributes first, and then collects any additional attributes stored in View.AccessibilityAttributes).

Dependencies:

    https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/278352/ (merged)
    https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/278353/ (merged)

2 years ago[NUI] Add PropagatableControlStates Property for controlling ControlState propagation...
SangHyeon Jade Lee [Thu, 21 Jul 2022 09:54:04 +0000 (18:54 +0900)]
[NUI] Add PropagatableControlStates Property for controlling ControlState propagation from parent. (#4430)

2 years ago[NUI] Fix to change IsSelected when ControlState is changed
Jaehyun Cho [Wed, 20 Jul 2022 08:11:45 +0000 (17:11 +0900)]
[NUI] Fix to change IsSelected when ControlState is changed

Previously, IsSelected property was not changed when its ControlState
was changed between Normal and Selected.

Now, IsSelected property is also changed when ControlState is changed.
So, SelectedChanged event's IsSelected is synchronized with its look.

2 years ago[NUI] Add Scene3D assembly
Xianbing Teng [Wed, 20 Jul 2022 09:52:30 +0000 (17:52 +0800)]
[NUI] Add Scene3D assembly

2 years ago[NUI] Correct the signal related document of WidgetView
tscholb [Thu, 21 Jul 2022 05:19:10 +0000 (14:19 +0900)]
[NUI] Correct the signal related document of WidgetView

some of the docs about widgetView are incorrect.
so i fix them.

2 years ago[NUI][TEST] add widget sample for sending message
tscholb [Thu, 21 Jul 2022 02:57:08 +0000 (11:57 +0900)]
[NUI][TEST] add widget sample for sending message

1. Add animation to widget template
2. Add new sample for seding message test

2 years ago[NUI] Make webcontext/cookiemanager static.
huayong.xu [Tue, 12 Jul 2022 10:08:16 +0000 (18:08 +0800)]
[NUI] Make webcontext/cookiemanager static.

2 years ago[NUI] Palette: Add an exception for 4ch(ARGB) image processing
Woochanlee [Tue, 19 Jul 2022 09:39:40 +0000 (18:39 +0900)]
[NUI] Palette: Add an exception for 4ch(ARGB) image processing

2 years ago[Tizen.Log] Optimize getting filename
Youngjae Cho [Fri, 22 Jul 2022 04:38:27 +0000 (13:38 +0900)]
[Tizen.Log] Optimize getting filename

Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years ago[Tizen.Log] Replace getting filename with a primitive (fast) way
Youngjae Cho [Thu, 21 Jul 2022 01:45:20 +0000 (10:45 +0900)]
[Tizen.Log] Replace getting filename with a primitive (fast) way

This enhances speed up to 5x faster than using library functions when
it comes to a burst call.

Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years agoAdd internal API (#4427)
pjh9216 [Wed, 20 Jul 2022 05:14:42 +0000 (01:14 -0400)]
Add internal API (#4427)

- Add Bundle.ImportFromArgv()

Signed-off-by: jh9216.park <jh9216.park@samsung.com>
2 years ago[WebRTC] Handle error when WebRTC is started (#4422)
Haesu Gwon [Tue, 19 Jul 2022 06:36:38 +0000 (15:36 +0900)]
[WebRTC] Handle error when WebRTC is started (#4422)

2 years ago[NUI] Version up nui22131
Woochanlee [Tue, 19 Jul 2022 05:15:31 +0000 (14:15 +0900)]
[NUI] Version up nui22131

2 years ago[NUI] fix the defect that an wrong image is shown when async loading of the AnimatedV...
dongsug.song [Mon, 18 Jul 2022 09:29:05 +0000 (18:29 +0900)]
[NUI] fix the defect that an wrong image is shown when async loading of the AnimatedVectorImageView

2 years ago[NUI][NUI.Devel.Tests] Fix build errors of NUI.Devel following latest codes.
guowei.wang [Wed, 13 Jul 2022 13:37:40 +0000 (21:37 +0800)]
[NUI][NUI.Devel.Tests] Fix build errors of NUI.Devel following latest codes.

2 years ago[NUI][XamlBuild] Fix issues of xamlbuild.
guowei.wang [Wed, 13 Jul 2022 12:25:20 +0000 (20:25 +0800)]
[NUI][XamlBuild] Fix issues of xamlbuild.

2 years ago[NUI] Ignore ImageView's equal value update
Eunki, Hong [Thu, 14 Jul 2022 06:17:41 +0000 (15:17 +0900)]
[NUI] Ignore ImageView's equal value update

Let we check if inputed value is equal with cached value.
If it is same, then we don't need to re-generate resource.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] PropertyValue.EqualTo()
Eunki, Hong [Tue, 12 Jul 2022 09:05:58 +0000 (18:05 +0900)]
[NUI] PropertyValue.EqualTo()

Add operation to compare the value of PropertyValue.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Add new constructor for BorderWindow
joogab.yun [Thu, 14 Jul 2022 00:53:06 +0000 (09:53 +0900)]
[NUI] Add new constructor for BorderWindow
```c#
public NUIApplication(ThemeOptions option, IBorderInterface borderInterface)

public NUIApplication(Size2D windowSize, Position2D windowPosition, ThemeOptions option, IBorderInterface borderInterface)
```

2 years ago[Build] Add dali2-csharp-binder to BuildRequires
Jaehyun Cho [Tue, 12 Jul 2022 09:00:45 +0000 (18:00 +0900)]
[Build] Add dali2-csharp-binder to BuildRequires

To depend on the latest dali2-csharp-binder, dali2-csharp-binder is
added to BuildRequires in spec.

2 years ago[NUI][AT-SPI] Update AccessibilityAttributes tests
Artur Świgoń [Tue, 12 Jul 2022 08:17:54 +0000 (10:17 +0200)]
[NUI][AT-SPI] Update AccessibilityAttributes tests

2 years ago[WebRTC] Fix error value bug (#4417)
Haesu Gwon [Tue, 19 Jul 2022 05:38:58 +0000 (14:38 +0900)]
[WebRTC] Fix error value bug (#4417)

2 years ago[WebRTC] Add new APIs for VideoFrameRate and bundle policy (#4381)
Haesu Gwon [Mon, 18 Jul 2022 07:59:19 +0000 (16:59 +0900)]
[WebRTC] Add new APIs for VideoFrameRate and bundle policy (#4381)

* [WebRTC] Add new APIs for VideoFrameRate and bundle policy

2 years ago[NUI] Version up nui22130
Wonsik Jung [Mon, 11 Jul 2022 11:07:07 +0000 (20:07 +0900)]
[NUI] Version up nui22130

2 years agoAdd comments for animation property
seungho [Fri, 8 Jul 2022 07:27:37 +0000 (16:27 +0900)]
Add comments for animation property

Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[NUI] Fixed border behavior of windows launched at full size
joogab.yun [Mon, 11 Jul 2022 05:18:51 +0000 (14:18 +0900)]
[NUI] Fixed border behavior of windows launched at full size

For windows launched in full size, we need to calibrate the window as much as the border size for Maximized to work well.

Otherwise, the border area will be located outsize of screen.

2 years ago[NUI] set default value for AutoScroll in TextLabel
Bowon Ryu [Thu, 7 Jul 2022 06:28:17 +0000 (15:28 +0900)]
[NUI] set default value for AutoScroll in TextLabel

NUI TextLabel no longer use dali-theme.
So set default values in NUI theme.
This values are the same as the values in prev dali-theme.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[NUI] Delay old ResourceReady signal
Eunki, Hong [Fri, 8 Jul 2022 05:31:13 +0000 (14:31 +0900)]
[NUI] Delay old ResourceReady signal

Due to the LazyUpdate for ImageView's property,
sometimes ResourceReady signal comes even resource is not ready.

This patch make if we have some LazyUpdate properties, skip current signal
and wait next valid ResourceReady signal

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI] Add NativeImageQueue.ColorFormat for BGR~~~
Eunki, Hong [Fri, 1 Jul 2022 07:29:44 +0000 (16:29 +0900)]
[NUI] Add NativeImageQueue.ColorFormat for BGR~~~

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[NUI][AT-SPI] Store AccessibilityAttributes in NUI (#4389)
Artur Świgoń [Fri, 8 Jul 2022 09:44:15 +0000 (11:44 +0200)]
[NUI][AT-SPI] Store AccessibilityAttributes in NUI (#4389)

Having a modifiable attribute dictionary in NUI removes the performance
penalty of having to go through interops on every modification. A new
override for GetAttributes in NUIViewAccessible will now collect the
attributes stored in NUI.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
2 years ago[NUI] Add UI thread feature (#4358)
dkdk-ryu [Fri, 8 Jul 2022 04:20:33 +0000 (13:20 +0900)]
[NUI] Add UI thread feature (#4358)

* [NUI] Add UI thread feature

UI thread means that the events related to GUI (e.g. touch, key, window events) are emitted on the UI thread.
In the main thread, the LowBattery, LowMemory and etc events are emitted.

* [NUI] Add UIThread example app

2 years ago[Applications.Common] Use using to dispose ManualResetEvent handle
Jaehyun Cho [Tue, 5 Jul 2022 06:10:41 +0000 (15:10 +0900)]
[Applications.Common] Use using to dispose ManualResetEvent handle

To dispose ManualResetEvent handle after it is used, using is used.

2 years ago[NUI] When hiding the overlaid border, the timer is also initialized.
joogab.yun [Tue, 5 Jul 2022 07:07:19 +0000 (16:07 +0900)]
[NUI] When hiding the overlaid border, the timer is also initialized.

If the timer is not initialized, the border will not be visible when OverlayBorderShoew is performed again while the timer is alive.

2 years ago[WebRTC] Fix DataChannel bug (#4393)
Haesu Gwon [Wed, 6 Jul 2022 05:25:36 +0000 (14:25 +0900)]
[WebRTC] Fix DataChannel bug (#4393)

2 years ago[ImageUtil] Support JPEG XL image encoder/decoder (#4333)
Haesu Gwon [Tue, 5 Jul 2022 06:16:27 +0000 (15:16 +0900)]
[ImageUtil] Support JPEG XL image encoder/decoder (#4333)

* [ImageUtil] Support JPEG XL encoder/decoder

2 years ago[NUI] Version up nui22129 (#4385)
JoogabYun [Mon, 4 Jul 2022 05:52:08 +0000 (14:52 +0900)]
[NUI] Version up nui22129 (#4385)

2 years ago[NUI] Add InterceptKeyEvent
joogab.yun [Mon, 4 Jul 2022 01:35:02 +0000 (10:35 +0900)]
[NUI] Add InterceptKeyEvent

Intercepts KeyEvents in the window before dispatching KeyEvents to the View.
If a KeyEvent is consumed, no KeyEvent is delivered to the View.

```c#
Window win = NUIApplication.GetDefaultWindow();
win.InterceptKeyEvent += OnInterceptKeyEvent;

private void OnInterceptKeyEvent(object sender, Window.KeyEventArgs e)
{
   return false;   //If it returns true, other views and windows do not receive KeyEvents.
}
```

2 years ago[NUI] Picker: Fix typo
Woochanlee [Wed, 29 Jun 2022 13:40:51 +0000 (22:40 +0900)]
[NUI] Picker: Fix typo

2 years ago[NUI] Picker: Exception handling if there is no item in list
Woochanlee [Wed, 29 Jun 2022 13:38:17 +0000 (22:38 +0900)]
[NUI] Picker: Exception handling if there is no item in list

2 years ago[NUI] Picker: Fix wrong value set logic
Woochanlee [Wed, 29 Jun 2022 13:37:14 +0000 (22:37 +0900)]
[NUI] Picker: Fix wrong value set logic

2 years ago[NUI] Picker: Support for changing value with key event
Woochanlee [Wed, 29 Jun 2022 13:33:37 +0000 (22:33 +0900)]
[NUI] Picker: Support for changing value with key event

This patch added below features.

1. value change event should to emit on every key event generated.
2. scroll adjust while value changed.

2 years ago[NUI] Picker: Fix wrong scroll position adjusting
Woochanlee [Wed, 29 Jun 2022 13:29:50 +0000 (22:29 +0900)]
[NUI] Picker: Fix wrong scroll position adjusting

2 years ago[NUI] Picker: Distinguishing internal value and public value
Woochanlee [Wed, 29 Jun 2022 12:55:34 +0000 (21:55 +0900)]
[NUI] Picker: Distinguishing internal value and public value

2 years ago[NUI] Make SelectionStarted event public
Abdulleh Ghujeh [Tue, 29 Mar 2022 10:34:28 +0000 (13:34 +0300)]
[NUI] Make SelectionStarted event public

2 years ago[NUI] Make PrimaryCursorPosition property public
ssabah [Tue, 15 Mar 2022 13:26:13 +0000 (16:26 +0300)]
[NUI] Make PrimaryCursorPosition property public

2 years ago[NUI] test: Add WebView DigitalHumanLayer Sample
Taehyub Kim [Tue, 17 May 2022 01:05:51 +0000 (10:05 +0900)]
[NUI] test: Add WebView DigitalHumanLayer Sample

2 years ago[NUI] Add TextSelectionPopupStyle for 7.0 UX
Bowon Ryu [Fri, 13 May 2022 07:46:12 +0000 (16:46 +0900)]
[NUI] Add TextSelectionPopupStyle for 7.0 UX

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoAIAgentLayer: stop rendering during outAnimation
Taehyub Kim [Fri, 17 Jun 2022 07:50:21 +0000 (16:50 +0900)]
AIAgentLayer: stop rendering during outAnimation

- add showAnimation timer to prepare for rendering

2 years agoAIAgentLayer: reset hands animation during out animation
Taehyub Kim [Fri, 17 Jun 2022 06:33:22 +0000 (15:33 +0900)]
AIAgentLayer: reset hands animation during out animation

- reset hands animation when out animation and  hands animation are enabled
- update move alpha function for smooth animation

2 years ago[NUI] test: Add Rive AIAgentLayer Sample
Taehyub Kim [Mon, 25 Apr 2022 05:42:54 +0000 (14:42 +0900)]
[NUI] test: Add Rive AIAgentLayer Sample

- resource is updated based on 05.30 version

2 years agoRemove space
Seungkeun Lee [Thu, 23 Jun 2022 09:57:55 +0000 (18:57 +0900)]
Remove space

2 years agoFix AccessibilityCalculateStatesWrapper
Seungkeun Lee [Thu, 23 Jun 2022 09:56:34 +0000 (18:56 +0900)]
Fix AccessibilityCalculateStatesWrapper

2 years ago[XamlBuild] Correct some code to right formart
Fang Xiaohui [Mon, 27 Jun 2022 03:25:44 +0000 (11:25 +0800)]
[XamlBuild] Correct some code to right formart

2 years ago[NUI] DragAndDrop: Add NotSupportedException for Multi-Window Feature
Taehyub Kim [Mon, 27 Jun 2022 09:31:05 +0000 (18:31 +0900)]
[NUI] DragAndDrop: Add NotSupportedException for Multi-Window Feature

2 years ago[NUI] Fixed SVACE issues
joogab.yun [Tue, 28 Jun 2022 09:35:44 +0000 (18:35 +0900)]
[NUI] Fixed SVACE issues

2 years ago[NUI] Version up nui22128
Eunki, Hong [Tue, 28 Jun 2022 05:50:53 +0000 (14:50 +0900)]
[NUI] Version up nui22128

2 years 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.

2 years 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.

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

2 years 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>
2 years 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.

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

2 years 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