platform/core/csapi/tizenfx.git
18 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

18 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

18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 months agoFix SVACE issues.
huayong.xu [Thu, 11 May 2023 01:26:47 +0000 (09:26 +0800)]
Fix SVACE issues.

18 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

18 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>
18 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/

18 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.

18 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/

18 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

18 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/

18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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.

18 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.

18 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>
18 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>
18 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>
18 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>
18 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>
18 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.

18 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.

18 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

18 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

18 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>
18 months agoFix SVACE issues.
huayong.xu [Thu, 20 Apr 2023 06:42:43 +0000 (14:42 +0800)]
Fix SVACE issues.

18 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

18 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>
18 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.

18 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>
18 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>
18 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

18 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>
18 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>
18 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.

19 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.

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

19 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.

19 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.

19 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

19 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>
19 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>
19 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.

19 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.

19 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.

19 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.

19 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

19 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.

19 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.

19 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

19 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.

19 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.

19 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.

19 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.

19 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

19 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>
19 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>
19 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)

19 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

20 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.

20 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>
20 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>
20 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

20 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.

20 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.

20 months ago[NUI] Fix svace issues.
guowei.wang [Wed, 18 Jan 2023 03:42:48 +0000 (11:42 +0800)]
[NUI] Fix svace issues.

20 months ago[NUI] Fix Navigator to enable multiple Pop()
Jaehyun Cho [Mon, 5 Dec 2022 08:16:09 +0000 (17:16 +0900)]
[NUI] Fix Navigator to enable multiple Pop()

A popped page is removed in the Pop() animation's Finished callback.

Previously, Navigator could not support multiple Pop().
Because Pop() simply stopped the previous Pop() animation without
calling the animation's Finished callback.

Now, Pop() stops the previous Pop() animation with calling the
animation's Finished callback by emitting FinishedSignal().
Consequently, Navigator can support multiple Pop() now.

20 months ago[NUI] Modify the default action of back navigation
Jaehyun Cho [Thu, 1 Dec 2022 06:04:31 +0000 (15:04 +0900)]
[NUI] Modify the default action of back navigation

Previously, back navigation only pops the peek page.
However, in most cases, application wants to exit the program when back
button is clicked on the first page.
This forces application to customize back navigation to change the
default action of back navigation.

So now, the default action of back navigation has been modified.
If navigator has more than one page, then the peek page is popped by
back navigation.
Otherwise, the current program is exited by back navigation.

20 months ago[NUI] Add OnBackNavigation to Page
Jaehyun Cho [Mon, 28 Nov 2022 11:36:53 +0000 (20:36 +0900)]
[NUI] Add OnBackNavigation to Page

To enable customization of back navigation per page, OnBackNavigation
is added to Page.
e.g.
class CustomPage : Page
{
    protected override OnBackNavigation(PageBackNavigationEventArgs args)
    {
        // Do something when back navigation is started.
        ...

        // To pop this page, call base.OnBackNavigation().
        // Otherwise, do not call base.OnBackNavigation().
        base.OnBackNavigation(args);
    }
}

20 months ago[NUI] Add EnableBackNavigation to Page
Jaehyun Cho [Mon, 28 Nov 2022 08:40:06 +0000 (17:40 +0900)]
[NUI] Add EnableBackNavigation to Page

To support back navigation automatically, EnableBackNavigation is
added to Page like Navigator.
If EnabledBackNavigation is false, then back button and back key do
not cause back navigation on the page.

20 months ago[NUI] Add SetDefaultNavigator
Jaehyun Cho [Mon, 28 Nov 2022 08:25:27 +0000 (17:25 +0900)]
[NUI] Add SetDefaultNavigator

To use customized Navigator as default navigator, SetDefaultNavigator
is added.

20 months ago[NUI] Add OnBackNavigation to Navigator
Jaehyun Cho [Fri, 25 Nov 2022 08:18:16 +0000 (17:18 +0900)]
[NUI] Add OnBackNavigation to Navigator

To enable customization of back navigation, OnBackNavigation is added
to Navigator.
e.g.
class CustomNavigator : Navigator
{
    protected override OnBackNavigation(BackNavigationEventArgs args)
    {
        // Do something when back navigation is started.
        ...

        // To pop the peek page, call base.OnBackNavigation().
        // Otherwise, do not call base.OnBackNavigation().
        base.OnBackNavigation(args);
    }
}

20 months ago[NUI] Add EnableBackNavigation to Navigator
Jaehyun Cho [Wed, 23 Nov 2022 07:51:49 +0000 (16:51 +0900)]
[NUI] Add EnableBackNavigation to Navigator

To support back navigation automatically, EnableBackNavigation is
added to Navigator.
If EnabledBackNavigation is false, then back button and back key do
not cause back navigation.

20 months ago[NUI] Fix Navigator Insert to keep pages order correctly
Jaehyun Cho [Thu, 1 Dec 2022 07:48:39 +0000 (16:48 +0900)]
[NUI] Fix Navigator Insert to keep pages order correctly

Previously, pages order was not kept correctly when a page was inserted.
Because of that, inserted page overlaps the next page's page transition.
e.g.
- Let page1 be pushed.
- Let page2 be inserted before page1.
- Pop page1.
Then page1's page transition is hidden by page2 because page2 is added
later so page2 overlaps page1.

Now, to resolve the above issue, the order of the inserted page is
updated based on its page index value.

20 months ago[NUI][API10] Fix SVACE issues.
huayong.xu [Mon, 6 Mar 2023 07:54:18 +0000 (15:54 +0800)]
[NUI][API10] Fix SVACE issues.

20 months ago[NUI] Add Dispose to LongPressGestureDetector and modify ReleaseSwigCPtr.
joogab.yun [Mon, 6 Mar 2023 05:29:34 +0000 (14:29 +0900)]
[NUI] Add Dispose to LongPressGestureDetector and modify ReleaseSwigCPtr.

20 months ago[NUI] fix testhub crash issue
dongsug.song [Thu, 19 Jan 2023 00:37:04 +0000 (09:37 +0900)]
[NUI] fix testhub crash issue

20 months ago[Applications.Common / UI] Add new internal APIs (#5068)
hjhun [Thu, 9 Mar 2023 01:37:44 +0000 (10:37 +0900)]
[Applications.Common / UI] Add new internal APIs (#5068)

* [Applications.Common] Add new internal AppControl APIs

Adds:
 - SetWindowPosition()
 - GetWindowPosition()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [Applications.UI] Add a new internal API

Adds:
 - GetWindowPosition()

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

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months ago[NUI] Remove unsed field in View
Jiyun Yang [Wed, 8 Mar 2023 04:31:27 +0000 (13:31 +0900)]
[NUI] Remove unsed field in View

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
20 months ago[NUI.Gadget] Add a new internal API (#4976) (#5064)
hjhun [Wed, 8 Mar 2023 04:24:16 +0000 (13:24 +0900)]
[NUI.Gadget] Add a new internal API (#4976) (#5064)

* [NUI.Gadget] Add new internal APIs

If the UI gadget developer sets the class name, the application developer
can adds a new NUIGadget instance using the NUIGadgetInfo object.

The following APIs are added:
 + NUIGadgetManager.Add(NUIGadgetInfo gadgetInfo); [method]
 + NUIGadgetManager.GetGadgetInfos(); [method]
 + NUIGadgetInfo.ClassName; [property]

* Change the visibility of the ClasaName property

The visibility of the NUIGadgetInfo.ClassName property is changed to internal.

* Modify description of GetGadgets()

* Remove Add() method

---------

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
20 months ago[NUI.Gadget] Modify NUIGadgetManager.Add() method (#5063)
hjhun [Wed, 8 Mar 2023 04:24:01 +0000 (13:24 +0900)]
[NUI.Gadget] Modify NUIGadgetManager.Add() method (#5063)

When calling the CreateInstance() method, this patch modifies the set
the ignoreCase to true that the case of the className is no checked.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months ago[NUI] Add getter property about WindowPositionSizeWithBorder and WindowSizeWithBorder
joogab.yun [Mon, 6 Mar 2023 09:40:34 +0000 (18:40 +0900)]
[NUI] Add getter property about WindowPositionSizeWithBorder and WindowSizeWithBorder

In the case of a border window, the size including the border area is required.

20 months ago[NUI] Fix set input region binding
Wonsik Jung [Fri, 3 Mar 2023 05:55:55 +0000 (14:55 +0900)]
[NUI] Fix set input region binding

Fix SetInputRegion binding function with correct internal function.
Because previous binded with includedRegion.

20 months ago[NUI] Add friend assembly for NUI FLUX
dongsug.song [Fri, 3 Mar 2023 04:25:24 +0000 (13:25 +0900)]
[NUI] Add friend assembly for NUI FLUX

20 months ago[NUI] Fix dispose xaml elements
Xianbing Teng [Thu, 2 Mar 2023 10:48:00 +0000 (18:48 +0800)]
[NUI] Fix dispose xaml elements

20 months ago[NUI.Scene3D][API10] Use Model defined camera
Eunki Hong [Sun, 26 Feb 2023 13:55:02 +0000 (22:55 +0900)]
[NUI.Scene3D][API10] Use Model defined camera

Make API that we can use gltf model file defined camera.

Since Tizen.NUI.Scene3D.Camera is one of View & This camera should be children of SceneView to render the scene,
Camera cannot be owned by Model itself.

So, we support only for 'Generate' or 'Apply' camera parameters loaded from gltf model.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months ago[NUI] Fix Menu not to show Content if there is no menu item
Jaehyun Cho [Thu, 23 Feb 2023 08:01:30 +0000 (17:01 +0900)]
[NUI] Fix Menu not to show Content if there is no menu item

Menu.Content is a container of menu items.

Previously, Menu.Content was displayed even if there is no menu item.
Now, Menu.Content is displayed only if menu item exists.

20 months ago[NUI][API10] Fix SVACE issue.
huayong.xu [Wed, 22 Feb 2023 07:37:26 +0000 (15:37 +0800)]
[NUI][API10] Fix SVACE issue.

20 months agoDragAndDrop : Add multi-window sample
Taehyub Kim [Tue, 21 Feb 2023 07:41:28 +0000 (16:41 +0900)]
DragAndDrop : Add multi-window sample

20 months ago[NUI] fix relative layout to fill regardless of children size.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:35:37 +0000 (20:35 +0900)]
[NUI] fix relative layout to fill regardless of children size.