platform/core/csapi/tizenfx.git
11 months ago[NUI] Remove RenderTask itself from the RenderTaskList when disposed
Jiyun Yang [Thu, 20 Jul 2023 07:25:53 +0000 (16:25 +0900)]
[NUI] Remove RenderTask itself from the RenderTaskList when disposed

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
11 months ago[NUI] Add VisibilityChanged event to Layer
Jaehyun Cho [Tue, 18 Jul 2023 07:16:58 +0000 (16:16 +0900)]
[NUI] Add VisibilityChanged event to Layer

To notice the visibility changes of Layer, VisibilityChanged event is
added to Layer.

11 months ago[NUI] Delete the used window in widget
sunghyun kim [Mon, 19 Jun 2023 01:39:40 +0000 (10:39 +0900)]
[NUI] Delete the used window in widget

Delete the used window so that the window can be deleted normally when deleting the widget.
this is for memory leak issue.

11 months ago[NUI] Update Font size scale again based on the updated guide
Seoyeon Kim [Thu, 13 Jul 2023 12:56:34 +0000 (21:56 +0900)]
[NUI] Update Font size scale again based on the updated guide

- The font size scales are changed according to the latest GUI guide.
- Five stages of Font size scale
 : 87% -> 100% -> 113% -> 126% -> 140 %

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
11 months ago[NUI][AT-SPI] Set focus in OnAccessibilityActivated()
Artur Świgoń [Tue, 11 Jul 2023 13:51:00 +0000 (15:51 +0200)]
[NUI][AT-SPI] Set focus in OnAccessibilityActivated()

This aligns the behaviour of Components (derived from CustomView), and other controls, with that
of BaseComponents (and other controls with ViewAccessibilityMode.Default, backed by the C++
accessibility implementation), which set the keyboard focus on activation. Please note that in the
latter case, the implementation of View.OnAccessibilityActivated is unused, and the unrelated method
(albeit bearing the same name) Toolkit::Control::OnAccessibilityActivated is called:

bool Control::OnAccessibilityActivated()
{
  if(Toolkit::KeyboardFocusManager::Get().SetCurrentFocusActor(Self()))
  {
    return OnKeyboardEnter();
  }
  return false;
}

So, in other words, this patch makes C# controls behave in a similar manner, i.e. set the keyboard
focus on accessibility activation.

11 months ago[NUI] Register OrientationChanged for BorderWindow.
joogab.yun [Mon, 10 Jul 2023 10:50:03 +0000 (19:50 +0900)]
[NUI] Register OrientationChanged for BorderWindow.

Because if the window is rotated, we need to resize the window by recalculating the border area.

11 months ago[NUI] Binding IsFloatingModeEnabled()
joogab.yun [Mon, 10 Jul 2023 05:45:56 +0000 (14:45 +0900)]
[NUI] Binding IsFloatingModeEnabled()

refer :

https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/295565/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/295566/

11 months ago[NUI] Fix not to propagate gesture from scrim
Jaehyun Cho [Mon, 10 Jul 2023 07:53:15 +0000 (16:53 +0900)]
[NUI] Fix not to propagate gesture from scrim

Scrim should block all touch and gesture events.
Therefore, gesture is also not propagated from scrim.

11 months ago[NUI] Disable ThemeManager preload
Jiyun Yang [Fri, 30 Jun 2023 05:42:44 +0000 (14:42 +0900)]
[NUI] Disable ThemeManager preload

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
11 months ago[NUI] Update FontSizeScale values
Seoyeon Kim [Tue, 4 Jul 2023 09:15:35 +0000 (18:15 +0900)]
[NUI] Update FontSizeScale values

- Except for TV and wearable profiles, FontSizeScale values are updated.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
11 months ago[NUI] Add ModelRoot Property in Model class
seungho baek [Thu, 29 Jun 2023 05:11:25 +0000 (14:11 +0900)]
[NUI] Add ModelRoot Property in Model class

 - Add ModelRoot Property to retrieve root ModelNode of the Model object.
 - Change parameter name of AddModelNode and RemoveModelNode to modelNode

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
11 months ago[NUI][API10] Do not register events if disposed ImagView changed
Eunki, Hong [Mon, 26 Jun 2023 05:21:57 +0000 (14:21 +0900)]
[NUI][API10] Do not register events if disposed ImagView changed

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months ago[NUI] Add font thread sync creation option
Bowon Ryu [Thu, 25 May 2023 05:09:30 +0000 (14:09 +0900)]
[NUI] Add font thread sync creation option

If sync creation is true, font thread creation guarantees syncronization with the main thread.

The main thread runs the font thread and waits,
and it wakes up upon receiving a notification from the font thread.
If it doesn't receive a notification within the specified time, it wakes up due to a timeout.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
11 months ago[NUI][API10] Fix a SVACE issue.
huayong.xu [Wed, 21 Jun 2023 08:58:16 +0000 (16:58 +0800)]
[NUI][API10] Fix a SVACE issue.

12 months ago[ThemeManager] Clear current theme cache when theme changed (#5320) (#5345)
jeremy-jang [Wed, 21 Jun 2023 02:29:05 +0000 (11:29 +0900)]
[ThemeManager] Clear current theme cache when theme changed (#5320) (#5345)

* [ThemeManager] Clear current theme cache when theme changed

* Fix ThemeLoader.Dispose

---------

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months ago[NUI][API10] Fix a svace issue in CustomViewRegistry.cs.
huayong.xu [Mon, 12 Jun 2023 11:05:56 +0000 (19:05 +0800)]
[NUI][API10] Fix a svace issue in CustomViewRegistry.cs.

12 months ago[NUI] Fix incorrect calculation of configGestureCount.
joogab.yun [Fri, 9 Jun 2023 02:12:27 +0000 (11:12 +0900)]
[NUI] Fix incorrect calculation of configGestureCount.

12 months ago[NUI] Add view helper API to rotate : LookAt
Eunki, Hong [Wed, 5 Apr 2023 01:55:44 +0000 (10:55 +0900)]
[NUI] Add view helper API to rotate : LookAt

Add helper API to rotate View
Note that this API change View's Orientation property

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI][AT-SPI] Add IAtspiTable and IAtspiTableCell interfaces (#5304)
Artur Świgoń [Wed, 31 May 2023 07:20:47 +0000 (09:20 +0200)]
[NUI][AT-SPI] Add IAtspiTable and IAtspiTableCell interfaces (#5304)

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
12 months agoDouble buffered ProcessorOnceEvent so we allow attach event during invoke
Eunki, Hong [Tue, 30 May 2023 09:17:11 +0000 (18:17 +0900)]
Double buffered ProcessorOnceEvent so we allow attach event during invoke

When we load cached image, `ResourceLoaded` signal invoked immediate.
So, `ResourceLoaded` can be called during `UpdateImage(object, EventArgs)`.

But since we make null after invoke + C# didn't invoke event during invoking.
That mean, attached `UpdateImage()` information disapeared.

So we need to allow `UpdateImage()` event invoke during `ProcessorOnceEvent` invoking.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months ago[NUI.Gadget] Modify NUIGadgetResourceManager class (#5238)
hjhun [Thu, 25 May 2023 08:09:39 +0000 (17:09 +0900)]
[NUI.Gadget] Modify NUIGadgetResourceManager class (#5238)

* Modify NUIGadgetResourceManager class

When getting the resource manager using the current culture info is failed,
the NUIGadgetResourceManager tries to get the resource manager using
the "default" string. It means using "/res/allowed/<resource>.dll" file.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify NUIGadgetResourceManager

If getting string is failed, the resource manager should try to get
string from the default satelite assembly.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
---------

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
12 months ago[NUI][AT-SPI] Add AccessibilityDynamicAttributes (#5299)
Artur Świgoń [Wed, 24 May 2023 04:38:42 +0000 (06:38 +0200)]
[NUI][AT-SPI] Add AccessibilityDynamicAttributes (#5299)

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
12 months ago[NUI] Fix theme applied issue
Jiyun Yang [Tue, 23 May 2023 09:04:27 +0000 (18:04 +0900)]
[NUI] Fix theme applied issue

Component style can change even if the platform theme is disabled

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
12 months ago[NUI] Binds GetCurrentProperty to Animatable class
seungho baek [Mon, 15 May 2023 06:47:06 +0000 (15:47 +0900)]
[NUI] Binds GetCurrentProperty to Animatable class

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months ago[NUI][API10] Let LottieAnimationView use InternalVisual API
Eunki Hong [Tue, 16 May 2023 16:49:39 +0000 (01:49 +0900)]
[NUI][API10] Let LottieAnimationView use InternalVisual API

To avoid useless PropertyValue class creation, let we change
to visual use InternalVisual APIs.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoreplace warning msg with normal msg
dongsug.song [Tue, 16 May 2023 09:10:13 +0000 (18:10 +0900)]
replace warning msg with normal msg

13 months ago[NUI][API10] Fix a SVACE issue in RecyclerViewItem.cs
huayong.xu [Tue, 16 May 2023 05:17:03 +0000 (13:17 +0800)]
[NUI][API10] Fix a SVACE issue in RecyclerViewItem.cs

13 months ago[NUI] Reduce get/set overhead for some LottieAnimationView properties
Eunki, Hong [Tue, 16 May 2023 08:27:58 +0000 (17:27 +0900)]
[NUI] Reduce get/set overhead for some LottieAnimationView properties

Let's beleve the cached properties what LottieAnimationVIew already cached.

Since ImageView.Image is heavy operation, we should call this thing less times.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[Application.Common] Add internal APIs for getting path related resource control...
ilho159kim [Tue, 16 May 2023 01:52:45 +0000 (10:52 +0900)]
[Application.Common] Add internal APIs for getting path related resource control (#5275)

- DirectoryInfo.GetResControlAllowedResource()
- DirectoryInfo.GetResControlGlobalResource()

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
13 months ago[NUI.Scene3D.Sample] BlendPoint demo
Eunki Hong [Fri, 12 May 2023 12:40:10 +0000 (21:40 +0900)]
[NUI.Scene3D.Sample] BlendPoint demo

Let we use blendpoint on Scene3DSample

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[NUI.Scene3D] Remove build warning
Eunki Hong [Fri, 12 May 2023 12:28:38 +0000 (21:28 +0900)]
[NUI.Scene3D] Remove build warning

Add missing comments on API10. (This comment is exist on API11)

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[NUI.Scene3D] Change the API name for BlendShape morphing
Eunki, Hong [Fri, 12 May 2023 07:35:06 +0000 (16:35 +0900)]
[NUI.Scene3D] Change the API name for BlendShape morphing

Since json file can change not only facial, The name of API is not good.

Instead, Let we change the name of facial API as 'BlendShapeAnimation'.
Now user can notify that this API can control all kinds of blendshape.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] fix font size scale issue in fhub
Bowon Ryu [Fri, 12 May 2023 08:07:31 +0000 (17:07 +0900)]
[NUI] fix font size scale issue in fhub

Currently, it is impossible to differentiate between the mobile and common profils.
Until profile differentiation becomes possible,
set the default scale for each profile to 1.

* default font size scale of PROFILE_MOBILE = FontSizeScaleLarge
* default font size scale of PROFILE_COMMON = FontSizeScaleNormal

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] Add FontPreLoad API to FontClient
Bowon Ryu [Tue, 9 May 2023 11:07:39 +0000 (20:07 +0900)]
[NUI] Add FontPreLoad API to FontClient

This patch adds a new FontPreLoad API that preloads font faces.
this can prevents delays on main thread during the inital call of FT_New_Face.

using memoryFontPathList involves loading font buffers into memory.
And using FT_New_Memory_Face at runtime, which uses more memory
but can lead to greater performance improvements.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months agoFix SVACE issues.
huayong.xu [Thu, 11 May 2023 01:26:47 +0000 (09:26 +0800)]
Fix SVACE issues.

13 months ago[NUI] Add Touch source type for gesture
joogab.yun [Tue, 9 May 2023 08:08:05 +0000 (17:08 +0900)]
[NUI] Add Touch source type for gesture

13 months ago[NUI] Add BlendPoint to blend animation of AnimateBetween
seungho baek [Mon, 8 May 2023 09:18:54 +0000 (18:18 +0900)]
[NUI] Add BlendPoint to blend animation of AnimateBetween

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months ago[NUI] Binding GetDeviceClass and GetDeviceSubclass of touch event
joogab.yun [Thu, 4 May 2023 09:37:45 +0000 (18:37 +0900)]
[NUI] Binding GetDeviceClass and GetDeviceSubclass of touch event

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/292340/

13 months ago[NUI][API10] Fix the issue that max width of Button Text is incorrect.
huayong.xu [Thu, 4 May 2023 07:28:03 +0000 (15:28 +0800)]
[NUI][API10] Fix the issue that max width of Button Text is incorrect.

When max width of Text is calculated in Vertical alignment,
Width of Icon should be ignored, and start & end of Text Padding
need be excluded, not top & bottom of Text Padding.

13 months ago[NUI] Add WindowMouseInOutEvent (#5242)
JoogabYun [Thu, 4 May 2023 01:56:27 +0000 (10:56 +0900)]
[NUI] Add WindowMouseInOutEvent (#5242)

MouseInOutEvent is used when the mouse enters or exits a window

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/292294/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/292295/

13 months ago[MediaVision] Add internal APIs for Design QR feature (#5241)
Haesu Gwon [Thu, 4 May 2023 08:27:59 +0000 (17:27 +0900)]
[MediaVision] Add internal APIs for Design QR feature (#5241)

* [MediaVision] Add internal APIs for Design QR feature

13 months ago[NUI] Binding EnableFocusIndicator and IsFocusIndicatorEnabled
joogab.yun [Wed, 3 May 2023 05:17:00 +0000 (14:17 +0900)]
[NUI] Binding EnableFocusIndicator and IsFocusIndicatorEnabled

refer : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/292280/

13 months ago[NUI.Scene3D] Make API to apply ModelMotion + Support string animatable + Scene3D...
Eunki Hong [Wed, 3 May 2023 13:47:40 +0000 (22:47 +0900)]
[NUI.Scene3D] Make API to apply ModelMotion + Support string animatable + Scene3D sample

This patch is backport of #4856 and #5227.
And also, copy current API11's Tizen.NUI.Scene3D.Sample

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[NUI.Scene3D] Add property for bvh that translate by RootNode or not
Eunki, Hong [Wed, 3 May 2023 00:32:53 +0000 (09:32 +0900)]
[NUI.Scene3D] Add property for bvh that translate by RootNode or not

This PR is backport of #5210

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoAdd GenerateUrl API to FrameBuffer
Jiyun Yang [Thu, 27 Apr 2023 11:09:35 +0000 (20:09 +0900)]
Add GenerateUrl API to FrameBuffer

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months agoAdd Assembly property to NUIGadgetInfo (#5228)
hjhun [Fri, 28 Apr 2023 04:07:31 +0000 (13:07 +0900)]
Add Assembly property to NUIGadgetInfo (#5228)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 months ago[NUI] Remove useless macros
Bowon Ryu [Fri, 28 Apr 2023 03:32:04 +0000 (12:32 +0900)]
[NUI] Remove useless macros

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] Fix TextEditor default theme
Eunki, Hong [Thu, 24 Nov 2022 13:09:06 +0000 (22:09 +0900)]
[NUI] Fix TextEditor default theme

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[NUI] Fix empty item case crash. wrong bracket conditions.
EverLEEst(SangHyeon Lee) [Thu, 27 Apr 2023 09:39:16 +0000 (18:39 +0900)]
[NUI] Fix empty item case crash. wrong bracket conditions.

when failed flag is true,
other condition should be ingored.

13 months ago[NUI] Change the call to GetRootLayer() so that the layer index can be updated.
joogab.yun [Wed, 26 Apr 2023 04:43:57 +0000 (13:43 +0900)]
[NUI] Change the call to GetRootLayer() so that the layer index can be updated.

If the root layer index is not updated and another layer is added first, a problem occurs in calculating the layer index.
Something like LowerBelow may not work.

13 months ago[NUI] fix tct block issue in text field and editor
Bowon Ryu [Wed, 18 Jan 2023 06:37:40 +0000 (15:37 +0900)]
[NUI] fix tct block issue in text field and editor

GetInputMethodContext() in ReleaseSwigCPtr crashes due to current changes in BaseHandle.
Move DestroyContext() to Dispose to avoid this.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] clean code
Bowon Ryu [Tue, 6 Dec 2022 02:06:27 +0000 (11:06 +0900)]
[NUI] clean code

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] Add SystemSettings.FontTypeChanged in Text components
Bowon Ryu [Mon, 5 Dec 2022 05:22:48 +0000 (14:22 +0900)]
[NUI] Add SystemSettings.FontTypeChanged in Text components

Setting FontFamily to UseSystemSetting in NUI Theme,
the default font family follows the system setting.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] Add FontSizeScale in TextStyle
Bowon Ryu [Fri, 11 Nov 2022 09:26:16 +0000 (18:26 +0900)]
[NUI] Add FontSizeScale in TextStyle

Setting FontSizeScale to UseSystemSetting in Theme,
the default font scale follows the properties of system.

- Added new argument to New(bool hasStlye)
- If true, DALi's json is no longer used in Text components
- If false, use DALi's json.

- Fixed previous incorrect bindable property structure.

- This must be sync merged with patches below.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/284113/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/284127/

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] Add GetSystemFonts in FontClient
Bowon Ryu [Thu, 1 Dec 2022 09:32:48 +0000 (18:32 +0900)]
[NUI] Add GetSystemFonts in FontClient

user can get a list of system fonts

sample code:
https://github.com/wonrst/NUI-Test/blob/main/text-font-list/font_list.cs

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[NUI] Add SetTapRecognizerTime
joogab.yun [Wed, 26 Apr 2023 01:47:03 +0000 (10:47 +0900)]
[NUI] Add SetTapRecognizerTime

This is the time from touch down to touch up to recognize a tap gesture.

If set to 300ms, a touch up after a touch down must occur within 300ms to be recognized as a tap gesture.

13 months ago[NUI] Add DirectRenderingGLView
Daekwang Ryu [Wed, 17 Aug 2022 05:39:51 +0000 (14:39 +0900)]
[NUI] Add DirectRenderingGLView

DirectRenderingGLView allows you to render to a Window directly using OpenGL, and
direct rendering is for In-house apps. So this new class is added to distinguish it from GLView.

13 months ago[NUI] Add GetMatrixFromPtr() in Matrix
Daekwang Ryu [Wed, 17 Aug 2022 05:46:56 +0000 (14:46 +0900)]
[NUI] Add GetMatrixFromPtr() in Matrix

13 months ago[NUI] Add GetRectangleFromPtr() in Rectangle
Daekwang Ryu [Wed, 17 Aug 2022 05:45:13 +0000 (14:45 +0900)]
[NUI] Add GetRectangleFromPtr() in Rectangle

13 months ago[NUI] Move Matrix API as public (hidden)
Eunki, Hong [Wed, 9 Nov 2022 12:41:01 +0000 (21:41 +0900)]
[NUI] Move Matrix API as public (hidden)

Add and bind some matrix operator + remove useless items

And also, move this matrix class under public
so normal NUI Apps also can use this feature

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoFix SVACE issues.
huayong.xu [Thu, 20 Apr 2023 06:42:43 +0000 (14:42 +0800)]
Fix SVACE issues.

14 months ago[NUI] Fix NUIApplication svace issue
Xianbing Teng [Thu, 20 Apr 2023 05:54:28 +0000 (13:54 +0800)]
[NUI] Fix NUIApplication svace issue

14 months ago[NUI.Scene3D] Make bvh/facial Animation from string buffer
Eunki, Hong [Thu, 20 Apr 2023 09:18:12 +0000 (18:18 +0900)]
[NUI.Scene3D] Make bvh/facial Animation from string buffer

This PR s backport of #5078 and #5187

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months ago[NUI] Add OverlayLayer to Window's LayersChildren to calculate Layout
Jaehyun Cho [Thu, 20 Apr 2023 05:11:21 +0000 (14:11 +0900)]
[NUI] Add OverlayLayer to Window's LayersChildren to calculate Layout

Previously, OverlayLayer was not added to Window's LayersChildren so
Layouts inside the OverlayLayer were not calculated.

Now, OverlayLayer is added to Window's LayerChildren to calculate
Layouts inside the OverlayLayer.

14 months agoUpdate src/Tizen.NUI/src/public/Window/WindowEvent.cs
dongsug-song [Wed, 19 Apr 2023 02:18:54 +0000 (11:18 +0900)]
Update src/Tizen.NUI/src/public/Window/WindowEvent.cs

Co-authored-by: Eunki Hong <h.pichulia@gmail.com>
14 months agoUpdate src/Tizen.NUI/src/public/Window/WindowEvent.cs
dongsug-song [Wed, 19 Apr 2023 02:18:42 +0000 (11:18 +0900)]
Update src/Tizen.NUI/src/public/Window/WindowEvent.cs

Co-authored-by: Eunki Hong <h.pichulia@gmail.com>
14 months ago[NUI] Add defence code for Window.VisibilityChanged event
dongsug.song [Fri, 14 Apr 2023 06:53:53 +0000 (15:53 +0900)]
[NUI] Add defence code for Window.VisibilityChanged event

14 months ago[NUI] Use ModelNode for the child of Model
seungho baek [Fri, 31 Mar 2023 10:03:55 +0000 (19:03 +0900)]
[NUI] Use ModelNode for the child of Model

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months ago[Applications.Common] Add an internal API (#5184)
hjhun [Tue, 18 Apr 2023 02:13:04 +0000 (11:13 +0900)]
[Applications.Common] Add an internal API (#5184)

Adds:
 - AppControl.UnsetAutoRestart()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
14 months ago[NUI] Add NUIApplicaion.GetScreenSize
Jaehyun Cho [Tue, 17 Jan 2023 06:05:24 +0000 (15:05 +0900)]
[NUI] Add NUIApplicaion.GetScreenSize

To provide the screen size, NUIApplication.GetScreenSize is added.

14 months ago[NUI][AT-SPI] Add IAtspiValue.AccessibilityGetValueText()
Artur Świgoń [Thu, 13 Apr 2023 08:45:11 +0000 (10:45 +0200)]
[NUI][AT-SPI] Add IAtspiValue.AccessibilityGetValueText()

This API allows the application to provide the Screen Reader with a formatted
string value rather than the default, floating-point one. This in turn, allows
to customize in detail how e.g. slider values are read.

14 months ago[NUI] Fix svace issues
Xianbing Teng [Thu, 6 Apr 2023 13:08:16 +0000 (21:08 +0800)]
[NUI] Fix svace issues

14 months ago[NUI][API10] Add a LoadContents API with byte array for WebView.
huayong.xu [Tue, 4 Apr 2023 09:20:03 +0000 (17:20 +0800)]
[NUI][API10] Add a LoadContents API with byte array for WebView.

14 months ago[NUI][AT-SPI] Promote DoAction implementation from CustomView to View
Artur Świgoń [Tue, 4 Apr 2023 11:59:36 +0000 (13:59 +0200)]
[NUI][AT-SPI] Promote DoAction implementation from CustomView to View

This is a follow-up to #5109 that enables controls derived from View,
but not CustomView, that use the ViewAccessibilityMode.Custom (e.g.
FluxView), to customize their behaviour related to the AT-SPI Action
interface.

The implementation of AccessibilityDoAction() and its helper methods
is moved up from CustomView to View. Note that the events that
AccessibilityDoAction invokes have already been declared at the View
level, in ViewAccessibilityEvent.cs (e.g. AccessibilityActivated), so
they do not have to be moved anywhere in this PR.

14 months ago[Connection] Fix race condition (#5154)
chleun-moon [Wed, 5 Apr 2023 02:42:07 +0000 (11:42 +0900)]
[Connection] Fix race condition (#5154)

* [Connection] Fix race condition

* Add locks

* Use lock objects

14 months ago[NUI][AT-SPI] Override ContentPage.AccessibilityGetName() (#5146)
Artur Świgoń [Mon, 3 Apr 2023 10:19:56 +0000 (12:19 +0200)]
[NUI][AT-SPI] Override ContentPage.AccessibilityGetName() (#5146)

ContentPage often serves as a default label in scenarios where Navigator is
used, so Screen Reader will ask ContentPage about the accessibility name (text
to read) when a Navigator page is pushed. Therefore, it makes sense to try to
provide the text from ContentPage.AppBar.Title (if it exists). The application
developer can always customize this by setting the AccessibilityName property
or adding an AccessibilityRelation.LabelledBy.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
14 months ago[NUI][AT-SPI] Add ViewAccessibilityMode (#5118)
Artur Świgoń [Mon, 3 Apr 2023 09:41:24 +0000 (11:41 +0200)]
[NUI][AT-SPI] Add ViewAccessibilityMode (#5118)

The accessibility mode helps select the right Accessible implementation for
a given view. It does not affect controls derived from CustomView (or any of
its subclasses), e.g. Tizen.NUI.Components, which already behave in the custom
mode. The default mode is kept for Tizen.NUI.BaseComponents. However, this
patch add a possibility of opting into the custom mode for controls derived
directly from View (e.g. FluxView), and by doing so, to be able to implement
accessibility support for them in the C# language.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
14 months ago[NUI] Introduce WindowLayoutType enum and SetLayout Method
Daekwang Ryu [Thu, 23 Mar 2023 08:41:59 +0000 (17:41 +0900)]
[NUI] Introduce WindowLayoutType enum and SetLayout Method

The new `SetLayout` method allows users to easily snap windows to specific positions and sizes.
This feature is allowing users to quickly arrange their windows in a convenient and efficient manner.

14 months ago[NUI] Fix size calculation for TextLabel with Margin in RelativeLayout
Jaehyun Cho [Wed, 29 Mar 2023 11:04:19 +0000 (20:04 +0900)]
[NUI] Fix size calculation for TextLabel with Margin in RelativeLayout

Previously, RelativeLayout calculated the size for TextLabel with Margin
incorrectly by calling MeasureChildWithMargins().
Because TextLabel size was decreased by its Margin size incorrectly.

Now, RelativeLayout calculates the size for TextLabel with Margin
correctly by calling MeasureChild().
Because TextLabel size is not decreased by its Margin size.

14 months ago[NUI] refactoring collectionView and Layouters for extended class (#5123)
SangHyeon Jade Lee [Wed, 29 Mar 2023 05:25:55 +0000 (14:25 +0900)]
[NUI] refactoring collectionView and Layouters for extended class (#5123)

* [NUI] refactoring collectionView and Layouters for extended class

to create customized collectionView and Layouters,
some properties must be extendable.
this change includes properties access modifier
which is internal or private to protected.

* [NUI] publize reyclerviewitem properties

* [NUI] fix item source getter more efficiently.

* [NUI] refactoring getter.

* [NUI] add GroupItems

* [NUI] fix build error

* [NUI] fix build error

* [NUI] change property overridable.

14 months ago[NUI] Pass SelectionChangedEventArgs by default as SelectionChangedCommandParameter.
EverLEEst(SangHyeon Lee) [Mon, 19 Dec 2022 12:54:05 +0000 (21:54 +0900)]
[NUI] Pass SelectionChangedEventArgs by default as SelectionChangedCommandParameter.

14 months ago[NUI][NUITizenGallery] add Animal ListView and GridView examples
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:45:54 +0000 (20:45 +0900)]
[NUI][NUITizenGallery] add Animal ListView and GridView examples

14 months ago[NUI] fix svace issue. check Selected item existance.
EverLEEst(SangHyeon Lee) [Fri, 17 Mar 2023 05:57:37 +0000 (14:57 +0900)]
[NUI] fix svace issue. check Selected item existance.

14 months ago[NUI] fix DefaultGridItem image to fill available area.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:42:29 +0000 (20:42 +0900)]
[NUI] fix DefaultGridItem image to fill available area.

14 months ago[NUI] update imageUrl to resourceUrl
everLEEst(SangHyeon Lee) [Fri, 16 Dec 2022 05:27:35 +0000 (21:27 -0800)]
[NUI] update imageUrl to resourceUrl

14 months ago[NUI] add ImageUrl property on DefaultGridItem.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:38:44 +0000 (20:38 +0900)]
[NUI] add ImageUrl property on DefaultGridItem.

14 months ago[NUI] fix group remove error.
everLEEst(SangHyeon Lee) [Fri, 2 Dec 2022 07:01:44 +0000 (23:01 -0800)]
[NUI] fix group remove error.

14 months ago[NUI] Add more condition when item is last.
everLEEst(SangHyeon Lee) [Fri, 25 Nov 2022 06:56:47 +0000 (22:56 -0800)]
[NUI] Add more condition when item is last.

14 months ago[NUI] Fix Layouter to handle empty group case.
everLEEst(SangHyeon Lee) [Fri, 25 Nov 2022 06:18:12 +0000 (22:18 -0800)]
[NUI] Fix Layouter to handle empty group case.

14 months ago[NUI] Add friend assembly for FLUX Components and DA Components
dongsug.song [Wed, 29 Mar 2023 02:04:15 +0000 (11:04 +0900)]
[NUI] Add friend assembly for FLUX Components and DA Components

14 months ago[NUI] Add Font PreCache API to FontClient
Bowon Ryu [Mon, 27 Mar 2023 02:12:07 +0000 (11:12 +0900)]
[NUI] Add Font PreCache API to FontClient

This patch adds a new PreCache API to enable pre-caching of fonts
and improve the runtime performance of the application.

Pre-caching default fonts and fallback lists can enhance the responsiveness performance
by minimizing the calls to FcFontSort and FcFontMatch, during the early stages of boot-up.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months ago[NUI] Refactor ButtonExtension
Jiyun Yang [Fri, 17 Mar 2023 04:53:15 +0000 (13:53 +0900)]
[NUI] Refactor ButtonExtension

* Rename some functions to better match the design intent.
* Extract Helper class to provide common methods used by multiple classes.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
14 months ago[Multimedia] Fix rotation issue for portrait mode (#5105)
Haesu Gwon [Fri, 24 Mar 2023 03:12:00 +0000 (12:12 +0900)]
[Multimedia] Fix rotation issue for portrait mode (#5105)

15 months ago[NUI] Add RotationCompletedAcknowledgement APIs
Wonsik Jung [Fri, 17 Mar 2023 01:14:46 +0000 (10:14 +0900)]
[NUI] Add RotationCompletedAcknowledgement APIs

Add RotationCompletedAcknowledgement APIs in Window.
The APIs are SetNeedsRotationCompletedAcknowledgement and SendRotationCompletedAcknowledgement

15 months ago[NUI] Remove unnecessary gesture events from DefaultBorder.
joogab.yun [Fri, 17 Mar 2023 07:51:50 +0000 (16:51 +0900)]
[NUI] Remove unnecessary gesture events from DefaultBorder.

15 months ago[NUI.Gadget] Support Internationalization (#5091) (#5092)
hjhun [Fri, 17 Mar 2023 05:05:27 +0000 (14:05 +0900)]
[NUI.Gadget] Support Internationalization (#5091) (#5092)

* [NUI.Gadget] Add NUIGadgetResourceManager class

To support multilanguage, a new class is added.

Adds:
 - NUIGadgetResourceManager

* [NUI.Gadget] Modify property & metadata name

---------

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
15 months ago[NUI] Change log info to debug in ThemeManager
Jiyun Yang [Wed, 15 Mar 2023 08:27:44 +0000 (17:27 +0900)]
[NUI] Change log info to debug in ThemeManager

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
15 months agofix previous patch by coding rules
EverLEEst(SangHyeon Lee) [Fri, 10 Mar 2023 07:49:42 +0000 (16:49 +0900)]
fix previous patch by coding rules

15 months ago[NUI] Fix collectionView Selection on Item.
EverLEEst(SangHyeon Lee) [Fri, 10 Mar 2023 06:49:15 +0000 (15:49 +0900)]
[NUI] Fix collectionView Selection on Item.

15 months ago[NUI] Update NUI samples based on the latest back navigation
Jaehyun Cho [Tue, 29 Nov 2022 07:40:33 +0000 (16:40 +0900)]
[NUI] Update NUI samples based on the latest back navigation

NUI samples has been updated to use EnableBackNavigation and
OnBackNavigation of Navigator and Page based on the default action of
the latest back navigation.