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>
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>
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>
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>
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>
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>
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>
dongsug.song [Tue, 16 May 2023 09:10:13 +0000 (18:10 +0900)]
replace warning msg with normal msg
huayong.xu [Tue, 16 May 2023 05:17:03 +0000 (13:17 +0800)]
[NUI][API10] Fix a SVACE issue in RecyclerViewItem.cs
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>
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>
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>
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>
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>
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>
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>
huayong.xu [Thu, 11 May 2023 01:26:47 +0000 (09:26 +0800)]
Fix SVACE issues.
joogab.yun [Tue, 9 May 2023 08:08:05 +0000 (17:08 +0900)]
[NUI] Add Touch source type for gesture
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>
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/
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.
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/
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
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/
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>
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>
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>
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>
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>
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>
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.
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.
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>
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>
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>
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>
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>
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.
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.
Daekwang Ryu [Wed, 17 Aug 2022 05:46:56 +0000 (14:46 +0900)]
[NUI] Add GetMatrixFromPtr() in Matrix
Daekwang Ryu [Wed, 17 Aug 2022 05:45:13 +0000 (14:45 +0900)]
[NUI] Add GetRectangleFromPtr() in Rectangle
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>
huayong.xu [Thu, 20 Apr 2023 06:42:43 +0000 (14:42 +0800)]
Fix SVACE issues.
Xianbing Teng [Thu, 20 Apr 2023 05:54:28 +0000 (13:54 +0800)]
[NUI] Fix NUIApplication svace issue
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>
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.
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>
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>
dongsug.song [Fri, 14 Apr 2023 06:53:53 +0000 (15:53 +0900)]
[NUI] Add defence code for Window.VisibilityChanged event
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>
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>
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.
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.
Xianbing Teng [Thu, 6 Apr 2023 13:08:16 +0000 (21:08 +0800)]
[NUI] Fix svace issues
huayong.xu [Tue, 4 Apr 2023 09:20:03 +0000 (17:20 +0800)]
[NUI][API10] Add a LoadContents API with byte array for WebView.
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.
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
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>
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>
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.
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.
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.
EverLEEst(SangHyeon Lee) [Mon, 19 Dec 2022 12:54:05 +0000 (21:54 +0900)]
[NUI] Pass SelectionChangedEventArgs by default as SelectionChangedCommandParameter.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:45:54 +0000 (20:45 +0900)]
[NUI][NUITizenGallery] add Animal ListView and GridView examples
EverLEEst(SangHyeon Lee) [Fri, 17 Mar 2023 05:57:37 +0000 (14:57 +0900)]
[NUI] fix svace issue. check Selected item existance.
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:42:29 +0000 (20:42 +0900)]
[NUI] fix DefaultGridItem image to fill available area.
everLEEst(SangHyeon Lee) [Fri, 16 Dec 2022 05:27:35 +0000 (21:27 -0800)]
[NUI] update imageUrl to resourceUrl
EverLEEst(SangHyeon Lee) [Thu, 15 Dec 2022 11:38:44 +0000 (20:38 +0900)]
[NUI] add ImageUrl property on DefaultGridItem.
everLEEst(SangHyeon Lee) [Fri, 2 Dec 2022 07:01:44 +0000 (23:01 -0800)]
[NUI] fix group remove error.
everLEEst(SangHyeon Lee) [Fri, 25 Nov 2022 06:56:47 +0000 (22:56 -0800)]
[NUI] Add more condition when item is last.
everLEEst(SangHyeon Lee) [Fri, 25 Nov 2022 06:18:12 +0000 (22:18 -0800)]
[NUI] Fix Layouter to handle empty group case.
dongsug.song [Wed, 29 Mar 2023 02:04:15 +0000 (11:04 +0900)]
[NUI] Add friend assembly for FLUX Components and DA Components
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>
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>
Haesu Gwon [Fri, 24 Mar 2023 03:12:00 +0000 (12:12 +0900)]
[Multimedia] Fix rotation issue for portrait mode (#5105)
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
joogab.yun [Fri, 17 Mar 2023 07:51:50 +0000 (16:51 +0900)]
[NUI] Remove unnecessary gesture events from DefaultBorder.
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>
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>
EverLEEst(SangHyeon Lee) [Fri, 10 Mar 2023 07:49:42 +0000 (16:49 +0900)]
fix previous patch by coding rules
EverLEEst(SangHyeon Lee) [Fri, 10 Mar 2023 06:49:15 +0000 (15:49 +0900)]
[NUI] Fix collectionView Selection on Item.
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.
guowei.wang [Wed, 18 Jan 2023 03:42:48 +0000 (11:42 +0800)]
[NUI] Fix svace issues.
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.
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.
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);
}
}
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.
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.
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);
}
}
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.
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.
huayong.xu [Mon, 6 Mar 2023 07:54:18 +0000 (15:54 +0800)]
[NUI][API10] Fix SVACE issues.
joogab.yun [Mon, 6 Mar 2023 05:29:34 +0000 (14:29 +0900)]
[NUI] Add Dispose to LongPressGestureDetector and modify ReleaseSwigCPtr.
dongsug.song [Thu, 19 Jan 2023 00:37:04 +0000 (09:37 +0900)]
[NUI] fix testhub crash issue
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>
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>
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>
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>
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.
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.